Transforming the Black–Scholes PDE into the Heat Equation
Summary
The note shows how a coordinate change removes the first-derivative term from a transformed Black–Scholes partial differential equation. After changing time to time remaining and applying a discount factor, the equation contains both a second spatial derivative and a drift term proportional to the first spatial derivative.
Set the new spatial coordinate equal to the old coordinate plus the drift coefficient times time. By the chain rule, the time derivative in the new coordinates includes a spatial-derivative contribution, while the spatial derivative itself is unchanged. That contribution cancels the drift term on the right side, leaving the heat equation with volatility determining its diffusion coefficient. The explanation is an algebraic derivation; it does not discuss boundary conditions, payoff transformations, or solving the resulting equation.
Key ideas
- The transformed Black–Scholes equation includes a spatial drift term alongside its diffusion term.
- A time-dependent shift of the spatial coordinate changes the time derivative by a term proportional to the spatial derivative.
- The added term cancels the drift, reducing the equation to the heat equation.
- The volatility parameter determines the diffusion coefficient in the resulting equation.
Tags
Full text
# Black Scholes to Heat Equation - Substitution
# Black Scholes to Heat Equation - Substitution
Sorry as really basic question. Chapter 8 of Wilmott introduces Q Finance the BS equation is transformed into the heat equation. Firstly by using $ V(S,t) \rightarrow \mathrm{e}^{-r(T - t)}U(S,t) $ and then $ \tau = T - t $
Resulting in: $$ \frac{\partial U}{\partial \tau} = \frac{1}{2}\sigma^2\frac{\partial^2U}{\partial \xi^2} + (r - \frac{1}{2}\sigma^2)\frac{\partial U}{\partial \xi} $$
The final change of variables used is $ x = \xi + (r - \frac{1}{2}\sigma^2)\tau $ which results in the heat equation in terms of $ x $ and $ \tau $.
Could someone please tell me how exactly this variable change reduces the above equation to the heat equation? I seem to be getting $ \frac{1}{2}\sigma^2\frac{\partial^2 U}{\partial x^2} = 0 $. After applying the chain rule for each of the terms.
## Answer by Giogre (score 3)
https://quant.stackexchange.com/a/60187
The starting formulation of the Black-Scholes equation as found in the OP question:
$$ \frac{\partial U}{\partial \tau} = \frac{1}{2} \sigma^2 \frac{\partial^2 U}{\partial \xi^2} + \left(r - \frac{1}{2} \sigma^2 \right) \frac{\partial U}{\partial \xi} $$
This will be proven to be equivalent to the heat equation (the parabolic PDE) after a change of coordinates $(\xi, \tau) \rightarrow (x, \tau)$ defined as:
$$ \begin{align} x &= \xi + \left( r - \frac{1}{2} \sigma^2 \right) \tau\\ \tau &= \tau \end{align} $$
Use of the chain rule clarifies how first derivatives change when passing from a set of coordinates to the other:
$$ \begin{align} \frac{\partial}{\partial \xi (x, \tau)} (*) &= \overbrace{\frac{\partial x}{\partial \xi}}^{= 1} \frac{\partial}{\partial x} (*) + \overbrace{\frac{\partial \tau}{\partial \xi}}^{= 0} \frac{\partial}{\partial \tau} (*)\\ \frac{\partial}{\partial \tau (x, \tau)} (*) &= \underbrace{\frac{\partial x}{\partial \tau}}_{= r - \frac{1}{2} \sigma^2} \frac{\partial}{\partial x} (*) + \underbrace{\frac{\partial \tau}{\partial \tau}}_{= 1} \frac{\partial}{\partial \tau} (*) \end{align} $$
The second order derivative $\frac{\partial^2}{\partial \xi^2 (x, \tau)}$ needs also to be evaluated. Seen from above that $\frac{\partial}{\partial \xi (x, \tau)} = \frac{\partial}{\partial x}$, this is easily:
$$ \frac{\partial^2}{\partial \xi^2 (x, \tau)} (*) = \frac{\partial}{\partial \xi} \left( \frac{\partial}{\partial \xi} (*) \right) = \frac{\partial^2}{\partial x^2} (*) $$
Applying the above reformulations of $\frac{\partial}{\partial \xi (x, \tau)}$, $\frac{\partial}{\partial \tau (x, \tau)}$ and $\frac{\partial^2}{\partial \xi^2 (x, \tau)}$ to the Black-Scholes equation eliminates the first order derivative term and yields the classic heat equation:
$$ \begin{align} \require{cancel}\cancel{\left( r - \frac{1}{2} \sigma^2 \right) \frac{\partial U}{\partial x}} + \frac{\partial U}{\partial \tau} &= \frac{1}{2} \sigma^2 \frac{\partial^2 U}{\partial x^2} + \cancel{\left(r - \frac{1}{2} \sigma^2 \right) \frac{\partial U}{\partial x}} \qquad \qquad \Longrightarrow\\ \Longrightarrow \qquad \qquad \frac{\partial U}{\partial \tau} &= \frac{1}{2} \sigma^2 \frac{\partial^2 U}{\partial x^2} \end{align} $$Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.