Given that dr=(η−γr)dt+√αr+βdW
Let Z(r,t)=eA(t;T)−rB(t;T),
dAdt=ηB−12βB2dBdt=12αB2+γB−1
How can we solve for B in this case?
B is a Riccati Equation. The answer for B is given below:
B(t;T)=2(eΨ1(T−t)−1)(γ+Ψ1)(eΨ1(T−t)−1)+2Ψ1,
where Ψ1=√γ2+2α
Answer
As you noted, this is a Riccati type ODE and it can thus be simplified using the standard transformations for this class - see e.g. Wikipedia. We start by defining
C(t,T)=12αB(t,T)⇒Ct(t,T)=12αBt(t,t)
and get
Ct(t,T)=C2(t,T)+γC(t,T)−12α.
We now set
C(t,T)=−Dt(t,T)D(t,T)⇒Ct(t,T)=−Dtt(t,T)D(t,T)+D2t(t,T)D2(t,T)=−Dtt(t,T)D(t,T)+C2(t,T)
and get
Dtt(t,T)D(t,T)=C2(t,T)−Ct(t,T)=−γC(t,T)+12α=γDt(t,T)D(t,T)+12α
or
Dtt(t,T)=γDt(t,T)+12αD(t,T).
This is a homogeneous second order linear ODE with constant coefficients and can be solved using standard methods. We note that T has been fixed and make another substitution by defining τ=T−t such that E(τ)=D(t,T). We get
Eττ(τ)+γEτ(τ)−12αE(τ)=0.
The characteristic equation is
r2+γr−12α=0
with solutions
r1,2=−12γ±12√γ2+2α:=β±λ.
Note that λ=12ψ1 in your notation. We thus have the general solution
E(τ)=c1e(β+λ)τ+c2e(β−λ)τ
with
Eτ(τ)=(β+λ)e(β+λ)τ+(β−λ)c2e(β−λ)τ
and for some constants c1 and c2 that have to be determined. We obtain the solution to the Riccati ODE by substituting back
B(t,T)=2C(t,T)α=−2Dt(t,T)αD(t,T)=2Eτ(τ)αE(τ).
Applying the terminal condition yields
B(T,T)=0⇔Eτ(0)=0⇔c1=−c2β−λβ+λ.
Thus
E(τ)=c2β+λeβτ((β+λ)e−λτ−(β−λ)eλτ)
and
Eτ(τ)=(β−λ)c2eβτ(e−λτ−eλτ).
We finally get
B(t,T)=2(β2−λ2)(e−λτ−eλτ)α((β+λ)e−λτ−(β−λ)eλτ)=(e2λτ−1)(β+λ)−(β−λ)e2λτ=2(eψ1(T−t)−1)(γ+ψ1)(eψ1(T−t)−1)+2ψ1.
No comments:
Post a Comment