solving the Black-Scholes PDE by finite differences
This entry presents some examples of solving the Black-Scholes partial differential equation in one space dimension:
over the rectangle , ,
with various boundary conditions![]()
on the top, bottom, and right
sides of the rectangle. The parameters ,
are arbitrary constants.
(Add diagram of domain here…)
The partial differential equation![]()
can be solved
numerically using the basic methods
based on approximating the partial derivatives
![]()
with finite differences.
0.1 Finite-difference formulae
We summarize the equations for the finite differences below.
Let , , be some chosen positive integers, which determine the grid on which we are approximating the solution of the PDE.
Set to be the approximation to , for and . (For convenience, we have made time move “backwards” as we increase , because the original PDE is really a backwards heat equation, and evolves backwards in time.)
Also set:
Explicit method.
Since the PDE to solve is parabolic and time-dependent, we can step through time to numerically approximate it. Given , we can recursively compute .
(Add stencil of numerical method here…)
Implicit method.
Crank-Nicolson method.
0.2 Convergence of methods
(Briefly discuss convergence properties of these methods here…)
0.3 Example results
Boundary conditions and parameters:
(Describe analytic solution here…)
-
•
http://svn.gold-saucer.org/math/PlanetMath/SolvingTheBlackScholesPDEByFiniteDifferences/bss.pyPython program that implements the finite-difference methods for the above two problems, and plots the results
| Title | solving the Black-Scholes PDE by finite differences |
|---|---|
| Canonical name | SolvingTheBlackScholesPDEByFiniteDifferences |
| Date of creation | 2013-03-22 16:30:59 |
| Last modified on | 2013-03-22 16:30:59 |
| Owner | stevecheng (10074) |
| Last modified by | stevecheng (10074) |
| Numerical id | 6 |
| Author | stevecheng (10074) |
| Entry type | Example |
| Classification | msc 65M06 |
| Classification | msc 91B28 |
| Classification | msc 35K15 |