Loading 2D scene...

Inflation Lab · MV = PQ

Year 0.0 · money growth 4.0 %
Inflation 2.0 % (expected 2.0 %)
Unemployment 5.0 % · nominal rate 4.0 %
Price level 1.00 · money 1.00 · V 1.00 · Q 1.00
$100 in cash is worth $100.00
$100 in the bank is worth $100.00
Quality:
The science

Quantity theory. The equation of exchange is an identity: M V = P Q (money × velocity = price level × real output). In logs and per year, inflation = money growth + velocity growth − output growth. All three curves on the charts obey it exactly; the page checks it numerically below.

Output and the Phillips curve. Output sits at its potential level (growing at g*) except for a temporary gap that is proportional to the inflation surprise: y = ψ (π − πe) (a Lucas-type supply curve). Okun’s rule turns the gap into unemployment, u = un − 0.5 y, so surprise inflation lowers unemployment and a negative surprise raises it. This is the expectations-augmented Phillips curve: a trade-off in the short run, none in the long run.

Expectations and velocity. Expected inflation adjusts toward actual inflation, dπe/dt = (π − πe)/τ. Velocity responds to expected inflation as in Cagan’s money-demand model, V = V0 eα πe: people spend money faster when they expect it to lose value. Substituting into the identity gives a linear damped oscillator for e = πe − A, with A = m + dlnV0 − g*: ψτ e″ + (1 − α/τ) τ e′ + e = 0. It is stable only if α < τ (Cagan’s stability condition); beyond that, expectations and velocity feed each other and inflation runs away — the toy version of hyperinflation. The model is capped at 1200 % per year and says so when it saturates.

Central bank. With the bank switched on, money growth follows a simple rule: m = π* + g* − dlnV0 + φ (π* − πe) with φ = 1.5, limited to −10 % to +150 % per year. Because φ > 1 it pushes against expectations that drift from the target.

Money and savings. Cash loses real value as e−∫π dt; a deposit earns the nominal rate i = r + πe (Fisher equation, r = 2 %), so it keeps its real value when inflation is as expected and loses it when inflation surprises upward. Prices on the shelf scale with P (bread $2.00, milk $1.20, coffee $4.50, bus ticket $2.40 at start).

Simplifications: one aggregate price level (every price rises together, so there are no relative-price effects, menu costs or wage lag); closed economy with no banks creating money, no fiscal side, no exchange rate; money supply is directly controlled; the Phillips and Okun coefficients, τ and α are illustrative, not estimates for any country; deposit rates are not capped or taxed; the printed-note and coin counts are capped for drawing (the numbers on screen are exact).

Running numerical checks...

Made with 🟠 Blender