MathFin
Map / Valuation · Interest rates / MathFin.Models.Rates.CIRRiccati

The CIR loadings solve their term-structure equations

MathFin.Models.Rates.CIRRiccatiMSC 91G30MSC 60J60JEL E43 source

The Cox–Ingersoll–Ross bond price has the affine form P(0, T) = exp(A(T) − B(T) · r₀), so the A here is the logarithm of the multiplicative factor that vasicekBondA and Brigo–Mercurio call A. With γ = √(κ² + 2σ²) and D(T) = (γ + κ)(e^{γT} − 1) + 2γ, the closed form B(T) = 2(e^{γT} − 1) / D(T) solves B' = 1 − κB − ½σ²B² with B(0) = 0.

After differentiating the quotient, the equation is the identity D² − 2κ(e^{γT} − 1) D − 2σ²(e^{γT} − 1)² = 4γ² e^{γT}, which holds because γ² = κ² + 2σ². The hypothesis κ² + 2σ² > 0 is the weakest that keeps γ > 0; at κ = σ = 0 the denominator is identically zero. Since |κ| ≤ γ, D(T) > 0 for every real T, so no T ≥ 0 hypothesis is needed.

The level loading A(T) = (2κθ/σ²) · log(2γ e^{(κ+γ)T/2} / D(T)) solves A' = −κθB with A(0) = 0, for σ ≠ 0. Its equation reduces to (κ + γ) D / 2 − (γ + κ) γ e^{γT} = −σ² (e^{γT} − 1), again because γ² = κ² + 2σ².

Only these equations are proved. The bond price 𝔼[exp(−∫₀ᵀ r_s ds)] needs the affine (Feynman–Kac) framework, which is not formalized.

Main definitions

  • cirGamma: γ = √(κ² + 2σ²).
  • cirDenom: D(T) = (γ + κ)(e^{γT} − 1) + 2γ.
  • cirBondB: the CIR rate loading B(T) = 2(e^{γT} − 1) / D(T).
  • cirBondA: the CIR level loading in log form, A(T) = (2κθ/σ²) · log(2γ e^{(κ+γ)T/2} / D(T)).

Main results

  • cirBondB_zero: B(0) = 0.
  • hasDerivAt_cirBondB: B' = 1 − κB − ½σ²B² at every T, for κ² + 2σ² > 0.
  • cirBondA_zero: A(0) = 0.
  • hasDerivAt_cirBondA: A' = −κθB at every T, for σ ≠ 0.

References

  • D. Brigo and F. Mercurio, Interest Rate Models --- Theory and Practice [BrigoMercurio2006], §3.2.3
  • J. C. Cox, J. E. Ingersoll and S. A. Ross, A theory of the term structure of interest rates [CoxIngersollRoss1985]

Tags

Cox–Ingersoll–Ross, CIR model, Riccati equation, affine bond price, square-root diffusion, short rate, MSC 91G30, MSC 60J60, JEL E43

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-cir-bond-loading-riccati · interest_rates.json · full statement
CIR Affine Loading B(T) Solves the Riccati Equation

For the Cox–Ingersoll–Ross short rate dr = κ(θ − r)dt + σ√r dW, in the affine form P(0,T) = exp(A(T) − B(T)·r₀) of its bond price, the closed-form rate loading B(T) = 2(e^{γT} − 1)/((γ + κ)(e^{γT} − 1) + 2γ), γ = √(κ² + 2σ²), solves the Riccati equation B'(T) = 1 − κB(T) − ½σ²B(T)² with B(0) = 0, at every real T, whenever κ² + 2σ² > 0. Only this equation is verified: the bond price itself is not derived.

mf-cir-bond-level-loading · interest_rates.json · full statement
CIR Affine Loading A(T) Solves A' = −κθB

For the Cox–Ingersoll–Ross short rate, in the affine form P(0,T) = exp(A(T) − B(T)·r₀) of its bond price, the closed-form level loading A(T) = (2κθ/σ²)·log(2γe^{(κ+γ)T/2} / ((γ + κ)(e^{γT} − 1) + 2γ)), γ = √(κ² + 2σ²), satisfies A(0) = 0 and A'(T) = −κθB(T) at every real T, whenever σ ≠ 0. Only this equation is verified: the bond price itself is not derived.

Declarations 12

defMathFin.cirGammasource
ℝ → ℝ → ℝ

γ = √(κ² + 2σ²).

theoremMathFin.cirGamma_sqsource
∀ (κ σ : ℝ), cirGamma κ σ ^ 2 = κ ^ 2 + 2 * σ ^ 2
theoremMathFin.cirGamma_possource
∀ {κ σ : ℝ}, 0 < κ ^ 2 + 2 * σ ^ 2 → 0 < cirGamma κ σ
defMathFin.cirDenomsource
ℝ → ℝ → ℝ → ℝ

D(T) = (γ + κ)(e^{γT} − 1) + 2γ.

defMathFin.cirBondBsource
ℝ → ℝ → ℝ → ℝ

The CIR rate loading B(T) = 2(e^{γT} − 1) / D(T).

theoremMathFin.cirDenom_possource
∀ {κ σ : ℝ}, 0 < κ ^ 2 + 2 * σ ^ 2 → ∀ (T : ℝ), 0 < cirDenom κ σ T

D(T) > 0 at every T, since |κ| ≤ γ.

theoremMathFin.hasDerivAt_cirDenomsource
∀ (κ σ T : ℝ), HasDerivAt (cirDenom κ σ) ((cirGamma κ σ + κ) * (Real.exp (cirGamma κ σ * T) * cirGamma κ σ)) T

D'(T) = (γ + κ) γ e^{γT}.

theoremMathFin.cirBondB_zerosource
∀ (κ σ : ℝ), cirBondB κ σ 0 = 0
theoremMathFin.hasDerivAt_cirBondBsource
∀ {κ σ : ℝ}, 0 < κ ^ 2 + 2 * σ ^ 2 → ∀ (T : ℝ), HasDerivAt (cirBondB κ σ) (1 - κ * cirBondB κ σ T - σ ^ 2 / 2 * cirBondB κ σ T ^ 2) T

The CIR rate loading solves the Riccati equation B' = 1 − κB − ½σ²B². The proof reduces it to D² − 2κ(e^{γT} − 1) D − 2σ²(e^{γT} − 1)² = 4γ² e^{γT}, using γ² = κ² + 2σ².

defMathFin.cirBondAsource
ℝ → ℝ → ℝ → ℝ → ℝ

The CIR level loading in log form, A(T) = (2κθ/σ²) · log(2γ e^{(κ+γ)T/2} / D(T)): the constant term of the exponent in P = exp(A − B · r₀), so A(0) = 0.

theoremMathFin.cirBondA_zerosource
∀ (κ θ σ : ℝ), cirBondA κ θ σ 0 = 0
theoremMathFin.hasDerivAt_cirBondAsource
∀ (κ θ : ℝ) {σ : ℝ}, σ ≠ 0 → ∀ (T : ℝ), HasDerivAt (cirBondA κ θ σ) (-(κ * θ) * cirBondB κ σ T) T

The CIR level loading solves A' = −κθB. The proof reduces it to (κ + γ) D / 2 − (γ + κ) γ e^{γT} = −σ² (e^{γT} − 1), using γ² = κ² + 2σ².