All courses › Calculus › Newton's method

Newton's method

Many equations cannot be solved exactly. Newton's method starts from a guess and follows the tangent down to the x-axis to get a better guess. The method converges very fast when you start close to the solution.

xn+1=xn−f(xn)f′(xn)x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}one Newton step

Symbols

xnx_ncurrent guess
f′(xn)f'(x_n)slope at the guess

Example

Solve x2−2=0x^2 - 2 = 0 from x0=1x_0 = 1:

x1=1−(−1)/2=1.5x_1 = 1 - (-1)/2 = 1.5 and x2=1.5−0.25/3≈1.4167x_2 = 1.5 - 0.25/3 \approx 1.4167.

If f'(x) is close to zero, the step can be huge. Then choose another starting point.
Practise applications of derivatives for free →

← Related rates

Part of Calculus: Applications of derivatives.