ConceptComplete

Step Functions and Discontinuous Forcing

The Laplace transform handles discontinuous forcing functions naturally through the Heaviside step function and the second shifting theorem.


The Heaviside Step Function

Definition4.3Heaviside step function

The Heaviside step function (or unit step function) is

uc(t)=u(tβˆ’c)={0t<c1tβ‰₯cu_c(t) = u(t - c) = \begin{cases} 0 & t < c \\ 1 & t \geq c \end{cases}

for cβ‰₯0c \geq 0. Its Laplace transform is L{uc(t)}=eβˆ’cs/s\mathcal{L}\{u_c(t)\} = e^{-cs}/s.

Theorem4.4Second shifting theorem

If L{f(t)}=F(s)\mathcal{L}\{f(t)\} = F(s), then

L{uc(t)f(tβˆ’c)}(s)=eβˆ’csF(s).\mathcal{L}\{u_c(t)f(t-c)\}(s) = e^{-cs}F(s).

Conversely, Lβˆ’1{eβˆ’csF(s)}=uc(t)f(tβˆ’c)\mathcal{L}^{-1}\{e^{-cs}F(s)\} = u_c(t)f(t-c).

ExamplePiecewise constant forcing

Solve yβ€²+2y=g(t)y' + 2y = g(t), y(0)=0y(0) = 0, where g(t)={10≀t<30tβ‰₯3g(t) = \begin{cases} 1 & 0 \leq t < 3 \\ 0 & t \geq 3\end{cases}.

Write g(t)=1βˆ’u3(t)g(t) = 1 - u_3(t). Taking transforms: (s+2)Y=1sβˆ’eβˆ’3ss(s+2)Y = \frac{1}{s} - \frac{e^{-3s}}{s}.

Y=1s(s+2)βˆ’eβˆ’3ss(s+2)=12(1sβˆ’1s+2)(1βˆ’eβˆ’3s).Y = \frac{1}{s(s+2)} - \frac{e^{-3s}}{s(s+2)} = \frac{1}{2}\left(\frac{1}{s} - \frac{1}{s+2}\right)(1 - e^{-3s}).

Inverting: y(t)=12(1βˆ’eβˆ’2t)βˆ’12u3(t)(1βˆ’eβˆ’2(tβˆ’3))y(t) = \frac{1}{2}(1 - e^{-2t}) - \frac{1}{2}u_3(t)(1 - e^{-2(t-3)}).


The Dirac Delta Function

Definition4.4Dirac delta function

The Dirac delta function Ξ΄(tβˆ’c)\delta(t - c) is the "generalized function" satisfying

βˆ«βˆ’βˆžβˆžΞ΄(tβˆ’c)Ο•(t) dt=Ο•(c)\int_{-\infty}^{\infty}\delta(t-c)\phi(t)\,dt = \phi(c)

for any continuous Ο•\phi. Its Laplace transform is L{Ξ΄(tβˆ’c)}=eβˆ’cs\mathcal{L}\{\delta(t-c)\} = e^{-cs}.

ExampleImpulse response

Solve yβ€²β€²+y=Ξ΄(tβˆ’Ο€)y'' + y = \delta(t - \pi), y(0)=0y(0) = 0, yβ€²(0)=1y'(0) = 1.

Taking transforms: s2Yβˆ’1+Y=eβˆ’Ο€ss^2Y - 1 + Y = e^{-\pi s}, so Y=1s2+1+eβˆ’Ο€ss2+1Y = \frac{1}{s^2+1} + \frac{e^{-\pi s}}{s^2+1}.

Inverting: y(t)=sin⁑t+uΟ€(t)sin⁑(tβˆ’Ο€)=sin⁑tβˆ’uΟ€(t)sin⁑ty(t) = \sin t + u_\pi(t)\sin(t - \pi) = \sin t - u_\pi(t)\sin t.

So y(t)={sin⁑tt<Ο€0tβ‰₯Ο€y(t) = \begin{cases}\sin t & t < \pi \\ 0 & t \geq \pi\end{cases}. The impulse at t=Ο€t = \pi exactly cancels the oscillation.


Transfer Functions

RemarkTransfer function

For a linear constant-coefficient ODE ayβ€²β€²+byβ€²+cy=g(t)ay'' + by' + cy = g(t) with zero initial conditions, Y(s)=H(s)G(s)Y(s) = H(s)G(s) where H(s)=1/(as2+bs+c)H(s) = 1/(as^2 + bs + c) is the transfer function. The poles of HH (roots of the characteristic polynomial) determine stability:

  • All poles in Re(s)<0\text{Re}(s) < 0: stable (transients decay).
  • Any pole with Re(s)>0\text{Re}(s) > 0: unstable (solutions grow).
  • Poles on Re(s)=0\text{Re}(s) = 0: marginally stable.
ExampleResonance detection via transfer function

For yβ€²β€²+Ο‰02y=Acos⁑ωty'' + \omega_0^2 y = A\cos\omega t, H(s)=1/(s2+Ο‰02)H(s) = 1/(s^2 + \omega_0^2). The response amplitude is ∣H(iΟ‰)∣=1/βˆ£Ο‰02βˆ’Ο‰2∣|H(i\omega)| = 1/|\omega_0^2 - \omega^2|, which diverges as Ο‰β†’Ο‰0\omega \to \omega_0 (resonance). With damping (yβ€²β€²+2ΞΆΟ‰0yβ€²+Ο‰02y=…y'' + 2\zeta\omega_0 y' + \omega_0^2 y = \ldots), the peak amplitude is finite: 1/(2ΞΆΟ‰02)1/(2\zeta\omega_0^2).