Pure mathematics
Numerical Methods
Year 12 · Year 13
- ✓By the end of this lesson students will be able to locate roots of equations by considering changes of sign.
- ✓By the end of this lesson students will be able to understand and apply iterative methods to find approximate roots.
- ✓By the end of this lesson students will be able to understand and apply the Newton-Raphson method to find approximate roots.
- ✓By the end of this lesson students will be able to use the trapezium rule to estimate the area under a curve.
Key concepts
For a continuous function f(x), if f(a) and f(b) have opposite signs, then there must be at least one root of f(x) = 0 between x = a and x = b. This is because a continuous function must cross the x-axis to change from a positive to a negative value (or vice versa).
An iterative method involves rearranging an equation f(x) = 0 into the form x = g(x). Starting with an initial approximation x_0, successive approximations are generated using the iterative formula x_{n+1} = g(x_n). The sequence of values x_0, x_1, x_2, ... may converge to a root of the equation. The convergence depends on the derivative of g(x) near the root; specifically, if |g'(x)| < 1 near the root, the iteration will converge.
The Newton-Raphson method is an efficient iterative technique for finding approximations to the roots of a real-valued function. It starts with an initial guess x_0 and uses the tangent line to the curve y = f(x) at x_n to find the next approximation x_{n+1}. The formula is derived from the intersection of the tangent with the x-axis. The method can fail if f'(x_n) is zero or very small near the root, or if the initial guess is far from the root.
The trapezium rule is a numerical method for approximating the definite integral of a function. It works by dividing the area under the curve into a number of trapeziums of equal width. The sum of the areas of these trapeziums provides an estimate of the total area. The accuracy of the approximation generally increases with the number of strips (trapeziums) used. If the curve is concave, the trapezium rule will overestimate the area; if convex, it will underestimate.
Key facts to remember
- 1If f(x) is continuous and f(a) and f(b) have opposite signs, a root lies between a and b.
- 2The iterative formula is x_{n+1} = g(x_n). Convergence occurs if |g'(x)| < 1 near the root.
- 3The Newton-Raphson formula is x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}.
- 4The trapezium rule formula is \int_{a}^{b} f(x) \, dx \approx \frac{h}{2} [y_0 + y_n + 2(y_1 + y_2 + \dots + y_{n-1})].
- 5The width of each strip for the trapezium rule is h = \frac{b-a}{n}.
- 6Newton-Raphson can fail if f'(x_n) is close to zero, leading to division by a small number or zero.
- 7The trapezium rule overestimates for concave curves and underestimates for convex curves.
Worked examples
Example 1
a) Show that the equation x^3 - 3x + 1 = 0 has a root between x = 0 and x = 1. \n b) Use the iterative formula x_{n+1} = \sqrt[3]{3x_n - 1} with x_0 = 0.5 to find the root to 3 decimal places.
Answer
a) f(0) = 1, f(1) = -1. Change of sign implies a root exists. \n b) x \approx 1.532 (3 d.p.)
For iterative methods, it is crucial to show enough iterations to demonstrate convergence to the required accuracy. Keep full calculator accuracy during intermediate steps.
Example 2
Use the Newton-Raphson method to find the positive root of the equation x^3 - 2x - 5 = 0, starting with x_0 = 2. Give your answer to 4 decimal places.
Answer
x \approx 2.0945 (4 d.p.)
Ensure your calculator is in radian mode if trigonometric functions are involved, though not in this example. Carry sufficient decimal places throughout the calculation to avoid premature rounding errors.
Example 3
Use the trapezium rule with 4 strips to estimate the integral \int_{0}^{2} e^{x^2} \, dx. Give your answer to 3 significant figures.
Answer
\int_{0}^{2} e^{x^2} \, dx \approx 20.6 (3 s.f.)
Always state the value of 'h' clearly. Be careful with the sum of the y-values: the first and last are added once, while all intermediate y-values are multiplied by 2.
Common mistakes
- ✗Incorrectly differentiating f(x) when applying the Newton-Raphson method.
- ✗Rounding intermediate values too early in iterative processes, leading to inaccuracies in the final answer.
- ✗Miscounting the y-values in the trapezium rule, particularly forgetting to multiply intermediate terms by 2.
- ✗Using a calculator in the wrong mode (e.g., degrees instead of radians) for trigonometric functions.
- ✗Choosing an initial value for iteration or Newton-Raphson that is too far from the actual root, leading to divergence or convergence to a different root.
Exam tips
- ★Show sufficient working for iterative methods (e.g., x_0, x_1, x_2, ...), especially when asked to show convergence to a certain number of decimal places.
- ★Use the 'ANS' button on your calculator to maintain full accuracy during iterative calculations.
- ★Clearly state the value of 'h' and list the y-values when using the trapezium rule.
- ★Always check the required degree of accuracy (decimal places or significant figures) for your final answer and round only at the very end.
Ready to practise?
Try a problem on this topic
Snap a photo or type a question — get step-by-step working instantly.
