lesson

Updated 1 month ago Β· 6 views
Imagine running an algorithm designed to pinpoint a root in milliseconds, only for your calculator to throw an error or bounce back and forth between two numbers forever.
First developed by Isaac Newton in 1669 and refined by Joseph Raphson in 1690, the Newton-Raphson method uses tangent slopes to iteratively home in on roots using the formula xn+1β=xnββfβ²(xnβ)f(xnβ)β.
πInteractive diagram
What is the most immediate way this algebraic formula can break down on paper?
1. Stationary Points and Zero Derivatives
A stationary point is any point on a curve where the derivative equals zero (fβ²(xnβ)=0), such as a local maximum, local minimum, or horizontal inflection point.
Because the iteration formula divides by fβ²(xnβ), encountering a stationary point causes an undefined division by zero.
πInteractive diagram
For example, to find a root of f(x)=x3β3x+1, the derivative is fβ²(x)=3x2β3. If you choose the initial guess x0β=1, then fβ²(1)=3(1)2β3=0, causing the algorithm to crash instantly.
What happens if the derivative is non-zero, but the geometry of the curve traps the tangent lines in an infinite loop?
2. Periodic Cycling
Cycling occurs when an initial value x0β generates an estimate x1β, whose tangent line points right back to x0β.
πInteractive diagram