# Black–Scholes equation

From Wikipedia the free encyclopedia

In mathematical finance, the Black–Scholes equation is a partial differential equation (PDE) governing the price evolution of a European call or European put under the Black–Scholes model.[1] Broadly speaking, the term may refer to a similar PDE that can be derived for a variety of options, or more generally, derivatives.

Simulated geometric Brownian motions with parameters from market data

For a European call or put on an underlying stock paying no dividends, the equation is:

${\displaystyle {\frac {\partial V}{\partial t}}+{\frac {1}{2}}\sigma ^{2}S^{2}{\frac {\partial ^{2}V}{\partial S^{2}}}+rS{\frac {\partial V}{\partial S}}-rV=0}$

where V is the price of the option as a function of stock price S and time t, r is the risk-free interest rate, and ${\displaystyle \sigma }$ is the volatility of the stock.

The key financial insight behind the equation is that, under the model assumption of a frictionless market, one can perfectly hedge the option by buying and selling the underlying asset in just the right way and consequently “eliminate risk". This hedge, in turn, implies that there is only one right price for the option, as returned by the Black–Scholes formula.

## Financial interpretation of the Black–Scholes PDE

The equation has a concrete interpretation that is often used by practitioners and is the basis for the common derivation given in the next subsection. The equation can be rewritten in the form:

${\displaystyle {\frac {\partial V}{\partial t}}+{\frac {1}{2}}\sigma ^{2}S^{2}{\frac {\partial ^{2}V}{\partial S^{2}}}=rV-rS{\frac {\partial V}{\partial S}}}$

The left-hand side consists of a "time decay" term, the change in derivative value with respect to time, called theta, and a term involving the second spatial derivative gamma, the convexity of the derivative value with respect to the underlying value. The right-hand side is the riskless return from a long position in the derivative and a short position consisting of ${\textstyle {\partial V}/{\partial S}}$ shares of the underlying.

Black and Scholes' insight was that the portfolio represented by the right-hand side is riskless: thus the equation says that the riskless return over any infinitesimal time interval can be expressed as the sum of theta and a term incorporating gamma. For an option, theta is typically negative, reflecting the loss in value due to having less time for exercising the option (for a European call on an underlying without dividends, it is always negative). Gamma is typically positive and so the gamma term reflects the gains in holding the option. The equation states that over any infinitesimal time interval the loss from theta and the gain from the gamma term must offset each other so that the result is a return at the riskless rate.

From the viewpoint of the option issuer, e.g. an investment bank, the gamma term is the cost of hedging the option. (Since gamma is the greatest when the spot price of the underlying is near the strike price of the option, the seller's hedging costs are the greatest in that circumstance.)

## Derivation of the Black–Scholes PDE

The following derivation is given in Hull's Options, Futures, and Other Derivatives.[2]: 287–288  That, in turn, is based on the classic argument in the original Black–Scholes paper.

Per the model assumptions above, the price of the underlying asset (typically a stock) follows a geometric Brownian motion. That is

${\displaystyle {\frac {dS}{S}}=\mu \,dt+\sigma \,dW\,}$

where W is a stochastic variable (Brownian motion). Note that W, and consequently its infinitesimal increment dW, represents the only source of uncertainty in the price history of the stock. Intuitively, W(t) is a process that "wiggles up and down" in such a random way that its expected change over any time interval is 0. (In addition, its variance over time T is equal to T; see Wiener process § Basic properties); a good discrete analogue for W is a simple random walk. Thus the above equation states that the infinitesimal rate of return on the stock has an expected value of μ dt and a variance of ${\displaystyle \sigma ^{2}dt}$.

The payoff of an option (or any derivative contingent to stock ${\displaystyle S}$ ) ${\displaystyle V(S,T)}$ at maturity is known. To find its value at an earlier time we need to know how ${\displaystyle V}$ evolves as a function of ${\displaystyle S}$ and ${\displaystyle t}$. By Itô's lemma for two variables we have

${\displaystyle dV=\left(\mu S{\frac {\partial V}{\partial S}}+{\frac {\partial V}{\partial t}}+{\frac {1}{2}}\sigma ^{2}S^{2}{\frac {\partial ^{2}V}{\partial S^{2}}}\right)dt+\sigma S{\frac {\partial V}{\partial S}}\,dW}$

Now consider a certain portfolio, called the delta-hedge portfolio, consisting of being short one option and long ${\textstyle {\partial V}/{\partial S}}$ shares at time ${\displaystyle t}$. The value of these holdings is

${\displaystyle \Pi =-V+\int {\frac {\partial V}{\partial S}}dS}$

Over the time period ${\displaystyle [t,t+\Delta t]}$, the total profit or loss from changes in the values of the holdings is (but see note below):

${\displaystyle \Delta \Pi =-\Delta V+{\frac {\partial V}{\partial S}}\,\Delta S}$

Now discretize the equations for dS/S and dV by replacing differentials with deltas:

${\displaystyle \Delta S=\mu S\,\Delta t+\sigma S\,\Delta W\,}$
${\displaystyle \Delta V=\left(\mu S{\frac {\partial V}{\partial S}}+{\frac {\partial V}{\partial t}}+{\frac {1}{2}}\sigma ^{2}S^{2}{\frac {\partial ^{2}V}{\partial S^{2}}}\right)\Delta t+\sigma S{\frac {\partial V}{\partial S}}\,\Delta W}$

and appropriately substitute them into the expression for ${\displaystyle \Delta \Pi }$:

${\displaystyle \Delta \Pi =\left(-{\frac {\partial V}{\partial t}}-{\frac {1}{2}}\sigma ^{2}S^{2}{\frac {\partial ^{2}V}{\partial S^{2}}}\right)\Delta t}$

Notice that the ${\displaystyle \Delta W}$ term has vanished. Thus uncertainty has been eliminated and the portfolio is effectively riskless. The rate of return on this portfolio must be equal to the rate of return on any other riskless instrument; otherwise, there would be opportunities for arbitrage. Now assuming the risk-free rate of return is ${\displaystyle r}$ we must have over the time period ${\displaystyle [t,t+\Delta t]}$

${\displaystyle r\Pi \,\Delta t=\Delta \Pi }$

If we now equate our two formulas for ${\displaystyle \Delta \Pi }$ we obtain:

${\displaystyle \left(-{\frac {\partial V}{\partial t}}-{\frac {1}{2}}\sigma ^{2}S^{2}{\frac {\partial ^{2}V}{\partial S^{2}}}\right)\Delta t=r\left(-V+S{\frac {\partial V}{\partial S}}\right)\Delta t}$

Simplifying, we arrive at the celebrated Black–Scholes partial differential equation:

${\displaystyle {\frac {\partial V}{\partial t}}+{\frac {1}{2}}\sigma ^{2}S^{2}{\frac {\partial ^{2}V}{\partial S^{2}}}+rS{\frac {\partial V}{\partial S}}-rV=0}$

With the assumptions of the Black–Scholes model, this second order partial differential equation holds for any type of option as long as its price function ${\displaystyle V}$ is twice differentiable with respect to ${\displaystyle S}$ and once with respect to ${\displaystyle t}$. Different pricing formulae for various options will arise from the choice of payoff function at expiry and appropriate boundary conditions.

Technical note: A subtlety obscured by the discretization approach above is that the infinitesimal change in the portfolio value was due to only the infinitesimal changes in the values of the assets being held, not changes in the positions in the assets. In other words, the portfolio was assumed to be self-financing.[citation needed]

### Alternative derivation

Here is an alternative derivation that can be utilized in situations where it is initially unclear what the hedging portfolio should be. (For a reference, see 6.4 of Shreve vol II).

In the Black–Scholes model, assuming we have picked the risk-neutral probability measure, the underlying stock price S(t) is assumed to evolve as a geometric Brownian motion:

${\displaystyle {\frac {dS(t)}{S(t)}}=r\ dt+\sigma dW(t)}$

Since this stochastic differential equation (SDE) shows the stock price evolution is Markovian, any derivative on this underlying is a function of time t and the stock price at the current time, S(t). Then an application of Ito's lemma gives an SDE for the discounted derivative process ${\displaystyle e^{-rt}V(t,S(t))}$, which should be a martingale. In order for that to hold, the drift term must be zero, which implies the Black—Scholes PDE.

This derivation is basically an application of the Feynman–Kac formula and can be attempted whenever the underlying asset(s) evolve according to given SDE(s).

## Solving the Black–Scholes PDE

Once the Black–Scholes PDE, with boundary and terminal conditions, is derived for a derivative, the PDE can be solved numerically using standard methods of numerical analysis, such as a type of finite difference method.[3] In certain cases, it is possible to solve for an exact formula, such as in the case of a European call, which was done by Black and Scholes.

To do this for a call option, recall the PDE above has boundary conditions [4]

{\displaystyle {\begin{aligned}C(0,t)&=0{\text{ for all }}t\\C(S,t)&\sim S-Ke^{-r(T-t)}{\text{ as }}S\rightarrow \infty \\C(S,T)&=\max\{S-K,0\}\end{aligned}}}

The last condition gives the value of the option at the time that the option matures. Other conditions are possible as S goes to 0 or infinity. For example, common conditions utilized in other situations are to choose delta to vanish as S goes to 0 and gamma to vanish as S goes to infinity; these will give the same formula as the conditions above (in general, differing boundary conditions will give different solutions, so some financial insight should be utilized to pick suitable conditions for the situation at hand).

The solution of the PDE gives the value of the option at any earlier time, ${\displaystyle \mathbb {E} \left[\max\{S-K,0\}\right]}$. To solve the PDE we recognize that it is a Cauchy–Euler equation which can be transformed into a diffusion equation by introducing the change-of-variable transformation

{\displaystyle {\begin{aligned}\tau &=T-t\\u&=Ce^{r\tau }\\x&=\ln \left({\frac {S}{K}}\right)+\left(r-{\frac {1}{2}}\sigma ^{2}\right)\tau \end{aligned}}}

Then the Black–Scholes PDE becomes a diffusion equation

${\displaystyle {\frac {\partial u}{\partial \tau }}={\frac {1}{2}}\sigma ^{2}{\frac {\partial ^{2}u}{\partial x^{2}}}}$

The terminal condition ${\displaystyle C(S,T)=\max\{S-K,0\}}$ now becomes an initial condition

${\displaystyle u(x,0)=u_{0}(x):=K(e^{\max\{x,0\}}-1)=K\left(e^{x}-1\right)H(x),}$

where H(x) is the Heaviside step function. The Heaviside function corresponds to enforcement of the boundary data in the S, t coordinate system that requires when t = T,

${\displaystyle C(S,\,T)=0\quad \forall \;S

assuming both S, K > 0. With this assumption, it is equivalent to the max function over all x in the real numbers, with the exception of x = 0. The equality above between the max function and the Heaviside function is in the sense of distributions because it does not hold for x = 0. Though subtle, this is important because the Heaviside function need not be finite at x = 0, or even defined for that matter. For more on the value of the Heaviside function at x = 0, see the section "Zero Argument" in the article Heaviside step function.

Using the standard convolution method for solving a diffusion equation given an initial value function, u(x, 0), we have

${\displaystyle u(x,\tau )={\frac {1}{\sigma {\sqrt {2\pi \tau }}}}\int _{-\infty }^{\infty }{u_{0}(y)\exp {\left[-{\frac {(x-y)^{2}}{2\sigma ^{2}\tau }}\right]}}\,dy,}$

which, after some manipulation, yields

${\displaystyle u(x,\tau )=Ke^{x+{\frac {1}{2}}\sigma ^{2}\tau }N(d_{1})-KN(d_{2}),}$

where ${\displaystyle N(\cdot )}$ is the standard normal cumulative distribution function and

{\displaystyle {\begin{aligned}d_{1}&={\frac {1}{\sigma {\sqrt {\tau }}}}\left[\left(x+{\frac {1}{2}}\sigma ^{2}\tau \right)+{\frac {1}{2}}\sigma ^{2}\tau \right]\\d_{2}&={\frac {1}{\sigma {\sqrt {\tau }}}}\left[\left(x+{\frac {1}{2}}\sigma ^{2}\tau \right)-{\frac {1}{2}}\sigma ^{2}\tau \right].\end{aligned}}}

These are the same solutions (up to time translation) that were obtained by Fischer Black in 1976.[5]

Reverting ${\displaystyle u,x,\tau }$ to the original set of variables yields the above stated solution to the Black–Scholes equation.

The asymptotic condition can now be realized.
${\displaystyle u(x,\,\tau ){\overset {x\rightsquigarrow \infty }{\asymp }}Ke^{x},}$

which gives simply S when reverting to the original coordinates.

${\displaystyle \lim _{x\to \infty }N(x)=1.}$

## References

1. ^ Øksendal, Bernt (1998). "Option Pricing". Stochastic Differential Equations : An Introduction with Applications (5th ed.). Berlin: Springer. pp. 266–283. ISBN 3-540-63720-6.
2. ^ Hull, John C. (2008). Options, Futures and Other Derivatives (7 ed.). Prentice Hall. ISBN 978-0-13-505283-9.
3. ^ Wilmott, Paul; Howison, Sam; Dewynne, Jeff (1995). "Finite-difference Methods". The Mathematics of Financial Derivatives. Cambridge University Press. pp. 135–164. ISBN 0-521-49789-2.
4. ^ Chan, Raymond (2021-07-03), Black-Scholes Equations (PDF)
5. ^ See equation (16) in Black, Fischer S. (1976). "The Pricing of Commodity Contracts". Journal of Financial Economics. 3 (1–2): 167–179. doi:10.1016/0304-405X(76)90024-6.