1. The Core Tool: Dynamic Optimization and the Hamiltonian
1.1. The Central Problem: Making Choices Over Time
At the heart of modern macroeconomics is a fundamental problem: how does a rational agent, like a household or a society, make the best possible choices over a long period of time? This is the core question of dynamic optimization. In growth theory, this problem typically takes the form of a household deciding how much to consume today versus how much to save and invest. Saving less today means more immediate satisfaction, but saving more allows for greater capital accumulation, which in turn generates more output and makes higher consumption possible in the future. The goal is to find the perfect path of consumption over time that maximizes the household’s total “lifetime” utility.
1.2. The Solution Method: The Hamiltonian
To solve such complex, continuous-time trade-offs, economists employ a powerful mathematical device known as the Hamiltonian. The Hamiltonian is a mathematical construct that converts a difficult constrained optimization problem over time into a simpler, unconstrained problem to be solved at each instant. It is a function that elegantly combines the agent’s objective, the constraints they face, and the value of overcoming those constraints into a single expression.
The general structure of the Hamiltonian consists of three key components:
- The Instantaneous Objective: This is what the agent is trying to maximize at any given moment. In growth models, this is typically the utility derived from consumption, represented as u(c).
- The Constraint: This is the “law of motion” for the economy, describing how the key state variables (like the capital stock, K) change over time. The capital accumulation equation, K̇ = F(K) – c – δK, is a classic example. It states that the change in capital (K̇) equals output (F(K)) minus consumption (c) and depreciation (δK).
- The Co-state Variable (λ): This is perhaps the most crucial and insightful part of the Hamiltonian. Often called the “shadow price,” the co-state variable λ is the Lagrange multiplier that makes this conversion possible. It measures the marginal value of the state variable, expressed in units of utility. For example, it represents how much an additional unit of capital is worth to the household in terms of its lifetime satisfaction; in other words, it is the price the household would be willing to pay (in units of lifetime utility) to relax its budget constraint by one unit of capital.
1.3. The Key Result: The Euler Equation
Maximizing the Hamiltonian at each point in time yields a set of necessary “first-order conditions” that describe the optimal path for consumption and capital. The two most important conditions are:
- The Condition for the Control Variable (Consumption): u'(c) = λ This simple but profound equation states that on the optimal path, the marginal utility of consumption (u'(c)) must exactly equal the shadow price of capital (λ). This is because each unit of output consumed is a unit of output that cannot be invested as capital. Optimality requires that the marginal value of these two alternative uses be identical. If the marginal utility of consumption were higher, the household would be better off consuming more; if the shadow price of capital were higher, it would be better off saving more.
- The Euler Equation for the State Variable (Capital): ρλ = λF'(K) – λδ + λ̇ This is the dynamic heart of the model. This equation is the condition that governs the evolution of the co-state variable (the shadow price of capital) and is derived by taking the partial derivative of the Hamiltonian with respect to the state variable (K). It is a no-arbitrage condition that ensures the household’s consumption plan is balanced over time. Its economic intuition is as follows: it equates the return from simply waiting to consume (the left side, where ρ is the rate of time preference) with the full return from investing (the right side). That return from investing includes the marginal product of capital net of depreciation (F'(K) – δ) plus any capital gain or loss from the change in the shadow value of capital itself (λ̇/λ).
When solved and simplified, this condition yields the canonical form of the Euler equation, which is a cornerstone of modern macroeconomics:
r = ρ + εg
This equation elegantly connects the real interest rate to fundamental parameters of the economy and household preferences.
| Variable | Definition |
| r | The net rate of return on capital (the real interest rate). |
| ρ | The household’s rate of time preference (a measure of its patience). |
| ε | The inverse of the intertemporal elasticity of substitution (how willing the household is to substitute consumption between today and tomorrow). |
| g | The growth rate of consumption. |
——————————————————————————–
This Euler equation provides a universal rule for optimal behavior over time. We now turn to how this rule plays out within a complete model of an economy.