Definition / formulaKey factsSteps
39. How does the explicit scheme work, and when is it stable?
Scheme later lectures · standard course scheme
Grid , . PDE: . Unknown level is explicit in level :
with evaluated at , so time- and asset-dependent coefficients cost nothing extra.
Key facts
- Taylor: backward difference in time ; central differences in .
- European put: ; ; .
- Stability (heat-equation model, ): , stable iff . For BS: .
- Conditionally stable: halving forces down by four.
Steps for an essay answer
- State PDE, payoff, and boundary conditions.
- Write the Taylor approximations and their errors.
- Substitute and rearrange to the scheme; march back from expiry.
- Stability: put ; need ; the worst case gives the bound.
40. How does the implicit scheme work, and why is it unconditionally stable?
Scheme later lectures · checked algebraically
With , . Forward difference in , space differences at the new level :
Key facts
- European call: ; ; .
- With and a dividend : drift ; far boundary .
- Fourier: . The real part of the denominator exceeds 1, so for every .
- Each step solves a tridiagonal system: LU (direct) or Gauss–Seidel/SOR (indirect; see Numerical linear algebra).
Steps
- Forward difference in ; central differences in at level .
- Collect the unknowns on the left: tridiagonal matrix , (plus boundary terms).
- State payoff and boundaries in grid form.
- Substitute , solve for , show .
- For the matrix problem, pick Gauss–Seidel/SOR; diagonal dominance () guarantees convergence.
41. How do I write Crank–Nicolson as ?
Scheme
Heat equation , , , with :
, on the interior .
Key facts
- Average of explicit and implicit space differences.
- Unconditionally stable; .
- Index carefully: the last unknown is , and the right side holds level , not .
Steps
- Forward time difference; space difference averaged over and .
- Multiply by , use , collect on the left.
- Zero boundaries mean no extra vector; write both tridiagonal matrices.
42. How do I derive a difference formula with operators?
Identities
With and :
Key facts
- .
- One term of the log series gives forward Euler, ; two terms give the one-sided formula.
Steps
- Taylor-expand and recognise the exponential series.
- Subtract : . Invert with the log series.
- Keep two terms: ; expand and simplify.