ODEs with
Discontinuous Inputs
Learn to solve differential equations driven by step functions, piecewise forcing, and impulse inputs using the Laplace transform.
What Is a Discontinuous Input?
In many real-world systems, the driving force is not smooth. A light switch flips on, a valve opens suddenly, or an impact delivers force in an instant. These are discontinuous inputs: forcing functions that have jumps, breaks, or instantaneous spikes.
The Heaviside Step Function
The Heaviside step function (or unit step) is the building block for all piecewise forcing. It "turns on" at time \( t = c \):
Any piecewise function can be written as a sum of shifted step functions multiplied by the desired values on each interval.
The Dirac Delta Function
An impulse is an idealized instantaneous forcing: infinite magnitude, zero duration, but finite total effect. The Dirac delta \( \delta(t - c) \) models this:
Laplace Transforms of Key Functions
The Laplace transform converts these discontinuous inputs into algebraic expressions in the \( s \)-domain:
| Time Domain | Laplace Domain |
|---|---|
| \( u(t - c) \) | \( \dfrac{e^{-cs}}{s} \) |
| \( u(t - c)\,f(t - c) \) | \( e^{-cs} F(s) \) |
| \( \delta(t - c) \) | \( e^{-cs} \) |
| \( \delta(t) \) | \( 1 \) |
The Second Shifting Theorem
This theorem is the core tool. It tells us that shifting a function by \( c \) in time and "turning it on" with a step function simply multiplies the transform by \( e^{-cs} \).
Step vs. Impulse: Key Distinction
| Property | Heaviside \( u(t-c) \) | Dirac \( \delta(t-c) \) |
|---|---|---|
| Nature | Sustained shift (on/off) | Instantaneous spike |
| Duration | Infinite after \( c \) | Zero width |
| Integral | \( \int_0^\infty u(t)\,dt = \infty \) | \( \int_{-\infty}^{\infty} \delta(t)\,dt = 1 \) |
| Laplace | \( \frac{e^{-cs}}{s} \) | \( e^{-cs} \) |
| Physical model | Switch, valve opening | Hammer blow, lightning |
How to Solve: Step-by-Step
Example 1: Step Forcing
Example 1: Solution Graph
Example 2: Impulse Forcing
Example 2: Solution Graph
Example 3: Rectangular Pulse
A rectangular pulse (on for a finite interval) is modeled by the difference of two step functions:
Writing Piecewise Functions with Steps
Any piecewise-defined function can be expressed using Heaviside steps. The key formula:
Common Mistakes to Avoid
Summary: Transform Pairs
| Input Type | \( f(t) \) | \( F(s) \) | Effect |
|---|---|---|---|
| Unit step at \( c \) | \( u(t-c) \) | \( \frac{e^{-cs}}{s} \) | Sustained shift |
| Delayed function | \( u(t-c)f(t-c) \) | \( e^{-cs}F(s) \) | Time delay |
| Impulse at \( c \) | \( \delta(t-c) \) | \( e^{-cs} \) | Instant kick |
| Rectangular pulse | \( u(t-a)-u(t-b) \) | \( \frac{e^{-as}-e^{-bs}}{s} \) | Finite window |
Question 1 of 5
What is \( \mathcal{L}\{\delta(t - 5)\} \)?
Question 2 of 5
Which expression represents the rectangular pulse that equals \(1\) on \( [2, 7) \) and \(0\) elsewhere?
Question 3 of 5
If \( \mathcal{L}\{f(t)\} = F(s) \), what is \( \mathcal{L}\{u(t-3)\,f(t-3)\} \)?
Question 4 of 5
Solve \( y' + y = \delta(t-1) \), \( y(0) = 0 \). What is \( y(t) \)?
Question 5 of 5
What is the relationship between \( \delta(t) \) and \( u(t) \)?