Interpolation and numerical integration with error terms
Why this is asked: Degree of precision is the key number: trapezoidal 1, Simpson 3, n-point Gauss 2n−1. Interpolation error carries f⁽ⁿ⁺¹⁾/(n+1)! times the node product.
In one sentence
There is exactly one polynomial of degree through points, adding equispaced points can make the approximation worse, and Simpson's rule is exact for cubics rather than for quadratics.
Why the exam asks it
Because two results run against expectation — Runge's phenomenon and Simpson's extra degree — and both have short, checkable statements. Degree of precision is also a definition that can be tested directly.
The idea
Interpolation
Through distinct nodes there is a unique polynomial of degree . Lagrange form:
Newton's divided-difference form gives the same polynomial and is cheaper to extend by one node. Uniqueness means they agree — a question asking whether two forms give different polynomials is asking whether you know that.
Error: for sufficiently smooth,
Both factors matter. The product is small in the middle and large near the ends, and can grow with faster than shrinks.
Runge's phenomenon
on , interpolated at equispaced nodes, oscillates violently near the endpoints, and the oscillation grows as nodes are added. More data makes it worse.
The fix is the node spacing, not the degree: Chebyshev nodes cluster at the ends and minimise the maximum of . The same degree through Chebyshev nodes tracks the function closely.
The moral is that "more points is better" is false, and that the error formula predicted it — the product term is exactly what Chebyshev nodes optimise.
Quadrature and degree of precision
The degree of precision is the largest such that the rule is exact for all polynomials of degree .
- Trapezoid: , error , precision 1.
- Simpson: , error , precision 3.
- Gauss with nodes: precision .
Simpson is built to be exact for quadratics and comes out exact for cubics as well — the cubic error term vanishes by symmetry, which is why the error involves rather than .
Checked directly on : for , Simpson gives , which is exact. For it gives against — an error of , and the first failure.
Gauss quadrature achieves precision with only nodes by choosing the nodes as well as the weights — they are the roots of the Legendre polynomial. Two points give precision , the same as Simpson's three points.
Composite rules: over subintervals the total error is for trapezoid and for Simpson, one power lower than the single-interval error because there are of them.
Where intuition breaks
"More interpolation nodes give a better approximation." Runge. With equispaced nodes the error can grow without bound as .
"Simpson's rule is exact for quadratics." For cubics. Its precision is , not , which is why it is so much better than trapezoid.
"Lagrange and Newton forms give different polynomials." The interpolating polynomial is unique. Different formulas, same polynomial.
"Gauss quadrature with points has precision ." . Choosing the nodes doubles what fixed nodes achieve.
"The composite error is the same order as the single-interval error." One order lower: becomes for trapezoid, becomes for Simpson.
"Runge's phenomenon is about the function being badly behaved." is smooth on — its trouble is the poles at in the complex plane, near the interval. The radius-of-convergence chapter is the explanation.
"Chebyshev nodes fix it by using more points." Same number of points, different placement.
The exam's angle
- For "degree of precision", test monomials in order — — until the rule fails. That is the definition applied directly.
- Remember Simpson is exact through cubics and Gauss- through degree .
- Match the error term to the derivative order: for trapezoid, for Simpson, and the composite version one power of lower.
- If a question adds nodes and asks whether the error falls, check the spacing. Equispaced is the trap.
- Use uniqueness. Any question comparing two interpolation methods on the same nodes has the same answer for both.
The night before
- Unique polynomial of degree through nodes; Lagrange and Newton give the same one.
- Error .
- Runge: equispaced nodes on diverge as grows. Chebyshev nodes, same degree, do not.
- Trapezoid: precision , error . Simpson: precision 3, error .
- Composite: and respectively.
- Gauss with nodes: precision , nodes at Legendre roots.
- Simpson on : exact for , gives against for .
See it move
The trap here
“Increasing the number of equally spaced interpolation nodes improves the approximation” — false
Runge's function on [−1, 1]
The interpolants diverge near the endpoints as . Chebyshev nodes restore convergence.
More in Numerical Analysis
Take it further
- The mistake this prevents: execution slip → real wrong options, and why each one tempts
- The mistake this prevents: numerical convergence → real wrong options, and why each one tempts
- Previous-year questions set on this — every option and the answer, free:December 2025 · Part BJune 2025 · Part BJune 2025 · Part CDecember 2024 · Part BJune 2024 · Part CDecember 2024 · Part CDecember 2024 · Part CDecember 2023 · Part C
Last revised . Found a mistake? Tell us — corrections are the fastest thing we act on.
Next: Numerical ODE: Euler, Runge–Kutta
Create a free account to keep your place and have this feed your study plan.
Open this in the full syllabus view · Unit 3