Numerical Methods: Trees, Finite Differences, Monte Carlo and Fourier

Which numerical method suits which problem, how Monte Carlo becomes faster, and how prices follow from the characteristic function of a model.
Methods describes what the calculators on this site use.

Which method when

The binomial tree (Learn → Binomial Trees) is one of several numerical methods. All of them compute the same thing, the discounted risk-neutral expectation of the payoff, and differ in what they handle well.

  • Closed form: a formula, exact and immediate. It exists for European options and, in the Black-Scholes model, for many barrier and lookback options and for Asian options on the geometric average (Learn → Path-Dependent).
  • Tree: backward induction on a lattice of spots. Simple, and good for early exercise with one underlying. It converges slowly and is awkward for path-dependent payoffs.
  • Finite differences: the Black-Scholes equation is solved on a grid of spot and time, stepping backwards from maturity (Brennan and Schwartz, 1977). Early exercise is handled as in the tree, barriers are boundary conditions, and the Greeks come out smooth. The work grows quickly with every further state variable, so the method suits one or two of them.
  • Monte Carlo: paths are simulated and the discounted payoffs averaged (Boyle, 1977). It handles any path-dependent payoff, any model and many underlyings. The price is slow convergence: the error falls with the square root of the number of paths, so one more digit costs a hundred times the paths. Early exercise needs an extra regression step (Longstaff and Schwartz, 2001).
  • Fourier integrals: for models whose characteristic function is known, European options follow from one integral, as the next card shows.

Monte Carlo becomes faster by reducing the variance instead of adding paths. Antithetic paths pair every path with its mirror image, so that their errors partly cancel. A control variate simulates a similar payoff with a known value alongside and corrects by its error: the arithmetic Asian option is simulated together with the geometric one, which has a closed form (Kemna and Vorst, 1990).

The calculators on this site use closed forms where they exist, Fourier integrals for most of the other models and analytic approximations otherwise. American options are valued with finite differences. Monte Carlo appears in the Hedge Simulator of the Portfolio, with antithetic paths as an option, and in the checks on the Validation page. Methods describes the details.

Pricing with the characteristic function

For Heston, double Heston, Bates and the Lévy models (Learn → Other Models) there is no closed form like Black-Scholes, but the characteristic function φ(u)=EQ[eiuln⁡ST] is known in closed form.
Prices follow from two Fourier integrals (Gil-Pelaez, 1951): Vcall=Se−qTP1−Ke−rTP2,Pj=12+1π∫0∞Re[e−iuln⁡Kφj(u)iu]du, with φ2=φ and φ1(u)=φ(u−i)/φ(−i).
P2=Q(ST>K) is the risk-neutral probability of exercise, so digital and asset-or-nothing options follow from the same integrals.

For Lévy models it is φ(u)=exp⁡(iuln⁡F+T(L(iu)−iuL(1))) with the Lévy exponent L of the model, as given on Learn → Other Models. The term iuL(1) keeps the forward at F=Se(r−q)T.
The characteristic function of the Bates model is the product of the Heston part and the jump part of the Merton model exp⁡(λT(eiuμJ−12σJ2u2−1)−iuλk¯T). In double Heston the two variance factors are independent, and the characteristic function is the product of two Heston characteristic functions, with the forward counted once.
The Other Models calculator evaluates the integrals numerically with Gauss–Legendre quadrature, using the numerically stable form of the Heston characteristic function (Albrecher et al., 2007). Variance Gamma is the exception: for a given time on the gamma clock the spot is lognormal, so P1 and P2 are normal probabilities averaged over the gamma distribution (Madan, Carr and Chang, 1998). This stays accurate for very short maturities, where the Fourier integrand decays too slowly.
For rough Heston the characteristic function needs a fractional Riccati equation, solved numerically (Methods → Rough Heston).
Greeks are computed by finite differences.