4.8.10 · HinglishNumerical Methods

Polynomial interpolation — Lagrange form, Newton's divided differences

1,504 words7 min readRead in English

4.8.10 · Maths › Numerical Methods


1. Problem & ek polynomial exist kyun karta hai

WHY distinct nodes matter: agar lekin to aap ek function se ek point par do values maang rahe ho — ye impossible hai. Distinctness Vandermonde determinant ko banata hai, isliye system ka unique solution hota hai.


2. Lagrange form — "switches" se banao

HOW to build . Mujhe wale sabhi par zeros chahiye. To ye factors daalo: Ye baaki sabhi nodes par zero hai. Ise par banane ke liye, iska wahan ka value divide karo:


3. Newton's divided differences — incrementally banao

Figure — Polynomial interpolation — Lagrange form, Newton's divided differences

4. Interpolation ka error


5. Common mistakes (Steel-manned)


Recall Feynman: 12 saal ke bache ko explain karo

Socho tumhare paas graph paper par kuch dots hain aur tum chahte ho ek smooth bendy line unme se sabse guzre. Polynomial interpolation us line ka rule hai. Lagrange tarika: har dot ke liye ek special bump-curve banao jo apne dot par exactly 1 ho aur baaki sabhi par 0 ho. Bumps ko stack karo, har ek ko apne dot ki height se scale karke. Line har dot se force hokar guzaregi. Newton tarika: pehle dot se shuru karo. Correction add karo taki doosra bhi hit ho. Ek aur correction add karo jo pehle do par zero ho taki teesre ko hit kare — aur aise aage. Har correction ek "fix" hai jo pehle ki fixes kabhi nahi todta. Dono tarike same line banate hain — bas do alag recipes hain.


Connections

  • Vandermonde matrix — interpolation ka unique solution kyun hota hai.
  • Runge phenomenon — high-degree equispaced interpolation kyun fail hoti hai.
  • Chebyshev nodes — node placement jo error product ko tame karta hai.
  • Cubic splines — piecewise low-degree alternative.
  • Numerical differentiation differentiate karke derivatives.
  • Newton-Cotes quadrature — interpolant ko integrate karna.
  • Taylor series — divided differences ki limit jab nodes coalesce hote hain ().

distinct nodes ke liye degree ≤ n ka unique interpolating polynomial kyun exist karta hai?
Vandermonde system square hai aur nonzero determinant hai jab nodes distinct hon, isliye coefficients uniquely determined hote hain.
Lagrange basis polynomial define karo.
; ye par 1 aur baaki sabhi nodes par 0 hota hai.
ki kaun si property ko interpolate banati hai?
, isliye har node par sirf ek term survive karta hai, jisse milta hai.
Divided difference ki recursive definition do.
, jisme .
Newton's forward interpolation polynomial likho.
.
Newton's form mein ek data point cheaply add kyun ho sakta hai lekin Lagrange mein nahi?
Newton ke naye term mein factor hota hai jo purane nodes par zero hota hai, isliye bas ek term append karo; Lagrange mein har basis recompute karni padti hai.
Kya Lagrange aur Newton interpolants same polynomial hain?
Haan — uniqueness se wo identical hain; sirf algebraic form alag hota hai.
Interpolation error formula batao.
kisi ke liye interval mein.
Interpolation error interval ends ke paas kyun badhti hai?
factor wahan large ho jata hai (Runge phenomenon), jo error inflate karta hai.
Kya divided difference apne nodes mein symmetric hai?
Haan — nodes reorder karne se iska value change nahi hota; ye interpolating polynomial ke leading coefficient ke barabar hota hai.

Concept Map

guarantees

proves

distinctness makes

written two ways

written two ways

builds

weakness: recompute all

motivates

coefficients of

strength

same curve as

n+1 points distinct x_i

Unique polynomial deg <= n

Vandermonde matrix invertible

Lagrange form

Newton form

Basis L_i = 1 at x_i, 0 elsewhere

Add point rebuilds everything

Divided differences slope of slopes

Add point appends one term