Solow growth model
Why can't a country grow rich just by saving more? Capital per worker k grows when investment exceeds what is needed to replace worn-out machines and equip new workers. With λ = n + δ, the substitution v = k1−α turns this Bernoulli equation into a linear one, so
Change the saving rate, population growth, and depreciation, and see the Solow diagram, the path to the steady state, the golden rule, and consumption over time respond together. Then compare the exact path with Euler's method.
Submitted by Alex.
Where it comes from
An economy produces Y = KαL1−α from capital K and workers L. Per worker, output is y = kα with k = K/L. Each year:
- a share s of output is saved and invested in new capital: K′ = sY − δK;
- the workforce grows at rate n: L′ = nL.
The quotient rule gives k′/k = K′/K − L′/L, and this simplifies to the equation above. Robert Solow introduced the model in 1956 and received the 1987 Nobel Prize in economics for his work on growth.
What the terms mean
- s kα, investment: new machines per worker each year.
- (n + δ) k, break-even investment: what it takes just to keep k constant. δ is the share of capital that wears out each year, and n spreads the existing capital over more workers.
- α, capital share: close to 1/3 in national accounts. Because α < 1, each extra machine adds less output than the last (diminishing returns).
- c = (1 − s) kα, consumption: what people actually get to use. Saving raises k, but it also costs consumption today.
Solving it (Section 1.6)
The equation has the Bernoulli form k′ + λk = s kα. Let v = k1−α, so v′ = (1 − α)k−αk′. Multiplying the equation by (1 − α)k−α gives
This is linear with constant coefficients. The integrating factor e(1−α)λt (Section 1.5) gives v(t) = s/λ + (v₀ − s/λ)e−(1−α)λt, and k = v1/(1−α).
k ≡ 0 also solves the equation, and so does the formula started from k₀ = 0. Because kα has an infinite slope at 0, uniqueness fails there, just as it does for y′ = 3|y|2/3.
Reading the phase line (Section 2.2)
- Steady state: investment equals break-even investment at k* = (s/λ)1/(1−α). Below k*, k′ > 0. Above it, k′ < 0. So k* is stable, and k = 0 is unstable.
- Speed: the slope of k′ at k* is −(1 − α)λ. Near k*, the capital gap approximately halves every ln 2/((1 − α)λ) years, about 17 years for the defaults. This half-life is exact for the transformed gap k1−α − s/λ.
- No long-run growth: output per worker y* = (k*)α is constant. Saving more raises the level of y* but not its long-run growth rate. Sustained growth needs technological progress, which this version leaves out.
- Golden rule: steady-state consumption c*(s) = (1 − s)(s/λ)α/(1−α) is largest at s = α. Saving beyond that lowers consumption in every period.
One economy, four views
- k*, steady capital
- y*, steady output
- c*, steady consumption
- Golden-rule s
- Half-life near k*
- k(t)
- c(t), consumption
- Growth of y at t
- Euler factor 1 − h(1 − α)λ
- |Euler − exact| at t
1 · Solow diagram: investment against break-even
2 · Slope field for k′ and the path to the steady state
3 · Golden rule: steady-state consumption against s
4 · Consumption over time
Predict, then check
The economy is at its steady state when saving rises from 20% to 30% in year 20. Does output per worker grow faster forever?
No. Growth jumps after year 20, then dies away as k approaches its new, higher k*. The long-run effect is on the level: y* rises by a factor (0.3/0.2)α/(1−α) ≈ 1.22 for α = 1/3, a one-time gain of about 22%. Use the "Saving rises in year 20" preset and watch "Growth of y at t".
Same experiment: what happens to consumption in year 20, and is the higher saving rate worth it?
Consumption falls at once. Capital has not changed yet, so output is the same, but people now keep 70% of it instead of 80%: c drops by the factor 0.7/0.8, from about 1.45 to 1.27. It then climbs as capital builds up, passes its old level about 24 years after the change, and settles at c* ≈ 1.55, about 7% higher. Plot 4 shows the dip and the recovery. Whether the trade is worth it depends on how much the economy values the future, because the people alive in year 20 pay for consumption that arrives decades later.
Two countries share the same s, α, n, and δ, but one starts with k₀ = 1 and the other with k₀ = 15. Which grows faster?
The poorer one. Output growth is y′/y = α(s kα−1 − λ), which falls as k rises, so a country far below k* grows quickly and a country above k* shrinks toward it. Economists call this conditional convergence: countries converge only if they share the same steady state.
Is saving more always better for consumption in the long run?
No. Plot 3 is a hump that peaks at s = α. Beyond that, the extra output from more capital is smaller than the extra investment needed to maintain it, so consumption falls. The "Over-saving" preset (s = 0.6) has lower c* than s = α ≈ 0.33. Such an economy is dynamically inefficient: saving less would raise consumption now and later. To see it, choose "Over-saving", turn on "Saving changes in year 20", and set the new rate to 0.33: in plot 4 consumption jumps up in year 20 and stays above the dashed path it would have followed.
Turn on Euler's method with h = 40 years. What happens near k*, and why does h = 55 fail?
Near k*, each Euler step multiplies the gap by 1 − h(1 − α)λ. For the defaults that is 1 − 40 · 0.04 = −0.6, so the approximation overshoots, lands on alternating sides of k*, and still converges. With h = 55 the factor is −1.2 and the oscillation grows. The exact solution can never cross k*, because uniqueness keeps it off the constant solution k ≡ k*. The oscillation comes only from the numerical method, which is stable only for h < 2/((1 − α)λ).
How are the curves computed?
Every solid curve uses the exact Bernoulli solution above. No numerical ODE solver is used. When the saving rate changes in year 20, the formula restarts from k(20) with the new s. Consumption is c(t) = (1 − s(t)) k(t)α, so it jumps in year 20 even though k does not. The orange polygon is Euler's method, kn+1 = kn + h(s knα − λkn). It stops if a step would make k nonpositive, since kα is undefined there.
The slope field draws equal-length segments at their true on-screen angle. Because the equation is autonomous, every row of segments is parallel, and the row at k* is flat. The model and its checks are in src/solow-growth-model.cjs and tests/solow-growth.test.cjs.