Step Functions, Impulses, and Convolution
How does a circuit respond to a switch flipped at time ? What about a struck bell excited by an instantaneous hammer blow? Ordinary differential equations model both situations. But the forcing functions involved — a sudden jump, an infinitely brief spike — are not smooth. They are not the everywhere-differentiable functions that calculus was built to handle. The Laplace Transform turns out to be exactly the right tool. It converts discontinuous switching and idealized impulses into simple algebraic operations. It also converts the messy operation of "combining a system's memory with its forcing history" into ordinary multiplication. This article develops the three pieces that make this work. The Heaviside (unit step) function models on/off switching. It lets us write piecewise forcing terms as single formulas. The Dirac delta models an idealized instantaneous impulse — a hammer blow, a voltage spike. It carries finite total effect concentrated at one instant. The convolution theorem explains something important. The Laplace transform of a product of transforms is not the transform of a product. Instead, it is the transform of a convolution. This theorem shows that the impulse response of a linear system encodes everything needed. That everything is what's needed to predict its response to arbitrary forcing. The big picture is this: a linear time-invariant system driven by forcing responds in a specific way. It "smears" against its own impulse response . Convolution is the mathematical operation performing that smear. The Laplace transform is the lens that makes it tractable. It turns a convolution integral into a product of transforms. This product is computable by the Inverse Laplace Transform and Partial Fractions techniques already in hand. By the end you will be able to do several things. You will write switched and delayed forcing functions in closed form. You will transform them using the two shifting theorems. You will solve initial value problems with impulsive forcing rigorously, not just formally. You will also compute and interpret convolution integrals. These integrals represent a system's cumulative response to its entire forcing history.
- The unit step function turns on at ; it lets discontinuous, piecewise, or delayed forcing be written as one formula.
- The first shifting theorem: multiplying by shifts the transform variable: .
- The second shifting theorem: delaying by and switching it on with multiplies the transform by .
- The Dirac delta is a limit of tall thin unit-area pulses; it models instantaneous impulses and has transform .
- The convolution satisfies — this is the convolution theorem.
- Convolution with the impulse response of an LTI system reproduces the system's response to any forcing : .
- Key idea: discontinuous and impulsive forcing, and the entire response history of a linear system, become ordinary algebra under the Laplace transform.
Where this lives today
Switched and impulsive forcing modeled by step and delta functions appears throughout circuit analysis, where a step models a switch closing and an impulse models a sudden voltage or current spike across an inductor or capacitor. In control theory, the impulse response of a linear time-invariant system is the fundamental object from which the transfer function and stability properties are derived, and convolution with an input signal predicts the system's output exactly as in this article's theorem. In signal processing, convolution is the operation implemented by every linear filter — audio equalizers, image blurring and sharpening kernels, and antenna response modeling all reduce to convolving a signal against a fixed impulse response, computed efficiently via the Fourier transform analogue of the convolution theorem. In probability and statistics, the density of a sum of two independent random variables is the convolution of their individual densities, and Laplace (or moment-generating function) transforms convert this into ordinary multiplication exactly as here. In numerical analysis and PDE theory, Green's functions generalize the impulse-response idea to boundary value problems and partial differential equations, with the solution written as a convolution of the forcing against the Green's function. In cryptography and coding theory, convolutional codes borrow the same superposition structure, encoding data streams via a convolution against a fixed generator sequence.
Ask the tutor: How do I set up the Laplace transform for a forcing function that switches between three different formulas at two different times?
Let be a real constant.
Unit step function. The Heaviside function shifted to is
Dirac delta (unit impulse). For define the pulse
a rectangle of height and width starting at , so that for every . The unit impulse is defined operationally by its action under integration against continuous test functions :
for every and every continuous at . It is not a function in the classical sense; it is a generalized object (a distribution) defined by this limiting/sifting property.
Convolution. For piecewise continuous functions on , their convolution is
Intuition
Think of as a light switch: off for all time before , on forever after. Multiplying any function by silences it before and lets it through unchanged after . Because (for ) is exactly on and elsewhere, sums of steps let us write any piecewise-defined function as one closed formula — the essential trick behind Laplace-transforming switched circuits, forces applied "starting at ," or forcing terms that change formula partway through. The Dirac delta pushes this further: instead of a forcing that switches on and stays on, imagine a forcing that switches on, delivers a fixed total impulse (like momentum ), and switches off again — all within a vanishingly short window . The rectangle has area regardless of ; as shrinks the rectangle gets taller and narrower but never loses its unit area. In the limit we get an idealized "spike" concentrated at the single instant , carrying total effect . This is precisely how a hammer blow, a lightning strike, or a sudden kick to a spring-mass system is modeled: not by any ordinary function, but by this limiting sifting operation.
Now zoom out to the systems view: if a linear time-invariant system's response to a single unit impulse at is a function (its impulse response), then its response to an arbitrary forcing is obtained by treating as a continuum of tiny impulses delivered at every instant , each producing a shifted, scaled copy of the impulse response, and summing (integrating) over all . That sum is exactly the convolution . This is why convolution is not an arbitrary algebraic curiosity: it is the precise mathematical expression of "linear superposition of impulse responses," and the convolution theorem is what makes it computable via transforms rather than by evaluating the integral directly.
Let be piecewise continuous on every finite interval and of exponential order: there exist constants with for (and similarly for ). Let and , defined for .
(1) First Shifting Theorem. For any real constant ,
(2) Second Shifting Theorem. For any constant ,
(3) Transform of the Unit Impulse. For ,
(4) Convolution Theorem. The convolution is piecewise continuous, of exponential order, and
Consequently , and if solves with (constants ), then
where solves the IVP with and the given initial data, and is the solution of with (the impulse response).
We prove each part in turn. Throughout, , and this integral converges absolutely for by the exponential order hypothesis (standard existence result for the Laplace transform, assumed as prerequisite background).
(1) First Shifting Theorem. Direct substitution into the definition:
This integral converges whenever , i.e. , since converges there by hypothesis. No further justification is needed beyond convergence, which follows since for , giving exponential order .
(2) Second Shifting Theorem. By definition of , the function vanishes for and equals for . Hence
Substitute , so , , and as ranges over , ranges over :
Convergence for is immediate since the integral defining already converges there.
(3) Transform of the Unit Impulse. First compute the transform of the pulse directly using linearity and part (2) applied to (so ):
Now let with fixed. By L'Hôpital's rule (or the standard limit with ),
Hence
This matches the defining sifting property in the definition: taking (continuous at ) gives directly, consistent with the limit computation above.
(4) Convolution Theorem. We compute as a double integral and reduce it to the transform of by a change of variables. Since converge absolutely for , write
where combining the two integrals into one double integral over the quarter-plane is justified by Fubini's theorem, applicable because the double integral of converges absolutely for (each factor is absolutely integrable there, and the product of absolutely convergent one-dimensional integrals is an absolutely convergent double integral). Now introduce new variables (so ranges over ) and (so ranges over for each fixed , and ). This is a linear, area-preserving change of variables (Jacobian determinant ) mapping the quarter-plane bijectively (up to the boundary, of measure zero) onto the region . Hence
This last expression is exactly , completing the proof that . Piecewise continuity and exponential order of : for fixed , the integrand is piecewise continuous on (finitely many discontinuities, since are piecewise continuous), so the integral defining exists; continuity of in follows from the dominated convergence theorem using the exponential bounds on . For the growth bound, using , for (and bounding the finitely many remaining pieces by continuity on compacta). We get, for sufficiently large,
for large enough that . Thus has exponential order (or any order exceeding ), confirming its transform converges for as claimed, and in particular the manipulation above is valid there. Commutativity: the substitution in gives . Application to the IVP. Consider , , , with . Taking Laplace transforms of both sides (using the derivative rules , , standard prerequisite facts) gives
Solve for :
The first term is exactly , the transform of the solution of the homogeneous IVP with the same initial data (verified by running the same derivation with ). For the second term, let be the solution of with , . Taking its transform: , i.e. , so
Hence the second term is by the convolution theorem just proved. Taking inverse transforms (using injectivity of on piecewise-continuous exponential-order functions, a prerequisite fact underlying Inverse Laplace Transform computations) gives
as claimed.
∎Worked examples
Example 1 (switched, delayed forcing on a spring-mass system). Solve , , , where
Note , a delayed copy of switched on at . Transform both sides. Since , and by the second shifting theorem with (so ), , we get
The first term inverts immediately to . For the second, first find the inverse transform of by Partial Fractions:
Multiply through by :
Set : . Expand and match coefficients of :
Matching: : (consistent). : . : . : . : . So
Inverting term by term (, ):
By the second shifting theorem in reverse, . Therefore
Check: for , , matching , correctly since the bracket contributes nothing there. For , differentiate twice and add ; the polynomial and cosine pieces are engineered (by construction of ) to satisfy , and continuity of at holds because the bracket and its derivative vanish at (, ... let's verify: , so ). Both checks pass.
Example 2 (impulsive forcing, convolution form, and consistency check). An underdamped oscillator satisfies , , , modeling a mass at rest struck by an impulsive force of magnitude at . Transform, using from part (3) of the theorem:
Complete the square: . Recall : since by the first shifting theorem applied to , we get
By the second shifting theorem, multiplying by delays this by and switches it on with :
Cross-check via convolution. The impulse response of (i.e., solving with unit impulse at ) is (matches , consistent with the theorem's formula with , and , , matching ). For forcing , the general solution formula gives, using the sifting property directly inside the convolution integral,
for (using the sifting property, valid whenever so that lies in , and giving for ). This matches the transform computation exactly, confirming both the impulse-response interpretation and the direct Laplace calculation.
The convolution theorem requires to be of exponential order so that converge for some and the Fubini-theorem step in the proof applies. Drop this hypothesis and let
This function is continuous (hence piecewise continuous) on but grows faster than any exponential , so it has no exponential order. Consequently diverges for every real , since as regardless of . So does not exist for any , and the right-hand side of the convolution theorem is meaningless: there is no product to equate to . One might hope still exists even though individually diverge. But it does not help matters: still grows at least as fast as (by evaluating the integrand at , its minimum-exponent point, and bounding the integral below by the integrand there times a fixed sub-interval width), so is also not of exponential order, and diverges for every too. Both sides of the claimed identity fail to exist — the theorem's conclusion is not merely false but not even well-posed — which is exactly what happens when its convergence hypothesis is discarded.
Scope, edge cases & common traps
| Situation | What to watch for |
|---|---|
| Writing piecewise forcing as steps | Always express with the function argument shifted to , matching the second shifting theorem exactly — a common error is transforming (unshifted argument) as if it were . |
| Impulse at | If acts at the left endpoint of , conventions vary on whether equals or ; state the convention used (this article uses , consistent with on ). |
| Convolution vs. product | in general; only the convolution transforms to the product . |
| Existence of transforms | Both shifting theorems and the convolution theorem require exponential order (and piecewise continuity); without it, the transforms may fail to exist altogether (see the counterexample). |
| Delta "function" | is not a function with a pointwise value; manipulations (like differentiating it) require distribution theory, which is beyond ordinary Laplace-transform calculus but the sifting/transform rules used here remain valid. |
The mathematician behind it
Origins · 1 minOliver Heaviside and how this was discovered
Oliver Heaviside was a self-taught English electrical engineer and physicist who developed operational calculus methods — precursors to the modern Laplace transform — to solve the differential equations governing telegraph and transmission lines. Working largely outside academia, he introduced the step function and vector calculus notation still used today, and reformulated Maxwell's twenty original equations into the four compact vector equations now taught worldwide. His methods were denounced by contemporaries as lacking rigor, though they were later fully justified by the operational calculus formalized through the Laplace transform.
Why do we need the Dirac delta if it isn't a real function?
Physical situations like a hammer strike or a lightning surge deliver a large, finite total effect (impulse, charge) over a duration so short it is effectively zero. No ordinary function can have zero width, nonzero height at a single point, and finite nonzero integral simultaneously — any function that is zero almost everywhere has integral zero. The Dirac delta resolves this by being defined not as a pointwise function but through its action on other functions (the sifting property), formalized as a distribution. This lets us model idealized instantaneous forcing rigorously, and the resulting Laplace transform is perfectly well-behaved, making the formalism practically indispensable despite not being a classical function.
What's the practical difference between the two shifting theorems?
The first shifting theorem shifts in the -domain: multiplying by in the time domain shifts the transform variable, . It is used whenever exponential factors like or multiply a known transform pair, typically arising from completing the square in a denominator. The second shifting theorem shifts in the -domain: delaying a function's start time to and switching it on there multiplies the transform by . It is used whenever forcing changes formula or switches on partway through time, and is the tool for piecewise and delayed forcing.
Why is convolution defined with the integral from to , not to ?
This article works with one-sided Laplace transforms, which assume all functions are zero for (or are only defined on ), matching how initial value problems are posed. Under that convention, automatically vanishes outside , since for and for . So the "natural" convolution integral over all reals collapses to the finite integral from to used here. The two-sided convolution (integral over all of ) is the more general object used with the Fourier transform, where functions need not vanish for negative arguments.
How do I know which piece of a solution is the "homogeneous part" versus the forced response after using convolution?
In the theorem's IVP formula , the term solves the homogeneous equation with the actual initial data , , while is a fixed, forcing-independent function (the impulse response) that solves the homogeneous equation with the specific initial data , . The convolution term then automatically has zero initial conditions of its own — it contributes nothing to or — so all of the initial data is carried by , and all of the forcing's effect is carried by the convolution term. This clean separation is why the formula is useful: never needs to be recomputed as changes.
Can convolution be computed without Laplace transforms, and when would I do that?
Yes — convolution is defined by an ordinary integral and can always be computed directly, especially when or is simple (e.g., constant or a single exponential). Direct computation is preferable for conceptual understanding and for numerical evaluation when closed-form inverse transforms are hard to find. However, for rational-transform impulse responses (as arise from constant-coefficient linear ODEs), Laplace transforms usually make the calculation far shorter: multiplying two transforms and applying partial fractions is typically easier than evaluating the convolution integral directly, especially when the forcing is itself piecewise or delayed.
Does the convolution theorem's proof actually need Fubini's theorem, or is that a technicality that can be skipped?
It is not skippable in a fully rigorous treatment. The proof rewrites the product of two single integrals as one double integral, which requires justifying that the order of integration (or, equivalently, treating it as one combined integral over the quarter-plane) is valid. Fubini's theorem is precisely the tool that licenses this, and it requires absolute convergence of the double integral — which is exactly why the exponential order hypothesis is needed. Without exponential order, as the counterexample shows, the relevant integrals may fail to converge at all, and the entire argument collapses, not merely becomes "less rigorous."
Is the derivative of ?
Formally yes, in the sense of distributional (generalized) derivatives: has a jump of height at and is constant elsewhere, so its derivative is zero everywhere except at the single point , where it must contribute exactly enough to reconstruct the jump — matching the sifting/unit-area behavior that defines . This is consistent with the Laplace transform computation: differentiating using the transform-of-derivative rule (formally, ignoring the discontinuity) gives , matching computed directly. A fully rigorous justification requires distribution theory, beyond classical calculus, but the relationship is standard and reliable in applications.