Basic Prerequisites: 01 · From Zero and BSM · The PDE & Derivation.
1. Intuition & Practical Objective
A finite-difference solver is a machine for transporting a payoff backwards in time. Replace the option’s smooth value surface by its values on a grid of nodes, replace the derivatives by divided differences, and the PDE becomes an algebraic recursion - one linear solve per time step. The practical objective is to know which of the three one-parameter schemes (explicit, implicit, Crank–Nicolson) to use, what each costs, and exactly when each is invalid.
The parameter is (weight on the old time level; the new level carries ):
- : explicit Euler - no linear solve, but a hard CFL-style bound on .
- : implicit Euler - tridiagonal solve, unconditionally stable, first-order in time.
- : Crank–Nicolson - tridiagonal solve, unconditionally stable, second-order in time, but its amplification factor goes negative so it rings at kinks.
Three “aha”s:
- Explicitness trades a solve for a step-size restriction. The explicit update is just a weighted average of three neighbours, so it is trivially parallel and needs no LU - but its stability bound couples to , and on a realistic that means millions of steps.
- Stability is a spectral statement about the grid, not about accuracy. By Lax equivalence (Duffy Thm 8.1), for a consistent scheme stability convergence. So “does it converge?” is answered by an eigenvalue/symbol calculation, not by experiment.
- The payoff kink is the enemy of high order. Second-order space differencing of is only second-order away from . Everything expensive about production FDM (Rannacher starts, exponential fitting, payoff smoothing) exists to control that one node.
2. Mathematical Ground Truth & Derivations
The BSM operator in divergence-free form (Duffy eq. 7.10–7.12, written with ):
The pass from the flow form to the grid form is exactly the divided differences of page 01. The discretely important consequences are:
(a) Consistency and order. A scheme is consistent if its truncation error vanishes as (Def 8.1); it is accurate of order if (Def 8.4). Taylor gives for centred first and second differences ( for one-sided) and or for or .
(b) Stability: von Neumann. Substituting gives the amplification symbol and the requirement for every frequency (Duffy §8.3). With :
| Scheme | Condition | |
|---|---|---|
| explicit Euler (heat) | ||
| implicit Euler | none - | |
| Crank–Nicolson | none - but at high frequency |
Duffy’s printed symbols (8.34)–(8.35) show ; the surrounding algebra and the printed condition both force a single - a typographical error corrected above and reproduced exactly here.
For the general explicit convection–diffusion scheme the joint condition is
one-sided upwinding in the wrong direction is unconditionally unstable ( never satisfied, Duffy eq. 8.42) - the first-principles justification for Il’in/upwind differencing. For the BSM equation specifically the explicit bounds are (Duffy eqs. 12.15–12.18):
(c) Consequence for option pricing: the fitted scheme. Replacing the diffusion coefficient by Duffy’s fitting factor (eq. 11.17)
makes the eigenvalues real and non-positive for every , so the scheme cannot oscillate and converges uniformly as (Thm 11.1) - the standard cure for convection-dominated ( large) regions.
(d) Boundary conditions. For a European call on a truncated domain (Duffy eqs. 3.10–3.11, 4.12–4.13):
The second condition is a truncation approximation valid only as ; the first is exact (a worthless stock gives a worthless call). Compatibility at corners (, Duffy eq. 3.41) is required or the scheme loses an order there.
3. Computational Implementation - one -family, three schemes
The same ten lines of code produce all three schemes; the only difference is and whether a tridiagonal solve is invoked. Errors are measured against the closed form, and the time order is isolated at fixed .
Four verified facts fall out of this single run: Crank–Nicolson’s time order is exactly and implicit Euler’s exactly ; the explicit scheme’s value at is (the CFL bound is violated) yet at ; and the pure heat-equation check shows surviving at the stability boundary (because : magnitude one, sign flip, no damping) while produces against an exact .
4. Failure Modes & First-Principles Breakdowns
- Explicit outside the CFL bound. couples the time step to : widening the domain to control truncation error makes the explicit scheme quadratically more expensive. This is why production solvers use implicit/CN despite the LU cost.
- Crank–Nicolson’s negative symbol. guarantees stability, not accuracy: at high frequency means the highest Fourier components alternate in sign and decay slowly, so the kink’s error oscillates for many steps. Duffy: “Many people use Crank–Nicolson … because it is second-order accurate. However … it produces spurious (artificial) oscillations, especially near the strike price and barriers.” Fix: Rannacher (implicit Euler for the first two steps) or Richardson-extrapolated implicit Euler (Duffy eq. 6.36).
- High-order differences on a discontinuous datum. The payoff’s kink and barrier indicators are not twice differentiable, so “improving” the stencil near them makes things worse, not better (Duffy Ch 6: “trying to find the derivatives in the classical sense of a Heaviside function or Dirac function is pointless”). Exponential fitting or payoff smoothing is the remedy.
- Boundary truncation error, quantified on page 05. Imposing at instead of cost on a option - a error that no mesh refinement removes.
- Centred differencing in convection-dominated regimes. With large the matrix loses the M-matrix (positivity) property and the discrete solution violates the continuous maximum principle; Il’in fitting restores it for all .
- Reducing a free-boundary problem to a linear solve. American exercise is not a linear PDE problem; using the European scheme silently prices the wrong contract (see 06 · Advanced Extensions).
5. References
- Duffy, Finite Difference Methods in Financial Engineering
- Hull, Options, Futures, and Other Derivatives
- Glasserman, Monte Carlo Methods in Financial Engineering
- Haug, Complete Guide to Option Pricing Formulas
6. Connected Graph Bridges
- Back: 01 · From Zero · Index Hub
- Forward: 03 · Monte Carlo Pricing → 05 · Failure Modes → 06 · Advanced Extensions (American, ADI, splitting)
- Base: The BSM PDE · Multivariable Calculus