Laplace Transforms of Piecewise Inputs
A lesson on representing piecewise inputs with unit steps, applying the second shifting theorem, and checking transforms by direct integration.
Step functions, corrections, and time shifts
Build a piecewise function with step corrections
The unit step is 0 when and 1 when . Multiplying a term by this step activates the term at time . To represent a change from an initial formula to a new formula at that time, add the activated difference:
Before the switch, the step is zero, so only the initial formula remains. At and after the switch, the step is one, and the added difference changes the formula to the new one. For multiple switches, add a correction for each change.
Apply the
If , then, for ,
The function paired with the step must be written using the shifted variable . The factor records the time at which the term is activated.
Example: a ramp becomes constant
Consider for , and for . The initial formula is ; at time 2, the change is from to 2, so the correction is . Thus,
The correction is negative because after time 2 it must remove the ramp’s continued increase. The applies to the shifted form . Since ,
The factor records the correction’s start time. The expression paired with the step is , the shifted variable—not the unshifted ramp .
Be careful about the variable inside the step
In the equivalent form
the function inside the transform on the right is found by replacing each in with . For the ramp correction, and , so . Its transform is therefore , agreeing with the calculation above. This substitution prevents a common error: applying the exponential delay factor while leaving the accompanying function in the wrong variable.
Example: a finite-duration pulse
A pulse of height 3 that is on from until , and zero elsewhere, turns on with a positive step and turns off with a negative one:
Each step has transform . Therefore,
The negative step cancels the height-3 contribution after time 4. In general, a pulse is represented by a positive step when it turns on and a negative step when it turns off.
and transform existence
Integrate one piece at a time
The definition of the Laplace transform lets you work directly from a piecewise function. If the formula is on each interval , integrate over that interval and add the results:
When appropriate, the final interval extends to infinity. This method does not require rewriting the function with unit steps and can also check a step-function calculation.
For the height-3 pulse that is on from 1 to 4, the only nonzero piece is 3 on . Hence,
This matches the result from the two step functions: the endpoint at 1 contributes the positive term, and the endpoint at 4 contributes the negative term.
Existence and switching-point values
Piecewise continuous inputs of exponential order have Laplace transforms for sufficiently large . This is a guarantee in that range; it does not claim that the transform exists for every value of .
The value assigned at a single switching point does not affect the transform. The integral is unchanged by changing a function at an isolated point, because that point contributes no interval of area. Thus, whether a piece’s endpoint is included in one interval or the next does not change the Laplace transform.
: A function that is 0 before time a and 1 from time a onward.
: A piecewise continuous input whose growth is bounded in the manner required for a Laplace transform to exist for sufficiently large .