Root finding, with implied volatility as the worked case
NUM · Chapter 112 min readAsked at Optiver, IMC, Citadel Securities, Akuna
After this lesson you should be able to
- Compare bisection, Newton and the secant method on convergence and robustness.
- Invert Black–Scholes for a volatility and say why vega makes it easy.
- Name the cases where Newton fails and what production code does instead.
Every options system solves the same root-finding problem millions of times a day: given a price, find the volatility. It is the canonical numerical-methods interview question at a market-making firm, because the answer has to be both fast and impossible to break.
| Aspect | Bisection | Newton–Raphson | Secant |
|---|---|---|---|
| Needs | A bracket where the sign changes | The derivative | Two starting points |
| Convergence | Linear — one bit per step | Quadratic | About 1.6 (superlinear) |
| Can it fail? | Never, given a valid bracket | Yes — can diverge or cycle | Yes, but less dramatically |
| Cost per step | One function evaluation | Function and derivative | One function evaluation |
Equation 1.2
Newton–Raphson
Step to where the tangent line crosses zero. Near a simple root the error squares each iteration, which is why the digit count roughly doubles per step.
- The derivative — for implied volatility this is vega, which you already compute.
Derivation 1.3
Inverting Black–Scholes
The problem is to find the that reproduces an observed price.
Define the residual whose root we want.
The derivative is vega, which is strictly positive for a live option.
Why this particular inversion is well behaved. Price is strictly increasing in volatility, so the root is unique and bracketing is trivial: zero volatility gives the intrinsic value, and a large volatility gives nearly the spot. Vega is available for free from the same computation that produced the price. And near the money the relationship is close to linear, so the first Newton step from a sensible guess is usually within a fraction of a volatility point.
The rest of this lesson is in Premium
You have read the opening. 11 more sections follow, including 4 worked examples and 3 quick checks.
Nothing is charged for 7 days, and you can cancel before then. Or read Complexity: reading it off, and deriving it in full, free.