Single-Variable-Calculus ยท Unit 11 ยท Video 2 ยท Interactive Practice
Newton's Method: Tangent Lines That Find the Square Root of Five
IKey Formulas
Formula
Name
Role
f(x)=0
Standard form
Every equation can be rewritten this way; x2=5 becomes x2โ5=0
yโy0โ=m(xโx0โ), with y0โ=f(x0โ), m=fโฒ(x0โ)
Tangent line at the guess
The linear stand-in for the curve
xn+1โ=xnโโfโฒ(xnโ)f(xnโ)โ
Newton's method
The tangent line's x-intercept is the next guess
xn+1โ=21โxnโ+2xnโ5โ
Newton's method for 5โ
From f(x)=x2โ5, fโฒ(x)=2x
Key Insight: At the current guess, pretend the function is linear: replace the curve by its tangent line and solve the line instead. Starting from x0โ=2, the guesses 49โ, 72161โ, 2318451841โ close in on 5โ with the number of correct digits roughly doubling each step.
IIVisualization 1 โ Where the Tangent Line Crosses
The tangent line at (x0โ,f(x0โ)) on y=x2โ5 crosses the x-axis at the next guess x1โ.
IIIVisualization 2 โ From the Picture to the Formula
Setting y=0 in the tangent-line equation turns the crossing point into Newton's formula.
1 ยท Tangent line through (x0โ,y0โ) with slope m
yโy0โ=m(xโx0โ)
2 ยท It crosses the axis at (x1โ,0): set y=0, x=x1โ
Each pass of xn+1โ=21โxnโ+5/(2xnโ) roughly doubles the number of correct digits of 5โ=2.2360679774โฆ
n
xโ
decimal
|โ5 โ xโ|
๐ก Starting from x0โ=2, every later guess xnโ (nโฅ1) satisfies p2โ5q2=1 when written as p/q (for example 1612โ5โ 722=1), so its error is exactly q(p+5โq)1โ; why the digits double is the subject of the next video.
VQuiz Questions
Problem 1 ยท One Newton Step
Given:f(x)=x2โ7 and the starting guess x0โ=3 โ find the next guess x1โ.
โ Correct!x1โ=3โ62โ=38โโ2.667, much closer to 7โโ2.646 than 3 was.
โ Wrong sign. Newton's method subtracts the ratio: x1โ=x0โโf(x0โ)/fโฒ(x0โ). Here f(3)=2 is positive and the curve rises, so the tangent line meets the axis to the left of 3.
โ The ratio is upside down. You computed 3โfโฒ(3)/f(3)=3โ6/2. The step is f(x0โ)/fโฒ(x0โ)=2/6: height divided by slope.
โ The slope is missing.x0โโf(x0โ)=3โ2 forgets to divide by fโฒ(x0โ)=6; the run of the tangent triangle is height over slope.
โ Not quite. Compute f(3) and fโฒ(3), then apply x1โ=x0โโf(x0โ)/fโฒ(x0โ).
Show solution
With f(x)=x2โ7 we have fโฒ(x)=2x, so f(3)=9โ7=2 and fโฒ(3)=6.
Equivalently, the simplified rule x1โ=21โx0โ+2x0โ7โ=23โ+67โ=616โ=38โ gives the same value. Since 7โโ2.6458, the error fell from about 0.35 to about 0.02.
Problem 2 ยท A Cubic With No Practical Formula
Given:f(x)=x3โ2xโ5 and x0โ=2 โ find the Newton step x1โ.
โ Correct!f(2)=โ1 and fโฒ(2)=10, so x1โ=2โ10โ1โ=2.1.
โ Watch the double minus.f(2)=โ1 is negative, so x0โโf(x0โ)/fโฒ(x0โ)=2โ(โ101โ)=2+0.1. The point lies below the axis on a rising curve, so the crossing is to the right.
โ Check the derivative.dxdโ(x3โ2xโ5)=3x2โ2, so fโฒ(2)=12โ2=10, not 12.
โ The ratio is upside down.2โfโฒ(2)/f(2)=2โ10/(โ1)=12. The step is f(x0โ)/fโฒ(x0โ), height over slope.
โ Not quite. Evaluate f(2) and fโฒ(2) carefully, then apply x1โ=x0โโf(x0โ)/fโฒ(x0โ).
Show solution
f(2)=8โ4โ5=โ1 and fโฒ(x)=3x2โ2, so fโฒ(2)=10.
x1โ=2โfโฒ(2)f(2)โ=2โ10โ1โ=2+0.1=2.1.
The two minus signs combine into a plus: the point (2,โ1) is below the axis and the tangent line rises with slope 10, so it reaches the axis 1/10 to the right.
Problem 3 ยท Newton's Method for โ10
Given:f(x)=x2โ10 and x0โ=3 โ find the simplified Newton recurrence and the second guess x2โ.
What is the simplified recurrence?
What is x2โ?
โ Correct!x1โ=619โ and x2โ=228721โโ3.162281, while 10โโ3.162278.
โ Only half of the constant survives. The term is 2xnโ10โ=xnโ5โ: the 2 from fโฒ(xnโ)=2xnโ divides the 10 as well.
โ The derivative is 2xnโ, not xnโ. With the correct slope the ratio is 2xnโxn2โโ10โ.
โ Sign slip.โ2xnโxn2โโ10โ=โ2xnโโ+2xnโ10โ: the minus in front of the fraction and the minus in front of 10 combine into a plus.
โ That is x1โ. Apply the recurrence once more, starting from 619โ.
โ The factor 21โ is missing.619โ+1960โ=114721โ is twice x2โ; the recurrence averages x1โ and 10/x1โ.
โ This comes from 21โxnโ+10/xnโ. That rule sends 3 to 629โ, farther from 10โ; the correct term is 10/(2xnโ).
โ Check the recurrence. Start from xnโโ2xnโxn2โโ10โ and split the fraction into two terms.
โ Check x2โ. Compute x1โ first, then apply the recurrence to x1โ.