(My Question)
I went through the calculations halfway, but I cannot find out how to calculate the following Riccatti equation. Please tell me how to calculate this The Riccatti equation with its computation processes. If you have other solutions, please let me know.
- If B(s) satisfies the following O.D.E (The Riccatti equation),
\begin{eqnarray} B'(s) + \beta B(s) + \frac{1}{2} \sigma^2 B(s)^2 =1 \end{eqnarray}
- the answer must be below. (Please show the computation processes.)
\begin{eqnarray} B(s)= \frac{ 2 \left( \exp(\gamma s) -1 \right) }{2\gamma +(\beta +\gamma)\left( \exp(\gamma s) -1 \right) } \qquad \mbox{with} \ \mbox{ $\gamma=\sqrt{ \beta^2+2\sigma^2}$} \end{eqnarray}
(Thank you for your help in advance.)
(Cross-link)
I have posted the same question on https://math.stackexchange.com/questions/3333207/the-riccatti-equation-for-the-cox-ingerson-ross-model
(Original Questions)
(1) Write down the bond pricing P.D.E for the function \begin{eqnarray} P(t, T) = E^{ \mathbb{Q} } \left[ \exp \left( - \int^T_t r_s ds \right) \middle| r_t=x \right] \end{eqnarray} (2) and show that in case $\alpha =0 $ the corresponding bind price $P(t, T)$ equals \begin{eqnarray} P(t, T) = \exp \left( - B(T-t) r_s \right) \end{eqnarray} where $t \in [0, T] $ and \begin{eqnarray} B(x)= \frac{ 2 \left( \exp(\gamma x) -1 \right) }{2\gamma +(\beta +\gamma)\left( \exp(\gamma x) -1 \right) } \end{eqnarray} with $\gamma=\sqrt{ \beta^2+2\sigma^2}$.
(1) My answer
Since the Cox-Ingerson-Ross Model has the below S.D.E, its corresponding P.D.E (namely the bond pricing P.D.E) comes to the following equation by Feynman-Kac Theorem (or by Exercise 4.1.(1) ). Besides, the terminal condition is $F(T, x)=1$. \begin{eqnarray} dr_t= (\alpha - \beta r_t ) dt + \sigma \sqrt{r_t} dB_t \end{eqnarray}
which models the variations of the short rate process $r_t$, where $\alpha, \beta, \sigma $ and $r_0$ are positive parameters. When the model is the Ho-Lee Model, $dr_t = \theta dt + \sigma dB_t$, its P.D.E is below. \begin{eqnarray} \partial_t F(t, x) + \theta \partial_x F(t, x) + \frac{1}{2} \sigma^2 \partial_{xx} F(t, x) -xF(t, x) =0 \end{eqnarray}
Then the Cox-Ingerson-Ross Model has the following P.D.E. \begin{eqnarray} \partial_t F(t, x) + (\alpha - \beta x ) \partial_x F(t, x) + \frac{1}{2} \sigma^2 x\partial_{xx} F(t, x) -xF(t, x) =0 \end{eqnarray}
When $\alpha=0$, $dr_t= - \beta r_t dt + \sigma \sqrt{r_t} dB_t$, it comes to below. \begin{eqnarray} \partial_t F(t, x) - \beta x \partial_x F(t, x) + \frac{1}{2} \sigma^2 x\partial_{xx} F(t, x) -xF(t, x) =0 \end{eqnarray}
Here, if the S.D.E is the Generalized Affine Model, it comes to below \begin{eqnarray} dr_t= \left( \eta_t + \lambda_t r_t \right) dt + \sqrt{ \delta_t + \gamma_t r_t} dB_t \end{eqnarray}
The S.D.E of the Generalized Affine Model yields a bond pricing formula of the form: \begin{eqnarray} P(t, T) = \exp \left( A(T-t) +C(T-t)r_t\right) \end{eqnarray}
Comparing the conditional bond pricing formula, $P(t, T) = \exp \left( - B(T-t) r_s \right) $, to the above formula, one reaches below. \begin{eqnarray} && A(T-t)=0 \\ &&C(T-t)r_t = - B(T-t) r_s \end{eqnarray}
Let $F(t, x)=\exp \left( - B(T-t) x \right) $. \begin{eqnarray} \partial_t F(t, x) &=& B'(T-t) x F(t, x) \\ \partial_x F(t, x) &=& -B(T-t) F(t, x) \\ \partial_{xx} F(t, x) &=&B(T-t)^2 F(t, x) \end{eqnarray}
The P.D.E comes to below. \begin{eqnarray} &&\partial_t F(t, x) - \beta x \partial_x F(t, x) + \frac{1}{2} \sigma^2 x\partial_{xx} F(t, x) -xF(t, x) \\ &&\qquad \qquad = B'(T-t) x F(t, x) - \beta x (-B(T-t) F(t, x)) \nonumber \\ && \qquad \qquad\qquad + \frac{1}{2} \sigma^2 x B(T-t)^2 F(t, x) -xF(t, x)\\ && \qquad \qquad = B'(T-t) x F(t, x) + \beta x B(T-t) F(t, x) \nonumber \\ && \qquad \qquad\qquad + \frac{1}{2} \sigma^2 x B(T-t)^2 F(t, x) -xF(t, x)\\ && \qquad \qquad\qquad =0 \end{eqnarray}
$\square$
(2) My Answer
Since $F(t, x) \neq 0$ and $x \neq 0$, the above equation comes to below. \begin{eqnarray} && B'(T-t) x F(t, x) + \beta x B(T-t) F(t, x) \nonumber \\ && \qquad\qquad \qquad\qquad + \frac{1}{2} \sigma^2 x B(T-t)^2 F(t, x) -xF(t, x)\\ && \qquad \qquad = B'(T-t) x + \beta x B(T-t) + \frac{1}{2} \sigma^2 x B(T-t)^2 -x \\ && \qquad \qquad = B'(T-t) + \beta B(T-t) + \frac{1}{2} \sigma^2 B(T-t)^2 -1 \\ &&\qquad \qquad =0 \end{eqnarray}
Let $T-t=s$, one reaches the following equation. \begin{eqnarray} B'(s) + \beta B(s) + \frac{1}{2} \sigma^2 B(s)^2 =1 \end{eqnarray}
One finds out it is the Riccatti equation because of $A(s)=0$.
(Thank you for your help in advance.)
$\square$