Chapter 24 · Fixed Income & Bond Pricing

The Yield Curve & Bond PDEs

From stock pricing to interest rates — the same Feynman-Kac bridge, a more complex destination.
Why the fixed income world is different

Stock pricing models one price: S(t). Fixed income models an entire curve of prices — the yield curve — simultaneously. A bond maturing in 1 month, 6 months, 1 year, 5 years, and 30 years all have different yields, and they all move together in complex, correlated ways. The same Feynman-Kac machinery from Chapter 23 applies — but the input is now an interest rate SDE rather than a stock price SDE.

Stock model vs yield curve model — one price vs a curve of prices Left panel shows a single stock price path over time. Right panel shows a yield curve with multiple maturities producing a curve of bond prices simultaneously. Stock Model — One Price Bond Model — Whole Curve S(t) — one random variable Normal (upward sloping) Flat Inverted B(t,T) — a curve of bond prices

A stock model tracks one number. A bond model must simultaneously describe the entire yield curve across all maturities.

1 · The short rate R(t) — the engine of the market

Rather than modelling the entire yield curve directly, short-rate models focus on a single variable: R(t), the interest rate for borrowing money for an infinitesimal instant. This "short rate" is the engine that drives everything else. All bond prices at all maturities are determined by the expected future path of this one rate — under the risk-neutral measure.

Short rate as the engine — one random rate drives all bond prices across the yield curve A diagram showing R of t as a central engine box, with arrows pointing outward to bond prices at different maturities: 3 months, 1 year, 5 years, 10 years, and 30 years. R(t) The Short Rate B(t, 3M) B(t, 1Y) B(t, 5Y) B(t, 10Y) B(t, 30Y) B(t, 30Y) One random engine → all bond prices simultaneously

One short rate R(t) drives the entire yield curve. All bond prices B(t,T) are risk-neutral expectations of its future path.

The "one-factor" assumption is both a strength and a limitation. Strength: it is mathematically tractable — one SDE produces clean, closed-form bond prices. Limitation: real yield curves twist and steepen in ways that one factor cannot capture. A one-factor model predicts that all rates move in parallel. Multi-factor models (two or three factors) are needed to model the slope and curvature of the yield curve independently.

2 · Zero-coupon bonds — the basic building block

The simplest fixed income instrument is the zero-coupon bond: a contract that pays exactly $1 at maturity T, with no intermediate payments. Its price today B(t,T) is the present value of that future dollar — discounted at whatever interest rates happen between now and T. All other fixed income instruments (coupon bonds, swaps, interest rate options) can be decomposed into zero-coupon bonds.

The Bond Pricing PDE
fₜ + β(t,r)·fᵣ + ½γ²(t,r)·fᵣᵣ = r·f
Terminal condition: f(T, r) = 1 (bond pays $1 at maturity)
fₜ
How bond price changes over time (time decay)
β·fᵣ
Drift of rates — how bond price shifts when r changes
½γ²fᵣᵣ
Convexity — curvature from rate volatility
= r·f
Right side: risk-free discounting at current rate r

This is the exact same three-step recipe from Chapter 23, now applied to R(t) instead of S(t). The only differences are: (1) the variable is r (the rate) instead of x (the stock price), and (2) the terminal condition is f(T,r) = 1 (the bond pays $1) instead of a payoff function h(x).

The bond price has an important interpretation: B(t,T) = 𝔼̃[ e^(−∫ₜᵀ R(u)du) | ℱ(t) ]. It is the risk-neutral expectation of the cumulative discount factor from t to T. This is Feynman-Kac in fixed income — the PDE and the expectation are two routes to the same bond price.

3 · Affine yield models — the elegant closed forms

For certain SDE specifications, the bond pricing PDE has a beautiful closed-form solution. These are called Affine Yield Models because the yield (log of the bond price divided by maturity) is an affine — that is, a linear — function of the current short rate. The bond price always takes the exponential-affine form:

The Affine Bond Price Formula
B(t, T) = exp{ −A(t,T)·r − C(t,T) }
A(t,T) — the coefficient on the short rate. Determined by an ODE.
C(t,T) — a time-dependent intercept. Also determined by an ODE.

The yield Y(t,T) = [A(t,T)·r + C(t,T)] / (T−t) is a straight-line (affine) function of r.
Plug in r, get the bond price instantly — no simulation needed.

Hull-White

dR = (a−bR)dt + σ dW

Mean-reverting rubber band. Constant volatility. The affine solution has explicit formulas for A(t,T) and C(t,T). Analytically tractable — yields closed-form prices for bonds and many interest rate derivatives.

⚠ Allows negative rates. Gaussian distribution means the bell curve's tail extends below zero.

CIR Model

dR = (a−bR)dt + σ√R dW

Same rubber band but volatility shrinks as R→0. Still affine — closed-form solution exists (involves Bessel functions). Rates stay positive. More complex but more realistic for post-zero-rate environments.

✓ Rates stay non-negative. Chi-squared distribution — fatter tails than Gaussian.
Affine yield curves from Hull-White and CIR models — both producing smooth yield curves from the same short rate Two panels side by side showing yield curves generated by Hull-White on the left and CIR on the right. Both show upward sloping curves for different starting short rates. Hull-White Yield Curves CIR Yield Curves Maturity → r=5% r=8% r=2% Maturity → r=5% r=8% r=2%

Both models produce smooth, well-behaved yield curves for different starting short rates. The affine structure guarantees this shape analytically — no Monte Carlo needed.

4 · Options on bonds — the two-step process

A European call option on a bond gives you the right to buy a specific bond at price K at a future date T₁, where the bond itself matures at T₂ > T₁. Pricing this requires solving two PDEs sequentially — the same PDE structure, applied twice with different terminal conditions.

1
Solve the Bond PDE — find f(T₁, r)
At the option's exercise date T₁, you need to know the price of the underlying bond (which matures at T₂). Solve the bond PDE backward from T₂ to T₁ with terminal condition f(T₂,r) = 1.
fₜ + βfᵣ + ½γ²fᵣᵣ = r·f,   f(T₂,r) = 1
2
Solve the Option PDE — using bond price as input
Now price the option itself. Solve the same PDE backward from T₁ to today, but with a different terminal condition: the option payoff at T₁ = (bond price − K)⁺ = (f(T₁,r) − K)⁺.
gₜ + βgᵣ + ½γ²gᵣᵣ = r·g,   g(T₁,r) = (f(T₁,r) − K)⁺
Two-step bond option pricing — backward from T2 to T1 for bond price, then backward from T1 to today for option price A timeline showing three points: today, T1 the option expiry, and T2 the bond maturity. An arrow sweeps backward from T2 to T1 labeled Step 1 bond PDE, then another arrow sweeps backward from T1 to today labeled Step 2 option PDE. t₀ Today T₁ Option expiry (f(T₁,r)−K)⁺ T₂ Bond maturity f = $1 Step 1 — Bond PDE Step 2 — Option PDE

Two PDEs solved sequentially: backward from T₂ → T₁ (bond price), then backward from T₁ → today (option price). Same equation, different terminal conditions.

For the Hull-White model, this two-step process has a complete closed-form solution — the Bond Option Formula. It looks similar to Black-Scholes but with the Hull-White yield replacing the stock price and a bond-specific volatility replacing σ. For CIR, the solution involves the non-central chi-squared distribution. Both are faster than Monte Carlo for simple bond options.

Try it — the affine yield curve builder

Set the current short rate and model parameters. The simulator computes the zero-coupon yield curve using the affine bond price formula for both Hull-White and CIR. Observe how different short rates produce different curve shapes — normal, flat, or inverted.

5.0%
5.0%
0.5
1.5%
Short rate
1Y yield
10Y yield
Curve shape

Gold = yield curve at current R(0)  |  Dashed teal = long-run mean rate  |  Shape changes from normal to flat to inverted as R(0) rises above the mean

Chapter 24 — bond pricing and the yield curve in four ideas:

What comes next: Multidimensional Feynman-Kac — extending the PDE bridge to multiple correlated assets, path-dependent options (Asian options where the payoff depends on the average price), and the computational machinery needed to solve high-dimensional PDEs in practice.