4.8.13 · D5 · HinglishNumerical Methods
Question bank — Numerical differentiation — forward, backward, central differences
4.8.13 · D5· Maths › Numerical Methods › Numerical differentiation — forward, backward, central diffe
True or false — justify karo
Central difference hamesha forward difference se zyada accurate hota hai same ke liye.
False in general. Iski truncation error ek order chhoti hoti hai ( vs ), toh smooth aur moderate ke liye ye jeet jaata hai; lekin agar bahut bada ho ya roundoff-dominated regime mein ho, toh ordering toot sakti hai.
Central formula ki value khud use karta hai.
False. Central first-derivative sirf do neighbours use karta hai; midpoint ki value cancel ho jaati hai. Central second derivative zaroor use karta hai.
ko half karne se central first-derivative formula ki error roughly quarter ho jaati hai.
True. Iski leading error hai, aur hota hai, toh truncation error lagbhag kam ho jaati hai — bas tab tak jab tak roundoff floor nahi aa jaata.
Forward aur backward differences ki accuracy ka order same hota hai.
True. Dono hain; inki leading error terms hain aur — same magnitude, opposite sign. Yahi opposite sign reason hai ki inhe average karne par central milta hai.
Second-derivative formula hai kyunki ye se divide karta hai.
False. Order surviving Taylor term se aata hai, denominator se nahi. Expansions ko add karne par aur cancel ho jaate hain, aur error bachti hai → .
Agar ek straight line hai, toh teeno first-derivative formulas exact slope dete hain.
True. Linear ke liye , toh har error term zero ho jaata hai; har formula ki parwah kiye bina exact constant slope return karta hai.
ko chhota karna answer ko worse bana sakta hai.
True. Ek certain ke neeche, numerator mein almost equal numbers subtract hote hain → catastrophic cancellation, aur roundoff error badhta jaata hai. Total error ka minimum finite par hota hai.
Central difference data table ki pehli row par theek kaam karta hai.
False. Ise dono aur chahiye. Pehli row par left neighbour missing hota hai, toh aapko forward difference par fall back karna padta hai (ya ek one-sided higher-order formula par).
Error dhundho
Ek student central difference ko likhta hai. Kya galat hai?
se tak ki span ki width hai, nahi. ki jagah se divide karne par answer double ho jaata hai.
Ek student forward difference ko peeche wale point se compute karta hai: aur ise forward kehta hai.
Ye backward difference hai. Forward aage dekhta hai use karke; yeh wala peeche dekhta hai.
nikalne ke liye, ek student do Taylor expansions ko add karne ki jagah subtract karta hai. Kya toot jaata hai?
Subtract karne se even terms cancel ho jaate hain ( mar jaata hai), bachta hai — isse aapko first derivative milta hai. term bachane ke liye aapko add karna hoga.
Ek student claim karta hai ki forward-difference error hai. Sahi karo.
Error hai, ki pehli power (isliye ye hai). central first-derivative error se belong karta hai, jisme hota hai, nahi.
Koi "" ko "error ke barabar hai" padhta hai. Ye galat kyun hai?
ka matlab hai error proportional hai ke, ek constant times ka derivative tak; actual size hoti hai. Dekho Truncation error and Big-O.
Ek student double precision mein use karta hai "safe rehne ke liye" aur garbage paata hai. Diagnose karo.
Us par, aur ~15 digits tak agree karte hain, toh unka difference almost poora roundoff hai. term explode ho jaata hai. Dekho Roundoff error and floating point.
Why questions
Do Taylor expansions ko subtract karne par term kyun cancel hota hai?
mein even-power terms ka sign ke jaisa hi rehta hai, toh subtract karne par wo remove ho jaate hain, jabki odd-power terms (, ) sign flip karte hain aur reinforce karte hain. Even ↔ symmetric, odd ↔ antisymmetric.
Central difference "ek extra order of accuracy for free" kyun hai?
Symmetry hi kaam karti hai: dono sides par equally sample karne se, dono sides ki leading curvature error equal aur opposite hoti hai aur cancel ho jaati hai, toh pehla surviving term hota hai — koi extra function evaluations nahi chahiye.
Computer limit definition ki tarah kyun nahi le sakta?
Machine sirf finite floating-point numbers store karti hai jinka ek smallest gap hota hai; infinitesimals nahi hote. Kisi bahut chhote ke baad, subtraction ke baad koi bhi significant digits nahi bachte.
Central difference ka optimal ke scale par kyun hota hai?
Total error ; sum minimize karne par (rising aur falling ko balance karke) derivative zero set hoti hai, jisse milta hai.
Interior table points par central difference prefer kyon karte hain lekin edges par nahi?
Interior points ke dono neighbours available hote hain, toh central free mein deta hai; edges par ek neighbour missing hota hai, jo ek one-sided () formula force karta hai jab tak aap higher-order stencil ke liye aur aage nahi jaate.
Expansions add karne par ke liye denominator kyun hota hai lekin ke liye kyun?
Add karne ke baad surviving term hai, toh isolate karne ke liye se divide karte hain; subtract karne ke baad surviving term hai, toh se divide karte hain. Denominator bas wo power of match karta hai jo target derivative ko multiply kar rahi hai.
Richardson extrapolation central differences ke baad ek natural next step kyun hai?
Kyunki error mein ek clean power series hai, aur par results combine karne se leading term algebraically cancel ho sakta hai, accuracy tak boost ho jaati hai bina naye derivatives ke.
Edge cases
Agar exactly ek parabola ho toh central second-derivative formula kya deta hai?
Kisi bhi ke liye exact . Quadratic ke liye se aage ke saare terms zero hote hain, toh koi truncation error nahi bachti.
Aapke paas sirf ek data table hai (koi formula nahi) — kya aap phir bhi accuracy ke liye chhota choose kar sakte ho?
Nahi. table ki spacing se fix hota hai; aap rows ke beech sample nahi kar sakte. Aap sirf which stencil (forward/central) choose kar sakte ho aur yeh ki pehle interpolate karein ya nahi.
Aapki table mein node spacing uneven hai ( jahan ). Kya standard central formula abhi bhi hold karta hai?
Nahi — clean cancellation ne symmetric spacing assume ki thi. Unequal spacing ke liye ek general finite-difference weight derivation chahiye, aur naive formula ek order kho deta hai.
Kink par (jahan discontinuous hai) forward difference ka kya hota hai?
Taylor's theorem ko ki smoothness chahiye; kink par expansion invalid hai, toh error estimates toot jaate hain aur formula quietly ek slope return karta hai jo corner par average karta hai.
Agar constant ho, toh har formula kya return karta hai?
Exactly first derivative ke liye aur second derivative ke liye — equal values ke saare differences vanish ho jaate hain, jo kisi bhi ke liye true zero derivative se match karta hai.
Itne bade par ki us region se bahar chala jaaye jahan smooth hai, kya central abhi bhi "best" hai?
Zaruri nahi. "" label sirf ke saath leading term describe karta hai; bade ke liye higher-order terms dominate karte hain aur accuracy comparison guaranteed nahi rehta.
Kya second-derivative formula kabhi negative value de sakta hai jahan true positive hai?
Haan — roundoff floor ke paas, mein cancellation noise tiny result ka sign poora flip kar sakta hai, jo bahut chhota hone ki ek classic symptom hai.
Connections
- Taylor series — upar ke har cancellation argument ka source.
- Truncation error and Big-O — vs actually kya claim karta hai.
- Roundoff error and floating point — "chhota better nahi" wale traps ke peeche floor.
- Richardson extrapolation — upar puche gaye error structure ko exploit karta hai.
- Finite difference methods for PDEs — jahan uneven grids aur edge stencils sach mein takleef dete hain.