4.8.26 · HinglishNumerical Methods

Stiff equations — implicit methods, backward Euler

1,427 words6 min readRead in English

4.8.26 · Maths › Numerical Methods


Stiff equation KYA hota hai?

Model test problem lete hain (jis lens se hum HAR method ko study karte hain):

True solution: . jitna zyada negative, utna faster decay, utna stiffer problem.


Forward Euler KAISE fail karta hai (derivation + stability)

Forward Euler derive karo derivative ki definition se:

par apply karo:

Agar ho, to chahiye — hamesha, chahe transient khatam ho gayi ho. Disaster.


Backward Euler KAISE fix karta hai (derivation + stability)

Backward Euler derive karo par backward difference use karke:

Ye implicit hai: dono sides par unknown hai. par apply karo:

Toh backward Euler decay karne wali problems ke liye unconditionally stable hai — accuracy ke liye choose karo, survival ke liye nahi.

Figure — Stiff equations — implicit methods, backward Euler

Implicit equation actually solve KAISE karte hain?

Linear ke liye sirf rearrange karo (jaise upar). Nonlinear ke liye, ek root-finding problem hai. Har step par Newton's method se solve karo:


Worked examples


Common mistakes


Recall Feynman: 12-saal ke bacche ko explain karo

Socho ek jhula jo super fast shant ho jaata hai. Agar tum sirf dekhte ho aur andaaza lagaate ho ki ek moment baad kahan hoga (forward Euler), aur zyada der baad dekho, tera andaaza wildly overshoot kar jaata hai aur tum "gir jaate ho." Backward Euler zyada smart hai: tum poochte ho "mujhe kahaan hona chahiye taaki cheezein AGLE moment par shant rahein?" aur uske liye solve karte ho. Kyunki tum shant future ka aim karte ho, kabhi overshoot nahi hota — toh bade, aaram se steps le sakte ho aur phir bhi sahi nikalta hai.


Flashcards

Ek ODE stiff kyun hoti hai?
Uske solution components bahut alag time scales par hote hain, jo explicit methods ko stability ke liye tiny use karne pe majboor karta hai chahe solution smooth ho.
Forward Euler formula (test problem )?
.
Forward Euler stability condition?
; real ke liye, .
Backward Euler formula?
(implicit).
Backward Euler amplification on ?
.
Backward Euler stability condition?
, ye sab ke liye true hai jab .
A-stable ka matlab kya hai?
Stability region poore left half-plane ko contain karta hai.
Backward Euler ki accuracy ka order?
First order, — forward Euler ke barabar.
Backward Euler ke andar Newton's method kyun use karte hain?
Nonlinear implicit equation solve karne ke liye bina us step-size restriction ke jo fixed-point iteration impose karta.
Implicit vs explicit mein defining difference kya hai?
Explicit ko known par use karta hai; implicit ko unknown par use karta hai, toh solve karna padta hai.

Connections

  • Forward Euler method
  • Region of absolute stability
  • A-stability and L-stability
  • Trapezoidal / Crank–Nicolson method
  • Newton's method for root finding
  • Runge–Kutta methods
  • Eigenvalues and time scales of linear systems

Concept Map

mein components hain

chhhota h force karta hai

analyse karta hai

zyada negative lambda

explicit derived from

stable iff

require karta hai

yehi hai

implicit derived from

stable iff

kisi bhi h ke liye hold karta hai

cure karta hai

Stiff ODE

Wildly different time scales

Stability not accuracy

Test problem y'=lambda y

Faster decay = stiffer

Forward Euler

Forward difference

abs 1+h lambda < 1

h < 2 over abs lambda

Backward Euler

Backward difference at t n+1

abs 1 over 1-h lambda < 1

A-stable