Introduction
In our last lesson, we established the foundational assumptions of the Black-Scholes-Merton (BSM) world—a theoretical marketplace with continuous trading, no transaction costs, and asset prices following a geometric Brownian motion. We are now ready to put those assumptions to work. Our goal in this lesson is to derive the single most important equation in modern finance: the Black-Scholes partial differential equation (PDE).
This isn't just a mathematical exercise. The derivation reveals the core economic insight behind option pricing. The key idea, known as delta hedging, is that by continuously trading the underlying asset against an option, we can construct a portfolio that is completely immune to the random fluctuations of the market. Since this portfolio is risk-free, its return must equal the risk-free interest rate to prevent arbitrage. This powerful constraint is what gives us the PDE.
We will first build an intuitive understanding of how delta hedging works in practice and then walk through the mathematical steps that formalize this intuition into the final equation.
The Intuition of Delta Hedging
Imagine you have sold a call option. Your position loses value if the stock price goes up. To hedge this risk, you could buy some shares of the same stock. If the stock price rises, your loss on the short call will be offset by the gain on your long stock position. The crucial question is: how many shares should you buy?
The answer is given by the option's delta (), which measures the sensitivity of the option's price to a change in the stock price. By holding shares of the stock against your option, you can create a delta-neutral portfolio whose value is momentarily insensitive to small movements in the underlying stock price.

Of course, an option's delta is not constant; it changes as the stock price and time to maturity change. Therefore, to maintain the hedge, a trader must continuously adjust their stock holdings. This process is called dynamic delta hedging. In the idealized BSM world of continuous trading, this rebalancing can be done perfectly.
To see how this works in a more practical, numerical setting, let's watch an illustration.
An illustration of Black Scholes’ Delta Hedging
The video "An illustration of Black Scholes’ Delta Hedging" by quantpie provides an excellent step-by-step example of replicating a short call option's payoff by dynamically trading the underlying stock.
Watch the following segments to build your intuition: Initial setup (from the start): Understand the basic scenario of selling an option and using the premium. Rebalancing (the process): Focus on the process of how the number of shares held is adjusted at each step as the stock price and the option's delta change. Notice how this involves either borrowing money to buy more shares or investing cash from selling shares. Improving the Hedge (from discrete to continuous): This is the most crucial part. Observe how increasing the frequency of rebalancing makes the final value of the hedging portfolio converge to the actual payoff of the option. This provides the motivation for the continuous-time model.
This video beautifully illustrates that as rebalancing becomes more frequent, the replication of the option payoff becomes more exact. The BSM derivation is essentially the limit of this process as the time between rebalancing goes to zero.
The Mathematical Derivation of the BSM PDE
Now, let's formalize this logic using the stochastic calculus tools you're familiar with. We will follow a clear, six-step process.
We start with the assumptions from the previous lesson:
- The stock price follows geometric Brownian motion (GBM): .
- The price of a derivative, , is a function of the stock price and time.
- The market is frictionless and has a constant risk-free rate .
- There are no arbitrage opportunities.
Our goal is to create a risk-free portfolio, , by holding one unit of the derivative (long) and shorting units of the stock.
The value of this portfolio is:
Step 1: Find the Dynamics of the Derivative Price
Since is a function of the stochastic process and time , we must use Itô's lemma to find its differential, . Your background in probability theory makes you well-acquainted with this tool. Applying Itô's lemma gives:
We know from the properties of Itô calculus that , as all terms with or go to zero.
Substituting and into the equation for , we get:
This equation shows that the change in the option's value has a deterministic part (the term) and a random part (the term).
Step 2: Find the Dynamics of the Portfolio
The change in the value of our hedged portfolio is given by:
Now, we substitute the expressions for (from Step 1) and (from the GBM definition) into this equation. This looks complicated at first, but the next step will simplify it dramatically.
Step 3: Eliminate the Risk (The Delta Hedge)
To make the portfolio risk-free, we must eliminate the source of randomness, which is the term. We can achieve this by collecting all the terms and setting their combined coefficient to zero.
To make the coefficient of zero, we must choose such that:
This gives us the magic hedge ratio:
The number of shares we need to short is exactly the option's delta!
Step 4: The Risk-Free Portfolio's Dynamics
By setting , the term vanishes. Let's see what happens to the term.
Substituting , the and terms cancel each other out. This is a remarkable result: not only is the risk gone, but the stock's expected return has also disappeared from the equation!
We are left with a simple, deterministic expression for the change in our portfolio's value:
Step 5: Invoke the No-Arbitrage Principle
Our portfolio is now instantaneously risk-free. The no-arbitrage assumption dictates that any risk-free investment must earn exactly the risk-free interest rate, . Therefore, the change in the portfolio's value must be:
Substituting the definition , we get:
Step 6: Arrive at the Black-Scholes PDE
We now have two expressions for (from Step 4 and Step 5). Since they must be equal, we can set them equal to each other:
Dividing by and rearranging gives the celebrated Black-Scholes-Merton Partial Differential Equation:
For a complete walkthrough of this derivation, please review the following text. It mirrors the steps we just took and provides a solid reference.
Black-Scholes PDE: Derivation & Delta Hedging Explained
This article from mbrenndoerfer.com provides an excellent, detailed derivation of the Black-Scholes-Merton PDE.
Please read the following sections to solidify your understanding of the steps we just covered: Dynamics of the Derivative Price: This covers Step 1, the application of Itô's lemma. Constructing the Hedged Portfolio: This covers Steps 2, 3, and 4, showing how to create the riskless portfolio. Pay close attention to how choosing \Delta eliminates both the random term and the drift term \mu. Applying the No-Arbitrage Principle: This covers Step 5, equating the portfolio's return to the risk-free rate. The Black-Scholes-Merton PDE: This section presents the final equation from Step 6.
The video below also provides a narrated summary of the entire derivation, which can help reinforce the sequence of operations.
Black Scholes PDE Derivation using Delta Hedging
The video "Black Scholes PDE Derivation using Delta Hedging" by quantpie visually walks through the mathematical steps.
Watch from the beginning to the derivation to see the concepts we've discussed put together in a continuous flow.
Conclusion
In this lesson, we bridged the gap between the intuitive idea of hedging and the formal mathematics of stochastic calculus. By combining an option with a dynamically adjusted position in the underlying stock, we constructed a portfolio that is free from market randomness. The no-arbitrage principle then forces this riskless portfolio to grow at the risk-free rate, which leads directly to the Black-Scholes-Merton PDE.
Key Takeaways:
- Delta Hedging: The core logic is to create a delta-neutral portfolio () whose value is insensitive to small changes in the stock price. The correct hedge ratio is the option's delta, .
- Continuous Rebalancing: In the BSM model, this hedging is done continuously, which perfectly eliminates all risk.
- No-Arbitrage: A perfectly hedged, risk-free portfolio must earn the risk-free rate, . This is the economic principle that drives the pricing relationship.
- The BSM PDE: The resulting equation, , is a universal law that the price of any derivative must obey in the BSM world, regardless of investor risk preferences or the asset's expected return .
We have derived the equation that governs the price of an option. In our next lesson, we will examine the famous solution to this PDE: the Black-Scholes formula. We will then learn how to apply this formula to calculate the prices of European calls and puts, a fundamental skill for your CM2 exam.