4.8.11 · HinglishNumerical Methods

Error in polynomial interpolation

1,741 words8 min readRead in English

4.8.11 · Maths › Numerical Methods


HUM KYA MEASURE kar rahe hain?

Woh central result jo hum derive karenge:


YEH EXACT SHAPE KYU AATI HAI? (Derivation from scratch)

Hume dikhana hai ki .

Step 1 — Ek point fix karo aur ek helper function banao. Koi bhi aisa point lo jo node nahi hai (agar node hai toh error hai aur kaam khatam). Hume abhi wahan error nahi pata; ek unknown constant define karo jo is tarah se defined hai: Yeh step kyun? Hum error ko (constant) ki form mein force kar rahe hain. Agar hum prove kar saken ki , toh formula done hai. Yeh Feynman move hai: answer ki shape assume karo, phir usse pin down karo.

Step 2 — Ek nayi variable mein ek auxiliary function define karo: Yeh step kyun? Hume ek aisi function chahiye jo bahut saare points par vanish kare taaki hum Rolle repeatedly apply kar sakein.

Step 3 — ke zeros count karo.

  • Har node par: aur , isliye . Yeh zeros hue.
  • par: ki definition se, . Ek aur zero.

Toh ke kam se kam distinct zeros hain mein.

Step 4 — Rolle's theorem baar baar apply karo. Kyun? Rolle kehta hai ke do zeros ke beech ka ek zero hoga.

  • ke zeros hain ke zeros hain.
  • ke zeros hain.
  • ka zero hai. Usse bolo.

Step 5 — ko exactly baar differentiate karo.

  • ka degree hai .
  • , isliye (ek constant hai).

Isliye

Step 6 — par evaluate karo. Kyunki :

Step 7 — Wapas substitute karo. Step 1 se,

Figure — Error in polynomial interpolation

ISKA USE KAISE KAREIN — error bound

Hume rarely pata hota hai, isliye hum isse bound karte hain. Maano . Tab


Worked examples


Common mistakes (steel-manned)


Recall Feynman: ek 12-saal ke bachche ko explain karo

Socho tum ek graph par dots ko ek smooth curve se connect kar rahe ho. Tum sirf dots ki height jaante ho. Dots ke beech mein tum guess kar rahe ho. Guess kitna galat ho sakta hai? Do cheezein matter karti hain: tum nearest dots se kitna door ho ( part — jitne zyada dots paas mein, utna safe), aur asli line kitni twisty hai (derivative part — seedhi road guess karna easy hai, roller-coaster nahi). Formula bas "twistiness" ko "dots se distance" se multiply karta hai aur ek bade factorial se divide karta hai jo usse soften karta hai. Surprisingly, dots ko edges ke paas zyada tight pack karna (Chebyshev) worst guess ko bahut better banata hai.


Active recall

Degree- interpolation ke liye interpolation error formula kya hai?
, jahan .
Error formula ke liye smoothness condition kya chahiye?
, yaani ke continuous derivatives hain.
Node polynomial kya hai?
, jo har interpolation node par vanish karta hai.
Derivation mein kyun hota hai?
Kyunki ka degree hai, baar differentiate karne par yeh zero ho jaata hai.
Denominator mein kahan se aata hai?
isliye , jo Rolle's theorem baar apply karne par milta hai.
Helper ke kitne zeros hote hain, aur kyun?
Kam se kam : nodes mein se har ek par ek, plus chosen point par ek.
Spacing ke saath linear interpolation ka error bound?
.
Do nodes ke liye ka maximum kahan hota hai?
Midpoint par, value hoti hai.
Runge phenomenon kya hai?
Equally spaced nodes ke saath, degree badhane par interpolation error endpoints ke paas blow up ho sakta hai (jaise ke liye).
Interpolation error ki size ko kaunse do factors control karte hain?
High derivative (function ki curviness, control nahi hoti) aur (node placement, control hoti hai).
Chebyshev nodes se faida kyun hota hai?
Yeh endpoints ke paas cluster hote hain aur ko minimise karte hain, worst-case error kam karte hain aur Runge oscillations avoid karte hain.
equally spaced nodes ke liye, error mein kis order ka hota hai?
Sufficiently smooth ke liye .

Connections

  • Lagrange Interpolation — woh banata hai jiska yeh error hai.
  • Newton Divided Differences — error term equals next divided difference .
  • Taylor's Theorem with Remainder — limiting case jab saare nodes coalesce ho jaate hain.
  • Rolle's Theorem / Mean Value Theorem — derivation ka engine.
  • Runge Phenomenon aur Chebyshev Nodes — node-choice ke consequences.
  • Numerical Integration — Newton–Cotes error is factor ko inherit karta hai.

Concept Map

interpolated by

defines

assumed shape

product of x minus nodes

used to build

has n+2 zeros

yields

apply

solves for

substitute back

equals

f sampled at n+1 nodes

p_n interpolating polynomial

Error E(x) = f(x) - p_n(x)

Node polynomial omega(x)

Helper g(t) = f - p_n - K·omega

Unknown constant K

Rolle's theorem repeated

Zero xi of g^n+1

p_n^(n+1)=0 and omega^(n+1)=(n+1)!

Error formula: f^(n+1)(xi)/(n+1)! · omega(x)