What we are solvingShow from a graph that
2x3−5x+2=0 has three roots between
−2 and
2Then use Newton-Raphson to find the root between 1 and 2, to 2 d.p.
Chapter: Numerical methods
Topic: location of roots, the Newton-Raphson method
Concept and formulasThe roots are where the curve
y=2x3−5x+2 cuts the
x-axis
Newton-Raphson:
xn+1=xn−f′(xn)f(xn)f(x)=2x3−5x+2,f′(x)=6x2−5(a) (6 marks)Table of values
| x | −2 | −1.5 | −1 | −0.5 | 0 | 0.5 | 1 | 1.5 | 2 |
| y | −4 | 2.75 | 5 | 4.25 | 2 | −0.25 | −1 | 1.25 | 8 |
The curve crosses the
x-axis three times: between
−2 and
−1.5, between
0 and
0.5, and between
1 and
1.5So the equation has three real roots in
−2<x<2 (about
−1.75,
0.43 and
1.32)
(b) (6 marks)The graph shows the root near
1.4; take
x0=1.5xn+1=xn−6xn2−52xn3−5xn+2x1=1.5−8.51.25=1.3529x2=1.3529−5.98270.1883=1.3215x3=1.3215−5.47770.0080=1.3200x2 and
x3 agree to 2 d.p.
Check:
f(1.315)=−0.0271<0 and
f(1.325)=0.0274>0, so the root lies between them
Answer: (a) three crossings of the
x-axis (b)
x=1.32Tip: Stop when two successive iterates round to the same value