2
$\begingroup$

I'm currently working to solve the Black-Scholes model partial differential equation (it's a model for a.o. stock option prices). The Black-Scholes equation for a calloption C(S,t) is given by

$ \frac{∂C}{∂t}+\frac{1}{2} σ^2 S^2 \frac{∂^2 C}{∂S^2}+rS \frac{∂C}{∂S}-rC=0$

S is the stock price and t is time to expiration.

I am solving the equation by transforming it to the heat equation. I am having a little trouble with the first few transformation. The transformations are:

  1. $x=\ln⁡(\frac{S}{K})$ which gives $S=Ke^x$
  2. $τ=\frac{σ^2}{2} (T-t)$ which gives $t=T-\frac{2τ}{σ^2}$

The function becomes:

  1. $U(x,τ)= \frac{1}{K} C(S,t)=\frac{1}{K} C(Ke^x,T- \frac{2τ}{σ^2})$

These transformation applied to the partial differential equation above gives the following outcomes for the different terms. I found the following solution on the internet, my problem is that I don't really understand what they do here:

$\frac{∂C}{∂t}=K \frac{∂U}{∂τ} \frac{∂τ}{∂t}=\frac{-Kσ^2}{2} \frac{∂U}{∂τ},$

$\frac{∂C}{∂S}=K \frac{∂U}{∂x} \frac{∂x}{∂S}=\frac{K}{S} \frac{∂U}{∂x}=e^{-x} \frac{∂U}{∂x},$

$\frac{∂^2 C}{∂S^2}=\frac{-K}{S^2} \frac{∂U}{\partial x}+\frac{K}{S} \frac{∂}{∂S} (\frac{∂U}{∂x})$ $=\frac{-K}{S^2} \frac{∂U}{∂x}+\frac{K}{S} \frac{∂}{∂x} (\frac{∂U}{∂x}) \frac{∂x}{∂S}$ $=\frac{-K}{S^2} \frac{∂U}{∂x}+\frac{K}{S^2} \frac{∂^2 U}{∂x^2}$ $=\frac{e^{-2x}}{K} (\frac{∂^2 U}{∂x^2} \frac{-∂U}{∂x}$)

Can someone help me out? I would really appreciate it!!!!

thanks in advance

$\endgroup$
  • $\begingroup$ So I figured out $\frac{∂C}{∂t}$ and $\frac{∂C}{∂S}$ . I just don't get the second derivative of C with respect to S ($\frac{∂^2C}{∂S^2}$). (I accidentally wrote $\frac{∂^2C}{∂C^2}$ in the question :s) Can someone help me with that one? $\endgroup$ – 6thsense Feb 7 '15 at 15:36
  • 2
    $\begingroup$ It appears just ordinary calculus. $\endgroup$ – Gordon Dec 13 '16 at 20:22
2
$\begingroup$

As you state in your comment, you only have trouble with the second partial derivative w.r.t. the spot. So you understand how the first partial derivative is obtained

\begin{equation} \frac{\partial C}{\partial S} = e^{-x} \frac{\partial U}{\partial x}. \end{equation}

Then you just carefully apply the chain rule again. In ALL details:

\begin{eqnarray} \frac{\partial^2 C}{\partial S^2} & = & \frac{\partial}{\partial S} \left\{ e^{-x} \frac{\partial U}{\partial x} \right\}\\ & = & \frac{\partial}{\partial x} \left\{ e^{-x} \right\} \frac{\partial U}{\partial S} + e^{-x} \frac{\partial}{\partial x} \left\{ \frac{\partial U}{\partial S} \right\}\\ & = & \frac{\partial}{\partial x} \left\{ e^{-x} \right\} \frac{\partial x}{\partial S} \frac{\partial U}{\partial x} + e^{-x} \frac{\partial^2 U}{\partial x^2} \frac{\partial x}{\partial S}\\ & = & e^{-x} \frac{\partial x}{\partial S} \left( \frac{\partial^2 U}{\partial x^2} - \frac{\partial U}{\partial x} \right)\\ & = & e^{-x} \frac{1}{S} \left( \frac{\partial^2 U}{\partial x^2} - \frac{\partial U}{\partial x} \right)\\ & = & e^{-2 x} \frac{1}{K} \left( \frac{\partial^2 U}{\partial x^2} - \frac{\partial U}{\partial x} \right) \end{eqnarray}

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.