The Black-Scholes Partial Differential Equation

Deriving tV+12σ2S2SSV+rSSVrV=0\partial_t V + \tfrac{1}{2}\sigma^2 S^2 \partial_{SS} V + rS \partial_S V - rV = 0 and why it prices hedges.

1/24/2023

Attention Conservation Notice

The 4th post in a series of 5 in which the Black-Scholes-Merton Model for pricing European put and call options is derived.

  1. Brownian Motion as a Symmetric Random Walk Limit
  2. Stochastic Differential Equations & Geometric Brownian Motion
  3. Itô's Lemma

This follows Stephen Blyth's Excellent Book An Introduction to Quantitative Finance closely, with embellishment using python and some additional notes. This is probably:

  • not very helpful if you pragmatically want to price an option
  • overwhelming if you don't like math
  • may miss some of the contexts you'd want if you have a lot of mathematical maturity

Recap

In the last post we learned a cool new way of taking the derivative of a random variable and time (Itô's Lemma) and learned that if we apply it to geometric Brownian motion then we can can that the distribution of logSTSt\log{S_T|S_t} is log-normal. As a result, we can predict where the next time step in a stock modeled by geometric Brownian motion is likely to fall.

Let's apply our shiny new tool to do some option pricing.

Call \to Call'

Consider the price of a call (any derivative works) CK(t,T)C_{K}(t, T) which is a function of the stock price and a strike price KK. We haven't really discussed calls in this series yet (outside of the attention conservation notice), so here is a brief definition if you aren't familiar:

A call [1] option is a financial contract that gives the person owning the option the right (but not the obligation) to buy the underlying security (stock, bond, rare holographic charizard in mint condition) at a specified price (the strike price) within some time period. The owner of the call option makes a profit when the underlying asset increases in price over the strike price.

Back to our call CK(t,T)C_{K}(t, T):

If we attempt to differentiate the function of our call price with Ito's lemma, we get to split it into a time term, a term about the random variable, and a term reflecting the quadratic variation of the underlying Brownian motion and get the following stochastic differential equation:

CK(t,T)=(CK(t,T)t+CK(t,T)STμSt+122CK(t,T)St2σ2St2)dt+CK(t,T)StσStdWt\partial C_K(t, T) = (\frac{\partial C_K(t, T)}{\partial t} + \frac{\partial C_K(t, T)}{\partial S_T} \mu S_t + \frac{1}{2}\frac{\partial^2 C_K(t, T)}{\partial S_t^2} \sigma^2 S_t^2)dt + \frac{\partial C_K(t, T)}{\partial S_t}\sigma S_t dW_t[2]

Constructing a simple portfolio

Suppose we create a portfolio Π\Pi that consists of long [3] one option and short [3] CK(t,T)St\frac{\partial C_K(t, T)}{\partial S_t} stock.

Then at time tt, the price of our portfolio is

Πt=CK(t,T)CK(t,T)StSt\Pi_t = C_K(t, T) - \frac{\partial C_K(t, T)}{\partial S_t}S_t

Portfolio \to Portfolio'

using the expressions for CK(t,T)\partial C_K(t, T) and ST\partial S_T above:

dΠt=(tCk(t,T)+122CK(t,T)St2σ2St2)dtd \Pi_t = (\frac{\partial}{\partial t}C_k(t, T) + \frac{1}{2}\frac{\partial^2 C_K(t, T)}{\partial S_t^2}\sigma^2 S_t^2) dt

This portfolio instantaneously at time t has no exposure to the term dWtdW_t. Therefore, it is instantaneously a replicating portfolio for the money market account [4] and must grow at rate rr (the risk-free interest rate). Then

dΠt=rΠtdt    tCk(t,T)+122CK(t,T)St2σ2St2=r(CK(t,T)CK(t,T)StSt)d \Pi_t = r \Pi_t dt \implies \frac{\partial}{\partial t}C_k(t, T) + \frac{1}{2}\frac{\partial^2 C_K(t, T)}{\partial S_t^2}\sigma^2 S_t^2 = r (C_K(t, T) - \frac{\partial C_K(t, T)}{\partial S_t}S_t)

Rearranging:

tCk(t,T)+122CK(t,T)St2σ2St2+CK(t,T)StStrCK(t,T)=0\frac{\partial}{\partial t}C_k(t, T) + \frac{1}{2}\frac{\partial^2 C_K(t, T)}{\partial S_t^2}\sigma^2 S_t^2 + \frac{\partial C_K(t, T)}{\partial S_t}S_t - rC_K(t, T) = 0

This is the Black-Scholes partial differential equation for a European derivative contract.[5]

Black-Scholes Partial Differential Equation Usage

The solution to our equation above, under the boundary conditions CK(T,T)=(StK)+C_K(T, T) = (S_t - K)^+ (the value of our call at expiration time TT is the profit of the underlying security minus the strike price), is the tried and true Black-Scholes model. We will go this extra step in the next (and final) post in this series.

Financial Interpretation of the PDE

The key insight behind our PDE is that if we disregard transaction costs, we can perfectly hedge our call option at a given time CK(t,T)C_K(t, T) by buying and selling the underlying asset (the CK(t,T)St\frac{\partial C_K(t, T)}{\partial S_t} short stock in our portfolio Π\Pi) in just the right way to completely eliminate risk. If this combination exists, then there is an exact way to price the option in order to have our "riskless" portfolio.

We can also interpret the initial 2-sided form:

tCk(t,T)+122CK(t,T)St2σ2St2=rCK(t,T)rCK(t,T)StSt\frac{\partial}{\partial t}C_k(t, T) + \frac{1}{2}\frac{\partial^2 C_K(t, T)}{\partial S_t^2}\sigma^2 S_t^2 = r C_K(t, T) - r\frac{\partial C_K(t, T)}{\partial S_t}S_t

The left-hand side consists of a time decay term tCk(t,T)\frac{\partial}{\partial t}C_k(t, T) and is called theta (θ\theta) and a term denoting the convexity of the derivative value with respect to the underlying value 122CK(t,T)St2σ2St2\frac{1}{2}\frac{\partial^2 C_K(t, T)}{\partial S_t^2}\sigma^2 S_t^2 which is called gamma γ\gamma.

The right-hand side is the riskless return from a long position in the derivative and a short position consisting of CK(t,T)St\frac{\partial C_K(t, T)}{\partial S_t} shares of the underlying security StS_t.

The key insight is that the right-hand side is riskless, so we can represent a riskless portfolio as a sum of θ\theta and γ\gamma.

For an option, θ\theta is typically negative since as time runs out on the option it usually loses value. γ\gamma is typically positive, so it reflects the gains in holding the option. The equation states that over any infinitesimal time interval θ\theta and γ\gamma offset each other such that the result is a return at the riskless rate.

Next time

We wrap up this series by deriving the Black-Scholes formula

Extra Notes

  1. Note [1]

    More on call options: Investopedia's primer. It's also helpful to review put options alongside calls: put option overview.

    [back]
  2. Note [2]

    This derivation uses the common form of Itô's lemma:

    (dfdt+dfdStμ(St,t)+12d2fdSt2σ2(St,t))dt+dfdStσ(St,t)dWt(\frac{df}{dt} + \frac{df}{dS_t} \mu(S_t, t) + \frac{1}{2}\frac{d^2f}{dS_t^2} \sigma^2(S_t, t))dt + \frac{df}{dS_t} \sigma(S_t, t) dW_t

    [back]
  3. Note [3]

    A long position means the investor owns the instrument; a short position means they owe it and plan to buy it later. See this explainer for more detail.

    [back]
  4. Note [4]

    The money market account here replicates earning the risk-free rate rr, assuming no arbitrage opportunities exist. Under that assumption we can treat rr as the risk-free return.

    [back]
  5. Note [5]

    A European derivative only allows exercise on the expiration date, unlike American options (any day up to expiry) or Bermudan options (specific dates before expiry).

    Example: hold an option on 100 shares at a $100 strike expiring in one month, priced at $10 per option (total $1000). If the stock trades at $150 on expiration, exercising yields $50 of intrinsic value per share minus the $10 premium, for $40 net per share or $4000 in total.

    [back]