Piecewise Inputs and Laplace Shifts
Learn to encode piecewise inputs with unit-step functions, then use the second shifting theorem to transform and invert delayed terms.
Build piecewise functions from changes
Build piecewise functions from changes
A unit step turns on at a chosen time. For a switching time ,
Thus, represents a constant that begins at time . A pulse of height , on from until , can be written : the first step turns it on, and subtracting the second turns it off.
Add each change at its switching time
Begin with the formula on the first interval. At each later switching time , add the step multiplied by the new formula minus the previous formula. Before the switch, this correction is zero; from the switch onward, it changes the current formula into the next one.
For example, consider
The first formula is . At , the change is . At , the change is . Therefore,
Check it interval by interval:
If , both steps are zero, so the expression is .
If , only is on, so it is .
If , both steps are on, so it is .
The step corrections accumulate: the later correction is based on the change from the immediately previous formula, not simply the new formula itself. The value assigned at an exact switching instant does not affect the Laplace transform.
Transform and invert delayed terms
Transform and invert delayed terms
The second shifting theorem explains why a step at time produces an exponential factor in the Laplace domain. If , then
The factor must be expressed in terms of elapsed time since the switch, , before applying the rule. A factor multiplied by is not automatically in this shifted form.
Rewrite before transforming
For instance, rewrite around the switch at :
The function of elapsed time is , whose transform is . The shift theorem therefore gives
In general, to rewrite a factor , substitute inside it. This is essential: transforming the unrewritten factor as if it were already a function of can give the wrong result.
Transform the finite-duration input
Use the piecewise input from the previous section:
For the correction at , the factor is already elapsed time, , so its transform is . At , rewrite . The factor after the step is now the elapsed-time function , with transform ; the whole correction has a minus sign. The constant term transforms to . Combining the terms,
Each exponential records the time at which its corresponding change begins.
Invert a delayed transform
The same theorem can be read in reverse:
First invert , then replace its time argument by and multiply by the step. This recovers a function delayed until time . The method applies when the shifted expressions can be transformed; the material includes constants and polynomials among the applicable functions.