Bisection: trap the root and halve
A lot of quant questions come down to an equation you cannot solve with algebra. The yield of a bond, the internal rate of return of a set of cash flows and the implied volatility of an option all have the same shape: find with , where is easy to evaluate but has no inverse you can write down.
Bisection needs only continuity and a bracket. If and have opposite signs, the intermediate value theorem puts a root in . Evaluate the midpoint, keep the half where the sign still changes, and repeat. Each step halves the bracket, so after steps the error is at most .
Example: pay $100 today and receive $60 at the end of each of the next two years. The IRR solves
Since and , a root lies in . The first midpoint gives , so the root is in . Next gives , so it is in . Four more steps leave the bracket . The exact answer is .
Bisection is slow. Every step buys one binary digit, so shrinking a bracket of width to takes steps. In return it is guaranteed to converge, and it never needs the derivative.