Steply

Estimate √20 with Newton's method from x = 4

Step by step, with the reason for every step · Newton's method · Calculus 1

Step by step

The question

Question: estimate √20 with Newton's method, starting at x = 4.

√20 ≈ ?

√20 is the positive root of x² − 20 = 0.

So f(x) = x² − 20.

f(x) = x2 − 20

1 The formula

Newton's idea: draw the tangent line at your guess.

Where it meets the x-axis is the next guess.

That gives this formula.

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

See it on the graph.

Start at x₀ = 4.

Follow the tangent line down to the x-axis.

It lands at x₁: much closer to the root.

2 Find f′(x)

The slope: f′(x) = 2x, by the power rule.

f′(x) = 2x

Careful!

f goes on top, and f′ at the bottom.

Not the other way round.

Careful: not x0 − f′(x0)f(x0) ✗

3 Round 1

f at 4 is −4.

f(4) = 42 − 20 = 16 − 20 = −4

f′ at 4 is 8.

f′(4) = 2(4) = 8

So x₁ is 4 minus −4/8: 4.5.

x1 = 4 − −48 = 4.5

4 Round 2

f at 4.5 is 0.25.

f(4.5) = 0.25

f′ at 4.5 is 9.

f′(4.5) = 9

So x₂ is 4.5 minus 0.25/9: about 4.47222.

x2 = 4.5 − 0.259 ≈ 4.47222

After 2 rounds, the estimate is 4.47222.

√20 ≈ 4.47222

5 Check

Let's check: put 4.47222 into f.

We get about 0.000772: almost 0.

Right!

f(4.47222) ≈ 0.000772

And a calculator gives √20 = 4.472136.

Very close.

calculator: √20 = 4.472136…

Let's look back.

First: the formula.

Then: find f′(x).

Then: round 1.

Then: round 2.

Last: check.

Answer
√20 ≈ 4.47222

Your turn

Try this one yourself, then check:

Estimate √7 ≈ ?
Show the answer
√7 ≈ 2.64583

More from Newton's method

The whole lesson: Newton's method →