Numerical Differentiation and Bump-Reval

Medium·18 min read
Risk & GreeksNumerical MethodsBump-RevalComplex-Step Differentiation

Quick Quiz

1. Forward differences have truncation error O(h)O(h) and central differences O(h2)O(h^2). Assuming ff|f''|\approx|f'''|, for a bump h=0.01h=0.01 the central estimate is more accurate by roughly:
2. For central differences with f/f1|f'''|/|f|\approx 1 and machine epsilon εmach1016\varepsilon_{\text{mach}}\approx 10^{-16}, the optimal step size hh^* is about:
3. The complex-step method estimates f(x)Im[f(x+ih)]/hf'(x)\approx\mathrm{Im}[f(x+ih)]/h. Why can hh be as small as 1010010^{-100} without loss of accuracy?
4. The complex-step method works for Monte Carlo pricers whose payoff uses an indicator 1ST>K\mathbf{1}_{S_T>K}.
5. Adjoint Algorithmic Differentiation (AAD) computes the gradient of a pricer with respect to nn inputs. Its cost relative to one function evaluation is:
6. For a vega ladder over a 5×75\times 7 implied-vol surface (5 maturities, 7 strikes), how many full repricings do central differences need?