CONTENTS

Exercise: Compute budget — explicit vs CN

Suppose you have a fixed compute budget of BB floating-point operations and want to price a single European call as accurately as possible.

Tasks

  1. Explicit cost. Each time step costs M\sim M flops; CFL forces NTσ2M2N \ge T \sigma^2 M^2. Total cost: Cexp=Tσ2M3C_{\text{exp}} = T\sigma^2 M^3.
  2. CN cost. Each step is a tridiagonal solve, 5M\sim 5M flops (constant factor). NMN \sim M for matched accuracy. Total: CCN=5M2C_{\text{CN}} = 5 M^2.
  3. Achievable accuracy. With both schemes producing O(M2)O(M^{-2}) spatial error (so error 1/M2\sim 1/M^2):
    • For explicit: Mexp=(B/(Tσ2))1/3M_{\text{exp}} = (B/(T\sigma^2))^{1/3}, error (Tσ2/B)2/3\sim (T\sigma^2/B)^{2/3}.
    • For CN: MCN=(B/5)1/2M_{\text{CN}} = (B/5)^{1/2}, error 5/B\sim 5/B.
  4. Numerical comparison. With B=109B = 10^9, T=1T = 1, σ=0.2\sigma = 0.2:
    • Mexp=?M_{\text{exp}} = ?, error ?\sim ?
    • MCN=?M_{\text{CN}} = ?, error ?\sim ?
  5. CN advantage scales with BB. Show the CN/explicit error ratio scales as B1/3B^{-1/3} — CN's advantage grows with budget.