4.6.31Ordinary Differential Equations

Heaviside step function and Dirac delta function

1,816 words8 min readdifficulty · medium5 backlinks

1. The Heaviside Step Function

WHY it matters. It lets us write piecewise inputs as one formula. Want a function that is g(t)g(t) but only after time aa? Multiply: g(t)u(ta)g(t)\,u(t-a) kills it for t<at<a and reveals it for t>at>a.

HOW to build windows. To turn something on at aa and off at bb: u(ta)u(tb)={1a<t<b0otherwiseu(t-a)-u(t-b)=\begin{cases}1 & a<t<b\\0&\text{otherwise}\end{cases} This "boxcar" is the workhorse of piecewise modelling.

Laplace transform of the step


2. The Dirac Delta Function

HOW it arises as a limit. Define a narrow box of width ε\varepsilon, height 1/ε1/\varepsilon (area =1=1), centred at aa: δε(ta)=1ε[u(ta)u(taε)].\delta_\varepsilon(t-a)=\frac{1}{\varepsilon}\big[u(t-a)-u(t-a-\varepsilon)\big]. As ε0+\varepsilon\to 0^+, the box becomes infinitely tall and thin, area still 11 — that is δ(ta)\delta(t-a).

Sifting property — derived from the box

Laplace transform of the delta

Figure — Heaviside step function and Dirac delta function

3. Common Mistakes (Steel-manned)


4. Active Recall

Recall Quick self-test (hide and answer)
  1. State the sifting property and derive L{δ(ta)}\mathcal{L}\{\delta(t-a)\}.
  2. Why is δ=ddtu\delta = \frac{d}{dt}u?
  3. Transform (t3)3u(t3)(t-3)^3 u(t-3).
  4. What's missing if you write L1{easF(s)}=f(ta)\mathcal{L}^{-1}\{e^{-as}F(s)\}=f(t-a)?
Recall Feynman: explain to a 12-year-old

The step function is like a light switch: pitch dark, then click, fully bright — that "click" happens at one exact moment. The delta function is the click itself: a super-quick poke that delivers a fixed amount of "push" in no time at all, like flicking a marble. The neat trick: how fast the light brightness changes at the click is exactly the poke. So the poke (delta) is just the speed of the switch flipping (the slope of the step). In maths, when you ask "how much total push did the poke give?", the answer is always whatever the system felt right at that instant — the delta picks out that one value and ignores everything else.

Definition of u(ta)u(t-a)
00 for t<at<a, 11 for t>at>a; switches the value 11 on at t=at=a.
L{u(ta)}\mathcal{L}\{u(t-a)\}
eass\dfrac{e^{-as}}{s}, for s>0s>0.
Second shifting theorem
L{f(ta)u(ta)}=easF(s)\mathcal{L}\{f(t-a)u(t-a)\}=e^{-as}F(s).
Sifting property of the delta
f(t)δ(ta)dt=f(a)\int_{-\infty}^{\infty} f(t)\delta(t-a)\,dt = f(a).
L{δ(ta)}\mathcal{L}\{\delta(t-a)\}
ease^{-as} (and L{δ(t)}=1\mathcal{L}\{\delta(t)\}=1).
Relation between step and delta
δ(ta)=ddtu(ta)\delta(t-a)=\dfrac{d}{dt}u(t-a).
Boxcar (window) on (a,b)(a,b)
u(ta)u(tb)u(t-a)-u(t-b).
L1{easF(s)}\mathcal{L}^{-1}\{e^{-as}F(s)\}
f(ta)u(ta)f(t-a)\,u(t-a) (the gate is required!).
L{tu(t2)}\mathcal{L}\{t\,u(t-2)\}
write t=(t2)+2t=(t-2)+2e2s(1s2+2s)e^{-2s}\big(\tfrac{1}{s^2}+\tfrac{2}{s}\big).
Why δ\delta is not a true function
It is a distribution defined only via integrals; it has no finite pointwise value at aa.

Concept Map

derivative gives

switches on at t=a

difference builds

models

written via

Laplace transform

leads to

equals

models

shares factor

Heaviside step u t-a

Dirac delta

Off then On

Boxcar window

Piecewise inputs

Multiply g t times u

e^-as over s

Second shifting theorem

e^-as F s delay stamp

Instantaneous impulse

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, do simple ideas hain. Heaviside step function u(ta)u(t-a) ek switch ki tarah hai: t=at=a se pehle output zero (light off), t=at=a ke baad output one (light on). Iska kaam hai piecewise inputs ko ek single formula mein likhna — jaise "yeh force sirf 2 second ke baad chalu hoti hai". Window banane ke liye u(ta)u(tb)u(t-a)-u(t-b) use karo, jo sirf aa se bb ke beech 1 deta hai. Iska Laplace transform eas/se^{-as}/s hota hai, aur agar function delayed ho to second shifting theorem kehta hai L{f(ta)u(ta)}=easF(s)\mathcal{L}\{f(t-a)u(t-a)\}=e^{-as}F(s) — yaani time mein delay = ss-domain mein ease^{-as} se multiply.

Dirac delta δ(ta)\delta(t-a) ek instant ka jhatka (impulse) hai — hammer se ek zor ka tap. Yeh koi normal function nahi hai; isko hum sirf integral ke andar samajhte hain. Iska main rule sifting property hai: f(t)δ(ta)dt=f(a)\int f(t)\delta(t-a)\,dt=f(a), matlab yeh poore function mein se sirf t=at=a wali value utha leta hai, baaki sab ignore. Iska Laplace ease^{-as} hai (step se ek 1/s1/s kam, kyunki delta step ka derivative hai).

Sabse important baat ek hi hai: delta step ka derivative hai, δ=ddtu\delta=\frac{d}{dt}u. Switch achanak on hota hai, aur us achanak change ka rate hi impulse hai. ODE solve karte waqt δ(tπ)\delta(t-\pi) ka matlab hai: t=πt=\pi tak kuch nahi, phir ek dum kick lag gaya. Ek common galti: inverse Laplace mein gate u(ta)u(t-a) lagana mat bhoolna, warna answer t<at<a ke liye galat ho jayega. Aur g(t)u(ta)g(t)u(t-a) ko transform karne se pehle g(t)g(t) ko (ta)(t-a) ke terms mein likhna zaroori hai.

Go deeper — visual, from zero

Test yourself — Ordinary Differential Equations

Connections