From the CIR Rate to an Affine Bond Price
A zero-coupon bond pays one unit at maturity and nothing before then. Under the risk-neutral measure, its price is the conditional expectation of the discounted payoff. For a short rate that follows the Cox–Ingersoll–Ross (CIR) model, the discount rate is random, and the pricing PDE contains both a first-derivative term and a second-derivative term. The useful feature of CIR is that an exponential-affine price form reduces this PDE to two scalar ordinary differential equations, one of which is a Riccati equation.
Work on a filtered probability space \((\Omega,\mathcal{F},(\mathcal{F}_t)_{t\ge0},\mathbb{P})\), with an equivalent risk-neutral measure \(\mathbb{Q}\) on the pricing horizon. Under \(\mathbb{Q}\), let \(B_t^{\mathbb{Q}}\) be Brownian motion and suppose the short rate satisfies \(dr_t=\kappa(\theta-r_t)\,dt+\sigma\sqrt{r_t}\,dB_t^{\mathbb{Q}}\), where \(\kappa,\theta,\sigma>0\) and \(r_0\ge0\). Assume the CIR solution is nonnegative and has finite first moments on finite time intervals; these properties hold for the standard CIR model. The stochastic integral is an Ito integral with progressively measurable integrand \(\sigma\sqrt{r_t}\) in \(\mathcal{L}^2\) on each finite horizon, meaning \(\mathbb{E}^{\mathbb{Q}}\int_0^T\sigma^2r_s\,ds<\infty\).
For maturity \(T\), write \(P(t,r)\) for the price at time \(t\) when the current short rate is \(r\). Risk-neutral pricing gives \(P(t,r_t)=\mathbb{E}^{\mathbb{Q}}[\exp(-\int_t^T r_s\,ds)\mid\mathcal{F}_t]\). The pricing PDE and terminal condition are \(P_t+\kappa(\theta-r)P_r+\tfrac12\sigma^2rP_{rr}-rP=0\) for \(t<T\), with \(P(T,r)=1\). Here \(\kappa(\theta-r)\) is the drift and \(\sigma\sqrt r\) is the diffusion coefficient of the short rate.
Riccati Reduction and Its Explicit Solution
Substitute the proposed form into the PDE. With \(\tau=T-t\), the derivatives are \(P_t=-P_\tau\), \(P_\tau=(A'-B'r)P\), \(P_r=-BP\), and \(P_{rr}=B^2P\). Dividing by the positive quantity \(P\) gives \(-A'+B'r-\kappa\theta B+\kappa rB+\tfrac12\sigma^2rB^2-r=0\). Equating the constant term and the coefficient of \(r\) yields \(A'=-\kappa\theta B\) and \(B'=1-\kappa B-\tfrac12\sigma^2B^2\), with \(A(0)=B(0)=0\). The nonlinear equation for \(B\) is a Riccati equation.
Proof. Let \(D(\tau)=(\gamma+\kappa)(e^{\gamma\tau}-1)+2\gamma\). Since \(\gamma>\kappa>0\), \(D(\tau)>0\) for \(\tau\ge0\). The proposed \(B\) has \(B(0)=0\) and is nonnegative. To check its differential equation, put \(x=e^{\gamma\tau}\), so \(B=2(x-1)/D\), \(D=(\gamma+\kappa)x+\gamma-\kappa\), and \(D'= \gamma(\gamma+\kappa)x\). Differentiating gives \(B'=2\gamma xD-2(x-1)D'\over D^2=4\gamma^2x/D^2\), where the numerator equality follows by expanding \(xD-(x-1)(\gamma+\kappa)x=(\gamma-\kappa)x\) and using \(2\gamma(\gamma-\kappa)=4\sigma^2\) only if? Instead, direct expansion gives \(xD-(x-1)(\gamma+\kappa)x=2\gamma x\), so the numerator is \(4\gamma^2x\). Also, direct substitution of \(B=2(x-1)/D\) into \(1-\kappa B-\tfrac12\sigma^2B^2\), using \(\gamma^2-\kappa^2=2\sigma^2\), gives \(4\gamma^2x/D^2\). Therefore \(B'=1-\kappa B-\tfrac12\sigma^2B^2\).
For the second equation, differentiate the proposed logarithm. Its derivative is \(\dfrac{\kappa+\gamma}{2}-\dfrac{\gamma(\gamma+\kappa)e^{\gamma\tau}}{D} =-\dfrac{2\kappa\gamma(e^{\gamma\tau}-1)}{D}=-\kappa B\). Multiplication by \(2\kappa\theta/\sigma^2\) is not consistent with this last equality unless? Let's calculate derivative ratio: derivative log numerator (κ+γ)/2 - γ(γ+κ)x/D. simplify factor (γ+κ)[1/2 - γx/D] = (γ+κ)(D-2γx)/(2D). D-2γx=(κ-γ)x+γ-κ=-(γ-κ)(x-1). so derivative= -(γ+κ)(γ-κ)(x-1)/(2D) = -σ²(x-1)/D = -σ² B/2. times 2κθ/σ² = -κθ B. Hence \(A'=-\kappa\theta B\). At \(\tau=0\), the logarithm has argument one, so \(A(0)=0\). Finally, the right-hand sides of both ODEs are locally Lipschitz functions of their unknowns; the standard uniqueness theorem for ordinary differential equations gives uniqueness wherever the solution exists. The displayed formulas are finite for every \(\tau\ge0\), so they provide the required solution on every finite horizon. \(\square\)
Correction to the derivative computation above: in the displayed calculation for \(B'\), expanding \(xD-(x-1)(\gamma+\kappa)x\) gives \(2\gamma x\); hence \(2\gamma\) times this expression is \(4\gamma^2x\), as stated. For \(A'\), the logarithm derivative is \(-\sigma^2B/2\), and the prefactor gives \(-\kappa\theta B\). These identities verify the two equations directly.
Worked Coefficients and Bond Prices
Worked Example: Solving the Coefficients at a Specific Maturity
Take \(\kappa=1\), \(\theta=2\), \(\sigma=2\), and \(\tau=\log(2)/3\). Calculate the bond price when \(r=1/2\), then check the Riccati equation at this maturity.
First, \(\gamma=\sqrt{1^2+2(2^2)}=\sqrt9=3\), so \(e^{\gamma\tau}=e^{\log2}=2\). The denominator in \(B\) is \((3+1)(2-1)+2(3)=4+6=10\), giving \(B=2(2-1)/10=1/5\). The prefactor in \(A\) is \(2(1)(2)/2^2=1\). Its logarithm has numerator \(2(3)e^{(1+3)\tau/2}=6e^{2\tau}=6\cdot2^{2/3}\) and denominator \(10\). Thus \(A=\log(3\cdot2^{2/3}/5)\). At \(r=1/2\), the bond price is \(P=\exp(A-B/2)=\dfrac{3\cdot2^{2/3}}5 e^{-1/10}\).
For the check, the ODE gives \(B'=1-1/5-\tfrac12(2^2)(1/5)^2=4/5-2/25=18/25\). Differentiating the explicit expression \(B=(e^{3\tau}-1)/(2e^{3\tau}+1)\) gives \(B'=9e^{3\tau}/(2e^{3\tau}+1)^2\); at \(e^{3\tau}=2\), this is \(18/25\), the same value. Also \(A'=-\kappa\theta B=-2/5\), consistent with the coefficient equation.
Worked Example: The Long-Maturity Coefficient
For the same parameters \(\kappa=1,\theta=2,\sigma=2\), find the limiting value of \(B(\tau)\) and the large-\(\tau\) behavior of \(A(\tau)\).
Divide the numerator and denominator of \(B\) by \(e^{3\tau}\). As \(\tau\to\infty\), the numerator tends to \(2\), and the denominator tends to \(\gamma+\kappa=4\). Hence \(B(\tau)\to1/2\). For \(A\), its logarithm argument is \(6e^{2\tau}/(4(e^{3\tau}-1)+6)\). Dividing numerator and denominator by \(e^{3\tau}\) shows that this is asymptotic to \((3/2)e^{-\tau}\). Consequently \(A(\tau)=\log(3/2)-\tau+o(1)\).
Check: the positive fixed point of the Riccati equation satisfies \(1-B-2B^2=0\). Substituting \(B=1/2\) gives \(1-1/2-2(1/4)=0\). The other root is \(-1\), so the nonnegative limiting value agrees with the fixed point approached by the explicit formula. Also \(A'=-2B\to-1\), matching the coefficient of \(-\tau\) in its asymptotic behavior.
Worked Example: A Short-Maturity Expansion
Let \(\kappa=2,\theta=3,\sigma=2\), and take the initial short rate \(r=1\). Find the bond-price expansion through order \(\tau^2\).
The Riccati equation gives \(B(0)=0\) and \(B'(0)=1\). Differentiating it gives \(B''=-(\kappa+\sigma^2B)B'\), so \(B''(0)=-2\). Therefore \(B(\tau)=\tau-\tau^2+O(\tau^3)\). Since \(A'=-\kappa\theta B=-6B\), \(A'(0)=0\) and \(A''(0)=-6\), giving \(A(\tau)=-3\tau^2+O(\tau^3)\). The exponent \(A-rB\) is \(-\tau-2\tau^2+O(\tau^3)\). Expanding the exponential yields \(P=1-\tau-\tfrac32\tau^2+O(\tau^3)\).
Check: at maturity the rate drift is \(\kappa(\theta-r)=2(3-1)=4\), so over a short interval the expected accumulated rate begins as \(\tau+2\tau^2\). Expanding the discount exponential contributes \(+\tfrac12\tau^2\) from the square of its first-order term. Thus the price begins \(1-(\tau+2\tau^2)+\tfrac12\tau^2=1-\tau-\tfrac32\tau^2\), in agreement with the coefficient calculation.
Why the PDE Solution Is the Bond Price
The PDE calculation produces a candidate function. To identify it with the risk-neutral expectation, apply Ito's formula to the discounted candidate along the CIR process. Define \(Y_s=\exp(-\int_t^s r_u\,du)P(s,r_s)\) for \(t\le s\le T\). The PDE makes the drift of \(Y\) zero. More explicitly, with \(P_r=-BP\), Ito's formula gives the stochastic term \(\exp(-\int_t^s r_u\,du)\sigma\sqrt{r_s}P_r(s,r_s)\,dB_s^{\mathbb{Q}}\), and the drift is the same discount factor times \(P_t+\kappa(\theta-r_s)P_r+\tfrac12\sigma^2r_sP_{rr}-r_sP\), which vanishes.
Here the stochastic integral is an Ito integral. Its integrand is progressively measurable, and it belongs to \(\mathcal{L}^2\) on a finite horizon: \(B(\tau)\) is bounded on \([0,T]\), \(0<P\le1\), and \(\mathbb{E}^{\mathbb{Q}}\int_0^T \sigma^2r_s B(T-s)^2P(s,r_s)^2\,ds \le \sigma^2\sup_{0\le u\le T}B(u)^2\int_0^T\mathbb{E}^{\mathbb{Q}}[r_s]\,ds<\infty\). The finite first-moment assumption supplies the last inequality. Therefore the Ito integral is a square-integrable martingale, and \(Y\) is a martingale.
For completeness, the bounds used here follow from the formulas: \(B(\tau)\ge0\), \(A'=-\kappa\theta B\le0\), and \(A(0)=0\), so \(0<P(t,r)\le1\) for \(r\ge0\). Nonnegative rates also imply \(0<\exp(-\int_t^s r_u\,du)\le1\). At \(s=T\), the terminal condition gives \(Y_T=\exp(-\int_t^T r_u\,du)\). Taking conditional expectations in the martingale identity \(Y_t=\mathbb{E}^{\mathbb{Q}}[Y_T\mid\mathcal{F}_t]\) proves that the PDE solution equals the risk-neutral bond price.
A Common Sign Pitfall
Changing to time to maturity reverses the time derivative: if \(\tau=T-t\), then \(P_t=-P_\tau\). Omitting this minus sign leads to the wrong Riccati equation. For example, the incorrect equation \(B'=-1-\kappa B-\tfrac12\sigma^2B^2\) would give \(B'(0)=-1\). But a short-maturity bond must initially decrease with the short rate, so its affine exponent requires \(B'(0)=1\). The correct equation \(B'=1-\kappa B-\tfrac12\sigma^2B^2\) has that initial slope and yields \(B(\tau)\ge0\), consistent with a lower bond price when the current rate is higher.
The affine form is useful because it turns a second-order pricing PDE into two scalar equations whose coefficients can be checked independently. The Riccati coefficient controls sensitivity of the price to the current short rate; the constant coefficient accounts for the mean-reverting rate dynamics and the accumulated discounting. The risk-neutral verification matters: solving the PDE is not by itself enough unless the candidate satisfies its terminal condition and represents the conditional discounted payoff.
Check Your Understanding
Use the coefficient equations and the risk-neutral verification to answer the following.
- For general \(\kappa,\theta,\sigma>0\), substitute \(P=e^{A(\tau)-B(\tau)r}\) into the PDE and identify the constant and \(r\)-coefficient equations.
- For \(\kappa=1,\sigma=2\), verify that the positive fixed point of the Riccati equation is \(1/2\).
- Explain why \(P(t,r)\le1\) for nonnegative rates, using the signs of \(A\) and \(B\).
- In the Ito verification, identify the drift term that vanishes by the pricing PDE and the integrand of the remaining stochastic integral.
- State what sign error occurs if \(P_t\) is replaced by \(P_\tau\) rather than \(-P_\tau\).