← 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 uxu_x when it is given that u1=1, u2=9, u3=25, u4=55u_1=1,\ u_2=9,\ u_3=25,\ u_4=55 and u5=105u_5=105.

Technique

Newton forward-difference formula with s=xx0s=x-x_0; constant 3rd differences ⇒ cubic; expand in ss then back-substitute s=x1s=x-1.

Solution

Setup. The data are tabulated at the integer arguments x=1,2,3,4,5x=1,2,3,4,5 (the subscript is the argument), so x0=1x_0=1 and the step h=1h=1. The Newton forward-difference interpolating polynomial is

ux=u0+(s1)Δu0+(s2)Δ2u0+(s3)Δ3u0+,s=xx0h=x1.u_x=u_0+\binom{s}{1}\Delta u_0+\binom{s}{2}\Delta^2u_0+\binom{s}{3}\Delta^3u_0+\cdots,\qquad s=\frac{x-x_0}{h}=x-1.

Step 1 — Forward difference table

xxuuΔ\DeltaΔ2\Delta^2Δ3\Delta^3Δ4\Delta^4
118860
2916146
3253020
45550
5105

The leading diagonal gives u0=1, Δu0=8, Δ2u0=8, Δ3u0=6, Δ4u0=0.u_0=1,\ \Delta u_0=8,\ \Delta^2u_0=8,\ \Delta^3u_0=6,\ \Delta^4u_0=0. Since Δ4u0=0\Delta^4u_0=0 (and all higher differences vanish), the data lie on a cubic — the lowest possible degree.

Step 2 — Assemble the polynomial in s=x1s=x-1

ux=1+s(8)+s(s1)2(8)+s(s1)(s2)6(6).u_x=1+s(8)+\frac{s(s-1)}{2}(8)+\frac{s(s-1)(s-2)}{6}(6). ux=1+8s+4s(s1)+s(s1)(s2).u_x=1+8s+4s(s-1)+s(s-1)(s-2).

Step 3 — Expand and substitute s=x1s=x-1

Expand in ss:

ux=1+8s+4s24s+(s33s2+2s)=s3+s2+6s+1.u_x=1+8s+4s^2-4s+\big(s^3-3s^2+2s\big)=s^3+s^2+6s+1.

Now put s=x1s=x-1:

s3=(x1)3=x33x2+3x1,s2=x22x+1,6s=6x6.s^3=(x-1)^3=x^3-3x^2+3x-1,\quad s^2=x^2-2x+1,\quad 6s=6x-6. ux=(x33x2+3x1)+(x22x+1)+(6x6)+1.u_x=(x^3-3x^2+3x-1)+(x^2-2x+1)+(6x-6)+1.

Answer

  ux=x32x2+7x5.  \boxed{\;u_x=x^3-2x^2+7x-5.\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.