Hedging the European Put Option

This Demonstration illustrates the so-called delta-hedging argument that is used to derive the Black–Scholes formula for the price of a European put option on stock in the Black–Scholes model. The sample path of a stock price following an exponential Brownian process is shown colored orange (mouse over a curve to display its description). The strike price is represented by the dashed black line. A portfolio is constructed consisting of one put option on the stock, an amount of stock (equal to -Δ, where Δ is the derivative of the Black–Scholes price of the option with respect to the stock price), and a money market account. The portfolio is adjusted at regular intervals (you choose the number of times) and the proceeds from the transactions (shown as points in the graph) are invested in the money market. The total value of the portfolio, which is the sum of the value of the option (green line), value of the stock held (blue line), and the money market account (magenta line) is almost deterministic. Zooming in on this brokerage account line (by using the two bottom sliders) reveals the presence of randomness, which can be eliminated by increasing the number of portfolio adjustments.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


There are two basic arguments involving delta-hedging that can be used to derive the Black–Scholes formula. One of them is used in the related Demonstration "Hedging the Black-Scholes Call Option". In that argument a self-financing portfolio is constructed that matches with probability 1 the value of the payoff of the option. In practice the portfolio is only approximately self-financing; to make it really so, infinitely many portfolio adjustments are needed. Here we construct a portfolio consisting of the option itself, stock, and a money market account, which makes the portfolio self-financing. However, again, infinitely many portfolio adjustments are needed to make the portfolio truly self-financing and "riskless". Assuming that the portfolio is self-financing and riskless, the principle of absence of arbitrage implies that it has to grow at the riskless interest rate. Writing this condition in differential form and using the Itô formula leads to the Black–Scholes equation.
This argument is given in incorrect form in many well-known books on option pricing—it ignores the money market account and incorrectly applies the Itô formula. This particular corrected version of the argument can be found in S. Stojanovic, Computational Financial Mathematics Using Mathematica, Boston: Birkhäuser, 2002, which also contains a Mathematica program implementing it (somewhat different from this Demonstration and written for an earlier version of Mathematica).
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+