4.8.28 · D1 · HinglishNumerical Methods

FoundationsBoundary value problems — shooting method, finite difference

3,586 words16 min read↑ Read in English

4.8.28 · D1 · Maths › Numerical Methods › Boundary value problems — shooting method, finite difference

Isse pehle ki aap parent note ki ek bhi line padh sakein, aapko har woh symbol apna banana hoga jo woh aap par phenkta hai. Hum unhe ek-ek karke build karte hain, har ek us picture se jiska woh naam leta hai.


1. Independent variable aur interval

Ek flat rakha hua ruler imagine karo. Bayan (left) tick hai, daayan (right) tick hai. Jo kuch bhi hum karte hain woh is ruler par hota hai.

Figure 1 — ruler par interval. Interval ke liye ek seedha horizontal ruler: bayan tick marked hai aur daayan tick plum mein, beech ka shaded band (teal) dikhata hai "har woh position jis par humein dhyan dena hai wahan rahti hai." Abhi koi curve ya heights nahin — woh symbols Sections 2 aur 3 mein aayenge.

Figure — Boundary value problems — shooting method, finite difference

Yeh topic ko kyun chahiye: ek BVP is baare mein hai ki do siron ke beech kya hota hai. Woh do sire exactly aur hain.


2. Function aur uski value

Yeh topic ko kyun chahiye: parent aur likhta hai. Woh sirf "rope ki left height" aur "rope ki right height" hain.


3. Greek letters , , ,

Figure 2 — pinned-end picture. Ab ki , aur define ho gaye hain, ek teal curve ruler ke upar stretch ki gayi hai, orange dots uske left end () aur right end () ko nail kar rahe hain; dono sire plum dashed lines se aur par mark hain.

Figure — Boundary value problems — shooting method, finite difference

Yeh topic ko kyun chahiye: IVP aur BVP ke beech poora fark yahi hai ki yeh numbers kahan rehte hain. Left par same , lekin BVP ko door wale end par pin karta hai jabki IVP same end par slope ko pin karta hai.


4. Derivative — slope

Prime mark ka sirf matlab hai "ki slope." ko "y-prime" padho.

Figure 3 — derivative as tangent ki steepness. Ek teal curve jis par ek orange tangent arrow ek plum point par touch kar raha hai; ek chhota plum dotted "rise over run" triangle dikhata hai ki exactly wahi rise divided by run hai.

Figure — Boundary value problems — shooting method, finite difference

Yeh topic ko kyun chahiye: shooting (launch angle) guess karta hai. Agar aapne kabhi slope ko ek tangent arrow ki steepness ki tarah picture nahin ki, toh "missing slope guess karo" phrase meaningless hai.

Recall

mein prime ka kya matlab hai, ek shabd mein? Slope ::: curve ke tangent arrow ki steepness.


5. Second derivative — curvature

Yeh topic ko kyun chahiye: parent jo BVP study karta hai woh har ek second-order ODE hai — governing law ke terms mein likha jaata hai. Finite-difference method ki core trick ko teen dots par arithmetic mein badalna hai.


6. Higher derivatives , aur

Yeh topic ko kyun chahiye: parent ki Taylor expansion mein aur remainder terms mein hain. Wahi terms decide karte hain order of accuracy (), toh aapko pata hona chahiye ki woh simply "slopes-of-slopes-of-slopes" hain.

Recall Notation

ka kya matlab hai? Third derivative ::: "slope of" teen baar lo; jaisa hi.


7. Differential equation

Ise physics ka ek law samjho jo keh raha ho: har point par, aap kitna bend karte ho woh dictated hai ki aap kahan hain aur aap kaise jhuke hain. Rope free nahin hai — use is rule ko apne infinitely many points par ek saath satisfy karna hai.

Yeh topic ko kyun chahiye: yahi problem hai. Dono methods sirf is rule aur dono end conditions maane wali rope dhundhne ke liye hain.


8. Linear vs nonlinear —

Yeh topic ko kyun chahiye: parent apna poora treatment is word par split karta hai — "2-shot shortcut" aur tridiagonal setup dono linear form require karte hain.

Recall Nonlinear wala dhundho:

vs . Doosra ::: do unknowns ko ek saath multiply karta hai, isliye woh nonlinear hai; pehla linear hai.


9. Grid: , , , , aur subscripts

Figure 4 — rope ek beaded necklace ban jaati hai. Faint teal true rope jis par orange beads ticks par baithti hain; dono plum end-beads fixed boundary values hain, orange interior beads unknowns hain, aur ek labelled bracket step dikhata hai.

Figure — Boundary value problems — shooting method, finite difference

Yeh topic ko kyun chahiye: har finite-difference formula ke saath likha jaata hai — ek bead aur uske do neighbours. Subscripts method ki bhasha hain.


10. Taylor series — woh tool jo stencils banata hai

Yeh topic ko kyun chahiye: central-difference stencils aur Taylor se derive hote hain. Taylor ke bina woh jaadu jaisi lagte hain.


11. Big-O aur order of accuracy:

Figure 5 — log–log paper par order of accuracy as a straight line. Error ko step size ke against plot kiya gaya hai dono axes log scale par: ek first-order method (teal) slope 1 ki line par girta hai, jabki ek second-order method (orange) do guni tezi se girta hai, slope 2 — half karna orange dot ko 4 ke factor se neeche shift karta hai.

Figure — Boundary value problems — shooting method, finite difference

Yeh topic ko kyun chahiye: "second-order" parent ka headline accuracy claim hai, aur isi wajah se woh saste forward difference ke against warn karta hai. Dekho Truncation error and order of accuracy.

Recall Agar ek scheme

hai aur aap half karo, toh error kitne factor se girta hai? 4 se ::: kyunki .


12. Root finding: , notation , aur secant idea

Figure 6 — secant method ka root dhundhta hai. Miss-curve guessed slope ke against plotted; do orange tried points ek plum secant line se join hain, aur jahan woh line horizontal axis (teal) ko cross karti hai woh agla, better guess hai — repeat karo aur aap root par pahunch jaate ho.

Figure — Boundary value problems — shooting method, finite difference

Yeh topic ko kyun chahiye: shooting hai root finding stacked on an IVP solver — yeh vocabulary method ka aadha hissa hai.


13. Marching, IVP solvers, aur tridiagonal system

Figure 7 — tridiagonal system laid out. Matrix sirf teen shaded stripes ke saath dikhaya gaya hai (orange diagonal, teal off-diagonals) aur baaki jagah zeros; unknown interior heights ka vector ; aur right-hand vector jiske pehle aur aakhri entries plum boundary values carry karti hain.

Figure — Boundary value problems — shooting method, finite difference

Yeh topic ko kyun chahiye: shooting marching (RK4) reuse karta hai; finite difference yeh tridiagonal produce karta hai. , aur kya hold karte hain yeh jaanna parent ka setup padhne ke liye zaroori hai.


Prerequisite map

x and interval a to b

y of x the curve

first derivative slope

second derivative curvature

higher derivatives y triple prime

ODE the rule f

linear form p q r

Boundary Value Problem

Taylor series

difference stencils

grid h N x_i y_i

order of accuracy O h squared

Finite Difference route

root finding secant

Shooting route

IVP solver RK4

tridiagonal Thomas Ay=d


Equipment checklist

Daayaan side dhakein aur khud ko test karein. Agar koi bhi jawab fuzzy lage, parent note kholne se pehle uske section par waapis jaayein.

ka rope picture mein kya matlab hai?
Rope ka left end height par nailed hai.
mein prime geometrically kya measure karta hai?
Tangent arrow ki steepness — curve ka slope.
aapko rope ki shape ke baare mein kya batata hai?
Yeh kitna bend karta hai: upar smile karta hai, frown karta hai, seedha hai.
(ya ) ka kya matlab hai?
"Slope of" teen baar lo — curvature khud kitni tezi se change ho rahi hai.
mein precisely kya hai?
Teen inputs ka ek jaana-maana smooth function jo required curvature return karta hai.
Shooting ke liye ek linear ODE special kyun hai?
Landing height guessed slope ka ek straight-line function hai, toh do shots use exactly pin kar dete hain.
mein kya hai aur kya hai?
ek subscript address hai (-va tick); step width hai .
FDM mein kaunse nodes unknown hain aur kaunse fixed?
Interior nodes unknown hain; aur fixed hain.
Derivatives ko neighbours par arithmetic mein kaun sa single tool badalta hai?
Taylor series.
Agar ek method hai, half karne par error kaise change hota hai?
Yeh 4 ke factor se girta hai.
kya denote karta hai?
par landing height jo aur guessed slope ke saath IVP solve karke milti hai.
Shooting mein kya represent karta hai?
Guessed slope zero miss produce karta hai — shot exactly target par land karta hai.
pieces ke liye , , ke sizes kya hain?
tridiagonal hai; aur length ke hain.
FDM matrix tridiagonal kyun hai?
Har bead ki equation sirf khud aur uske do immediate neighbours ko involve karti hai.
mein aur kya hold karte hain?
unknown interior heights hain; forcing plus moved-over boundary values hain.