← 2018 Paper 2
UPSC 2018 Maths Optional Paper 2 Q5b — Step-by-Step Solution
10 marks · Section B
Newton's forward difference interpolation · Numerical Analysis · asked 3× in 13 yrs · Read the full method →
Question
Using Newton’s forward difference formula find the lowest degree polynomial ux when it is given that u1=1, u2=9, u3=25, u4=55 and u5=105.
Technique
Newton forward-difference formula with s=x−x0; constant 3rd differences ⇒ cubic; expand in s then back-substitute s=x−1.
Solution
Setup. The data are tabulated at the integer arguments x=1,2,3,4,5 (the subscript is the argument), so x0=1 and the step h=1. The Newton forward-difference interpolating polynomial is
ux=u0+(1s)Δu0+(2s)Δ2u0+(3s)Δ3u0+⋯,s=hx−x0=x−1.
Step 1 — Forward difference table
| x | u | Δ | Δ2 | Δ3 | Δ4 |
|---|
| 1 | 1 | 8 | 8 | 6 | 0 |
| 2 | 9 | 16 | 14 | 6 | |
| 3 | 25 | 30 | 20 | | |
| 4 | 55 | 50 | | | |
| 5 | 105 | | | | |
The leading diagonal gives u0=1, Δu0=8, Δ2u0=8, Δ3u0=6, Δ4u0=0.
Since Δ4u0=0 (and all higher differences vanish), the data lie on a cubic — the lowest possible degree.
Step 2 — Assemble the polynomial in s=x−1
ux=1+s(8)+2s(s−1)(8)+6s(s−1)(s−2)(6).
ux=1+8s+4s(s−1)+s(s−1)(s−2).
Step 3 — Expand and substitute s=x−1
Expand in s:
ux=1+8s+4s2−4s+(s3−3s2+2s)=s3+s2+6s+1.
Now put s=x−1:
s3=(x−1)3=x3−3x2+3x−1,s2=x2−2x+1,6s=6x−6.
ux=(x3−3x2+3x−1)+(x2−2x+1)+(6x−6)+1.
Answer
ux=x3−2x2+7x−5.