- Topic
- Newton’s method
- Difficulty
- Standard
- Suggested time
- 5 min
- Marks
- 3
Newton’s method practice question 5
The equation has exactly one solution, the zero of . Use one step of Newton’s method on from to estimate the solution. Give exactly.
One Newton step needs the value and the slope of at the start. Why is a convenient place to start?
. Evaluate and at .
At , sine and cosine are both . Then .
An exact expression, or a decimal to four decimal places.
Theory UBC Math 100 §10.1Key results
Worked solution
Strategy
A solution of cos x = x is a zero of f(x) = cos x − x, which Newton’s method can find. π/4 is a convenient start because sine and cosine are known exactly there.
Working
A solution of cos x = x is a zero of f.
cos(π/4) = sin(π/4) = √2/2.
The update formula. The minus signs cancel; this is already a calculator-ready answer.
Optional tidying: over a common denominator the π/4 terms cancel, then divide top and bottom by √2/2.
The solution is 0.7391 to four places, so one step lands close.
Answer
The answer is pi plus 4, over 4 times the quantity root 2 plus 1; about 0.7395.
Check
cos(0.7395) ≈ 0.7388, so x₁ misses solving cos x = x by less than 0.001.
Where this goes wrong
Differentiating cos x as sin x, so that f′(π/4) = √2/2 − 1 and x₁ comes out near 0.518. The derivative of cos x is −sin x, which makes f′ negative everywhere here.
Leans on
Derivatives of sine and cosine, from Exponential and trigonometric functions
Saved in this browser only.