Differential EquationsThe Laplace Transform4 of 8
The Laplace Transform · 4

The Shifting Theorems

Basic Laplace transform tables only cover simple functions like tn\base{t^n} and cos⁡(bt)\base{\cos(bt)}, but real physical systems decay over time and external forces turn on after t=0t = 0.

1

The First Shifting Theorem

We want to find the Laplace transform of a function multiplied by an exponential, L{eatf(t)}\transform{\mathcal{L}}\{\shift{e^{at}}\base{f(t)}\}, without integrating from the beginning. Inside the Laplace integral, eat\shift{e^{at}} combines directly with the transform's own e−st\weight{e^{-st}} factor.

The First Shifting Theorem
t-world\text{t-world}
y′+2y=e−2tcos⁡4t\htmlClass{lc-pink}{y'} + 2\htmlClass{lc-blue}{y} = e^{-2t}\cos 4t
L{f(t)}=∫0∞e−st f(t) dt\htmlClass{lc-violet}{\mathcal{L}}\{\htmlClass{lc-blue}{f(t)}\} = \displaystyle\int_0^\infty \htmlClass{lc-violet}{e^{-st}}\,\htmlClass{lc-blue}{f(t)}\,dt
s-world\text{s-world}
s Y(s)−y(0)+2Y(s)=  ?\begin{aligned} &s\,\htmlClass{lc-blue}{Y(s)} - \htmlClass{lc-blue}{y(0)}\\[4pt] &\quad + 2\htmlClass{lc-blue}{Y(s)} = \;?\end{aligned}
L{eatf(t)}\displaystyle \transform{\mathcal{L}}\{\shift{e^{at}}\base{f(t)}\} =F(s−a)⏟replace every s in F(s) with s−a\displaystyle = \underbrace{\base{F}(\shifted{s - a})}_{\text{replace every } s \text{ in } \base{F(s)} \text{ with } \shifted{s - a}}

Notice the minus sign inside F(s−a)\base{F}(\shifted{s - a}): a positive exponent like e4t\shift{e^{4t}} replaces ss with s−4\shifted{s - 4}, while a negative exponent like e−2t\shift{e^{-2t}} replaces ss with s−(−2)=s+2\shifted{s - (-2)} = \shifted{s + 2}. On paper, you can just cover up the exponential with your finger, write down the basic transform from the table, and then replace every ss.

Here is how that works on L{t3e4t}\transform{\mathcal{L}}\{\base{t^3} \shift{e^{4t}}\}.

Text solution
Transform the base functionCover up e4t\shift{e^{4t}} and take the transform of t3\base{t^3} from the basic table.
L{t3}\displaystyle \transform{\mathcal{L}}\{\base{t^3}\} =3!s4\displaystyle = \base{\frac{3!}{s^4}} =6s4\displaystyle = \base{\frac{6}{s^4}}
Shift ss by the exponentUncover e4t\shift{e^{4t}} and replace ss with s−4\shifted{s - 4}.
L{t3e4t}\displaystyle \transform{\mathcal{L}}\{\base{t^3} \shift{e^{4t}}\} =6(s−4)4\displaystyle = \base{\frac{6}{{\shifted{(s - 4)}}^4}}

So multiplying by e4t\shift{e^{4t}} in time simply moves the transform 44 units to the right in ss.

Now for a cosine with a decaying exponential, L{e−2tcos⁡(5t)}\transform{\mathcal{L}}\{\shift{e^{-2t}}\base{\cos(5t)}\}, where ss shows up in more than one place.

Text solution
Transform the base functionCover up e−2t\shift{e^{-2t}} and write the transform of cos⁡(5t)\base{\cos(5t)}.
L{cos⁡(5t)}\displaystyle \transform{\mathcal{L}}\{\base{\cos(5t)}\} =ss2+25\displaystyle = \base{\frac{s}{s^2 + 25}}
Shift every ss by −2-2Uncover e−2t\shift{e^{-2t}} and replace ss with s+2\shifted{s + 2} in both the numerator and the denominator.
L{e−2tcos⁡(5t)}\displaystyle \transform{\mathcal{L}}\{\shift{e^{-2t}}\base{\cos(5t)}\} =s+2(s+2)2+25\displaystyle = \base{\frac{\shifted{s + 2}}{{\shifted{(s + 2)}}^2 + 25}}

As the exponential envelope eat\shift{e^{at}} makes the wave eatcos⁡(5t)\shift{e^{at}}\base{\cos(5t)} decay or grow over time, its Laplace transform slides horizontally along the ss-axis to s−a\shifted{s - a} without changing its shape.

Multiplying a wave by an exponential makes it grow or die out over time, while its Laplace transform keeps the exact same shape and simply shifts left or right.
2

Inverse Transforms with Shifted ss

To solve differential equations, we have to go backward from the ss-world to the tt-world and find inverse transforms like L−1{s+5(s−3)2+16}\transform{\mathcal{L}^{-1}}\left\{\base{\frac{s + 5}{{\shifted{(s - 3)}}^2 + 16}}\right\}. (In L−1\transform{\mathcal{L}^{-1}}, the −1-1 stands for the inverse transform back to time tt, not a reciprocal.) When every ss is already grouped the same way, we can pull the exponential right out in front, but a multiplied-out denominator or a numerator with a different shift hides the shift.

Inverse Transforms with Shifted s
L−1{4(s−3)2+16}\displaystyle \transform{\mathcal{L}^{-1}}\left\{\base{\dfrac{4}{{\shifted{(s - 3)}}^2 + 16}}\right\} =  ?\displaystyle = \;?

When ss only shows up inside (s−3)\shifted{(s - 3)}, pulling out e3t\shift{e^{3t}} removes the −3-3 and leaves a basic transform from the table:

L−1{4(s−3)2+16}\displaystyle \transform{\mathcal{L}^{-1}}\left\{\base{\frac{4}{{\shifted{(s - 3)}}^2 + 16}}\right\} =e3tL−1{4s2+16}\displaystyle = \shift{e^{3t}}\transform{\mathcal{L}^{-1}}\left\{\base{\frac{4}{s^2 + 16}}\right\} =e3tsin⁡(4t)\displaystyle = \shift{e^{3t}}\base{\sin(4t)}

Now suppose the denominator is multiplied out, as in L−1{4s2−6s+25}\transform{\mathcal{L}^{-1}}\left\{\base{\frac{4}{s^2 - 6s + 25}}\right\}. Whenever a quadratic s2+bs+cs^2 + bs + c does not factor into real roots, we group the ss terms into a single squared term by completing the square, adding and subtracting (b2)2\left(\frac{b}{2}\right)^2:

s2+bs+c\displaystyle s^2 + bs + c =(s2+bs+(b2)2)⏟(s+b2)2+c−(b2)2\displaystyle = \underbrace{\left(s^2 + bs + \left(\frac{b}{2}\right)^2\right)}_{\textstyle{\shifted{\left(s + \frac{b}{2}\right)}}^2} + c - \left(\frac{b}{2}\right)^2
Text solution
Complete the square in the denominatorTake half of −6-6, square it to get 99, and split 2525 into 9+169 + 16 so the ss terms group into (s−3)2{\shifted{(s - 3)}}^2.
4s2−6s+25\displaystyle \base{\frac{4}{s^2 - 6s + 25}} =4(s2−6s+9)+16\displaystyle = \base{\frac{4}{(s^2 - 6s + 9) + 16}} =4(s−3)2+16\displaystyle = \base{\frac{4}{{\shifted{(s - 3)}}^2 + 16}}
Pull out the exponential and invertPull out e3t\shift{e^{3t}} to remove the −3-3 shift, leaving the basic sine transform.
L−1{4(s−3)2+16}\displaystyle \transform{\mathcal{L}^{-1}}\left\{\base{\frac{4}{{\shifted{(s - 3)}}^2 + 16}}\right\} =e3tL−1{4s2+16}\displaystyle = \shift{e^{3t}}\transform{\mathcal{L}^{-1}}\left\{\base{\frac{4}{s^2 + 16}}\right\} =e3tsin⁡(4t)\displaystyle = \shift{e^{3t}}\base{\sin(4t)}

Next, suppose the numerator also has an ss, and its shift doesn't match the bottom: L−1{s+5(s−3)2+16}\transform{\mathcal{L}^{-1}}\left\{\base{\frac{s + 5}{{\shifted{(s - 3)}}^2 + 16}}\right\}.

Text solution
Put the denominator's shift into the numeratorWrite the (s−3)\shifted{(s - 3)} that the denominator needs on top, then add 88 so the numerator still equals s+5\base{s + 5}.
s+5(s−3)2+16\displaystyle \base{\frac{s + 5}{{\shifted{(s - 3)}}^2 + 16}} =(s−3)+8(s−3)2+16\displaystyle = \frac{\shifted{(s - 3)} + 8}{\base{{\shifted{(s - 3)}}^2 + 16}}
Split the fraction and pull out e3t\shift{e^{3t}}Separate the (s−3)\shifted{(s - 3)} part from the constant part so every ss in both fractions is shifted by −3-3.
L−1{s−3(s−3)2+16+8(s−3)2+16}=e3tL−1{ss2+16+8s2+16}\displaystyle \begin{aligned} &\transform{\mathcal{L}^{-1}}\Bigg\{\base{\frac{\shifted{s - 3}}{{\shifted{(s - 3)}}^2 + 16}} \\ &\qquad + \base{\frac{8}{{\shifted{(s - 3)}}^2 + 16}}\Bigg\} \\ &= \shift{e^{3t}}\transform{\mathcal{L}^{-1}}\left\{\base{\frac{s}{s^2 + 16}} + \base{\frac{8}{s^2 + 16}}\right\} \end{aligned}
Invert each pieceThe first fraction is cos⁡(4t)\base{\cos(4t)}, and since 8=2⋅48 = 2 \cdot 4, the second fraction is 2sin⁡(4t)2\base{\sin(4t)}.
=e3t(cos⁡(4t)+2sin⁡(4t))\displaystyle = \shift{e^{3t}}(\base{\cos(4t)} + 2\base{\sin(4t)})

So a numerator with a different shift splits into a cosine wave and a sine wave that share the same exponential factor e3t\shift{e^{3t}}.

3

Step Functions and the Second Shifting Theorem

Multiplying by an exponential in time shifts ss. Now we want the reverse: to find the Laplace transform of a function that stays turned off until t=at = a and then starts from the beginning.

To turn a function on at t=at = a, we multiply it by the unit step function u(t−a)\switch{u(t - a)}, which acts as a switch that is 00 before t=at = a and 11 from t=at = a onward.

t\htmlClass{lc-mute}{t}
11
33
u(t−3)\htmlClass{lc-orange}{u(t - 3)}
t\htmlClass{lc-mute}{t}
11
33
77
u(t−3)−u(t−7)\htmlClass{lc-orange}{u(t - 3)} - \htmlClass{lc-orange}{u(t - 7)}
Step Functions and the Second Shifting Theorem
t\htmlClass{lc-mute}{t}
t-world\text{t-world}
s-world\text{s-world}
× eat\htmlClass{lc-orange}{\times\, e^{at}}
s→s−a\htmlClass{lc-orange}{s \to s - a}
t→t−a\htmlClass{lc-orange}{t \to t - a}
× e ?\htmlClass{lc-orange}{\times\, e^{\,\htmlClass{lc-mute}{?}}}
f(t)\htmlClass{lc-blue}{f(t)}

Multiplying t2\base{t^2} by u(t−a)\switch{u(t - a)} alone only turns on an unshifted parabola that is already at height a2a^2 when the switch turns on, whereas (t−a)2u(t−a)\base{{\shifted{(t - a)}}^2} \switch{u(t - a)} shifts the vertex along with the switch so the parabola starts smoothly from zero at t=at = a.

Delaying the switch alone just cuts off the start of the curve, while shifting the time inside the curve too slides its whole start along with the switch.

When the shift inside the function matches the step function, delaying by aa in time multiplies the Laplace transform by e−as\shift{e^{-as}}:

L{f(t−a)u(t−a)⏟delayed by a}\displaystyle \transform{\mathcal{L}}\{\underbrace{\base{f}(\shifted{t - a})\switch{u(t - a)}}_{\text{delayed by } a}\} =e−as⏟delay factorF(s)\displaystyle = \underbrace{\shift{e^{-as}}}_{\text{delay factor}}\base{F(s)}

Notice the minus sign in e−as\shift{e^{-as}}: delaying a function to a later time t=a>0t = a > 0 gives a negative exponent in ss.

4

Using the Second Shifting Theorem

When we solve a differential equation with a delayed force, the ss-world answer contains a delay factor e−as\shift{e^{-as}}, so we need to find inverse transforms like L−1{e−3s⋅1s2}\transform{\mathcal{L}^{-1}}\left\{\shift{e^{-3s}} \cdot \base{\frac{1}{s^2}}\right\} and forward transforms of shifted functions like L{(t−4)3u(t−4)}\transform{\mathcal{L}}\{\base{{\shifted{(t - 4)}}^3} \switch{u(t - 4)}\}.

Using the Second Shifting Theorem
t-world\text{t-world}
s-world\text{s-world}
e−3s⋅1s2\htmlClass{lc-orange}{e^{-3s}}\cdot \htmlClass{lc-blue}{\dfrac{1}{s^2}}
L−1\htmlClass{lc-violet}{\mathcal{L}^{-1}}
??

First let's go backward from L−1{e−3s⋅1s2}\transform{\mathcal{L}^{-1}}\left\{\shift{e^{-3s}} \cdot \base{\frac{1}{s^2}}\right\}.

Text solution
Invert without the delay factorCover up e−3s\shift{e^{-3s}} and invert 1s2\base{\frac{1}{s^2}} from the basic table.
L−1{1s2}\displaystyle \transform{\mathcal{L}^{-1}}\left\{\base{\frac{1}{s^2}}\right\} =t\displaystyle = \base{t}
Delay the result by 33Uncover e−3s\shift{e^{-3s}}, replace tt with t−3\shifted{t - 3}, and attach u(t−3)\switch{u(t - 3)} so the line stays at 00 until t=3t = 3.
L−1{e−3s⋅1s2}\displaystyle \transform{\mathcal{L}^{-1}}\left\{\shift{e^{-3s}} \cdot \base{\frac{1}{s^2}}\right\} =(t−3)u(t−3)\displaystyle = \shifted{(t - 3)}\switch{u(t - 3)}

With a trig transform like L−1{e−πss2+1}\transform{\mathcal{L}^{-1}}\left\{\frac{\shift{e^{-\pi s}}}{\base{s^2 + 1}}\right\}, the same two steps turn 1s2+1\base{\frac{1}{s^2 + 1}} into sin⁡(t)\base{\sin(t)} and then delay it by π\pi seconds to get sin⁡(t−π)u(t−π)\base{\sin}(\shifted{t - \pi})\switch{u(t - \pi)}.

Going forward is just as direct when the function's shift already matches the step function, as in L{(t−4)3u(t−4)}\transform{\mathcal{L}}\{\base{{\shifted{(t - 4)}}^3} \switch{u(t - 4)}\}:

L{(t−4)3u(t−4)}\displaystyle \transform{\mathcal{L}}\{\base{{\shifted{(t - 4)}}^3} \switch{u(t - 4)}\} =e−4sL{t3}\displaystyle = \shift{e^{-4s}}\transform{\mathcal{L}}\{\base{t^3}\} =e−4s⋅6s4\displaystyle = \shift{e^{-4s}} \cdot \base{\frac{6}{s^4}}
5

When the Function Doesn't Match the Step Function

In most forward problems, the function is written in plain tt while the step function turns on at t=at = a, so we have to find transforms like L{t2u(t−3)}\transform{\mathcal{L}}\{\base{t^2} \switch{u(t - 3)}\}, L{e2tu(t−3)}\transform{\mathcal{L}}\{\base{e^{2t}}\switch{u(t - 3)}\}, or L{sin⁡(2t)u(t−3)}\transform{\mathcal{L}}\{\base{\sin(2t)}\switch{u(t - 3)}\}. Because the shifts don't match, we cannot pull out e−3s\shift{e^{-3s}} right away.

When the Function Doesn't Match the Step Function
L{t2 u(t−3)}\displaystyle \transform{\mathcal{L}}\{\base{t^2}\,\switch{u(t - 3)}\} =  ?\displaystyle = \;?

Let's start with the polynomial case, L{t2u(t−3)}\transform{\mathcal{L}}\{\base{t^2} \switch{u(t - 3)}\}.

Text solution
Rewrite tt to match the step functionReplace tt with (t−3)+3\shifted{(t - 3)} + 3 so the time variable matches u(t−3)\switch{u(t - 3)}.
t2u(t−3)\displaystyle \base{t^2} \switch{u(t - 3)} =((t−3)+3)2u(t−3)\displaystyle = (\shifted{(t - 3)} + 3)^2 \switch{u(t - 3)}
Expand in terms of (t−3)\shifted{(t - 3)}Multiply out the square while keeping (t−3)\shifted{(t - 3)} grouped together as a single piece.
=[(t−3)2+6(t−3)+9]u(t−3)\displaystyle = \left[{\shifted{(t - 3)}}^2 + 6\shifted{(t - 3)} + 9\right]\switch{u(t - 3)}
Pull out the delay factor and transform each termNow that every tt is grouped as (t−3)\shifted{(t - 3)}, pull out e−3s\shift{e^{-3s}} and transform each piece like a power of tt.
L{t2u(t−3)}\displaystyle \transform{\mathcal{L}}\{\base{t^2} \switch{u(t - 3)}\} =e−3sL{t2+6t+9}\displaystyle = \shift{e^{-3s}}\transform{\mathcal{L}}\{\base{t^2 + 6t + 9}\} =e−3s(2s3+6s2+9s)\displaystyle = \shift{e^{-3s}}\left(\base{\frac{2}{s^3} + \frac{6}{s^2} + \frac{9}{s}}\right)

The extra 6s2\base{\frac{6}{s^2}} and 9s\base{\frac{9}{s}} terms come from the parabola already being at height 99 with slope 66 when the switch turns on at t=3t = 3.

Now an exponential that doesn't match the step function: L{e2tu(t−3)}\transform{\mathcal{L}}\{\base{e^{2t}}\switch{u(t - 3)}\}. Remember that a sum in an exponent splits into a product of two exponentials:

eA+B\displaystyle e^{A + B} =eA⋅eB\displaystyle = e^A \cdot e^B
Text solution
Rewrite tt and distribute in the exponentReplace tt with (t−3)+3\shifted{(t - 3)} + 3 and multiply the 22 through while keeping (t−3)\shifted{(t - 3)} grouped.
e2tu(t−3)\displaystyle \base{e^{2t}}\switch{u(t - 3)} =e2((t−3)+3)u(t−3)\displaystyle = e^{2(\shifted{(t - 3)} + 3)}\switch{u(t - 3)} =e2(t−3)+6u(t−3)\displaystyle = e^{2\shifted{(t - 3)} + 6}\switch{u(t - 3)}
Split off the constant exponentialPull e6e^6 out in front as a constant multiplier so e2(t−3)\base{e^{2\shifted{(t - 3)}}} matches u(t−3)\switch{u(t - 3)}.
=e6⋅e2(t−3)u(t−3)\displaystyle = e^6 \cdot \base{e^{2\shifted{(t - 3)}}}\switch{u(t - 3)}
Pull out the delay factor and transformKeep the constant e6e^6, turn u(t−3)\switch{u(t - 3)} into e−3s\shift{e^{-3s}}, and transform e2t\base{e^{2t}} into 1s−2\base{\frac{1}{s - 2}}.
L{e2tu(t−3)}\displaystyle \transform{\mathcal{L}}\{\base{e^{2t}}\switch{u(t - 3)}\} =e6⋅e−3sL{e2t}\displaystyle = e^6 \cdot \shift{e^{-3s}}\transform{\mathcal{L}}\{\base{e^{2t}}\} =e6e−3ss−2\displaystyle = \frac{e^6 \shift{e^{-3s}}}{\base{s - 2}}

Now a trig function. When the step turns on at a multiple of π2\frac{\pi}{2}, such as L{sin⁡(t)u(t−π)}\transform{\mathcal{L}}\{\base{\sin(t)}\switch{u(t - \pi)}\}, rewriting tt as (t−π)+π\shifted{(t - \pi)} + \pi shifts the sine wave by half a cycle:

t\htmlClass{lc-mute}{t}
π\pi
2π2\pi
sin⁡(t)\htmlClass{lc-blue}{\sin(t)}
sin⁡(t−π)\htmlClass{lc-mute}{\sin(t - \pi)}
−sin⁡(t−π)-\htmlClass{lc-blue}{\sin}(\htmlClass{lc-orange}{t - \pi})
u(t−π)\htmlClass{lc-orange}{u(t - \pi)}
sin⁡((t−π)+π)u(t−π)=−sin⁡(t−π)u(t−π)  ⟹  L{sin⁡(t)u(t−π)}=−e−πss2+1\displaystyle \begin{aligned} &\sin(\shifted{(t - \pi)} + \pi)\switch{u(t - \pi)} \\ &= -\base{\sin}(\shifted{t - \pi})\switch{u(t - \pi)} \\ \implies &\transform{\mathcal{L}}\{\base{\sin(t)}\switch{u(t - \pi)}\} \\ &= -\frac{\shift{e^{-\pi s}}}{\base{s^2 + 1}} \end{aligned}

When the step turns on at a number like 33, as in L{sin⁡(2t)u(t−3)}\transform{\mathcal{L}}\{\base{\sin(2t)}\switch{u(t - 3)}\}, we separate the shifted angle from the constant angle using the trig addition identity:

sin⁡(A+B)\displaystyle \sin(A + B) =sin⁡(A)cos⁡(B)+cos⁡(A)sin⁡(B)\displaystyle = \sin(A)\cos(B) + \cos(A)\sin(B)
Text solution
Rewrite tt and distribute inside the angleReplace tt with (t−3)+3\shifted{(t - 3)} + 3 and multiply the 22 onto both parts while keeping (t−3)\shifted{(t - 3)} grouped.
sin⁡(2t)u(t−3)\displaystyle \base{\sin(2t)}\switch{u(t - 3)} =sin⁡(2((t−3)+3))u(t−3)\displaystyle = \sin(2(\shifted{(t - 3)} + 3))\switch{u(t - 3)} =sin⁡(2(t−3)+6)u(t−3)\displaystyle = \sin(2\shifted{(t - 3)} + 6)\switch{u(t - 3)}
Split the angle with the addition identityTreat 2(t−3)2\shifted{(t - 3)} as AA and 66 as BB so (t−3)\shifted{(t - 3)} is separated from the constant 66.
=[sin⁡(2(t−3))cos⁡(6)+cos⁡(2(t−3))sin⁡(6)]u(t−3)\displaystyle \begin{aligned} &= \Big[\base{\sin(2\shifted{(t - 3)})}\cos(6) \\ &\quad + \base{\cos(2\shifted{(t - 3)})}\sin(6)\Big]\switch{u(t - 3)} \end{aligned}
Pull out the delay factor and transformSince cos⁡(6)\cos(6) and sin⁡(6)\sin(6) are just constant numbers, pull out e−3s\shift{e^{-3s}} and transform sin⁡(2t)\base{\sin(2t)} and cos⁡(2t)\base{\cos(2t)}.
L{sin⁡(2t)u(t−3)}=e−3s(cos⁡(6)⋅2s2+4+sin⁡(6)⋅ss2+4)\displaystyle \begin{aligned} &\transform{\mathcal{L}}\{\base{\sin(2t)}\switch{u(t - 3)}\} \\ &= \shift{e^{-3s}}\Bigg(\cos(6) \cdot \base{\frac{2}{s^2 + 4}} \\ &\qquad + \sin(6) \cdot \base{\frac{s}{s^2 + 4}}\Bigg) \end{aligned}

In all three cases, replacing tt with (t−a)+a\shifted{(t - a)} + a and then transforming (t−a)\shifted{(t - a)} as tt gives the exact same result as replacing tt with t+a\shifted{t + a} right at the start:

L{f(t)u(t−a)}\displaystyle \transform{\mathcal{L}}\{\base{f(t)}\switch{u(t - a)}\} =e−asL{f(t+a)}\displaystyle = \shift{e^{-as}}\transform{\mathcal{L}}\{\base{f}(\shifted{t + a})\}

You can use either form on a test; if you use f(t+a)\base{f}(\shifted{t + a}), just be sure to put parentheses around (t+a)\shifted{(t + a)} so constants like the 22 in sin⁡(2(t+3))=sin⁡(2t+6)\sin(2\shifted{(t + 3)}) = \sin(2t + 6) distribute to aa as well.

6

Solving a Differential Equation with a Delayed Force

Now let's put both shifting theorems together to solve an initial value problem where an external force stays off for the first 33 seconds and then applies a decaying pulse to the system:

y′+2y=f(t),y(0)=1,where f(t)={0,0≤t<310e−2(t−3),t≥3\displaystyle \begin{aligned} \rate{y'} + 2\unknown{y} &= \force{f(t)}, \quad \unknown{y(0)} = \unknown{1}, \\ \quad \text{where } \force{f(t)} &= \begin{cases} 0, & 0 \le t < 3 \\ \force{10e^{-2\shifted{(t - 3)}}}, & t \ge 3 \end{cases} \end{aligned}

Remember that the Laplace transform of a first derivative brings in the initial condition:

L{y′}\displaystyle \transform{\mathcal{L}}\{\rate{y'}\} =sY(s)−y(0)\displaystyle = s\unknown{Y(s)} - \unknown{y(0)}
Solving a Differential Equation with a Delayed Force
t\htmlClass{lc-mute}{t}
y′+2y=f(t),y(0)=1\htmlClass{lc-pink}{y'} + 2\htmlClass{lc-blue}{y} = \htmlClass{lc-green}{f(t)},\quad \htmlClass{lc-blue}{y(0)} = \htmlClass{lc-blue}{1}
f(t)={0,0≤t<310e−2(t−3),t≥3\htmlClass{lc-green}{f(t)} = \begin{cases} \htmlClass{lc-green}{0}, & 0 \le t < 3\\ \htmlClass{lc-green}{10e^{-2\htmlClass{lc-orange}{(t-3)}}}, & t \ge 3\end{cases}
f(t)\htmlClass{lc-green}{f(t)}
1010
33
77
Text solution
Rewrite the delayed force with a step functionMultiply the pulse by u(t−3)\switch{u(t - 3)} so the differential equation holds for all t≥0t \ge 0 on a single line.
y′+2y\displaystyle \rate{y'} + 2\unknown{y} =10e−2(t−3)u(t−3),y(0)\displaystyle = \force{10e^{-2\shifted{(t - 3)}}}\switch{u(t - 3)}, \quad \unknown{y(0)} =1\displaystyle = \unknown{1}
Transform both sidesSubstitute y(0)=1\unknown{y(0)} = \unknown{1} on the left; on the right, (t−3)\shifted{(t - 3)} already matches u(t−3)\switch{u(t - 3)}, so pull out e−3s\shift{e^{-3s}} and shift L{10}=10s\transform{\mathcal{L}}\{\force{10}\} = \force{\frac{10}{s}} to 10s+2\force{\frac{10}{\shifted{s + 2}}}.
sY(s)−1+2Y(s)\displaystyle s\unknown{Y(s)} - \unknown{1} + 2\unknown{Y(s)} =e−3s⋅10s+2\displaystyle = \shift{e^{-3s}} \cdot \force{\frac{10}{\shifted{s + 2}}}
Solve for Y(s)\unknown{Y(s)}Add 1\unknown{1} to both sides, factor (s+2)(s + 2) out of the left side, and divide through by (s+2)(s + 2).
(s+2)Y(s)=1+e−3s⋅10s+2  ⟹  Y(s)=1s+2+e−3s⋅10(s+2)2\displaystyle \begin{aligned} (s + 2)\unknown{Y(s)} &= \unknown{1} + \shift{e^{-3s}} \cdot \force{\frac{10}{\shifted{s + 2}}} \\ \implies \unknown{Y(s)} &= \frac{1}{\shifted{s + 2}} \\ &\quad + \shift{e^{-3s}} \cdot \force{\frac{10}{{\shifted{(s + 2)}}^2}} \end{aligned}
Invert the first term and the unshifted pulseThe first term inverts to e−2t\shift{e^{-2t}}; for the second term, cover up e−3s\shift{e^{-3s}} and pull out e−2t\shift{e^{-2t}} to invert 10s2\force{\frac{10}{s^2}} into 10t\force{10t}.
L−1{1s+2}=e−2t,L−1{10(s+2)2}=e−2tL−1{10s2}=10te−2t\displaystyle \begin{aligned} \transform{\mathcal{L}^{-1}}\left\{\frac{1}{\shifted{s + 2}}\right\} &= \shift{e^{-2t}}, \\ \transform{\mathcal{L}^{-1}}\left\{\force{\frac{10}{{\shifted{(s + 2)}}^2}}\right\} &= \shift{e^{-2t}}\transform{\mathcal{L}^{-1}}\left\{\force{\frac{10}{s^2}}\right\} \\ &= \force{10t}\shift{e^{-2t}} \end{aligned}
Apply the time delay to the second termUncover e−3s\shift{e^{-3s}}, replace every tt in 10te−2t\force{10t}\shift{e^{-2t}} with (t−3)\shifted{(t - 3)}, and attach u(t−3)\switch{u(t - 3)}.
y(t)\displaystyle \unknown{y(t)} =e−2t+10(t−3)e−2(t−3)u(t−3)\displaystyle = e^{-2t} + \force{10\shifted{(t - 3)}e^{-2\shifted{(t - 3)}}}\switch{u(t - 3)}

So the system decays along e−2te^{-2t} from t=0t = 0 to t=3t = 3, and right at t=3t = 3 the second term turns on from zero, rising sharply before decaying back toward zero.

Before t=at = a, the system follows its natural decay e−2te^{-2t} because the force hasn't turned on yet. Changing the turn-on time aa simply slides the pulse's response curve 10(t−a)e−2(t−a)u(t−a)\force{10\shifted{(t - a)}e^{-2\shifted{(t - a)}}}\switch{u(t - a)} along that decay curve so it branches off at t=at = a.

Before the pulse hits, the system always follows the same natural decay from its starting height, and changing when the strike happens just slides the same surge along in time.

Key concepts

Both shifting theorems come down to a single symmetry: multiplying by an exponential in one world shifts the variable in the other world. Whenever you see an exponential, ask which variable is in the exponent.

An exponential in time, eat\shift{e^{at}}, shifts the frequency variable from ss to s−a\shifted{s - a}:

L{eatf(t)}\displaystyle \transform{\mathcal{L}}\{\shift{e^{at}}\base{f(t)}\} =F(s−a)\displaystyle = \base{F}(\shifted{s - a})

Going forward, cover up eat\shift{e^{at}}, transform f(t)\base{f(t)}, and replace every ss with s−a\shifted{s - a}, as in L{e−2tcos⁡(5t)}=s+2(s+2)2+25\transform{\mathcal{L}}\{\shift{e^{-2t}}\base{\cos(5t)}\} = \base{\frac{\shifted{s + 2}}{{\shifted{(s + 2)}}^2 + 25}}. Going backward, you can only pull eat\shift{e^{at}} out of L−1\transform{\mathcal{L}^{-1}} when every ss in the fraction is grouped inside (s−a)\shifted{(s - a)}. If a quadratic denominator like s2−6s+25s^2 - 6s + 25 doesn't factor into real roots, complete the square to get (s−3)2+16{\shifted{(s - 3)}}^2 + 16, whereas if the denominator factors into real roots like (s−2)(s−3)(s - 2)(s - 3), use partial fractions instead of completing the square. If an ss in the numerator doesn't match the denominator's shift, write the shift you need on top and adjust the constant: s+5(s−3)2+16=(s−3)+8(s−3)2+16\base{\frac{s + 5}{{\shifted{(s - 3)}}^2 + 16}} = \frac{\shifted{(s - 3)} + 8}{\base{{\shifted{(s - 3)}}^2 + 16}}.

An exponential in frequency, e−as\shift{e^{-as}}, delays the time variable from tt to t−a\shifted{t - a} and turns the function on at t=at = a with u(t−a)\switch{u(t - a)}:

L{f(t−a)u(t−a)}\displaystyle \transform{\mathcal{L}}\{\base{f}(\shifted{t - a})\switch{u(t - a)}\} =e−asF(s)\displaystyle = \shift{e^{-as}}\base{F(s)}

Going backward from e−asF(s)\shift{e^{-as}}\base{F(s)}, cover up e−as\shift{e^{-as}}, invert F(s)\base{F(s)} to get f(t)\base{f(t)}, and then replace every tt with (t−a)\shifted{(t - a)} and attach u(t−a)\switch{u(t - a)}, as in L−1{e−3s⋅10(s+2)2}=10(t−3)e−2(t−3)u(t−3)\transform{\mathcal{L}^{-1}}\left\{\shift{e^{-3s}} \cdot \force{\frac{10}{{\shifted{(s + 2)}}^2}}\right\} = \force{10\shifted{(t - 3)}e^{-2\shifted{(t - 3)}}}\switch{u(t - 3)}. Going forward, check whether the function's tt is already shifted to match u(t−a)\switch{u(t - a)}: in (t−4)3u(t−4)\base{{\shifted{(t - 4)}}^3} \switch{u(t - 4)}, the (t−4)\shifted{(t - 4)} already matches, so don't rewrite tt; just pull out e−4s\shift{e^{-4s}} and transform t3→6s4\base{t^3} \to \base{\frac{6}{s^4}}. Only when the function has plain tt alongside u(t−a)\switch{u(t - a)}, like t2u(t−3)\base{t^2} \switch{u(t - 3)}, e2tu(t−3)\base{e^{2t}}\switch{u(t - 3)}, or sin⁡(2t)u(t−3)\base{\sin(2t)}\switch{u(t - 3)}, do you replace tt with (t−a)+a\shifted{(t - a)} + a (or e−asL{f(t+a)}\shift{e^{-as}}\transform{\mathcal{L}}\{\base{f}(\shifted{t + a})\}) and expand in terms of (t−a)\shifted{(t - a)} by multiplying out the square, splitting the exponent, or using the angle-addition identity.

7

Practice

1

Find the Laplace transform of f(t)=e−3tcos⁡(2t)f(t) = e^{-3t}\cos(2t).

Cover up e−3te^{-3t} and transform cos⁡(2t)\cos(2t) first. Where does ss show up in that fraction?

Transform cos⁡(2t)\base{\cos(2t)} without the exponential:
L{cos⁡(2t)}\displaystyle \transform{\mathcal{L}}\{\base{\cos(2t)}\} =ss2+4\displaystyle = \base{\frac{s}{s^2 + 4}}
Replace every ss with s−(−3)=s+3\shifted{s - (-3)} = \shifted{s + 3}. (Be careful: shifting only the bottom gives s(s+3)2+4\frac{s}{(s + 3)^2 + 4}, and forgetting the minus sign in s−as - a gives s−3(s−3)2+4\frac{s - 3}{(s - 3)^2 + 4}.)
Answers+3(s+3)2+4\frac{s + 3}{(s + 3)^2 + 4}
2

Find the inverse Laplace transform of F(s)=6s2−4s+13F(s) = \frac{6}{s^2 - 4s + 13}.

The denominator doesn't factor into real roots; what number completes the square on s2−4ss^2 - 4s?

Take half of −4-4, square it to get 44, and split 1313 into 4+94 + 9:
6s2−4s+13\displaystyle \base{\frac{6}{s^2 - 4s + 13}} =6(s2−4s+4)+9\displaystyle = \base{\frac{6}{(s^2 - 4s + 4) + 9}} =6(s−2)2+9\displaystyle = \base{\frac{6}{{\shifted{(s - 2)}}^2 + 9}}
Pull out e2t\shift{e^{2t}} and invert 6s2+9=2⋅3s2+32\base{\frac{6}{s^2 + 9}} = 2 \cdot \base{\frac{3}{s^2 + 3^2}}. (Be careful: forgetting that L{sin⁡(3t)}\mathcal{L}\{\sin(3t)\} needs a 33 on top leaves the 66 untouched and gives 6e2tsin⁡(3t)6e^{2t}\sin(3t).)
Answer2e2tsin⁡(3t)2e^{2t}\sin(3t)
3

Find the inverse Laplace transform of F(s)=s−1(s+2)2+9F(s) = \frac{s - 1}{(s + 2)^2 + 9}.

The denominator has (s+2)(s + 2). How can you rewrite s−1s - 1 on top so it starts with (s+2)(s + 2)?

Write (s+2)\shifted{(s + 2)} in the numerator and subtract 33 to keep it equal to s−1\base{s - 1}:
s−1(s+2)2+9\displaystyle \base{\frac{s - 1}{{\shifted{(s + 2)}}^2 + 9}} =(s+2)−3(s+2)2+9\displaystyle = \frac{\shifted{(s + 2)} - 3}{\base{{\shifted{(s + 2)}}^2 + 9}} =s+2(s+2)2+9−3(s+2)2+9\displaystyle = \base{\frac{\shifted{s + 2}}{{\shifted{(s + 2)}}^2 + 9}} - \base{\frac{3}{{\shifted{(s + 2)}}^2 + 9}}
(Be careful: pulling e−2te^{-2t} straight out without matching the numerator first leaves s−1s - 1 on top and gives e−2t(cos⁡(3t)−13sin⁡(3t))e^{-2t}\left(\cos(3t) - \frac{1}{3}\sin(3t)\right).)
Pull out e−2t\shift{e^{-2t}} and invert ss2+9−3s2+9\base{\frac{s}{s^2 + 9}} - \base{\frac{3}{s^2 + 9}}.
Answere−2t(cos⁡(3t)−sin⁡(3t))e^{-2t}(\cos(3t) - \sin(3t))
4

Find the inverse Laplace transform of F(s)=2e−5ss3F(s) = \frac{2e^{-5s}}{s^3}.

Cover up the delay factor e−5se^{-5s} first. What function of tt has transform 2s3\frac{2}{s^3}?

Invert without the delay factor:
L−1{2s3}\displaystyle \transform{\mathcal{L}^{-1}}\left\{\base{\frac{2}{s^3}}\right\} =t2\displaystyle = \base{t^2}
Apply e−5s\shift{e^{-5s}} by replacing tt with t−5\shifted{t - 5} and attaching u(t−5)\switch{u(t - 5)}. (Be careful: attaching u(t−5)u(t - 5) without shifting tt inside the function gives t2u(t−5)t^2 u(t - 5).)
Answer(t−5)2u(t−5)(t - 5)^2 u(t - 5)
5

Find the Laplace transform of f(t)=t2u(t−4)f(t) = t^2 u(t - 4).

The tt in t2t^2 doesn't match u(t−4)u(t - 4); how do you rewrite tt using (t−4)(t - 4) before squaring?

Replace tt with (t−4)+4\shifted{(t - 4)} + 4 and expand in terms of (t−4)\shifted{(t - 4)}:
t2u(t−4)\displaystyle \base{t^2} \switch{u(t - 4)} =((t−4)+4)2u(t−4)\displaystyle = (\shifted{(t - 4)} + 4)^2 \switch{u(t - 4)} =[(t−4)2+8(t−4)+16]u(t−4)\displaystyle = \left[{\shifted{(t - 4)}}^2 + 8\shifted{(t - 4)} + 16\right]\switch{u(t - 4)}
(Be careful: pulling out e−4se^{-4s} and transforming t2t^2 directly without rewriting tt gives 2e−4ss3\frac{2e^{-4s}}{s^3}, which is the transform of (t−4)2u(t−4)(t - 4)^2 u(t - 4).)
Pull out e−4s\shift{e^{-4s}} and transform t2+8t+16\base{t^2 + 8t + 16}.
Answere−4s(2s3+8s2+16s)e^{-4s}\left(\frac{2}{s^3} + \frac{8}{s^2} + \frac{16}{s}\right)
6

Find the Laplace transform of f(t)=e−2tu(t−3)f(t) = e^{-2t}u(t - 3).

Replace tt in the exponent with (t−3)+3(t - 3) + 3. What constant exponential pulls out in front?

Rewrite tt and distribute −2-2 in the exponent:
e−2((t−3)+3)u(t−3)\displaystyle e^{-2(\shifted{(t - 3)} + 3)}\switch{u(t - 3)} =e−2(t−3)−6u(t−3)\displaystyle = e^{-2\shifted{(t - 3)} - 6}\switch{u(t - 3)} =e−6e−2(t−3)u(t−3)\displaystyle = e^{-6}\base{e^{-2\shifted{(t - 3)}}}\switch{u(t - 3)}
(Be careful: forgetting to distribute −2-2 onto +3+3 in the exponent gives e3⋅e−3ss+2e^3 \cdot \frac{e^{-3s}}{s + 2}, and dropping the constant factor altogether gives e−3ss+2\frac{e^{-3s}}{s + 2}.)
Pull out e−3s\shift{e^{-3s}} and transform e−2t→1s+2\base{e^{-2t}} \to \base{\frac{1}{s + 2}}.
Answere−6⋅e−3ss+2e^{-6} \cdot \frac{e^{-3s}}{s + 2}
7

Find the Laplace transform of f(t)=sin⁡(3t)u(t−2)f(t) = \sin(3t)u(t - 2).

After replacing tt with (t−2)+2(t - 2) + 2 inside sin⁡(3t)\sin(3t), which trig identity separates the (t−2)(t - 2) term from the constant angle?

Rewrite tt as (t−2)+2\shifted{(t - 2)} + 2 and distribute the 33:
sin⁡(3((t−2)+2))u(t−2)\displaystyle \sin(3(\shifted{(t - 2)} + 2))\switch{u(t - 2)} =sin⁡(3(t−2)+6)u(t−2)\displaystyle = \sin(3\shifted{(t - 2)} + 6)\switch{u(t - 2)}
(Be careful: forgetting to multiply the +2+2 by 33 inside the sine leaves +2+2 instead of +6+6, giving e−2s(cos⁡(2)⋅3s2+9+sin⁡(2)⋅ss2+9)e^{-2s}\left(\cos(2) \cdot \frac{3}{s^2 + 9} + \sin(2) \cdot \frac{s}{s^2 + 9}\right).)
Split the angle using sin⁡(A+B)=sin⁡(A)cos⁡(B)+cos⁡(A)sin⁡(B)\sin(A + B) = \sin(A)\cos(B) + \cos(A)\sin(B):
=[sin⁡(3(t−2))cos⁡(6)+cos⁡(3(t−2))sin⁡(6)]u(t−2)\displaystyle = \left[\base{\sin(3\shifted{(t - 2)})}\cos(6) + \base{\cos(3\shifted{(t - 2)})}\sin(6)\right]\switch{u(t - 2)}
Pull out e−2s\shift{e^{-2s}} and transform sin⁡(3t)\base{\sin(3t)} and cos⁡(3t)\base{\cos(3t)}.
Answere−2s(cos⁡(6)⋅3s2+9+sin⁡(6)⋅ss2+9)e^{-2s}\left(\cos(6) \cdot \frac{3}{s^2 + 9} + \sin(6) \cdot \frac{s}{s^2 + 9}\right)
8

Solve the initial value problem y′−3y=f(t)y' - 3y = f(t), y(0)=2y(0) = 2, where f(t)=0f(t) = 0 for 0≤t<40 \le t < 4 and f(t)=6e3(t−4)f(t) = 6e^{3(t - 4)} for t≥4t \ge 4.

Write f(t)f(t) on one line with u(t−4)u(t - 4). Do the shifts in 6e3(t−4)6e^{3(t - 4)} and u(t−4)u(t - 4) already match?

Write the equation with a step function and transform both sides:
y′−3y=6e3(t−4)u(t−4)  ⟹  sY(s)−2−3Y(s)=e−4s⋅6s−3\displaystyle \begin{aligned} \rate{y'} - 3\unknown{y} &= \force{6e^{3\shifted{(t - 4)}}}\switch{u(t - 4)} \\ \implies s\unknown{Y(s)} - \unknown{2} - 3\unknown{Y(s)} &= \shift{e^{-4s}} \cdot \force{\frac{6}{\shifted{s - 3}}} \end{aligned}
Solve for Y(s)\unknown{Y(s)}:
Y(s)\displaystyle \unknown{Y(s)} =2s−3+e−4s⋅6(s−3)2\displaystyle = \frac{2}{\shifted{s - 3}} + \shift{e^{-4s}} \cdot \force{\frac{6}{{\shifted{(s - 3)}}^2}}
The first term inverts to 2e3t2\shift{e^{3t}}. For the second term, cover up e−4s\shift{e^{-4s}} to get L−1{6(s−3)2}=6te3t\transform{\mathcal{L}^{-1}}\left\{\force{\frac{6}{{\shifted{(s - 3)}}^2}}\right\} = \force{6t}\shift{e^{3t}}, then apply the delay e−4s\shift{e^{-4s}} by replacing every tt with (t−4)\shifted{(t - 4)} and attaching u(t−4)\switch{u(t - 4)}. (Be careful: shifting only the tt in 6t6t or only the tt in e3te^{3t} gives 6(t−4)e3tu(t−4)6(t - 4)e^{3t}u(t - 4) or 6te3(t−4)u(t−4)6te^{3(t - 4)}u(t - 4).)
Answery(t)=2e3t+6(t−4)e3(t−4)u(t−4)y(t) = 2e^{3t} + 6(t - 4)e^{3(t - 4)}u(t - 4)