PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: High Entry average rating: No information on entry rating
[parent] analytic solution of Black-Scholes PDE (Derivation)

Here we present an analytical solution for the Black-Scholes partial differential equation,

$\displaystyle rf = \frac{\partial f}{\partial t} + rx \, \frac{\partial f}{\par... ...frac12 \sigma^2 x^2 \, \frac{\partial^2 f}{\partial x^2}\,, \quad f = f(t,x)\,,$ (1)

over the domain $0 < x < \infty, \: 0 \leq t \leq T$ , with terminal condition $f(T,x) = \psi(x)$ , by reducing this parabolic PDE to the heat equation of physics.

We begin by making the substitution:$$ u = e^{-rt} \, f\,,$$ which is motivated by the fact that it is the portfolio value discounted by the interest rate $r$ (see the derivation of the Black-Scholes formula) that is a martingale. Using the product rule on $f = e^{rt} \, u$ , we derive the PDE that the function $u$ must satisfy:$$ rf = re^{rt} \, u = re^{rt} \, u + e^{rt} \pd{u}{t} + rx e^{rt} \pd{u}{x} + \frac12 \sigma^2 x^2 e^{rt} \pdd{u}{x^2}\,;$$ or simply,

$\displaystyle 0 = \frac{\partial u}{\partial t} + rx \frac{\partial u}{\partial x} + \frac12 \sigma^2 x^2 \frac{\partial^2 u}{\partial x^2}\,.$ (2)

Next, we make the substitutions:$$ y = \log x\,, \quad s = T-t\,.$$ These changes of variables can be motivated by observing that:
  • The underlying process described by the variable $x$ is a geometric Brownian motion (as explained in the derivation of the Black-Scholes formula itself), so that $\log x$ describes a Brownian motion, possibly with a drift. Then $\log x$ should satisfy some sort of diffusion equation (well-known in physics).
  • The evolution of the system is backwards from the terminal state of the system. Indeed, the boundary condition is given as a terminal state, and the coefficient of $\ipd{u}{t}$ is positive in equation ([*]). (Compare with the standard heat equation, $0 = -\ipd{u}{t} + \ipd{u}{x}$ , which describes a temperature distribution evolving forwards in time.) So to get to the heat equation, we have to use a substitution to reverse time.

Since$$ \pd{u}{s} = -\pd{u}{t}\,, \quad \pd{u}{x} = \pd{u}{y} \, \od{y}{x} = \frac{1}{x} \, \pd{u}{y}\,,$$ and$$ \pdd{u}{x^2} = \pd{}{x} \left( \frac{1}{x} \pd{u}{y} \right) = -\frac{1}{x^2} \, \pd{u}{y} + \frac{1}{x^2} \pdd{u}{y^2}\,,$$ substituting in equation ([*]), we find:

$\displaystyle 0 = -\frac{\partial u}{\partial s} + (r- \tfrac12 \sigma^2) \frac... ...rtial u}{\partial y} + \frac12 \sigma^2 \, \frac{\partial^2 u}{\partial y^2}\,.$ (3)

The first partial derivative with respect to $y$ does not cancel (unless $r = \tfrac12 \sigma^2$ ) because we have not take into account the drift of the Brownian motion. To cancel the drift (which is linear in time), we make the substitutions:$$ z = y + (r - \tfrac12 \sigma^2) \tau\,, \quad \tau = s\,.$$ Under the new coordinate system $(z,\tau)$ , we have the relations amongst vector fields:$$ \pd{}{z} = \pd{}{y}\,, \quad \pd{}{\tau} = -(r-\tfrac12 \sigma^2) \pd{}{y} + \pd{}{s}\,,$$ leading to the following transformation of equation ([*]): \begin{align*} 0 = -\pd{u}{\tau} -(r-\tfrac12 \sigma^2) \pd{u}{z} + (r-\tfrac12 \sigma^2) \pd{u}{z} + \frac12 \sigma^2 \pdd{u}{z^2}\,; \end{align*}or:
$\displaystyle \frac{\partial u}{\partial \tau} = \frac12 \sigma^2 \frac{\partial^2 u}{\partial z^2}\,, \quad u = u(\tau, z)\,,$ (4)

which is one form of the diffusion equation. The domain is on $-\infty < z < \infty$ and $0 \leq \tau \leq T$ ; the initial condition is to be: \begin{align*} u(0, z) = e^{-rT} \, \psi(e^{z} ) := u_0(z)\,. \end{align*}The original function $f$ can be recovered by$$ f(t, x) = e^{rt} \, u\Bigl(T-t,\: \log x + (r-\tfrac12 \sigma^2) \tau \Bigr)\,.$$

The fundamental solution of the PDE ([*]) is known to be:$$ G_\tau(z) = \frac{1}{\sqrt{2\pi \sigma^2 \tau}} \exp\Bigl( -\frac{z}{2\sigma^2 \tau} \Bigr)$$ (derived using the Fourier transform); and the solution $u$ with initial condition $u_0$ is given by the convolution:$$ u(\tau, z) = u_0 * G_\tau(z) = \frac{e^{-rT}}{\sqrt{2\pi \sigma^2 \tau}} \, \int_{-\infty}^\infty \psi(e^\zeta) \, \exp \Bigl( - \frac{(z-\zeta)^2}{2\sigma^2 \tau} \Bigr) \, d\zeta\,.$$ In terms of the original function $f$ :$$ f(t, x) = \frac{e^{-r\tau}}{\sqrt{2\pi \sigma^2 \tau}} \int_{-\infty}^\infty \psi (e^\zeta) \, \exp \Bigl( - \frac{\bigl(\log x + (r-\frac12 \sigma^2)\tau -\zeta\bigr)^2} {2\sigma^2 \tau} \Bigr) \, d\zeta\,,$$ ($\tau = T -t$ ) which agrees with the result derived using probabilistic methods.




"analytic solution of Black-Scholes PDE" is owned by stevecheng.
(view preamble | get metadata)

View style:

See Also: example of solving the heat equation, Black-Scholes PDE, Black-Scholes formula


This object's parent.
Log in to rate this entry.
(view current ratings)

Cross-references: convolution, Fourier transform, initial condition, vector fields, coordinate system, partial derivative, positive, coefficient, boundary condition, equation, sort, Brownian motion, variables, function, product rule, martingale, Black-Scholes formula, derivation, interest rate, heat equation, PDE, domain, solution
There is 1 reference to this entry.

This is version 3 of analytic solution of Black-Scholes PDE, born on 2006-12-31, modified 2008-08-26.
Object id is 8706, canonical name is AnalyticSolutionOfBlackScholesPDE.
Accessed 16445 times total.

Classification:
AMS MSC91B28 (Game theory, economics, social and behavioral sciences :: Mathematical economics :: Finance, portfolios, investment)
 60H10 (Probability theory and stochastic processes :: Stochastic analysis :: Stochastic ordinary differential equations)

Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add example | add (any)