economics investment math

Black-Scholes

Part of the the investment sequence

Black-Scholes Model

A derivative is a contract whose value is derived by the underlying assets or benchmarks. Consider a derivative whose value is a mathematical function ($f$) of some underlying asset price (let $x$ by the log-price of the underlying asset).

Over small amounts of time, we can approximate the derivative's price moves using a Taylor expansion:

$$ df = \frac{\partial f}{\partial t} dt + \frac{\partial f}{\partial x} dx + \frac{1}{2} \frac{\partial^2 f}{\partial x^2} dx^2 + \cdots $$

Now, assume the underlying log stock returns follows Brownian motion with drift ($\mu$):

$$ dx = \left( \mu x dt + \sigma x dB \right) $$

First, we can substitute this into the Taylor expansion. Then, we can note that as $dt \rightarrow 0$, all the higher-order $dt$ terms tend towards zero much faster. If we assume markets are perfectly liquid, then we can instantly trade when the situation changes, which allows us to ignore these second-order terms. This gives us

$$ df = \left( \frac{\partial f}{\partial t} + \mu x \frac{\partial f}{\partial x} \right) dt + \frac{\sigma^2 x^2}{2} \frac{\partial^2 f}{\partial x^2} dB^2 + \sigma x \frac{\partial f}{\partial x} dB $$

By the quadratic variation of Brownian motion, $dB^2 = dt$ Stochastic Processes II, which allows us to achieve Itô's lemma Itô's lemma but using geometric Brownian motion rather than Brownian motion Itō Calculus. MIT OpenCourseWare:

$$ df = \left( \frac{\partial f}{\partial t} + \mu x \frac{\partial f}{\partial x} + \frac{\sigma^2 x^2}{2} \frac{\partial^2 f}{\partial x^2} \right) dt + \sigma x \frac{\partial f}{\partial x} dB $$

Rearranging these terms yields

$$ df - \mu x \frac{\partial f}{\partial x} dt - \sigma x \frac{\partial f}{\partial x} dB = \left( \frac{\partial f}{\partial t} + \frac{\sigma^2 x^2}{2} \frac{\partial^2 f}{\partial x^2} \right) dt $$

At this point, some insight is needed. Given small changes in $t$ and $x$, the following two portfolios are equivalent:

  1. Buy one derivative and invest the rest at the risk free rate.
  2. Buy $\frac{\partial f}{\partial x}$ stocks and invest the rest at the risk free rate.

From this we can conclude that if you buy the derivative and then short $\frac{\partial f}{\partial x}$ units of stock, you achieve a portfolio that is effectively risk free. For this reason, the expected return of holding one derivative and shorting $\frac{\partial f}{\partial x}$ stocks must yield the risk free rate of return ($r$) - if it earned more, you could beat the risk free rate for no risk; if it earned less, you could just hold the inverse portfolio and, once again, beat the risk free rate for no risk.

This insight implies the left hand of the formula side must equal

$$ r \left( x \frac{\partial f}{\partial x} - f \right) dt $$

Making this substitution yields:

$$ r \left( f - x \frac{\partial f}{\partial x} \right) dt = \left( \frac{\partial f}{\partial t} + \frac{\sigma^2 x^2}{2} \frac{\partial^2 f}{\partial x^2} \right) dt $$

Rearranging these terms yields:

$$ 0 = \left( \frac{\partial f}{\partial t} + \frac{\sigma^2 x^2}{2} \frac{\partial^2 f}{\partial x^2} + r x \frac{\partial f}{\partial x} - r f \right) dt $$

This finally gives us the Black–Scholes differential equation Black–Scholes equation:

$$ 0 = \frac{\partial f}{\partial t} + \frac{\sigma^2 x^2}{2} \frac{\partial^2 f}{\partial x^2} + r x \frac{\partial f}{\partial x} - r f $$

If we phrase this in the language of the Greeks Greeks (finance), the three derivatives are theta, gamma, and delta, respectively.

Calls, Puts, and Forwards

Just to be clear, we can't just solve the above formula for $f$ with simple algebra because there is a "circular dependency" of sorts going on where the partial derivatives depend on our solution for $f$. In other words, we have to use tools from differential equations and consider the overall structure of whatever derivative we're considering. The most popular examples here are options.

A call option gives the buyer the right to buy an asset at a specified price ("strike price"). A European call option gives them this right on a specific date ("expiry date"), while an American call option gives them this right at any time before some date - note that American options are, therefore, more valuable than European ones. If a call option is exercised, the profit is simply the price of the underlying asset ("spot price") minus the strike price.

Put options likewise give the buyer the right to sell an asset at a specified price. They work similarly.

The Black-Scholes formula Black–Scholes model is a closed form solution that gives the theoretical price a European call/put option should be. Here it is for the special case for an option of a stock that pays no dividends

$$ f = N(d_1) x - N(d_2) k e^{-r t} $$ $$ d_1 = \frac{\ln{\left(x/k \right)} + \left(r + \sigma^2 / 2 \right) t }{\sigma t} $$ $$ d_2 = d_1 - \sigma t $$

[ $t$ is the time until maturity, $k$ is the strike price, and $N$ is the normal CDF ]

American options are more complicated and there is no known closed form solution, but a variety of approximations exist Black–Scholes equation Option style Binomial options pricing model. That being said it is typically irrational to exercise an American option early Merton, so the to options of the two styles should trade for similar prices.

One interesting thing to note that doesn't require any fancy math is that the Black-Scholes differential equation doesn't include the stock's bias term ($\mu$) at all. This is similar to what happened when we discussed put-call parity, where we also saw that the actual returns completely disappeared from the formula.

From this comes a startling conclusion: the price that options on a stock trade at depend on the stock's expected variance, but not on its expected return. A very similar conclusion holds for futures, which can, after all, be replicated by buying (selling) a call option and selling (buying) a put option.

todo Merton Hull

Wikipedia contributors. (2022, January 1). Itô's lemma. In Wikipedia, The Free Encyclopedia. Retrieved 18:09, January 12, 2022, from https://en.wikipedia.org/w/index.php?title=It%C3%B4%27s_lemma&oldid=1063112986 Wikipedia contributors. (2021, September 4). Black–Scholes equation. In Wikipedia, The Free Encyclopedia. Retrieved 18:27, January 12, 2022, from https://en.wikipedia.org/w/index.php?title=Black%E2%80%93Scholes_equation&oldid=1042400792 Wikipedia contributors. (2021, November 12). Greeks (finance). In Wikipedia, The Free Encyclopedia. Retrieved 18:31, January 12, 2022, from https://en.wikipedia.org/w/index.php?title=Greeks_(finance)&oldid=1054848811 Wikipedia contributors. (2021, December 14). Black–Scholes model. In Wikipedia, The Free Encyclopedia. Retrieved 18:59, January 12, 2022, from https://en.wikipedia.org/w/index.php?title=Black%E2%80%93Scholes_model&oldid=1060297092#Black–Scholes_formula Lee, C. (2013). 17. Stochastic Processes II. MIT OpenCourseWare. YouTube. https://youtu.be/PPl-7_RL0Ko?t=2888 Lee, C. (2013). 18. Itō Calculus. MIT OpenCourseWare. YouTube. https://youtu.be/Z5yRMMVUC5w Wikipedia contributors. (2021, October 25). Binomial options pricing model. In Wikipedia, The Free Encyclopedia. Retrieved 01:18, January 18, 2022, from https://en.wikipedia.org/w/index.php?title=Binomial_options_pricing_model&oldid=1051705657 Wikipedia contributors. (2021, September 15). Option style. In Wikipedia, The Free Encyclopedia. Retrieved 21:20, January 18, 2022, from https://en.wikipedia.org/w/index.php?title=Option_style&oldid=1044454928 Merton, R. C. (1973). Theory of rational option pricing. The Bell Journal of economics and management science, 141-183. https://doi.org/10.2307/3003143 Hull, J. C. (2003). Options futures and other derivatives. Pearson Education India. Haugh, M. (2016). The Black-Scholes Model. Foundations of Financial Engineering. http://www.columbia.edu/~mh2078/FoundationsFE/BlackScholes.pdf