Skip to content
We use only essential cookies to keep you signed in and remember your preferences. See our Cookie Policy.
TestStop
MocksPracticeResourcesIndiaBlogPricing
Sign in
Resources › Economic growth › The Euler equation, derived
Economic growth · Derivation

The Euler equation, derived: from two periods to continuous time

The Euler equation is the heart of the Ramsey–Cass–Koopmans model and of modern macroeconomics. This page derives it twice: first in two periods with a Lagrangian, which shows the economics, then in continuous time with a Hamiltonian, which is what the growth model uses. Every symbol is defined before it is used.

The short answer

How is the consumption Euler equation derived?

The Euler equation is the household’s first-order condition for saving. It says that at the best plan the household cannot gain by moving a unit of consumption from one date to another: what is lost at one end exactly equals what is gained at the other, after discounting and interest.

u′(c1​)=β(1+r)u′(c2​)⟶cc˙​=θr−ρ​
  • Two periods: maximise u(c₁) + βu(c₂) subject to c₁ + c₂/(1 + r) = W. The first-order conditions give u′(c₁) = β(1 + r)u′(c₂).
  • CRRA utility u = c1−θ/(1 − θ) turns this into a statement about consumption growth: c₂/c₁ = [β(1 + r)]1/θ.
  • Continuous time: the current-value Hamiltonian gives u′(c) = μ and μ̇/μ = ρ + δ − f′(k); eliminating μ gives ċ/c = (f′(k) − δ − ρ)/θ.
New to this? The few things you need first
Utility and marginal utility
u(c) is the satisfaction from consuming c. Marginal utility u′(c) is the extra satisfaction from one more unit; it falls as c rises (u″ < 0).
Discounting
Utility next period is weighted by β = 1/(1 + ρ), where ρ is the rate of time preference (impatience).
The Ramsey model
The lesson this derivation supports, where the equation is used with the capital accumulation equation to find the saddle path.
In this guide
Derivation · about 30 minutes
  1. Two periods: the Lagrangian
  2. With CRRA utility
  3. Continuous time: the Hamiltonian
  4. What the Euler equation says
  5. Check yourself
  6. Quick answers
01
Start with two periods

Two periods: the Lagrangian

A household has lifetime wealth W (in today’s units) to spend on consumption c₁ today and c₂ tomorrow. Any saving earns a net return r, so a unit not consumed today buys 1 + r units tomorrow. The budget constraint, in present value, is

c1​+1+rc2​​=W

The household maximises u(c1​)+βu(c2​) with β = 1/(1 + ρ). Form the Lagrangian with multiplier μ on the budget:

L=u(c1​)+βu(c2​)+μ(W−c1​−1+rc2​​)
Derivation
Find the first-order conditions and eliminate μ.
  1. 1
    Differentiate with respect to c₁ and set to zero.
    u′(c1​)=μ
  2. 2
    Differentiate with respect to c₂ and set to zero.
    βu′(c2​)=1+rμ​
  3. 3
    Divide the first by the second to eliminate μ.
    βu′(c2​)u′(c1​)​=1+r
  4. 4
    Rearrange.
    u′(c1​)=β(1+r)u′(c2​)
Answer
That is the Euler equation. In words: giving up one unit of consumption today costs u′(c₁) of utility; saving it yields 1 + r units tomorrow, each worth u′(c₂), discounted by β. At the optimum the two are equal.
02
A specific utility function

With CRRA utility

Take u(c)=1−θc1−θ​ (log utility when θ = 1). Its marginal utility is u′(c) = c−θ, so the Euler equation reads c₁−θ = β(1 + r)c₂−θ, or

c1​c2​​=[β(1+r)]1/θ=(1+ρ1+r​)1/θ

Take logs and use ln(1 + x) ≈ x for small x: the growth rate of consumption is approximately (r − ρ)/θ. The exponent 1/θ is the elasticity of intertemporal substitution: how much consumption growth responds to the gap between the return and impatience. For r = 7% and ρ = 3%, log utility (θ = 1) gives growth of about 4%, and θ = 2 gives about 2%.

03
The growth-model version

Continuous time: the Hamiltonian

In the Ramsey model time is continuous and the household’s problem is to choose a path of consumption per head c(t) to maximise

∫0∞​e−(ρ−n)tu(c)dtsubject tok˙=f(k)−c−(n+δ)k

The factor e−(ρ−n)t combines impatience ρ with the growth of the household’s own size n. The tool is the current-value Hamiltonian, with the costate μ(t), the value of an extra unit of capital in utility terms:

H=u(c)+μ[f(k)−c−(n+δ)k]
Derivation
Find the first-order conditions and derive ċ/c.
  1. 1
    Optimality in c: ∂H/∂c = 0.
    u′(c)=μ
  2. 2
    Evolution of the costate: μ̇ = (ρ − n)μ − ∂H/∂k.
    μ˙​=(ρ−n)μ−μ[f′(k)−(n+δ)]=μ[ρ+δ−f′(k)]
  3. 3
    Differentiate u′(c) = μ with respect to time, for CRRA u′ = c^(−θ).
    μμ˙​​=−θcc˙​
  4. 4
    Equate the two expressions for μ̇/μ.
    −θcc˙​=ρ+δ−f′(k)
  5. 5
    Solve for ċ/c.
    cc˙​=θ1​(f′(k)−δ−ρ)
Answer
The continuous-time Euler equation, with r = f′(k) − δ. It matches the two-period result: consumption grows when the net return exceeds impatience.
The transversality condition
t→∞lim​e−(ρ−n)tμ(t)k(t)=0
Without it, the first-order conditions allow plans that pile up capital for ever. This condition excludes them, and with the Euler equation selects the saddle path.
04
What it says

What the Euler equation says

The equation compares two rates: the return that saving earns and the household’s impatience. If the return is higher, a household willing to wait is rewarded by consumption that rises over time; if lower, consumption declines. The equation says nothing about the level of consumption. That is set by the budget constraint, and the two together, in the growth model, pin down the saddle path of Lesson 9.

Why this equation is everywhere

Almost every modern macro model has a household whose saving is described by an Euler equation. In the New Keynesian model it becomes the dynamic IS curve, linking output to the real interest rate. The same logic appears in consumption-smoothing and permanent-income theory.

05
Practice

Check yourself

0 of 5 correct so far

Numbers

Problem 1
Two periods, log utility (θ = 1), β = 0.95, r = 0.10. By what factor does consumption grow from period 1 to period 2? (three decimals)
Problem 2
Same β and r, but θ = 2. Find c₂/c₁ (three decimals).
Problem 3
Continuous time, CRRA with θ = 2, ρ = 3%, δ = 5%, and f′(k) = 0.13. Find the growth rate of consumption (per cent a year).

Concepts

1If the net return on saving exceeds the rate of time preference, the Euler equation says consumption
2In ċ/c = (r − ρ)/θ, a larger θ means
06
Quick answers

Frequently asked questions

What is the Euler equation in macroeconomics?

The consumption Euler equation links consumption in adjacent periods along an optimal plan. In two periods it is u′(c₁) = β(1 + r)u′(c₂): the utility lost by saving one unit today equals the discounted utility of the 1 + r units it yields tomorrow. In continuous time with CRRA utility it becomes ċ/c = (r − ρ)/θ.

How do you derive the Euler equation?

Write the household's problem as maximising lifetime utility subject to a lifetime budget constraint. In two periods, form the Lagrangian u(c₁) + βu(c₂) + μ(W − c₁ − c₂/(1 + r)) and take first-order conditions. In continuous time, form a current-value Hamiltonian with a costate for capital, take the first-order conditions for consumption and capital, and eliminate the costate.

What does θ mean in ċ/c = (r − ρ)/θ?

θ is the coefficient of relative risk aversion, and 1/θ is the elasticity of intertemporal substitution. A larger θ means the household dislikes consumption that changes over time, so a given gap between the return and impatience tilts consumption growth less.

What is the transversality condition?

It is the end-of-time condition that rules out over-saving: the present value of the capital stock must go to zero, lim e^(−(ρ−n)t) μ(t) k(t) = 0. A plan that keeps capital accumulating at a rate that outpaces discounting leaves resources unconsumed and cannot be optimal.

Read next

All resources →
MacroeconomicsGrowth 9: where saving comes from, Ramsey–Cass–Koopmans and DiamondHouseholds choosing how much to save: the Euler equation, the phase diagram and saddle path, the modified golden rule and transversality, and Diamond's overlapping generations with dynamic inefficiency.Complete guide · 55 minMacroeconomicsGrowth 7: the golden rule, how much should an economy save?Steady-state consumption as a hill in the saving rate, the golden-rule capital and saving rate, why it equals capital's share, dynamic inefficiency, and the cost of moving to the golden rule.Complete guide · 40 minMacroeconomicsEconomic growth: from Harrod–Domar to endogenous growth, from zero to exam levelA module on growth theory: the facts and the production function, growth accounting, Harrod–Domar, the Solow model, the golden rule, convergence, optimal saving, endogenous growth, the Cambridge tradition and growth in practice, each lesson readable on its own, with real data, interactive diagrams and graded past papers.Module · 670 min