Heaviside Step
Functions
Master the unit step function \( u_c(t) \) and learn how it models piecewise forcing in differential equations.
What Is the Heaviside Function?
The Heaviside step function (also called the unit step function) is a simple on/off switch that turns on at a specified time \( c \):
Before time \( c \), the function outputs zero. At and after \( c \), it outputs one. This makes it perfect for representing forces, voltages, or inputs that suddenly switch on.
Graph of \( u_c(t) \)
Why Do We Need Step Functions?
Many real-world forcing functions are not smooth: a switch flips, a load is applied, or a voltage changes abruptly. Step functions let us write these piecewise-defined inputs as a single algebraic expression.
Piecewise to Step Conversion
Any piecewise function can be rewritten using step functions. The key identity is:
We start with the first piece, then add the correction multiplied by the step function. This "turns on" the difference at time \( c \).
The Laplace Transform Rule
The power of the Heaviside function shines when combined with the Laplace transform. There are two essential formulas:
Visualizing the Second Shift
Critical Distinction
| \( u_c(t)\, f(t) \) | \( u_c(t)\, f(t - c) \) | |
|---|---|---|
| Meaning | "Turn on \( f(t) \) at \( t = c \)," evaluating \( f(t) \) at the current time | "Shift \( f(t) \) right by \( c \), then turn on" |
| Value at \( t = c \) | \( f(c) \) | \( f(0) \) |
| Laplace | No simple formula | \( e^{-cs} F(s) \) |
| Use case | Gating (windowing) | Delayed forcing (standard) |
How to Apply the Method
Example 1: Basic Conversion
Write the following piecewise function using step functions:
Example 2: Two Breakpoints
Convert to step-function notation:
Example 3: Laplace Transform
Find \( \mathcal{L}\{u_2(t)\,(t-2)^2\} \).
The Inverse Direction
The Second Shifting Theorem also works in reverse. If you see \( e^{-cs} \) multiplying an \( F(s) \) in the transform domain:
Recipe: Factor out the exponential \( e^{-cs} \), identify the remaining \( F(s) \), invert it to get \( f(t) \), then write the answer as \( u_c(t)\, f(t - c) \).
Building a Pulse
A rectangular pulse that is "on" between \( a \) and \( b \) is simply the difference of two step functions:
Common Mistakes
Summary of Key Formulas
| Expression | Laplace Transform |
|---|---|
| \( u_c(t) \) | \(\dfrac{e^{-cs}}{s}\) |
| \( u_c(t)\, f(t - c) \) | \( e^{-cs}\, F(s) \) |
| \( u_a(t) - u_b(t) \) | \(\dfrac{e^{-as} - e^{-bs}}{s}\) |
| \( u_c(t)\,(t-c)^n \) | \(\dfrac{n!\, e^{-cs}}{s^{n+1}}\) |
| \( u_c(t)\, e^{a(t-c)} \) | \(\dfrac{e^{-cs}}{s - a}\) |
Question 1 of 5
What is the value of \( u_4(t) \) when \( t = 3 \)?
Question 2 of 5
Which expression represents \( f(t) = \begin{cases} 0, & t < 2 \\ 7, & t \geq 2 \end{cases} \) using a step function?
Question 3 of 5
What is \( \mathcal{L}\{u_3(t)\,(t - 3)^2\} \)?
Question 4 of 5
What is \( \mathcal{L}^{-1}\!\left\{\dfrac{e^{-5s}}{s - 4}\right\} \)?
Question 5 of 5
A rectangular pulse equals 1 for \( 3 \leq t < 8 \) and 0 elsewhere. Which expression is correct?