4.8.26 · D1 · HinglishNumerical Methods

FoundationsStiff equations — implicit methods, backward Euler

2,417 words11 min read↑ Read in English

4.8.26 · D1 · Maths › Numerical Methods › Stiff equations — implicit methods, backward Euler

Yeh the stiff-equations topic ka Foundations child hai. Hum maan ke chalte hain ki aapne is notation mein se kuch nahi dekha. Hum har symbol ko use karne se pehle earn karte hain.


1. Time ki function kya hoti hai?

Ek aisa number imagine karo jo time ke saath badle: ek thande hote coffee cup ka temperature, ek bouncing-phir-settle hoti swing ki height, ya battery mein bacha charge.

Figure — Stiff equations — implicit methods, backward Euler

Upar ki blue curve dekho: har moment par (bottom axis par ek jagah) curve kisi height par hai. Woh height hi single number hai. Poori blue curve function hai; uspar ek dot ek value hai. Curve ko left-to-right padhna system ko evolve hote dekhna hai.

Is topic ko yeh kyun chahiye: stiff equations mein sab kuch is baare mein hai ki aisi curve zero ki taraf kaise decay karti hai aur computer use kitni achhi tarah trace kar sakta hai.


2. Derivative — curve ki slope

Computer poori curve store nahi kar sakta; woh sirf abhi ki value aur kitni tezi se badal raha hai ka rule jaanta hai. Yahi rate of change derivative hai.

Figure — Stiff equations — implicit methods, backward Euler

Green line tangent hai — woh straight line jo curve ko touch karti hai aur us ek jagah par uski slope se match karti hai. Uski steepness hi number hai.

"Derivative" kyun, koi aur tool kyun nahi? Kyunki ek differential equation ek aisi machine hai jo aapko har point par slope deta hai aur curve dubara banane ko kehta hai. Slope bilkul wahi language hai jo woh bolta hai.


3. Differential equation aur uska starting point

Ise zor se padho: "y ki rate of change current time aur current se involve hone wale kisi formula ke barabar hai."

Lekin sirf slope-rule kaafi nahi hai. Har jagah slope jaanna curve ki shape batata hai, kahan se shuru hoti hai nahi. Infinite saari parallel curves ka slope-rule same hota hai; hume ek pin down karni hogi.

Is topic ko yeh kyun chahiye: poora subject ek master IVP, with , study karta hai, kyunki yeh sabse simple decay-rule hai aur har method ka behaviour isme clearly dikhta hai.


4. Exponential — pure decay/growth ki shape

Lekin ka sirf ek hi solution nahi hai — koi bhi constant multiple bhi kaam karta hai, kyunki curve ko scale karne se slope bhi same factor se scale hoti hai. Section 3 ka starting value fix karta hai kaun sa multiple:

Figure — Stiff equations — implicit methods, backward Euler

Do decaying curves: (dheemi, yellow) aur (ek cliff, red). Dono zero ki taraf jaati hain, lekin red wali almost instantly khatam ho jaati hai. Ek stiff problem mein dono shapes ek saath hoti hain — aur speeds ka woh clash hi poori mushkil hai.


5. Complex aur ""

Kabhi kabhi ek complex number hota hai (iska ek "real part" aur ek "imaginary part" hota hai) kyunki oscillations iske andar chhupe hote hain. Aapko yahan complex analysis ki zaroorat nahi — sirf ek word ki.

Is topic ko yeh kyun chahiye: real systems (springs, circuits) decay bhi karte hain aur oscillate bhi. likhne se ek clean inequality sab cover kar leti hai.


6. Discrete world: , ,

Computer smooth continuum handle nahi kar sakta. Woh fixed hops mein aage koodta hai.

Figure — Stiff equations — implicit methods, backward Euler

Smooth blue curve sach hai; yellow dots computer ke samples hain jo door door hain. Sabse pehla dot hume initial condition deta hai; numerical methods recipes hain next dot nikalne ki current dot se.


7. Approximation

Yahan "slope" "hops" se milti hai. Slope rise over run hoti hai. Ek hop mein, run hai aur rise mein change hai.

Yeh exact world (Section 2) se computable world (Section 6) ka bridge hai. Yeh rise-over-run kaun se dot ki slope represent karta hai — purana dot ya naya dot — woh single choice hai jo forward Euler (explicit) ko backward Euler (implicit) se alag karti hai. Yahi choice parent topic ka dil hai; ab aapke paas ise samajhne ke liye har symbol hai.


8. Absolute value — woh size jo stability decide karti hai

Is topic ko yeh kyun chahiye: ek method stable hota hai jab, step after step, woh value ko zero ki taraf shrink karta hai, na ki usse blow up karta hai. "Kya woh shrink karta hai?" bilkul yehi hai "kya multiplier ki magnitude se neeche hai?" — likha jaata hai . Sign matter nahi karta (value har step par sign flip kar sakti hai aur phir bhi shrink ho sakti hai); sirf size karti hai. Isliye absolute value, plain number nahi, stability govern karti hai.


9. Prerequisite map

Time t and value y at t

Derivative y-prime = slope

ODE y-prime = f of t and y

Initial value y sub 0 at t sub 0

Initial value problem picks one curve

Solution y sub 0 times e to the lambda t

Rate constant lambda

Real part of lambda

Stiff = fast and slow decay together

Step size h and samples y sub n

Finite difference slope at t sub n

Forward and Backward Euler

Absolute value = size

Stability test size below 1

Stiff equations topic 4.8.26

Har foundation agla feed karta hai: time aur value milke curve banate hain, curve ki slope hoti hai, slope-rule plus starting value ek IVP hai, IVP ka answer ek scaled exponential hai, fast aur slow exponentials milake stiffness banate hain, aur finite-difference slope plus size-test decide karta hai ki koi method survive karta hai ya nahi.


Equipment checklist

Self-test: har ek reveal karne se pehle answer kar sako?

Single value ka kya matlab hai, versus function ?
ek number hai — us ek time par height; function poori curve hai, har time par har value.
Derivative kya hai?
Ek point par curve ki slope/steepness — tiny bit of time mein kitni tezi se badlti hai.
kya kehta hai?
Ek rule jo current time aur current value se current slope deta hai; slope-rule hai.
Slope-rule ko IVP mein kya extra ingredient banata hai, aur kyun?
Initial condition ; yeh pin down karta hai ki curve kahan se shuru hoti hai, us slope-rule wali infinite family mein se ek curve select karke.
kya hai?
Start time par ki starting value — woh ek number jo hume exactly pata hai, aur pehla sample.
with ko kaun si curve solve karti hai?
, jiski slope hamesha apni height ka times hoti hai aur jo se shuru hoti hai.
solution ka kya karta hai?
Ise zero ki taraf decay karwata hai — zyada negative matlab tezi se decay.
ka matlab kya hai?
ka real part negative hai, yaani system decay karta hai (hidden oscillation allow karte hue).
, , aur kya hain?
Step size, hops ke baad time , aur wahan ka computed estimate.
Hum samples se approximate kaise karte hain?
Finite difference se — aur par dots ke beech rise over run.
Stability use kyun karta hai, plain value nahi?
Kyunki stability poochti hai "kya value har step shrink hoti hai?", jo multiplier ki size par depend karta hai, sign par nahi.
aur mein farq?
computed dot hai (err ya explode ho sakta hai); exact value hai; inka gap error hai.