How to use Newton’s method to approximate a root

If we have a starting guess for a root, a tangent line can give us a new guess. We’ll see where that next guess comes from, then use it to work through four steps.

Use the tangent line to get the next estimate

A root is an x-value where f(x)=0. Start at an estimate xn. The tangent line at (xn,f(xn)) has slope f′(xn). Set the tangent line’s height equal to zero and solve for its x-intercept to get xn+1.

xn+1=xn-f(xn)f′(xn)

Use this step where the derivative exists and is nonzero. The starting guess matters: the method can go to a different root or fail to converge. A graph can help you choose a starting point near the root you want.

Start at −1 and find the first approximation

For x2=x, move all terms to one side. Use f(x)=x2-x and f′(x)=2x-1. At x0=-1, the function value is 2 and the derivative is -3.

x1=-1-2-3=-1+23=-13
The first Newton step on the curve x squared minus xThe purple tangent touches the blue curve at negative one, two. It crosses the horizontal axis at negative one third, giving the next estimate.(−1, 2)x₁ = −1/3yxf(x) = x² − xTangent
The tangent line at x₀ = −1 crosses the x-axis at the next estimate, x₁ = −1/3.

Use each new estimate in the next step

Use the exact value x1=-1/3 to find x2. At -1/3, the function value is 4/9 and the derivative is -5/3. Substitute both into the same formula.

x2=-13-49-53=-13+415=-115

For the next two steps, it helps to simplify the update. Put the two terms over the common denominator 2xn-1.

xn+1=xn-xn2-xn2xn-1=xn22xn-1

Substitute x2=-1/15 to get x3, then substitute x3=-1/255 to get x4. The table keeps the exact fractions alongside the rounded values.

Newton’s method starting at −1
StepExact estimateFour decimals
1-13−0.3333
2-115−0.0667
3-1255−0.0039
4-1655350.0000

The fourth estimate rounds to 0.0000. Here we can also check directly that f(0)=0. The equation has another root at x=1, and our starting value of -1 led us toward the root at 0.