Numerical methods
A numerical answer is meaningful only with its step size, iteration convention and error measure. Distinguish a method's local truncation error from its accumulated global error.
9.1 Errors and conditioning
Let be the exact value and its approximation. Absolute error is , relative error is for , and percentage error is 100 times the relative error.
9.2 Root-finding methods
Past papers · AE 2020–2026 (7 papers): 1 question, 2 marks · CE 2020–2026 (14 papers): 3 questions, 4 marks · ME 2020–2026 (10 papers): 2 questions, 3 marks
A bracketing method retains opposite endpoint signs for a continuous function. An open iteration can converge quickly but can also diverge, cycle or encounter a zero denominator.
9.3 Iterative linear systems
Direct elimination is in Chapter 1. In an iteration, identify which values are old and which have just been updated. Reordering equations may improve convergence but does not guarantee it.
9.4 Interpolation
Past papers · CE 2020–2026 (14 papers): 3 questions, 4 marks
Interpolation passes through specified data. Least-squares fitting generally does not; use the regression topic for that task. Distinct nodes are required for unique polynomial interpolation.
9.5 Numerical differentiation
Past papers · CE 2020–2026 (14 papers): 3 questions, 4 marks
Small step sizes reduce truncation error but eventually amplify roundoff and measurement noise. For a derivative stencil , match Taylor coefficients: for through the retained degree, and . The error statements below assume the required smooth derivatives remain bounded.
9.6 Numerical quadrature
Past papers · AE 2020–2026 (7 papers): 3 questions, 5 marks · CE 2020–2026 (14 papers): 5 questions, 9 marks · ME 2020–2026 (10 papers): 6 questions, 8 marks
Use equal subintervals unless a different rule is explicitly given. In the following formulas , , and .
9.7 Time stepping for ODEs
Past papers · CE 2020–2026 (14 papers): 3 questions, 6 marks · ME 2020–2026 (10 papers): 3 questions, 4 marks
For , let and . A single-step method needs the present point; a multistep method also needs previous values, normally obtained by a starting method.
Last-minute recall
- Root residual and root error are different quantities.
- Count bisections consistently before quoting an error bound.
- Newton's quadratic convergence is local and assumes a simple root.
- Jacobi uses old values; Gauss–Seidel uses new ones immediately.
- Lagrange accepts unequal nodes; finite-difference Newton forms use equal spacing.
- Central differences are generally more accurate at the same step size.
- Simpson needs an even number of subintervals.
- RK4 stages here include the step size.
- Accuracy order does not guarantee stability at a chosen step size.