4.6.30 · D3 · Maths › Ordinary Differential Equations › Solving ODEs with Laplace (including discontinuous forcing)
Intuition Ye page kyun exist karti hai
Parent note ne tumhe 3-step recipe dikhaya tha (Stamp → Solve → Stick-back) aur teen saaf-suthre examples. Lekin real problems mein messy denominators, repeated forcing switches, impulses , resonance , aur aisi step forcing aati hai jo table mein fit hone se pehle rewrite karni padti hai. Ye page har ek aisa scenario walk karta hai, taaki exam mein jab aise sawaal aayein tum pehle hi unka "judwa bhai" dekh chuke ho.
Hum sirf wahi assume karte hain jo parent ne build kiya: derivative rule L { y ′′ } = s 2 Y − s y ( 0 ) − y ′ ( 0 ) , standard pairs, second shifting theorem L { u ( t − a ) g ( t − a )} = e − a s G ( s ) , aur Partial Fractions . Baaki sab yahan earn kiya jayega.
Har linear-ODE-with-Laplace problem ko ek grid mein ek point ki tarah socho. Do axes hain jo decide karti hain ki algebra kitna mushkil hoga :
Y ( s ) ka denominator kaisa dikhta hai — alag real roots, ek repeated root, ya ek complex pair (jo oscillation ban jaata hai).
Forcing kya karti hai — kuch nahi (homogeneous), ek smooth push, ek single switch u ( t − a ) , ek pulse (switch on phir off), ya ek hammer-blow δ ( t − a ) .
Neeche, har cell ek class of behaviour hai. Har cell ko kam se kam ek worked example se cover kiya gaya hai.
Cell
Y ( s ) ka denominator type
Forcing type
Behaviour jo tumhe pehchanni chahiye
Example
A
distinct real roots
smooth (ya koi nahi)
pure decaying exponentials
Ex 1
B
complex pair s 2 + ω 2
koi nahi
pure oscillation
Ex 2
C
complex pair, root = forcing frequency
smooth sinusoid
resonance , amplitude t ki tarah badhti hai
Ex 3
D
distinct real roots
single switch u ( t − a )
gated relaxation, delay tag e − a s
Ex 4
E
distinct real roots
pulse u ( t − a ) − u ( t − b )
on-then-off, do delay tags
Ex 5
F
forcing ko g ( t − a ) ki tarah rewrite karna padega
ramp × step
shifting trap t = ( t − a ) + a
Ex 6
G
distinct real roots
Dirac δ ( t − a )
instant kick, koi 1/ s nahi
Ex 7
H
repeated real root
smooth
t e r t factor wale terms
Ex 8
Intuition "Denominator type" axis ko kaise padhein
Step 2 ke baad hamesha Y ( s ) = characteristic polynomial stuff milta hai. Us polynomial ki roots tumhe answer ki shape batati hain inversion karne se pehle hi :
real root r → ek term e r t (decay hoti hai agar r < 0 ),
complex pair α ± iω → e α t cos ω t aur e α t sin ω t ,
repeated root r (do baar aata hai) → ek extra t e r t ,
forcing frequency kisi root ke barabar → resonance , oscillation ko ek extra t multiply karta hai.
Worked example Example 1 ·
y ′′ + 3 y ′ + 2 y = e − 3 t , y ( 0 ) = 0 , y ′ ( 0 ) = 0
Forecast: kaam shuru karne se pehle andaza lagao. Homogeneous roots s 2 + 3 s + 2 = ( s + 1 ) ( s + 2 ) se aate hain, toh e − t aur e − 2 t . Forcing ek e − 3 t add karti hai. Teen decaying exponentials ka sum expect karo, sab → 0 .
Step 1 — Stamp. Dono ICs zero hain, toh L { y ′′ } = s 2 Y , L { y ′ } = s Y , aur L { e − 3 t } = s + 3 1 :
( s 2 + 3 s + 2 ) Y = s + 3 1 .
Ye step kyun? Recipe demand karti hai ki hum term-by-term transform karein; zero ICs matlab koi boundary terms survive nahi karti.
Step 2 — Solve. Divide karo (pure algebra):
Y = ( s + 1 ) ( s + 2 ) ( s + 3 ) 1 .
Ye step kyun? Y ( s ) ab ek rational function hai — Partial Fractions ke liye ready.
Step 3 — Stick-back. Cover-up se split karo (factor se multiply karo, s ko uski root par set karo):
( s + 1 ) ( s + 2 ) ( s + 3 ) 1 = s + 1 A + s + 2 B + s + 3 C ,
A = ( 1 ) ( 2 ) 1 = 2 1 , B = ( − 1 ) ( 1 ) 1 = − 1 , C = ( − 2 ) ( − 1 ) 1 = 2 1 .
Har ek ko table s − r 1 ↔ e r t se padho:
y ( t ) = 2 1 e − t − e − 2 t + 2 1 e − 3 t
Cover-up kyun kaam karta hai: dono sides ko ( s + 1 ) se multiply karke s = − 1 set karo — baaki har term mein abhi bhi ( s + 1 ) factor hai toh sab zero ho jaate hain.
Verify karo: t = 0 par, y ( 0 ) = 2 1 − 1 + 2 1 = 0 ✔. Differentiate karo: y ′ = − 2 1 e − t + 2 e − 2 t − 2 3 e − 3 t , toh y ′ ( 0 ) = − 2 1 + 2 − 2 3 = 0 ✔. Dono ICs recover ho gaye.
Worked example Example 2 ·
y ′′ + 4 y = 0 , y ( 0 ) = 3 , y ′ ( 0 ) = − 2
Forecast: s 2 + 4 ki roots ± 2 i hain → ω = 2 par oscillation. Non-zero ICs dono cosine (position se) aur sine (velocity se) feed karte hain. Amplitude hamesha constant rahega (koi decay nahi).
Step 1 — Stamp. Ab ICs zero nahi hain, toh har boundary term rakho:
( s 2 Y − s ⋅ 3 − ( − 2 ) ) + 4 Y = 0.
Ye step kyun? L { y ′′ } = s 2 Y − s y ( 0 ) − y ′ ( 0 ) — inhe drop karna classic galti hai.
Step 2 — Solve.
( s 2 + 4 ) Y = 3 s − 2 ⇒ Y = s 2 + 4 3 s − 2 .
Step 3 — Stick-back. Do table entries se match karo: s 2 + ω 2 s ↔ cos ω t aur s 2 + ω 2 ω ↔ sin ω t , ω = 2 ke saath:
Y = 3 ⋅ s 2 + 4 s − 1 ⋅ s 2 + 4 2 .
− 2 ko − 1 ⋅ 2 kyun likha? Sine table entry ke liye numerator bilkul ω = 2 chahiye; hum factor karke woh visible banate hain.
y ( t ) = 3 cos 2 t − sin 2 t
Verify karo: y ( 0 ) = 3 ⋅ 1 − 0 = 3 ✔. y ′ = − 6 sin 2 t − 2 cos 2 t , toh y ′ ( 0 ) = − 2 ✔.
special cell kyun hai
Jab tum ek jhule ko uski khud ki natural rhythm par dhakka dete ho, amplitude badhti hai. Laplace-land mein yeh ek repeated complex factor ke roop mein dikhta hai: ( s 2 + ω 2 ) 2 . Denominator mein squared factor exactly wahi hai jo t cos ω t ya t sin ω t produce karta hai — linearly-growing envelope ki pehchan.
Worked example Example 3 ·
y ′′ + y = cos t , y ( 0 ) = 0 , y ′ ( 0 ) = 0
Forecast: natural frequency ω = 1 (s 2 + 1 se), forcing frequency bhi 1 . Resonance! Expect karo ki amplitude t ki tarah badhe.
Step 1 — Stamp. L { cos t } = s 2 + 1 s :
( s 2 + 1 ) Y = s 2 + 1 s .
Step 2 — Solve.
Y = ( s 2 + 1 ) 2 s .
Ye alag kyun hai: factor s 2 + 1 do baar aata hai. Plain cos t , sin t ka koi sum yeh produce nahi kar sakta; humein growing pair chahiye.
Step 3 — Stick-back. Pair yaad karo (derivable hai, lekin yaad karo):
L { t sin ω t } = ( s 2 + ω 2 ) 2 2 ω s .
ω = 1 ke saath: L { t sin t } = ( s 2 + 1 ) 2 2 s , toh ( s 2 + 1 ) 2 s = 2 1 L { t sin t } .
y ( t ) = 2 1 t sin t
Aage ka t growing envelope hai — resonance ki physical pehchan.
Verify karo: y ( 0 ) = 0 ✔. y ′ = 2 1 sin t + 2 1 t cos t , y ′ ( 0 ) = 0 ✔. ODE mein plug karo: y ′′ = cos t − 2 1 t sin t , toh y ′′ + y = cos t − 2 1 t sin t + 2 1 t sin t = cos t ✔.
Worked example Example 4 ·
y ′ + 2 y = 3 u ( t − 1 ) , y ( 0 ) = 0
Forecast: t = 1 tak kuch nahi; phir system apni steady value 3/2 ki taraf relax karta hai (y ′ = 0 set karo: 2 y = 3 ). Root − 2 → time constant 2 1 .
Step 1 — Stamp. L { u ( t − 1 )} = s e − s :
( s + 2 ) Y = s 3 e − s .
Step 2 — Solve.
Y = e − s ⋅ H ( s ) s ( s + 2 ) 3 .
e − s ko factor out kyun kiya? Delay tag algebra ke through untouched ride karta hai; pehle plain H ( s ) invert karo, phir delay-and-gate karo.
Step 3 — Stick-back. H par cover-up: s = 0 par residue 2 3 ; s = − 2 par residue − 2 3 = − 2 3 :
H ( s ) = s 3/2 − s + 2 3/2 ⇒ h ( t ) = 2 3 − 2 3 e − 2 t .
Phir Y = e − s H ( s ) ka matlab hai h ko 1 se delay karo AUR u ( t − 1 ) se gate karo :
y ( t ) = u ( t − 1 ) [ 2 3 − 2 3 e − 2 ( t − 1 ) ]
Verify karo: t < 1 ke liye, y = 0 ✔. Jab t → ∞ , y → 2 3 = steady state ✔. t = 1 ke thoda baad: y ( 1 + ) = 2 3 − 2 3 = 0 , continuous ✔.
Intuition Do steps se pulse banana
Ek rectangular pulse "on from a to b " hota hai u ( t − a ) − u ( t − b ) : pehla step ise on karta hai, doosra usse wapas zero par subtract karta hai. Har step apna khud ka delay tag contribute karta hai.
Worked example Example 5 ·
y ′ + y = u ( t − 1 ) − u ( t − 3 ) , y ( 0 ) = 0
Forecast: 1 < t < 3 ke dauran 1 ki taraf badhega, phir pulse khatam hone ke baad wapas 0 par decay karega. Do delay tags e − s aur e − 3 s .
Step 1 — Stamp.
( s + 1 ) Y = s e − s − s e − 3 s .
Step 2 — Solve.
Y = ( e − s − e − 3 s ) H ( s ) s ( s + 1 ) 1 .
Step 3 — Stick-back. Parent se, H ( s ) = s 1 − s + 1 1 ⇒ h ( t ) = 1 − e − t . Har tag par delay-and-gate apply karo aur subtract karo:
y ( t ) = u ( t − 1 ) ( 1 − e − ( t − 1 ) ) − u ( t − 3 ) ( 1 − e − ( t − 3 ) )
Verify karo: t < 1 ke liye, y = 0 ✔. t = 3 − par (pulse ke khatam hone ke paas) y ≈ 1 − e − 2 = 0.8647 ; woh term jo off switch hoti hai wahan 0 hai, toh continuous ✔. t ≫ 3 ke liye dono terms combine ho ke − e − ( t − 1 ) + e − ( t − 3 ) → 0 ✔.
Common mistake Ye trap jisko ye cell train karti hai
L { u ( t − a ) g ( t − a )} = e − a s G ( s ) use karne ke liye forcing literally ( t − a ) ka ek function honi chahiye. Agar tumhe t u ( t − 2 ) mile toh tum nahi likh sakte e − 2 s ⋅ s 2 1 — kyunki s 2 1 t ka transform hai, ( t − 2 ) ka nahi. Pehle t = ( t − 2 ) + 2 rewrite karna zaroori hai.
Worked example Example 6 ·
y ′ + y = t u ( t − 2 ) , y ( 0 ) = 0
Forecast: t = 2 tak silent; phir ramp se driven. Kyunki switch par ramp ki value already 2 hai, zero slope se start hone ki bajay jump-like build-up expect karo.
Step 1 — Forcing rewrite karo. τ = t − 2 lo, toh t = τ + 2 :
t u ( t − 2 ) = [ ( t − 2 ) + 2 ] u ( t − 2 ) = g 1 ( t − 2 ) u ( t − 2 ) + g 2 2 u ( t − 2 ) .
Ye step kyun? Dono pieces ab genuine functions of ( t − 2 ) hain, toh shift theorem cleanly apply hota hai.
L {( t − 2 ) u ( t − 2 )} = e − 2 s ⋅ s 2 1 , L { 2 u ( t − 2 )} = 2 ⋅ s e − 2 s .
Toh L { t u ( t − 2 )} = e − 2 s ( s 2 1 + s 2 ) .
Step 2 — Stamp & Solve.
( s + 1 ) Y = e − 2 s ( s 2 1 + s 2 ) ⇒ Y = e − 2 s H ( s ) s 2 ( s + 1 ) 2 s + 1 .
(Combine karo: s 2 1 + s 2 = s 2 1 + 2 s , phir ÷ ( s + 1 ) .)
Step 3 — Stick-back. Partial-fraction H ( s ) = s 2 ( s + 1 ) 2 s + 1 = s A + s 2 B + s + 1 C . Denominators clear karo: 2 s + 1 = A s ( s + 1 ) + B ( s + 1 ) + C s 2 .
s = 0 : 1 = B .
s = − 1 : − 1 = C .
s 2 coefficient compare karo: 0 = A + C ⇒ A = 1 .
Toh H ( s ) = s 1 + s 2 1 − s + 1 1 ⇒ h ( t ) = 1 + t − e − t . 2 se delay-and-gate karo:
y ( t ) = u ( t − 2 ) [ 1 + ( t − 2 ) − e − ( t − 2 ) ] = u ( t − 2 ) [ t − 1 − e − ( t − 2 ) ]
Verify karo: t < 2 ke liye, y = 0 ✔. t = 2 + par: y = 1 + 0 − 1 = 0 , continuous ✔. t > 2 ke liye ODE check karo: y = t − 1 − e − ( t − 2 ) , y ′ = 1 + e − ( t − 2 ) , toh y ′ + y = ( 1 + e − ( t − 2 ) ) + ( t − 1 − e − ( t − 2 ) ) = t ✔ (forcing t se match karta hai).
δ sabse aasaan forcing kyun hai
t = a par unit impulse ka L { δ ( t − a )} = e − a s hota hai — koi 1/ s nahi, bas bare tag. Physically yeh ek unit "momentum" instantly dump karta hai. Dekho Heaviside Step and Dirac Delta Functions .
Worked example Example 7 ·
y ′′ + 2 y ′ + 2 y = δ ( t − 1 ) , y ( 0 ) = 0 , y ′ ( 0 ) = 0
Forecast: rest par rakha system t = 1 par kick hota hai. s 2 + 2 s + 2 ki roots: complete the square ( s + 1 ) 2 + 1 → − 1 ± i → decaying oscillation e − t envelope, ω = 1 . Toh t = 1 ke baad ek damped wiggle expect karo.
Step 1 — Stamp. L { δ ( t − 1 )} = e − s :
( s 2 + 2 s + 2 ) Y = e − s .
Step 2 — Solve.
Y = e − s H ( s ) ( s + 1 ) 2 + 1 1 .
Step 3 — Stick-back. Shifted-sine table entry L { e − t sin t } = ( s + 1 ) 2 + 1 1 se match karo (yeh standard ( s − α ) 2 + ω 2 ω hai α = − 1 , ω = 1 ke saath). Toh h ( t ) = e − t sin t . 1 se delay-and-gate karo:
y ( t ) = u ( t − 1 ) e − ( t − 1 ) sin ( t − 1 )
Verify karo: t < 1 ke liye, y = 0 ✔. Kick ke thoda baad, y ( 1 + ) = 0 lekin velocity jump karti hai: y ′ ( 1 + ) = e 0 ( cos 0 ) = 1 — unit impulse ek unit velocity inject karta hai ek aisa system mein jo rest se shuru ho raha ho ✔ (consistent hai δ ke ek unit "kick" deliver karne ke saath).
t ka ek factor kyun produce karta hai
Agar ek factor ( s − r ) denominator mein do baar aata hai, toh tumhe jis table entry ki zaroorat hai woh hai L { t e r t } = ( s − r ) 2 1 . Extra power of t ek double root ki pehchan hai — wahi mechanism jaise resonance, lekin real roots ke liye.
Worked example Example 8 ·
y ′′ + 2 y ′ + y = e − t , y ( 0 ) = 0 , y ′ ( 0 ) = 0
Forecast: s 2 + 2 s + 1 = ( s + 1 ) 2 — − 1 par double root. Forcing e − t bhi usi root wali hai, toh hume ek triple stack ( s + 1 ) 3 milta hai → expect karo t 2 e − t term (double resonance!).
Step 1 — Stamp. L { e − t } = s + 1 1 :
( s + 1 ) 2 Y = s + 1 1 .
Step 2 — Solve.
Y = ( s + 1 ) 3 1 .
Step 3 — Stick-back. L { t n e r t } = ( s − r ) n + 1 n ! use karo n = 2 , r = − 1 ke saath: L { t 2 e − t } = ( s + 1 ) 3 2 . Hence ( s + 1 ) 3 1 = 2 1 L { t 2 e − t } :
y ( t ) = 2 1 t 2 e − t
Verify karo: y ( 0 ) = 0 ✔. y ′ = t e − t − 2 1 t 2 e − t , y ′ ( 0 ) = 0 ✔. Wapas plug karo: y ′′ = e − t − 2 t e − t + 2 1 t 2 e − t ; phir y ′′ + 2 y ′ + y = e − t jab t -terms cancel ho jaate hain ✔.
Recall Quick self-test
Kis cell mein linearly-growing amplitude hoti hai aur kyun? ::: Cell C (resonance): forcing frequency ek natural frequency ke barabar hai, jo ek repeated complex factor ( s 2 + ω 2 ) 2 deta hai → ek t sin ω t term.
t u ( t − 2 ) ko shift theorem se pehle rewrite kyun karna padta hai? ::: Theorem ko ( t − 2 ) ka function chahiye; t = ( t − 2 ) + 2 likho taaki dono pieces shifted hon, jo e − 2 s ( 1/ s 2 + 2/ s ) deta hai.
L { δ ( t − a )} kya hai aur impulse forcing aasaan kyun hai? ::: e − a s — bas bare delay tag, koi 1/ s nahi, toh yeh directly transfer factor se multiply hota hai.
Answer mein repeated real root r ki pehchan kya hai? ::: Ek factor t e r t (double root) ya t 2 e r t (triple), L { t n e r t } = n ! / ( s − r ) n + 1 se.
Y ( s ) ko ek nazar mein padhna
Pehle roots dekho. Real & distinct → clean exponentials. Complex pair → oscillation. Root squared → t se multiply karo. Delay tag e − a s → u ( t − a ) se gate karo aur shift karo. δ → bare tag, koi 1/ s nahi.