4.8.10 · D4 · HinglishNumerical Methods

ExercisesPolynomial interpolation — Lagrange form, Newton's divided differences

2,029 words9 min read↑ Read in English

4.8.10 · D4 · Maths › Numerical Methods › Polynomial interpolation — Lagrange form, Newton's divided d


Level 1 — Recognition

Exercise 1.1

Teen points diye hain — kitne interpolating polynomials of degree in sabse guzarte hain, aur kyun?

Recall Solution

KYA: Fitting polynomials count karo. KYUN: points ke saath hum degree ka polynomial dhundhte hain. Aise polynomial mein free coefficients hote hain mein. points se guzarne ki condition linear equations deti hai — ek square system. Nodes distinct hain, isliye Vandermonde determinant . Nonzero determinant wale square system ka exactly ek solution hota hai. Answer: exactly .

Exercise 1.2

Nodes ke liye Lagrange switch likho (-values mat daalo). , , kya hain?

Recall Solution

KYA: Woh switch banao jo sirf par "on" ho. Numerator kyun: yeh doosre nodes aur par zero hona chahiye, isliye factors aur include karo. Denominator kyun: force karne ke liye, numerator ki value par se divide karo. Values: , , . Yeh Kronecker delta property hai. ✔


Level 2 — Application

Exercise 2.1

se guzarta Lagrange interpolant nikalo aur mein simplify karo.

Recall Solution

KYA: assemble karo. Teeno switches banao (nodes ): Yeh denominators kyun: har ek apne numerator ki value apne node par hai, jo guarantee karta hai. se weight karo: Har ek expand karo:

sum karo: . sum karo: . Constant: . Check: ✔, ✔, ✔.

Exercise 2.2

Wahi points ko Newton's divided differences se solve karo. Confirm karo ki same polynomial milti hai.

Recall Solution

KYA: Divided-difference table banao, top diagonal padho. First differences (secant slopes): Second difference (un slopes ka slope): Top-diagonal coefficients: . Yeh 2.1 se kyun match karta hai: uniqueness theorem ke according sirf ek degree- interpolant hota hai — Lagrange aur Newton ek hi curve ke liye do alag recipes hain. ✔


Level 3 — Analysis

Exercise 3.1

Exercise 2.2 ke data mein naya point add karo. Newton's form use karke ek term append karo, poora restart mat karo. Nayi cubic do.

Recall Solution

KYA: Table ko fourth node se extend karo; sirf naye bottom entries compute karo. Naya first difference: . Naya second difference: . Naya third difference (cubic column ka top): Purane terms kyun rakhte hain: naya term factor carry karta hai, jo par zero hai — isliye yeh teen values jo pehle se fix hain unhe disturb nahi kar sakta. Naya point check karo:

Exercise 3.2

Divided differences apne arguments mein symmetric hote hain — yeh claim hai. Pair ke liye verify karo, aur explain karo ki symmetry se kya faayda hota hai.

Recall Solution

KYA: Dono orderings mein slope compute karo. Equal hain. Kyun hona zaroori hai: do points ke beech secant slope ek geometric quantity hai — unse guzarti line — is baat se independent ki pehle kaunsa point name kiya. Sign dono numerator aur denominator mein flip hota hai aur cancel ho jaata hai. Faayda kya hai: nodes ko freely reorder kar sakte ho taaki arithmetic clean ho, aur highest-order divided difference ( ka leading coefficient) order chahe kuch bhi ho, same rehta hai.


Level 4 — Synthesis

Exercise 4.1

ko teen nodes par interpolate karo. Phir par interpolation error formula use karke error bound karo, aur true error se compare karo.

Recall Solution

KYA ( banao): values , , . Symmetry se even hai. Newton table with : Combine karo: constant ; : ; : . Toh par: . True . True error .

KYA (error formula): ke saath, par node product hai. ka bound kyun chahiye: hum nahi jaante, isliye ko par bound karte hain. ke liye, Iska magnitude par ke paas peak karta hai lagbhag par (confirm karne ke liye evaluate karo). Safe bound lo. Reading: true error guaranteed bound ke andar aaram se fit hoti hai — bound honest hai lekin loose hai (yeh worst-case use karta hai). Figure dekho.

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

Exercise 4.2

Wahi teen nodes use karte hue, ek sentence mein explain karo ki par bahut saare equispaced nodes push karna cheezein worse kyun kar deta, aur do standard fixes ke naam batao.

Recall Solution

Error factor interval ke ends ke paas huge ho jaata hai jabki bhi explode karta hai, isliye ka high-degree equispaced interpolation end nodes ke beech wildly oscillate karta hai — Runge phenomenon. Fixes: nodes ko ends ki taraf Chebyshev nodes se cluster karo, ya ek high-degree polynomial ko piecewise low-degree Cubic splines se replace karo.


Level 5 — Mastery

Exercise 5.1

Parent ke Connections mein bataya "coalescing nodes" fact prove karo: jab do nodes merge hote hain, first divided difference ek derivative ban jaata hai, aur interpret karo ki interpolant ke liye iska kya matlab hai.

Recall Solution

KYA: Secant-slope definition ka limit lo. Kyun yeh exactly ek derivative hai: right side difference quotient hai — wahi object jiska limit define karta hai. Jab , Interpretation: jab nodes collide hote hain toh interpolant sirf par value hi nahi balki slope bhi match karne par force ho jaata hai (yeh Hermite interpolation hai). Aage badho toh , aur Newton's form degenerate hokar Taylor series ban jaata hai — dono ideas alag node spacings par dekhi gayi ek hi theory hai.

Exercise 5.2

Exercise 2.2 ke data ke liye dikhao ki ka leading coefficient top-order divided difference ke barabar hai, aur argue karo ki yeh generally kyun sach hai.

Recall Solution

2.2 se, , aur indeed ka coefficient hai. Yeh match karte hain. Yeh generally kyun: Newton's form mein sirf last term () mein hai, aur uska product ka leading term coefficient ke saath hai. Isliye mein ka coefficient exactly hai. Symmetry (Ex. 3.2) ke saath combine karo, toh top divided difference data ka ek order-independent fingerprint ban jaata hai.

Exercise 5.3

Do students interpolate karte hain. Ek kehta hai answer degree hai; doosra kehta hai degree hai. Kaun sahi hai, aur divided-difference table kya reveal karta hai?

Recall Solution

KYA: Table banao. Sabhi hain. Newton: . Answer: constant wala student sahi hai — , degree . Theorem mein "" phir kaam aata hai: ek horizontal line par teen points constant polynomial dete hain. Vanishing top divided difference ( leading coefficient) ek diagnostic hai ki true degree se kam hai. ✔


Recall Self-test checklist

Uniqueness aati hai ::: ek square Vandermonde system se jiska determinant distinct nodes ke liye nonzero hota hai. Top divided difference equal hota hai ::: ke leading coefficient ke (order-independent). Newton's form mein data point add karna cheap hai kyunki ::: naye term mein factor hota hai jo sabhi old nodes par vanish karta hai, isliye tum bas ise append karte ho. Error formula sirf ::: ek bound ke roop mein usable hai, ko uske max magnitude se replace karke (kyunki unknown hai).


Connections

  • Vandermonde matrix — Ex. 1.1 ke peeche uniqueness engine.
  • Runge phenomenon — Ex. 4.2 mein danger.
  • Chebyshev nodes — error product ka fix.
  • Cubic splines — piecewise low-degree alternative.
  • Numerical differentiation — Ex. 5.1 ka coalescing limit practically implement kiya.
  • Newton-Cotes quadrature — interpolant ko integrate karo.
  • Taylor series — Newton's form ka limit jab nodes coalesce hote hain.