The mathematical analogies between economics and classical mechanics can be extended from constrained optimization to … Lagrangian mechanics. In a differential-algebraic equation framework, households, firms, banks, and the government employ forces …