The material
From a switch to a two-piece solution
The shift rule, a proof of it, and three equations: a switch-on, a pulse, and a second-order case.
Definition · The unit stepFor a constant c ≥ 0, u(t − c) = 0 when t < c and u(t − c) = 1 when t ≥ c.
The product u(t − c)·f(t − c) is the signal f shifted to the right by c: it is 0 up to t = c, and from there it repeats f as it was from t = 0.
Theorem · The shift ruleIf ℒ[f] = F(s), then for every c > 0, ℒ[u(t − c)·f(t − c)] = e^(−cs)·F(s).
The signal is zero before c, so the integral starts at t = c and contains f(t − c). Write t = c + τ. Then e^(−st) = e^(−cs)·e^(−sτ), and τ runs from 0 onward. Renaming the variable this way is a shift of the time axis, and all it uses is that sliding a graph along the axis does not change the area under it.
The constant e^(−cs) comes outside the integral, and what is left is the integral of e^(−sτ)·f(τ) from 0 onward, which is F(s). So the result is e^(−cs)·F(s).
□
Putting f = 1 gives the case that matters most for forcing: ℒ[u(t − c)] = e^(−cs)/s. So the equation y′ + y = u(t − 2) transforms to (s + 1)·Y = e^(−2s)/s, and Y = e^(−2s)/(s·(s + 1)). The factor e^(−2s) is a passenger. Partial fractions are done on 1/(s·(s + 1)) = 1/s − 1/(s + 1), giving f = 1 − e^(−t), and then the shift is applied once, at the end.
Example · A pulseTake y′ + y = u(t − 1) − u(t − 3) from y(0) = 0. The forcing is on from t = 1 up to t = 3. The transform is Y = (e^(−s) − e^(−3s))/(s·(s + 1)), which is the same fraction 1/s − 1/(s + 1) times two different delays.
The solution has three stretches. Before t = 1 nothing has happened and y = 0. From 1 to 3 it is the charging curve 1 − e^(−(t − 1)). From 3 on, the second delay subtracts a copy that starts at 3, which leaves e^(−(t − 3)) − e^(−(t − 1)): the output decays, since the forcing is off again. The two pieces meet at t = 3, where both are 1 − e^(−2).
Second order
For y″ + 4y = u(t − 1) from rest, the transform is (s² + 4)·Y = e^(−s)/s. The fraction 1/(s·(s² + 4)) decomposes as (1/4)/s − (1/4)·s/(s² + 4): A = 1/4 at s = 0, and the s² terms give B = −1/4. Its inverse is (1/4)·(1 − cos(2t)), and the shift gives the solution (1/4)·(1 − cos(2(t − 1))) from t = 1 on. It sits at 0 until the switch and then oscillates between 0 and 1/2, with its first minimum exactly at the switch.
A limit of the lab, stated where it applies. The shift c must be a positive rational number. The equation y″ + y = u(t − π) is a common textbook example, but π is not rational and the lab does not take it. The method is the same; only the typed input is restricted.