Connects to: Principles Parts I–II
The models of Principles Part II were presented qualitatively and graphically. The IS curve was a downward-sloping line; the LM curve an upward-sloping one; their intersection determined equilibrium — and shifts of those curves were analyzed by moving pictures in the plane. That graphical approach builds invaluable intuition, but it has limits. It cannot tell you the exact size of the fiscal multiplier as a function of the model parameters. It cannot handle the open-economy extension (Mundell–Fleming) with three markets simultaneously without becoming unwieldy. And it provides no leverage for comparative statics — the precise derivative of equilibrium output with respect to, say, the money supply.
This part strips away the geometry and replaces it with algebra. Every model from Principles Parts I–II is translated into a system of equations, solved explicitly using the linear algebra tools of Chapter 2, and subjected to systematic comparative statics. The payoffs are:
Exact multiplier formulas. Not “the output rises” but , from which we can immediately read off when fiscal policy is powerful (large , small ) and when it is impotent (small , or ).
Policy counterfactuals. Given a specific calibration (say, the U.S. economy in 2009), we can compute exactly what the model predicts about the ARRA multiplier, not merely what direction it points.
Transition to dynamic models. The static multipliers derived here are the limiting cases of the dynamic impulse responses we will compute in Parts V–VII. Seeing the connection makes both clearer.
The four chapters cover: the IS–LM model (Chapter 6), the Keynesian cross and multiplier algebra (Chapter 7), the AS–AD model (Chapter 8), and the full taxonomy of fiscal multipliers including the ELB formula (Chapter 9).
Chapter 6: Solving the IS–LM Model¶
Matrix Inversion and Cramer’s Rule for Policy Analysis
“The IS–LM model is simple enough to solve in closed form and rich enough to generate most of the qualitative results of more sophisticated models.”
Cross-reference: Principles Ch. 9 (IS–LM derivation and policy analysis); Ch. 22 (fiscal policy); Ch. 23 (monetary policy); Ch. 21 (open economy, Mundell–Fleming) [P:Ch.9, P:Ch.22, P:Ch.23, P:Ch.21]
6.1 From Curves to Equations¶
Principles Chapter 9 derived the IS and LM curves graphically and used them to analyze fiscal and monetary policy. Here we write those curves as explicit linear equations, stack them into a matrix system, and use the tools of Chapter 2 to solve for equilibrium and compute all policy multipliers in closed form.
The strategy has three steps. First, write the IS and LM conditions as two equations in two unknowns . Second, solve the system by matrix inversion or Cramer’s rule. Third, differentiate the solution with respect to every policy variable to obtain the multipliers. Steps one and two require the algebra of Chapter 2; step three uses the implicit function theorem of Chapter 1.
6.1.1 The IS Equation¶
The IS curve is the goods-market equilibrium condition. In the closed economy, it requires that aggregate expenditure equals aggregate output :
Using a linear consumption function with marginal propensity to consume and autonomous consumption , and the linear investment function with sensitivity :
Rearranging, and using with exogenous (so that and differ by the constant which we absorb into parameters):
where collects all autonomous expenditure. The IS equation is thus:
Writing more compactly with (the Keynesian multiplier) and letting :
This is the IS equation: a downward-sloping relationship in space with slope (or equivalently, when plotted with on the vertical axis, slope in per unit of ).
6.1.2 The LM Equation¶
The LM curve is the money-market equilibrium condition. Real money demand (where is income elasticity and is interest semi-elasticity) equals real money supply :
Solving for :
This is the LM equation: an upward-sloping relationship in space with slope .
6.2 The IS–LM System in Matrix Form¶
Stacking the IS and LM equations in the form :
Definition 6.1 (IS–LM Coefficient Matrix). The matrix encodes the structural parameters of the IS–LM model. It is nonsingular (invertible) when .
Computing the determinant:
Since , , and , the determinant is strictly negative, so is always invertible and the IS–LM system always has a unique solution. This is the algebraic counterpart to the graphical statement that the IS and LM curves always intersect in exactly one point (given upward-sloping LM and downward-sloping IS).
6.2.1 Direct Matrix Inversion¶
The inverse of the matrix :
The solution :
Working out the products:
These are the reduced-form equations of the IS–LM model: they express the endogenous variables entirely in terms of exogenous variables and structural parameters .
6.3 Policy Multipliers via Cramer’s Rule¶
Definition 6.2 (Policy Multiplier). The policy multiplier with respect to instrument is the partial derivative (or ), holding all other exogenous variables fixed.
We derive every policy multiplier from the reduced-form solution. Note that , so , , and .
6.3.1 The Fiscal Multiplier¶
Writing (not divided by ) and :
This is always strictly less than , the Keynesian cross multiplier. The ratio measures how much of the Keynesian cross multiplier survives after accounting for the interest rate feedback — the crowding-out factor.
Definition 6.3 (Crowding Out). The reduction in private investment caused by the rise in the interest rate following a fiscal expansion is called crowding out. In the IS–LM model, a fiscal expansion of raises the interest rate by:
which reduces investment by . The gross fiscal effect on output () is partially offset by the investment crowding-out ():
Theorem 6.1 (Crowding-Out Formula). In the IS–LM model, the fraction of the Keynesian cross multiplier that survives crowding out is:
Proof. Direct substitution of the two multiplier expressions above.
Two limiting cases:
Liquidity trap: . Then — the IS–LM multiplier equals the Keynesian cross multiplier. When money demand is perfectly elastic, the interest rate doesn’t rise in response to fiscal expansion (the LM is horizontal), so there is zero crowding out.
Classical case: (money demand completely interest-inelastic). Then — fiscal policy is completely ineffective. The LM is vertical; any income increase raises money demand, which drives up the interest rate until investment falls by exactly . Complete crowding out.
6.3.2 The Tax Multiplier¶
More cleanly: . Since , we confirm : tax cuts are less stimulative than equivalent spending increases (each dollar of spending creates a full dollar of first-round demand; each dollar of tax cut is only partially spent).
6.3.3 The Monetary Policy Multiplier¶
A monetary expansion increases the real money supply :
Monetary policy works by reducing the interest rate (), which stimulates investment, which raises income through the multiplier. The monetary multiplier is zero when (investment insensitive to interest rates — the IS is vertical) or when (liquidity trap).
Summary table of IS–LM multipliers:
| Instrument | Multiplier on | Sign | Vanishes when |
|---|---|---|---|
| (spending) | (classical LM) | ||
| (taxes) | or | ||
| (money) | (vertical IS) or (trap) | ||
| (invest.) | Same as |
6.4 Comparative Statics via the Implicit Function Theorem¶
The multiplier formulas above were derived from the explicit reduced form. An alternative, more general method uses the IFT [M:Ch.1.5] directly on the equilibrium conditions without first solving for explicitly.
The equilibrium conditions define an implicit function where:
The Jacobian with respect to endogenous variables:
By the IFT (Theorem 1.8, multivariate version):
where is any exogenous variable vector. For :
Therefore:
recovering and . The IFT method is particularly convenient when the system has many variables and one does not want to invert the full matrix algebraically.
6.5 The Mundell–Fleming Model: A 3×3 System¶
The open economy adds the foreign exchange market (BP curve) to the IS–LM system, yielding a 3×3 linear system determining where is the exchange rate (or the current-account balance, depending on the exchange rate regime).
6.5.1 The Three Equations¶
IS (open economy): Aggregate demand includes net exports :
where (with the marginal propensity to import) and captures the expenditure-switching effect: a higher (weaker domestic currency) improves net exports.
LM (same as closed):
BP (balance of payments): For the capital account where is the world interest rate, and trade balance , the BP equilibrium :
The 3×3 system with :
The solution requires inverting this matrix — straightforward with APL’s ⌹ but algebraically complex by hand.
6.5.2 Exchange Rate Regimes and the Trilemma¶
The Mundell–Fleming model takes its most elegant form under the two polar exchange rate regimes, because each regime eliminates one endogenous variable.
Fixed exchange rate ( fixed, endogenous): The exchange rate is no longer a variable; the BP equation pins down the money supply required to maintain . The system reduces to a problem in with substituted. The fiscal multiplier under fixed rates with perfect capital mobility ():
There is no crowding out under a fixed exchange rate with perfect capital mobility! The BP curve forces ; any tendency for the domestic interest rate to rise above immediately attracts capital inflows, expanding the money supply and keeping . The fiscal expansion faces no interest-rate headwind.
Flexible exchange rate ( endogenous, fixed): Under perfect capital mobility, the capital inflows triggered by a fiscal expansion appreciate the exchange rate ( falls, domestic currency strengthens), crowding out net exports until . Fiscal policy is completely ineffective. But monetary policy — which works through the exchange rate — is fully potent.
Theorem 6.2 (Mundell–Fleming Trilemma, Algebraic Form). Under perfect capital mobility (), the fiscal multiplier satisfies:
Proof sketch. Under perfect capital mobility, at all times. Under a fixed exchange rate, this constraint is satisfied by adjusting , so the LM curve accommodates the fiscal expansion. Under a flexible exchange rate, is fixed, so the LM curve cannot shift — the only way to maintain is through exchange rate appreciation which eliminates the net-export stimulus exactly.
6.6 Worked Example: Full Solution Under Fixed and Flexible Rates¶
Cross-reference: Principles Ch. 21 (exchange rates, UIP, trilemma) [P:Ch.21]
Calibration:
(MPC), (marginal propensity to import), (investment-interest sensitivity)
(interest semi-elasticity of money demand), (income elasticity of money demand)
(exchange rate effect on net exports), , (capital mobility)
, ,
IS–LM solution (closed economy, for reference):
,
(Note: in these units is not a realistic interest rate — the calibration is illustrative.)
Fiscal multipliers:
(complete crowding out via exchange rate appreciation)
Interpretation: Moving from a closed economy to a fixed-exchange-rate open economy raises the fiscal multiplier from 2.0 to 2.5, because the fixed rate prevents the interest rate from rising (capital inflows finance the deficit), eliminating crowding out. Under flexible rates, the multiplier collapses to zero — consistent with Principles Ch. 21 [P:Ch.21.4].
⎕IO←0 ⋄ ⎕ML←1
⍝ 1. Parameters
b ← 0.75 ⋄ b_r ← 2 ⋄ k ← 0.5 ⋄ h ← 4
Abar ← 400 ⋄ MP ← 500
kg ← ÷ 1 - b ⍝ Keynesian multiplier (4.0)
beta_r ← b_r × kg ⍝ IS slope coefficient (8.0)
⍝ 2. Solve Equilibrium [Y*, i*]
⍝ IS: Y + beta_r*i = kg*Abar
⍝ LM: k*Y - h*i = MP
A ← 2 2 ⍴ 1 beta_r k (-h)
b_vec ← (kg × Abar) MP
eq ← b_vec ⌹ A
'Equilibrium [Y, i]:' (4 ⍕ eq)
⍝ 3. Multipliers (Fixed Precedence)
⍝ Formula: h / (h(1-b) + b_r*k)
⍝ We write it R-to-L friendly: h ÷ (b_r×k) + h×1-b
denom ← (b_r × k) + h × 1 - b
mu_G ← h ÷ denom
mu_T ← (¯1 × b × h) ÷ denom
mu_M ← b_r ÷ denom
'Multipliers [G, T, M]:' (4 ⍕ mu_G mu_T mu_M)
⍝ 4. Sensitivity Grid (Fixed ∞ and Precedence)
H ← 0.5 1 2 4 8 1e6 ⍝ Use 1e6 for "Infinity"
BR ← 0.5 1 2 4
⍝ Logic: ⍺ is h, ⍵ is b_r
grid ← H ∘.{⍺ ÷ (⍵ × k) + ⍺ × 1 - b} BR
'Spending Multiplier Grid (Rows=h, Cols=br):'
⍪ ⍕ 2 ⍕ grid# Python — IS-LM system: solve and compute all multipliers
import numpy as np
from sympy import symbols, Matrix, simplify, latex
# Numeric solution
b, b_r, k, h = 0.75, 2.0, 0.5, 4.0
kg = 1/(1-b); beta_r = b_r*kg
Abar, MP = 400, 500
A = np.array([[1, beta_r], [k, -h]])
rhs = np.array([kg*Abar, -MP])
Y_star, i_star = np.linalg.solve(A, rhs)
print(f"Y* = {Y_star:.2f}, i* = {i_star:.4f}")
denom = h*(1-b) + b_r*k
mu_G = h/denom; mu_T = -b*h/denom; mu_M = b_r/denom
print(f"μ_G = {mu_G:.3f}, μ_T = {mu_T:.3f}, μ_M = {mu_M:.3f}")
# Symbolic multipliers via sympy
b_s, br_s, k_s, h_s = symbols('b b_r k h', positive=True)
denom_s = h_s*(1-b_s) + br_s*k_s
print("Symbolic μ_G =", simplify(h_s/denom_s))# Julia — IS-LM with parameter sweep
b, b_r, k, h = 0.75, 2.0, 0.5, 4.0
kg = 1/(1-b); beta_r = b_r*kg
A = [1 beta_r; k -h]
rhs = [kg*400.0, -500.0]
Y_star, i_star = A \ rhs
println("Y* = $(round(Y_star,digits=2)), i* = $(round(i_star,digits=4))")
# Sensitivity: multiplier grid over h and b_r
h_vals = [0.5, 1, 2, 4, 8, 100]
br_vals = [0.5, 1, 2, 4]
println("\nFiscal multiplier grid (rows=h, cols=b_r):")
grid = [h_v / (h_v*(1-b) + br_v*k) for h_v in h_vals, br_v in br_vals]
display(round.(grid, digits=3))# R — IS-LM with symbolic Cramer's rule via Ryacas
library(Ryacas)
# Define symbolic variables
b_s <- ysym("b"); br_s <- ysym("b_r"); k_s <- ysym("k"); h_s <- ysym("h")
Ag_s <- ysym("A_bar"); MP_s <- ysym("M_P")
# IS-LM matrix (symbolic)
A_sym <- ysym("{{1, b_r/(1-b)}, {k, -h}}")
b_sym <- ysym("{A_bar/(1-b), -M_P}")
sol <- yac_str(paste0("Inverse(", as.character(A_sym), ") . ", as.character(b_sym)))
cat("Symbolic solution:\n", sol, "\n")
# Numeric
b <- 0.75; b_r <- 2; k <- 0.5; h <- 4
A_num <- matrix(c(1, k, b_r/(1-b), -h), 2, 2)
b_num <- c(400/(1-b), -500)
solution <- solve(A_num, b_num)
cat(sprintf("Y* = %.2f, i* = %.4f\n", solution[1], solution[2]))6.7 Programming Exercises¶
Exercise 6.1 (APL — Multiplier Sensitivity)¶
Write a dfn islm_grid ← {b b_r k h ← ⍵ ⋄ ...} that returns a vector of multipliers for parameter vector input. Then generate the full fiscal multiplier grid over using ∘.f outer product syntax. What is the fiscal multiplier when both and ?
Exercise 6.2 (Python — Mundell–Fleming 3×3)¶
Implement the full Mundell–Fleming system as a linear system. For the calibration in Section 6.6, compute equilibrium under both fixed and flexible exchange rates. Verify the theoretical prediction that and as .
Exercise 6.3 (Julia — Liquidity Trap Limit)¶
Demonstrate the liquidity trap numerically: compute and as functions of over on a log scale. Plot both multipliers and verify: as , and . As , and . Label the liquidity trap and the classical case on the plot.
Exercise 6.4 — General Comparative Statics ()¶
Using the IFT approach from Section 6.4, derive the effect of a change in expected inflation on equilibrium output and the interest rate . Show that : higher expected inflation reduces the real interest rate for a given nominal rate, stimulating investment and output. Verify numerically using the calibration of Section 6.6.
Exercise 6.5 — IS–LM Welfare Analysis ()¶
Define a social loss function where is potential output and the inflation target. In the static IS–LM framework, price level changes from the AD curve translate deviations of from into inflation deviations. Derive the optimal fiscal and monetary policy mix — the combination that minimizes subject to the IS–LM equilibrium conditions. Show that the optimal policy targets when , and compare with the AD–AS result in Chapter 8.
6.8 Chapter Summary¶
Key results:
The IS–LM model is a linear system with coefficient matrix and , guaranteeing a unique solution.
The fiscal multiplier lies between 0 (classical LM) and (liquidity trap), with crowding out being the source of the gap.
The tax multiplier is smaller in absolute value than : tax cuts are less potent than spending increases.
The monetary multiplier vanishes in the liquidity trap () and when investment is interest-insensitive ().
In the Mundell–Fleming model: under fixed exchange rates with perfect capital mobility, (no crowding out); under flexible rates, (complete crowding out via exchange rate appreciation).
In APL: the entire IS–LM solution is
b_vec ⌹ A; the multiplier grid is generated via∘.fouter product in a single expression.
Connections forward: Chapter 7 derives the Keynesian cross multiplier as the limit of the IS–LM fiscal multiplier. Chapter 8 embeds IS–LM inside the AD–AS framework, adding price level determination. Chapter 9 derives the ELB multiplier — the analogue for the dynamic NK model.
Next: Chapter 7 — The Multiplier Effect in Closed and Open Economies