Frequency: 5 sub-parts across 5 of 13 years (2015, 2016, 2017, 2020, 2025)
Priority tier: T2
Marks (count): 15 (3), 20 (2)
Average solve time: ~14 min
Difficulty mix: easy 1, medium 2, hard 2
Section: B | Dominant type: computation
Why This Chapter Matters
Lagrange interpolation appears in 5 of the last 13 years and always in Section B with high mark values (15–20 marks). The questions span five distinct patterns — from a straightforward computation to a confluent (Hermite-type) formula derived by a limiting argument — so this is one of the most varied numerical-analysis chapters in the corpus. The two 20-mark questions (2015, 2016) are the clearest tests of the core formula and its error bound; the three 15-mark questions (2017, 2020, 2025) require deeper structural understanding. The divided-difference route to Newton’s form (2025) and the confluent-limit derivation (2020) are the two patterns most likely to catch candidates who only practised the basic formula.
Minimum Theory
Lagrange interpolating polynomial. Given n+1 distinct nodes x0,x1,…,xn and values fi=f(xi), the unique polynomial Pn of degree ≤n satisfying Pn(xi)=fi is
Pn(x)=∑i=0nfiLi(x),Li(x)=∏j=ixi−xjx−xj.
The basis polynomials Li satisfy Li(xj)=δij and ∑iLi(x)≡1 (partition of unity, useful check).
Interpolation error. If f has (n+1) continuous derivatives, the error at x is
f(x)−Pn(x)=(n+1)!f(n+1)(ξ)ω(x),ω(x)=∏i=0n(x−xi),
for some ξ in the smallest interval containing {x0,…,xn,x}. Hence
∣f(x)−Pn(x)∣≤(n+1)!Mn+1∣ω(x)∣,Mn+1=max∣f(n+1)∣
over that interval.
Newton’s divided-difference form. An equivalent representation (especially efficient for unequally spaced nodes):
Pn(x)=f[x0]+f[x0,x1](x−x0)+f[x0,x1,x2](x−x0)(x−x1)+⋯
where the divided differences are built recursively:
f[xk]=fk,f[xi,…,xk]=xk−xif[xi+1,…,xk]−f[xi,…,xk−1].
Confluent (osculatory) interpolation. When two nodes x0 and x0+ϵ coalesce (ϵ→0), the Lagrange polynomial on {x0,x0+ϵ,x1} converges to a formula matching f(x0), f′(x0), and f(x1) — the simplest Hermite interpolant. The error term picks up a double root at x0: E(x)=61(x−x0)2(x−x1)f′′′(ξ).
Question Archetypes
Five patterns cover every Lagrange interpolation question in the corpus.
Shortcut: check whether the data fits a low-degree exact polynomial. Test f(x)=x3+x+1: f(−1)=−1 ✓, f(2)=11 ✓, f(3)=31 ✓, f(4)=69 ✓. So P(x)=x3+x+1 and P(1.5)=3.375+1.5+1=5.875 ✓ — much faster once the guess works.
Common Traps
Sign tracking in denominators.(−3)(−4)(−5)=−60, not +60.
Each Li(xj)=δij — verify at the nodes as a quick sanity check.
Check ∑Li(x)=1 at the evaluation point as a running total.
lagrange-with-error (1 question(s); 2016)
Recognition Cues
“Estimate f(a) using a Lagrange polynomial of degree n over given nodes.”
“Compute the error bound over [l,r]” and “the actual error E(a).”
Three deliverables: the estimate, a derivative-based bound, and the actual error.
Solution Template
Compute node values f(xi) numerically.
Evaluate basis polynomials Li at the target point; check ∑Li=1.
Compute Pn=∑f(xi)Li.
Derive f(n+1)(x) and find (or bound) Mn+1=max∣f(n+1)∣. Look for amplitude form A⋅g(x) with known max∣g∣.
Evaluate ∣ω(x)∣ at the target point and over the interval.
State the bound and compute E=∣f(target)−Pn(target)∣.
Worked Example(s)
2016 Paper 2, 2016-P2-Q6c (20 marks)
f(x)=e2xcos3x on [0,1]. Estimate f(0.5) using degree-3 Lagrange interpolation over nodes 0,0.3,0.6,1. Give the error bound over [0,1] and the actual error E(0.5).
Error bound. Differentiate f=e2xcos3x four times:
f(4)(x)=e2x(120sin3x−119cos3x).
Recognise this as e2x⋅Asin(3x+δ) with amplitude A=1202+1192=28561=169. So
∣f(4)(x)∣≤169e2x≤169e2≈1248.75on [0,1].
At x=0.5: ∣ω(0.5)∣=(0.5)(0.2)(0.1)(0.5)=0.005=1/200.
∣E(0.5)∣≤4!169e2⋅2001=4800169e2≈0.260.
Actual error.f(0.5)=e1cos1.5≈2.71828×0.07074≈0.1923.E(0.5)=0.1923−0.1313≈0.061,
well inside the bound 0.260 ✓.
Common Traps
Keep all trig arguments in radians. Using degree mode wrecks every node value.
1202+1192=169 exactly — this clean amplitude is the key to the error bound. Bounding ∣120sin3x∣+∣119cos3x∣≤239 is valid but over-conservative.
Two different “error bounds” arise: pointwise at x=0.5 uses ∣W(0.5)∣=1/200; uniform over [0,1] uses max[0,1]∣W∣≈0.0176. The question asks for the bound over [0,1] so report M4=169e2 and the resulting estimate.
lagrange-form-proof (1 question(s); 2017)
Recognition Cues
“Show that the Lagrange interpolation formula for nodes u−1,u0,u1,u2 can be written in the form ux=yu0+xu1+3!y(y2−1)Δ2u−1+3!x(x2−1)Δ2u0.”
The variables x and y=1−x are fractional positions between the nodes.
Solution Template
Write the four Lagrange basis polynomials explicitly for nodes −1,0,1,2.
Express Δ2u−1=u1−2u0+u−1 and Δ2u0=u2−2u1+u0.
Expand the right-hand side of the claimed formula, substituting y=1−x.
Match the coefficient of each ui on both sides against Li(x).
Worked Example(s)
2017 Paper 2, 2017-P2-Q6b (15 marks)
For equidistant values u−1,u0,u1,u2, show the Lagrange interpolant satisfies ux=yu0+xu1+3!y(y2−1)Δ2u−1+3!x(x2−1)Δ2u0 with x+y=1.
Four equidistant nodes at −1,0,1,2; interpolate at argument x (measured in spacing units from u0); write y=1−x.
Step 3 (group and limit). The f(x0) contributions from ℓ0 and ℓ1 are ℓ0f(x0)+ℓ1f(x0); the 1/ϵ pieces cancel. The surviving derivative term gives coefficient x0−x1(x−x0)(x−x1) for f′(x0). The ℓ2 coefficient converges to (x1−x0)2(x−x0)2.
Step 4 (error). The three-node error is 6f′′′(ξ)(x−x0)(x−x0−ϵ)(x−x1); as ϵ→0 the node product becomes (x−x0)2(x−x1):
E(x)=61(x−x0)2(x−x1)f′′′(ξ).
Verification: substituting f(t)=t2 (so f′′′=0) should give exact reproduction — it does when the f′(x0) coefficient carries the sign x0−x1(x−x0)(x−x1) (negative of what the printed paper states). The corrected sign has been verified.
Common Traps
The 1/ϵ singularities cancel only because both multiply f(x0). Keep terms grouped by which node value they multiply.
The error has (x−x0)2 (double root at the merged node), not (x−x0).
Printed-paper note (2020): the middle f′(x0) coefficient in the question has the wrong sign; the correct coefficient is x0−x1(x−x0)(x−x1), verified by exactness on f=t2.
Unequally spaced nodes; “find the unique polynomial of degree ≤n fitting the data.”
“Obtain the bound on the truncation error.”
Newton’s divided-difference form is the cleanest approach for unequal spacing.
Solution Template
Build the divided-difference table: first-order f[xi,xi+1]=(fi+1−fi)/(xi+1−xi), then second-order f[x0,x1,x2]=(f[x1,x2]−f[x0,x1])/(x2−x0), etc.
Error bound. For 3-node interpolation:
E(x)=6f′′′(ξ)ω(x),ω(x)=x(x−1)(x−3).
Find max∣ω∣ on [0,3]: set ω′(x)=3x2−8x+3=0, giving x=(4±7)/3. At the interior critical points:
max[0,3]∣ω∣=ω(34+7)≈2.1126.
Divided-difference arithmetic: f[x1,x2] uses the gap x2−x0 in the denominator for the second-order term, not x2−x1.
The 1/(n+1)! factor in the error is 1/3!=1/6, not 1/2!.
Finding max∣ω∣ requires solving ω′=0; the maximum is at an interior point of [0,3], not an endpoint.
Marks-Aware Writing
20-mark questions (2015, 2016): Expect to write out all four basis polynomials explicitly, evaluate each at the target point, and assemble the sum. For the error question (2016): derive f(4) symbolically, bound it by recognising the amplitude form A⋅e2x, then give both the pointwise and interval bounds.
15-mark questions (2017, 2020, 2025): Structure matters more than computation. For the form-proof (2017): verify each coefficient in sequence — that is the whole proof. For the confluent limit (2020): a clear description of the ϵ→0 mechanism (singularities cancel because both multiply f(x0)) is worth as many marks as the final formula. For divided differences (2025): write the difference table explicitly; the Newton polynomial and error bound follow mechanically.
Practice Set
Year
Paper/Q
Marks
Archetype
One-line hint
2016
P2-Q6c
20
lagrange-with-error
1202+1192=169 gives the amplitude of f(4); bound ≤169e2 on [0,1]; pointwise $
2020
P2-Q8b
15
confluent-interpolation
1/ϵ terms from ℓ0,ℓ1 cancel; the surviving limit is the f′(x0) coefficient
We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.