The Laplace transform handles discontinuous functions gracefully — provided the discontinuities are jumps (the function and its limits are finite). This is one of Laplace’s biggest practical advantages: discontinuous forcing in ODEs is no harder than continuous forcing.
The trick: rewrite piecewise functions in terms of Heaviside step functions and rectangular windows, then transform each piece using the second shifting theorem.
What kinds of discontinuities are OK
A function has a jump discontinuity at if is discontinuous at but the one-sided limits
both exist and are finite. Functions with finitely many jump discontinuities on any bounded interval are piecewise continuous — and the Laplace transform exists for them under the usual exponential-order condition.
Worse discontinuities (infinite jumps, oscillation singularities) usually break the Laplace transform.
Useful properties for discontinuous functions
Heaviside transform: for .
Rectangular window: for .
Second shifting theorem: .
The shifting theorem is the workhorse: when a function is “turned on” at with its argument shifted, the Laplace transform picks up an factor.
Example 1: piecewise function
Find for
Express using Heaviside:
(The is the same in both branches; only the cosine “turns on” at .)
Take Laplace:
Use the standard table and the second shifting theorem:
Example 2: full IVP with discontinuous forcing
Solve , , where
Express using Heavisides:
Expanding the window:
(The pieces from the window and the term combine in a way that gives the right values; the second piece is essentially the slope-1 ramp from time 10 onward, which together with the linear ramp from 5–10 gives the desired piecewise structure.)
Take Laplace of both sides of the ODE. Using :
(Initial conditions are zero, so they don’t contribute.)
Solve for :
Define . Then .
Invert via the second shifting theorem:
where .
Compute : partial fractions on :
Solving: , , , . So:
Inverse: .
Final:
Looks complicated, but each piece “turns on” at the appropriate moment, and the system smoothly responds to the changing forcing.
Why this is the right tool
For ODEs with discontinuous forcing — switches turning on/off, impulse-like inputs, multi-stage processes — the Laplace transform produces one unified algebraic expression. Compare with the alternative: solve the ODE separately on each interval, then patch solutions together at boundaries to maintain continuity of and . Tedious and error-prone.
Laplace handles all the bookkeeping automatically through Heavisides and the shifting theorem.
For the impulse limit (a “function” that’s zero everywhere except at one instant where it has unit area), see Dirac delta function. For the convolution-based approach when forcing is arbitrary but unknown, see Convolution integral.