Worked example Numerical methods
Newton-Raphson method worked example
In one sentence
5 worked examples on Newton-Raphson method, each solved step by step.
Last checked Source: Newton-Raphson method Source: Newton-Raphson method qualifications.pearson.com (opens in a new tab)
Newton-Raphson method for your study of A-level maths, with its source.
Related pages include Geometric sequences and series, Proof, Numerical methods for integrals and curves and Statistical hypothesis tests.
Points to check
- Using f′(x₀) = 0 or a starting value near a stationary point, which sends the iterate far away.
Study brief
- The Newton-Raphson method is a numerical technique used to find approximate solutions for equations that cannot be solved analytically. When preparing for the A level maths, students should understand the operational mechanics of this specific method. A key aspect of the Newton-Raphson method involves recognizing its potential failure. Specifically, the method can fail when it is used near points where the gradient is small. Understanding these limitations is part of the necessary learning for this topic. This approach differs from other iterative forms, such as the recurrence relation xn + 1 = f(xn), which can be visualized through staircase or cobweb diagrams to show convergence. While numerical methods like Newton-Raphson permit solutions to a required level of accuracy, they are distinct from the application of Newton's laws regarding force and motion.
Worked examples
Example 1
Problem
Use the Newton-Raphson method on f(x) = x³ + x² − 4 with x₀ = 1.2 to find x₃ to 5 decimal places.
Solution, step by step
Try it yourself first, then open a step to see why it works.
-
1 f′(x) = 3x² + 2x.
-
2 x₁ = x₀ − f(x₀)/f′(x₀), with f(1.2) = −0.8320 and f′(1.2) = 6.7200, so x₁ = 1.32381.
-
3 x₂ = 1.31465.
-
4 x₃ = 1.31460.
Answer
x₃ = 1.31460
Example 2
Problem
Use the Newton-Raphson method on f(x) = 2x³ − 9x + 3 with x₀ = 0.5 to find x₃ to 5 decimal places.
Solution, step by step
Try it yourself first, then open a step to see why it works.
-
1 f′(x) = 6x² − 9.
-
2 x₁ = x₀ − f(x₀)/f′(x₀), with f(0.5) = −1.2500 and f′(0.5) = −7.5000, so x₁ = 0.33333.
-
3 x₂ = 0.34222.
-
4 x₃ = 0.34224.
Answer
x₃ = 0.34224
Example 3
Problem
Use the Newton-Raphson method on f(x) = x³ − 3x + 1 with x₀ = 1.5 to find x₃ to 5 decimal places.
Solution, step by step
Try it yourself first, then open a step to see why it works.
-
1 f′(x) = 3x² − 3.
-
2 x₁ = x₀ − f(x₀)/f′(x₀), with f(1.5) = −0.1250 and f′(1.5) = 3.7500, so x₁ = 1.53333.
-
3 x₂ = 1.53209.
-
4 x₃ = 1.53209.
Answer
x₃ = 1.53209
Example 4
Problem
Use the Newton-Raphson method on f(x) = x³ − 10 with x₀ = 2.0 to find x₃ to 5 decimal places.
Solution, step by step
Try it yourself first, then open a step to see why it works.
-
1 f′(x) = 3x².
-
2 x₁ = x₀ − f(x₀)/f′(x₀), with f(2.0) = −2.0000 and f′(2.0) = 12.0000, so x₁ = 2.16667.
-
3 x₂ = 2.15450.
-
4 x₃ = 2.15443.
Answer
x₃ = 2.15443
Example 5
Problem
Use the Newton-Raphson method on f(x) = x³ − 2x − 5 with x₀ = 2.0 to find x₃ to 5 decimal places.
Solution, step by step
Try it yourself first, then open a step to see why it works.
-
1 f′(x) = 3x² − 2.
Why: Newton-Raphson needs the derivative.
-
2 x₁ = x₀ − f(x₀)/f′(x₀), with f(2.0) = −1.0000 and f′(2.0) = 10.0000, so x₁ = 2.10000.
Why: Follow the tangent to the axis.
-
3 x₂ = 2.09457.
Why: Repeat from x₁.
-
4 x₃ = 2.09455.
Why: The digits stop changing: the method converges quickly here.
Answer
x₃ = 2.09455
Practise for free
Test yourself with exam-style questions and see why each answer is right or wrong.
More worked examples
-
Numerical methods for integrals and curves worked example
5 worked examples on Numerical methods for integrals and curves, each solved step by step.
-
Proof worked example
8 worked examples on Proof, each solved step by step.
-
Secant, cosecant and cotangent worked example
8 worked examples on Secant, cosecant and cotangent, each solved step by step.
-
Solve simultaneous equations worked example
7 worked examples on Solve simultaneous equations, each solved step by step.
-
Solve trigonometric equations worked example
6 worked examples on Solve trigonometric equations, each solved step by step.
-
The functions e^x and ln x worked example
7 worked examples on The functions e^x and ln x, each solved step by step.
-
Transformations of graphs worked example
6 worked examples on Transformations of graphs, each solved step by step.
-
Trigonometric proof worked example
6 worked examples on Trigonometric proof, each solved step by step.