4.6.30Ordinary Differential Equations

Solving ODEs with Laplace (including discontinuous forcing)

1,509 words7 min readdifficulty · medium

1. The transform and its key property

WHY does this turn derivatives into algebra? Integrate by parts:

The boundary term [estf]0[e^{-st}f]_0^\infty vanishes at \infty (decay) and gives f(0)-f(0) at 00that is where the initial conditions enter the algebra.


2. The recipe (HOW to solve any linear ODE)


3. Discontinuous forcing: the Heaviside step

Special case g=1g=1: L{u(ta)}=eass\mathcal{L}\{u(t-a)\}=\dfrac{e^{-as}}{s}.

Figure — Solving ODEs with Laplace (including discontinuous forcing)

4. Common mistakes (Steel-man + fix)


5. Flashcards

What does the Laplace transform turn differentiation into?
Multiplication by ss (with IC boundary terms): L{f}=sFf(0)\mathcal{L}\{f'\}=sF-f(0).
Why derive L{f}=sFf(0)\mathcal{L}\{f'\}=sF-f(0)?
Integration by parts; the boundary term gives f(0)-f(0), injecting initial conditions.
L{y}\mathcal{L}\{y''\} in terms of YY?
s2Ysy(0)y(0)s^2Y - s\,y(0) - y'(0).
L{u(ta)g(ta)}=?\mathcal{L}\{u(t-a)g(t-a)\}=?
easG(s)e^{-as}G(s) (second shifting theorem).
L{u(ta)}=?\mathcal{L}\{u(t-a)\}=?
eas/se^{-as}/s.
Inverse of easG(s)e^{-as}G(s)?
u(ta)g(ta)u(t-a)\,g(t-a) — delay AND gate.
L{δ(ta)}=?\mathcal{L}\{\delta(t-a)\}=?
ease^{-as}.
The three steps of the Laplace method?
Transform with ICs; solve algebraically for Y(s)Y(s); invert via partial fractions + table.
L{eat}=?\mathcal{L}\{e^{at}\}=? and why?
1sa\frac{1}{s-a}; from 0e(sa)tdt\int_0^\infty e^{-(s-a)t}dt.
Partial fraction of 1s(s+1)\frac{1}{s(s+1)}?
1s1s+11et\frac1s-\frac1{s+1}\Rightarrow 1-e^{-t}.

Recall Feynman: explain to a 12-year-old

Solving a moving-equation by hand is like untying a tangled knot while it's still moving. The Laplace transform takes a photo that freezes the motion into a simple algebra picture (the land of "ss"). In picture-land, the knot becomes a straight line you can cut with normal arithmetic. When you're done, you "un-photo" it back into a moving answer. And if someone flips a switch at t=2t=2 seconds, the photo just gets a tag e2se^{-2s} that means "start this part 2 seconds late" — easy!

Concept Map

hard: derivatives tangle

maps t to s domain

apply L

differentiation becomes times s

injects

solve by algebra

split via partial fractions

match standard pairs

read off terms

models switches

handled cleanly by

Linear ODE in time t

Difficulty

Laplace transform L

Algebraic equation in s

Derivative rule sF minus f0

Initial conditions

Y of s

Inverse transform

Solution y of t

Standard pairs table

Heaviside step u a t

Discontinuous forcing

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, Laplace transform ka basic idea simple hai: time-domain (variable tt) mein jo differential equation solve karna mushkil hai, usko hum ek naye "ss" wale algebra-domain mein le jaate hain. Wahan derivative ka kaam sirf ss se multiply karna ho jaata hai — yaani L{y}=sYy(0)\mathcal{L}\{y'\}=sY-y(0). Bonus ye ki initial conditions automatically formula ke andar ghus jaate hain (y(0)-y(0) jaise terms). Toh ODE ek normal algebraic equation ban jaati hai, jise hum Y(s)Y(s) ke liye solve karte hain, phir partial fractions laga ke table se wapas tt-domain mein le aate hain. Recipe yaad rakho: Stamp, Solve, Stick-back.

Sabse powerful part hai discontinuous forcing — jaise switch on hona at t=at=a. Iske liye Heaviside step u(ta)u(t-a) use karte hain (jo t<at<a pe 00, tat\ge a pe 11). Second shifting theorem kehta hai: L{u(ta)g(ta)}=easG(s)\mathcal{L}\{u(t-a)g(t-a)\}=e^{-as}G(s). Matlab time mein delay aa ka matlab ss-domain mein ek factor ease^{-as}. Inverse karte time do cheez yaad rakho: delay karo aur gate (u(ta)u(t-a)) lagao, warna answer switch se pehle bhi nonzero ho jayega — jo galat hai.

Classical methods (undetermined coefficients) sirf smooth forcing handle karte hain, lekin real life mein voltage on hota hai, hammer-blow (δ\delta impulse) lagta hai — yahin Laplace ka jaadu hai, kyunki impulse ka transform sirf ease^{-as} hai, bahut easy. Isliye engineering aur physics problems mein Laplace bahut zyada use hota hai.

Go deeper — visual, from zero

Test yourself — Ordinary Differential Equations

Connections