Differential EquationsThe Laplace Transform7 of 8
The Laplace Transform · 7

Convolution

We know how a system responds to a single hammer hit δ(t)\force{\delta(t)}, and now we need a way to find its motion y(t)\output{y(t)} when the external force f(t)\force{f(t)} pushes on it continuously.

1

The Impulse Response and Discrete Hits

The impulse response h(t)\system{h(t)} is how a system starting at rest reacts to a single unit hammer hit δ(t)\force{\delta(t)} at t=0t = 0. Once we know that one curve, we can build the response to any sequence of hits.

The Impulse Response and Discrete Hits
y′′+2y′+10y=f(t)y'' + 2y' + 10y = \htmlClass{lc-green}{f(t)}

Because the differential equation is linear with constant coefficients, a hit at t=0t = 0 of strength 5\force{5} and a hit at t=3t = 3 of strength 2\force{2} simply add their scaled, shifted responses:

y(t)\displaystyle \output{y(t)} =5⏟strengthh(t−0⏟age of hit at 0)+2⏟strengthh(t−3⏟age of hit at 3)\displaystyle = \underbrace{\force{5}}_{\force{\text{strength}}} \system{h}(\underbrace{\age{t - 0}}_{\age{\text{age of hit at } 0}}) + \underbrace{\force{2}}_{\force{\text{strength}}} \system{h}(\underbrace{\age{t - 3}}_{\age{\text{age of hit at } 3}})

A later hit triggers a new copy of h\system{h} that adds directly on top of the still-fading response from the first hit.

Each new hit starts a fresh copy of the same ring that adds right onto the motion still going from earlier hits.
2

Building the Convolution Integral

Now suppose the external force f(t)\force{f(t)} isn't a few separate hits, but a smooth, continuous push. How can we build the system's position y(t)\output{y(t)} at a present time tt out of its impulse response h(t)\system{h(t)}?

Building the Convolution Integral
f(t)\htmlClass{lc-green}{f(t)}
00
NOW\text{NOW}
tt
y(t)=  ?\htmlClass{lc-blue}{y(t)} = \;?
00
τ\tau
NOW\text{NOW}
τ\tau
tt
f(τ)\htmlClass{lc-green}{f(\tau)}
f(τ) dτ\htmlClass{lc-green}{f(\tau)\,d\tau}
dτ\htmlClass{lc-green}{d\tau}
f(τ) h(t−τ) dτ\htmlClass{lc-green}{f(\tau)}\,\htmlClass{lc-violet}{h(\htmlClass{lc-orange}{t-\tau})}\,\htmlClass{lc-green}{d\tau}
t−τ\htmlClass{lc-orange}{t-\tau}

At any past moment τ\tau, pushing with force f(τ)\force{f(\tau)} over a tiny interval dτ\force{d\tau} acts as a small hammer hit of strength f(τ) dτ\force{f(\tau)\,d\tau} whose age at the present time tt is t−τ\age{t - \tau}. Adding up these lingering responses from τ=0\tau = 0 to τ=t\tau = t gives the convolution of f\force{f} and h\system{h}:

y(t)\displaystyle \output{y(t)} =(f∗h)(t)\displaystyle = (\force{f} * \system{h})(t) =∫0tf(τ) dτ⏟strength at τ⋅h(t−τ⏞age)⏟lingering response at t\displaystyle = \int_0^t \underbrace{\force{f(\tau)\,d\tau}}_{\force{\text{strength at }\tau}} \cdot \underbrace{\system{h(\overbrace{\age{t - \tau}}^{\age{\text{age}}})}}_{\system{\text{lingering response at }t}}

The star ∗* stands for this integral over the past, not multiplication. Because convolution works in either order,

(f∗h)(t)\displaystyle (\force{f} * \system{h})(t) =(h∗f)(t)\displaystyle = (\system{h} * \force{f})(t) =∫0th(τ)f(t−τ) dτ\displaystyle = \int_0^t \system{h(\tau)}\force{f(\age{t - \tau})}\,d\tau

we can place the shifted variable t−τ\age{t - \tau} inside whichever function makes the algebra simpler.

On the past-time τ\tau axis, h(t−τ)\system{h(\age{t - \tau})} is flipped backward so its start, h(0)\system{h(0)}, sits at the present τ=t\tau = t and its faded tail reaches back toward τ=0\tau = 0. As tt moves forward, this flipped curve slides across f(τ)\force{f(\tau)} like a memory window, weighting the input at each past moment by how much a hit of that age is still ringing, so older inputs fade out.

At any moment, the output is the past input weighted by a sliding memory window trailing behind the present.
3

Solving a Differential Equation with Convolution

Let's use the convolution integral to solve an initial value problem starting at rest:

y′+2y\displaystyle y' + 2y =e−t,y(0)\displaystyle = \force{e^{-t}}, \quad \output{y(0)} =0\displaystyle = 0

To find the system's impulse response h(t)\system{h(t)} first, we replace the forcing term on the right with a unit impulse δ(t)\force{\delta(t)} and use L{δ(t)}=1\mathcal{L}\{\force{\delta(t)}\} = \force{1}.

Solving a Differential Equation with Convolution
y′+2y=e−t,y(0)=0y(t)=  ?\displaystyle \begin{aligned}y' + 2y &= \force{e^{-t}}, \quad \output{y(0)} = 0\\[8pt] \output{y(t)} &= \;?\end{aligned}
Text solution
1. Replace the forcing function with δ(t)\force{\delta(t)} to find the impulse response h(t)\system{h(t)}Take the Laplace transform of the unit-hit equation and invert H(s)\system{H(s)} to get the system's response to a single hit at t=0t = 0.
h′+2h=δ(t),h(0)=0sH(s)+2H(s)=1H(s)=1s+2h(t)=e−2t\displaystyle \begin{aligned} \system{h' + 2h} &= \force{\delta(t)}, \quad \system{h(0)} = 0 \\ s\system{H(s)} + 2\system{H(s)} &= \force{1} \\ \system{H(s)} &= \system{\frac{1}{s + 2}} \\ \system{h(t)} &= \system{e^{-2t}} \end{aligned}
2. Substitute f(τ)\force{f(\tau)} and h(t−τ)\system{h(\age{t - \tau})} into the convolution integralReplace tt with τ\tau in the input force f(t)=e−t\force{f(t)} = \force{e^{-t}}, and replace tt with the age t−τ\age{t - \tau} in the impulse response h(t)=e−2t\system{h(t)} = \system{e^{-2t}}.
y(t)\displaystyle \output{y(t)} =∫0te−τe−2(t−τ) dτ\displaystyle = \int_0^t \force{e^{-\tau}} \system{e^{-2(\age{t - \tau})}}\,d\tau
3. Pull the e−2t\system{e^{-2t}} factor outside the integral and integrate with respect to τ\tauSplit the exponent −2(t−τ)\system{-2(\age{t - \tau})} into −2t+2τ\system{-2t + 2\tau}, factor e−2t\system{e^{-2t}} out front since tt is fixed while τ\tau varies, and evaluate from τ=0\tau = 0 to τ=t\tau = t.
y(t)=∫0te−τe−2te2τ dτ=e−2t∫0teτ dτ=e−2t[eτ]τ=0τ=t=e−2t(et−1)=e−t−e−2t\displaystyle \begin{aligned} \output{y(t)} &= \int_0^t \force{e^{-\tau}} \system{e^{-2t} e^{2\tau}}\,d\tau \\ &= \system{e^{-2t}} \int_0^t e^{\tau}\,d\tau \\ &= \system{e^{-2t}}\Big[e^{\tau}\Big]_{\tau = 0}^{\tau = t} \\ &= \system{e^{-2t}}(e^t - 1) \\ &= \force{e^{-t}} - \system{e^{-2t}} \end{aligned}

So the motion y(t)=e−t−e−2t\output{y(t)} = \force{e^{-t}} - \system{e^{-2t}} starts at y(0)=0\output{y(0)} = 0 and combines the external e−t\force{e^{-t}} push with the system's own e−2t\system{e^{-2t}} decay.

4

The Convolution Theorem and Resonance

When a constant-coefficient system starts at rest, taking the Laplace transform turns the differential equation into Y(s)=F(s)⋅H(s)\output{Y(s)} = \force{F(s)}\cdot \system{H(s)}, the product of the input transform F(s)\force{F(s)} and the system's transfer function H(s)\system{H(s)}. Because Y(s)\output{Y(s)} in ss and (f∗h)(t)(\force{f} * \system{h})(t) in tt represent the exact same solution y(t)\output{y(t)}, multiplication in ss corresponds to convolution in tt:

L{(f∗h)(t)}\displaystyle \mathcal{L}\{(\force{f} * \system{h})(t)\} =F(s)⋅H(s)⟺L−1{F(s)⋅H(s)}\displaystyle = \force{F(s)}\cdot \system{H(s)} \qquad \Longleftrightarrow \qquad \mathcal{L}^{-1}\{\force{F(s)}\cdot \system{H(s)}\} =∫0tf(τ)h(t−τ) dτ\displaystyle = \int_0^t \force{f(\tau)}\system{h(\age{t - \tau})}\,d\tau

This is the Convolution Theorem. Notice what it warns against: L−1{F(s)H(s)}\mathcal{L}^{-1}\{\force{F(s)}\system{H(s)}\} is not f(t)h(t)\force{f(t)}\system{h(t)}, because the system has memory of past inputs.

The backward direction lets us find an inverse Laplace transform when partial fractions cannot split a repeated quadratic denominator any further:

Y(s)\displaystyle \output{Y(s)} =1(s2+4)2\displaystyle = \frac{1}{(s^2 + 4)^2}

To integrate the product of two sines that appears when we convolve the pieces, we use the product-to-sum identity:

sin⁡(A)sin⁡(B)\displaystyle \sin(\force{A})\sin(\system{B}) =12[cos⁡(A−B)−cos⁡(A+B)]\displaystyle = \frac{1}{2}\big[\cos(\force{A} - \system{B}) - \cos(\force{A} + \system{B})\big]
The Convolution Theorem and Resonance
time world\htmlClass{lc-mute}{\text{time world}}
s-world\htmlClass{lc-mute}{s\text{-world}}
y(t)=(f∗h)(t)\htmlClass{lc-blue}{y(t)} = (\htmlClass{lc-green}{f} * \htmlClass{lc-violet}{h})(t)
L\htmlClass{lc-violet}{\mathcal{L}}
Y(s)=  ?\htmlClass{lc-blue}{Y(s)} = \;?
Text solution
1. Factor Y(s)\output{Y(s)} into two simple transforms and invert each pieceWrite the squared fraction as the product of two identical factors, each matching L{12sin⁡(2t)}=1s2+4\mathcal{L}\left\{\frac{1}{2}\sin(2t)\right\} = \frac{1}{s^2 + 4}.
Y(s)\displaystyle \output{Y(s)} =1s2+4⏟F(s)⋅1s2+4⏟H(s)  ⟹  f(t)\displaystyle = \underbrace{\force{\frac{1}{s^2 + 4}}}_{\force{F(s)}} \cdot \underbrace{\system{\frac{1}{s^2 + 4}}}_{\system{H(s)}} \implies \force{f(t)} =12sin⁡(2t),h(t)\displaystyle = \force{\frac{1}{2}\sin(2t)}, \quad \system{h(t)} =12sin⁡(2t)\displaystyle = \system{\frac{1}{2}\sin(2t)}
2. Set up the convolution integral and turn the product of sines into a difference of cosinesApply sin⁡(A)sin⁡(B)=12[cos⁡(A−B)−cos⁡(A+B)]\sin(\force{A})\sin(\system{B}) = \frac{1}{2}[\cos(\force{A} - \system{B}) - \cos(\force{A} + \system{B})] with A=2τ\force{A} = \force{2\tau} and B=2t−2τ\system{B} = \system{2t - 2\tau}, which cancels τ\tau inside the second cosine.
y(t)=∫0t12sin⁡(2τ)⋅12sin⁡(2(t−τ)) dτ=14∫0tsin⁡(2τ)sin⁡(2t−2τ) dτ=18∫0t[cos⁡(4τ−2t)−cos⁡(2t)] dτ\displaystyle \begin{aligned} \output{y(t)} &= \int_0^t \force{\frac{1}{2}\sin(2\tau)}\cdot\system{\frac{1}{2}\sin(2(\age{t - \tau}))}\,d\tau \\ &= \frac{1}{4}\int_0^t \force{\sin(2\tau)}\system{\sin(2t - 2\tau)}\,d\tau \\ &= \frac{1}{8}\int_0^t \big[\cos(4\tau - 2t) - \cos(2t)\big]\,d\tau \end{aligned}
3. Integrate with respect to τ\tau while treating cos⁡(2t)\cos(2t) as a constantDivide by the τ\tau-coefficient 44 on the first term, integrate the constant cos⁡(2t)\cos(2t) (which has no τ\tau) to τcos⁡(2t)\tau\cos(2t), and evaluate from τ=0\tau = 0 to τ=t\tau = t using sin⁡(−2t)=−sin⁡(2t)\sin(-2t) = -\sin(2t).
y(t)=18[14sin⁡(4τ−2t)−τcos⁡(2t)]τ=0τ=t=18[(14sin⁡(2t)−tcos⁡(2t))−(14sin⁡(−2t)−0)]=18[14sin⁡(2t)−tcos⁡(2t)+14sin⁡(2t)]=18[12sin⁡(2t)−tcos⁡(2t)]=116sin⁡(2t)−18tcos⁡(2t)\displaystyle \begin{aligned} \output{y(t)} &= \frac{1}{8}\left[\frac{1}{4}\sin(4\tau - 2t) - \tau\cos(2t)\right]_{\tau = 0}^{\tau = t} \\ &= \frac{1}{8}\left[\left(\frac{1}{4}\sin(2t) - t\cos(2t)\right) - \left(\frac{1}{4}\sin(-2t) - 0\right)\right] \\ &= \frac{1}{8}\left[\frac{1}{4}\sin(2t) - t\cos(2t) + \frac{1}{4}\sin(2t)\right] \\ &= \frac{1}{8}\left[\frac{1}{2}\sin(2t) - t\cos(2t)\right] \\ &= \frac{1}{16}\sin(2t) - \frac{1}{8}t\cos(2t) \end{aligned}

Because the input frequency matches the natural frequency, τ\tau cancels inside cos⁡(2t)\cos(2t), and integrating that constant from 00 to tt produces the resonance term −18tcos⁡(2t)-\frac{1}{8}t\cos(2t) whose amplitude grows without bound.

When the driving frequency differs from the natural frequency, the positive and negative parts of f(τ)h(t−τ)\force{f(\tau)}\system{h(\age{t - \tau})} mostly cancel, so the output stays bounded. When the frequencies match, f(τ)\force{f(\tau)} and h(t−τ)\system{h(\age{t - \tau})} stay in sync from 00 to tt, and the product adds up into a swing whose amplitude grows in proportion to tt.

When the input wave's frequency matches the impulse response's, their product stops canceling and stays positive, making the output's swings grow steadily over time.
5

Free Response and Forced Response

What if the system does not start at rest, and the forcing function f(t)\force{f(t)} is left as any function f(t)\force{f(t)}? Let's find the complete solution to

y′′+4y\displaystyle y'' + 4y =f(t),y(0)\displaystyle = \force{f(t)}, \quad \output{y(0)} =3,y′(0)\displaystyle = 3, \quad \velocity{y'(0)} =−2\displaystyle = -2
Free Response and Forced Response
00
33
f(t)\htmlClass{lc-green}{f(t)}
y′′+4y=f(t)y(0)=3y′(0)=−2y(t)=  ?\begin{aligned}y'' + 4y &= \htmlClass{lc-green}{f(t)}\\ \htmlClass{lc-blue}{y(0)} &= 3\\ \htmlClass{lc-pink}{y'(0)} &= -2\\[10pt] \htmlClass{lc-blue}{y(t)} &= \;?\end{aligned}
Text solution
1. Transform the equation and separate the initial-condition terms from the F(s)\force{F(s)} termApply the Laplace transform, substitute y(0)=3\output{y(0)} = 3 and y′(0)=−2\velocity{y'(0)} = -2, and divide by s2+4s^2 + 4 to split the starting state from the external force.
(s2Y(s)−sy(0)−y′(0))+4Y(s)=F(s)(s2+4)Y(s)−3s+2=F(s)(s2+4)Y(s)=3s−2+F(s)Y(s)=3ss2+4−2s2+4+F(s)⋅1s2+4\displaystyle \begin{aligned} \big(s^2\output{Y(s)} - s\output{y(0)} - \velocity{y'(0)}\big) + 4\output{Y(s)} &= \force{F(s)} \\ (s^2 + 4)\output{Y(s)} \system{- 3s + 2} &= \force{F(s)} \\ (s^2 + 4)\output{Y(s)} &= \system{3s - 2} + \force{F(s)} \\ \output{Y(s)} &= \system{\frac{3s}{s^2 + 4} - \frac{2}{s^2 + 4}} + \force{F(s)}\cdot\system{\frac{1}{s^2 + 4}} \end{aligned}
2. Invert the initial-condition fractions and invert the F(s)H(s)\force{F(s)}\system{H(s)} product using convolutionInvert the first two fractions directly, and write the inverse of F(s)⋅1s2+4\force{F(s)}\cdot\system{\frac{1}{s^2 + 4}} as the convolution of f(t)\force{f(t)} with h(t)=12sin⁡(2t)\system{h(t)} = \system{\frac{1}{2}\sin(2t)}.
y(t)\displaystyle \output{y(t)} =3cos⁡(2t)−sin⁡(2t)⏟free response (from start)+∫0tf(τ)⋅12sin⁡(2(t−τ)) dτ⏟forced response (from f(t))\displaystyle = \underbrace{\system{3\cos(2t) - \sin(2t)}}_{\system{\text{free response (from start)}}} + \underbrace{\int_0^t \force{f(\tau)}\cdot\system{\frac{1}{2}\sin(2(\age{t - \tau}))}\,d\tau}_{\force{\text{forced response (from }f(t)\text{)}}}

Because the system is linear, the motion left over from the initial state (the free response) and the motion caused by the external push starting from rest (the forced response) simply add together.

6

Transforming Convolution Integrals and Integro-Differential Equations

Reading the Convolution Theorem in the forward direction turns a convolution integral in tt straight into a product in ss:

L{∫0tf(τ)g(t−τ) dτ}\displaystyle \mathcal{L}\left\{\int_0^t \force{f(\tau)}\system{g(\age{t - \tau})}\,d\tau\right\} =F(s)⋅G(s)\displaystyle = \force{F(s)}\cdot \system{G(s)}

This lets us transform convolution integrals without evaluating them, and solve integral equations or integro-differential equations where the unknown function y(t)\output{y(t)} is inside a convolution integral:

y′(t)+∫0ty(τ)e−2(t−τ) dτ\displaystyle y'(t) + \int_0^t \output{y(\tau)}\system{e^{-2(\age{t - \tau})}}\,d\tau =0,y(0)\displaystyle = 0, \quad \output{y(0)} =1\displaystyle = 1
Transforming Convolution Integrals and Integro-Differential Equations
y′(t)+∫0ty(τ) e−2(t−τ) dτ=0y(0)=1y(t)=  ?\displaystyle \small\begin{aligned}y'(t) + \int_0^t \output{y(\tau)}\,\system{e^{-2(\age{t - \tau})}}\,d\tau &= 0\\ \output{y(0)} &= 1\\[10pt] \output{y(t)} &= \;?\end{aligned}

This gives a quick way to transform an integral like ∫0tτ2e3(t−τ) dτ\int_0^t \force{\tau^2} \system{e^{3(\age{t - \tau})}}\,d\tau without evaluating it first:

L{∫0tτ2⏟f(τ)e3(t−τ)⏟g(t−τ) dτ}\displaystyle \mathcal{L}\left\{\int_0^t \underbrace{\force{\tau^2}}_{\force{f(\tau)}}\underbrace{\system{e^{3(\age{t - \tau})}}}_{\system{g(\age{t - \tau})}}\,d\tau\right\} =L{t2}⋅L{e3t}\displaystyle = \mathcal{L}\{\force{t^2}\}\cdot\mathcal{L}\{\system{e^{3t}}\} =2s3⋅1s−3\displaystyle = \force{\frac{2}{s^3}}\cdot\system{\frac{1}{s - 3}} =2s3(s−3)\displaystyle = \frac{2}{s^3(s - 3)}

Now let's solve the integro-differential equation y′(t)+∫0ty(τ)e−2(t−τ) dτ=0y'(t) + \int_0^t \output{y(\tau)}\system{e^{-2(\age{t - \tau})}}\,d\tau = 0 with y(0)=1\output{y(0)} = 1.

Text solution
1. Transform the equation by turning the convolution integral into a productRecognize the integral as the convolution y(t)∗e−2t\output{y(t)} * \system{e^{-2t}}, so its Laplace transform is Y(s)\output{Y(s)} times L{e−2t}=1s+2\mathcal{L}\{\system{e^{-2t}}\} = \system{\frac{1}{s + 2}}.
L{y′(t)}+L{y(t)∗e−2t}=0(sY(s)−y(0))+Y(s)⋅1s+2=0sY(s)−1+Y(s)⋅1s+2=0\displaystyle \begin{aligned} \mathcal{L}\{y'(t)\} + \mathcal{L}\{\output{y(t)} * \system{e^{-2t}}\} &= 0 \\ \big(s\output{Y(s)} - \output{y(0)}\big) + \output{Y(s)}\cdot\system{\frac{1}{s + 2}} &= 0 \\ s\output{Y(s)} - 1 + \output{Y(s)}\cdot\system{\frac{1}{s + 2}} &= 0 \end{aligned}
2. Solve algebraically for Y(s)\output{Y(s)} using a common denominatorMove 11 to the right, factor out Y(s)\output{Y(s)}, combine the terms in parentheses over s+2s + 2, and multiply by the reciprocal to isolate Y(s)\output{Y(s)}.
Y(s)(s+1s+2)=1Y(s)(s(s+2)+1s+2)=1Y(s)(s2+2s+1s+2)=1Y(s)((s+1)2s+2)=1Y(s)=s+2(s+1)2\displaystyle \begin{aligned} \output{Y(s)}\left(s + \system{\frac{1}{s + 2}}\right) &= 1 \\ \output{Y(s)}\left(\frac{s(s + 2) + 1}{s + 2}\right) &= 1 \\ \output{Y(s)}\left(\frac{s^2 + 2s + 1}{s + 2}\right) &= 1 \\ \output{Y(s)}\left(\frac{(s + 1)^2}{s + 2}\right) &= 1 \\ \output{Y(s)} &= \frac{s + 2}{(s + 1)^2} \end{aligned}
3. Split the numerator in terms of (s+1)(s + 1) and invert each fractionRewrite s+2s + 2 as (s+1)+1(s + 1) + 1 so the fraction splits into two shifted forms, then invert each piece.
Y(s)=(s+1)+1(s+1)2=1s+1+1(s+1)2y(t)=e−t+te−t\displaystyle \begin{aligned} \output{Y(s)} &= \frac{(s + 1) + 1}{(s + 1)^2} \\ &= \frac{1}{s + 1} + \frac{1}{(s + 1)^2} \\ \output{y(t)} &= e^{-t} + te^{-t} \end{aligned}

Turning the convolution integral into Y(s)⋅1s+2\output{Y(s)}\cdot\system{\frac{1}{s + 2}} gets rid of the integral in one step, giving the solution y(t)=e−t+te−t\output{y(t)} = e^{-t} + te^{-t}.

Key concepts

For any linear, constant-coefficient system, the unit impulse response h(t)\system{h(t)} (found by solving the differential equation with δ(t)\force{\delta(t)} on the right and zero initial conditions) captures how the system reacts to a single unit hit at t=0t = 0. Each discrete hammer hit contributes strength×h(age of hit)\force{\text{strength}} \times \system{h}(\age{\text{age of hit}}), so hits of strength 5\force{5} at t=0t = 0 and strength 2\force{2} at t=3t = 3 produce y(t)=5h(t)+2h(t−3)\output{y(t)} = \force{5}\system{h(t)} + \force{2}\system{h(\age{t - 3})}.

When the input is a continuous force f(t)\force{f(t)}, chopping f(τ)\force{f(\tau)} into thin hits of strength f(τ) dτ\force{f(\tau)\,d\tau} at past time τ\tau (age t−τ\age{t - \tau}) builds the convolution integral:

(f∗h)(t)\displaystyle (\force{f} * \system{h})(t) =∫0tf(τ)h(t−τ) dτ\displaystyle = \int_0^t \force{f(\tau)}\system{h(\age{t - \tau})}\,d\tau =∫0th(τ)f(t−τ) dτ\displaystyle = \int_0^t \system{h(\tau)}\force{f(\age{t - \tau})}\,d\tau

To evaluate a convolution integral directly, put t−τ\age{t - \tau} inside whichever function is easier to expand, treat tt as a constant while integrating over τ\tau, and pull any factor with no τ\tau out front (as in ∫0te−τe−2(t−τ) dτ=e−2t∫0teτ dτ\int_0^t \force{e^{-\tau}}\system{e^{-2(\age{t - \tau})}}\,d\tau = \system{e^{-2t}}\int_0^t e^{\tau}\,d\tau). If the system starts with non-zero initial conditions, add the free response (from the initial conditions alone) to this forced response integral.

The Convolution Theorem connects convolution in time to multiplication in ss:

L{∫0tf(τ)h(t−τ) dτ}\displaystyle \mathcal{L}\left\{\int_0^t \force{f(\tau)}\system{h(\age{t - \tau})}\,d\tau\right\} =F(s)⋅H(s)\displaystyle = \force{F(s)}\cdot \system{H(s)}
Forward (∫0t→product\int_0^t \to \text{product})

When taking L\mathcal{L} of a 00-to-tt integral with τ\tau and t−τ\age{t - \tau} (such as L{∫0tτ2e3(t−τ) dτ}=2s3⋅1s−3\mathcal{L}\left\{\int_0^t \force{\tau^2} \system{e^{3(\age{t - \tau})}}\,d\tau\right\} = \force{\frac{2}{s^3}}\cdot\system{\frac{1}{s - 3}} or an integro-differential equation containing ∫0ty(τ)e−2(t−τ) dτ\int_0^t \output{y(\tau)}\system{e^{-2(\age{t - \tau})}}\,d\tau), never evaluate the integral. Just multiply the transforms of the two unshifted functions.

Backward (product→∫0t\text{product} \to \int_0^t)

Use convolution to invert F(s)H(s)\force{F(s)}\system{H(s)} when f(t)\force{f(t)} is an unspecified function or when a repeated quadratic like 1(s2+4)2=1s2+4⋅1s2+4\frac{1}{(s^2 + 4)^2} = \force{\frac{1}{s^2 + 4}}\cdot\system{\frac{1}{s^2 + 4}} cannot be split by partial fractions. When not to use convolution: if Y(s)\output{Y(s)} splits easily by partial fractions or numerator splitting (like s+2(s+1)2=1s+1+1(s+1)2\frac{s + 2}{(s + 1)^2} = \frac{1}{s + 1} + \frac{1}{(s + 1)^2}), invert the fractions directly instead of setting up an integral.

7

Practice

1

A linear, constant-coefficient system starts at rest and has unit impulse response h(t)=e−2tsin⁡(3t)\system{h(t)} = \system{e^{-2t}\sin(3t)}. If the system receives a hammer hit of strength 4\force{4} at t=0t = 0 and a second hit of strength 7\force{7} at t=5t = 5, write the total response y(t)\output{y(t)} for t>5t > 5.

Each hit contributes strength×h(age of hit)\force{\text{strength}} \times \system{h}(\age{\text{age of hit}}). How old is the second hit at time tt, and where does tt appear in h(t)\system{h(t)}?

The first hit at t=0t = 0 has strength 4\force{4} and age t−0=t\age{t - 0} = \age{t}, giving 4h(t)=4e−2tsin⁡(3t)\force{4}\system{h(t)} = \force{4}\system{e^{-2t}\sin(3t)}. The second hit at t=5t = 5 has strength 7\force{7} and age t−5\age{t - 5}, giving 7h(t−5)\force{7}\system{h(\age{t - 5})}. (Watch out: when evaluating h(t−5)\system{h(\age{t - 5})}, replace tt with (t−5)(\age{t - 5}) in both the exponential and the sine. Shifting only the sine gives the wrong answer 4e−2tsin⁡(3t)+7e−2tsin⁡(3(t−5))4e^{-2t}\sin(3t) + 7e^{-2t}\sin(3(t - 5)).)
y(t)\displaystyle \output{y(t)} =4e−2tsin⁡(3t)+7e−2(t−5)sin⁡(3(t−5))\displaystyle = \force{4}\system{e^{-2t}\sin(3t)} + \force{7}\system{e^{-2(\age{t - 5})}\sin(3(\age{t - 5}))}
2

For the initial value problem y′+3y=e2ty' + 3y = \force{e^{2t}}, y(0)=0\output{y(0)} = 0, find the system's unit impulse response h(t)\system{h(t)} and evaluate the convolution integral directly to find y(t)\output{y(t)}.

Replace e2t\force{e^{2t}} with δ(t)\force{\delta(t)} first to find h(t)\system{h(t)}. Inside ∫0tf(τ)h(t−τ) dτ\int_0^t \force{f(\tau)}\system{h(\age{t - \tau})}\,d\tau, split the exponent so the factor with only tt can move outside the integral.

First, solve h′+3h=δ(t)\system{h' + 3h} = \force{\delta(t)} with h(0)=0\system{h(0)} = 0:
(s+3)H(s)\displaystyle (s + 3)\system{H(s)} =1  ⟹  H(s)\displaystyle = \force{1} \implies \system{H(s)} =1s+3  ⟹  h(t)\displaystyle = \system{\frac{1}{s + 3}} \implies \system{h(t)} =e−3t\displaystyle = \system{e^{-3t}}
Next, convolve f(t)=e2t\force{f(t)} = \force{e^{2t}} with h(t)=e−3t\system{h(t)} = \system{e^{-3t}}:
y(t)\displaystyle \output{y(t)} =∫0te2τe−3(t−τ) dτ\displaystyle = \int_0^t \force{e^{2\tau}}\system{e^{-3(\age{t - \tau})}}\,d\tau
(Watch out: distributing −3(t−τ)\system{-3(\age{t - \tau})} gives −3t+3τ\system{-3t + 3\tau}, not −3t−3τ-3t - 3\tau; missing that minus-times-minus sign leaves e−τe^{-\tau} inside the integral and gives the wrong answer e−3t−e−4te^{-3t} - e^{-4t}.)
y(t)=e−3t∫0te2τe3τ dτ=e−3t∫0te5τ dτ=e−3t[15e5τ]τ=0τ=t\displaystyle \begin{aligned} \output{y(t)} &= \system{e^{-3t}}\int_0^t \force{e^{2\tau}}\system{e^{3\tau}}\,d\tau \\ &= \system{e^{-3t}}\int_0^t e^{5\tau}\,d\tau \\ &= \system{e^{-3t}}\left[\frac{1}{5}e^{5\tau}\right]_{\tau = 0}^{\tau = t} \end{aligned}
(Watch out: at the lower limit τ=0\tau = 0, e0=1e^0 = 1, not 00; dropping the lower limit gives the wrong answer 15e2t\frac{1}{5}e^{2t}.)
h(t)\displaystyle \system{h(t)} =e−3t,y(t)\displaystyle = \system{e^{-3t}}, \quad \output{y(t)} =15e2t−15e−3t\displaystyle = \force{\frac{1}{5}e^{2t}} - \system{\frac{1}{5}e^{-3t}}
3

Without evaluating the integral, find the Laplace transform L{∫0t(t−τ)2cos⁡(5τ) dτ}\mathcal{L}\left\{\int_0^t (t - \tau)^2\cos(5\tau)\,d\tau\right\}.

Match the t−τt - \tau factor and the τ\tau factor to their unshifted functions of tt, then multiply their Laplace transforms.

The integral is the convolution of f(t)=cos⁡(5t)\force{f(t)} = \force{\cos(5t)} and g(t)=t2\system{g(t)} = \system{t^2}. By the Convolution Theorem, we multiply their transforms:
L{∫0t(t−τ)2cos⁡(5τ) dτ}\displaystyle \mathcal{L}\left\{\int_0^t \system{(\age{t - \tau})^2}\force{\cos(5\tau)}\,d\tau\right\} =L{t2}⋅L{cos⁡(5t)}\displaystyle = \mathcal{L}\{\system{t^2}\}\cdot\mathcal{L}\{\force{\cos(5t)}\}
(Watch out: L{t2}\mathcal{L}\{\system{t^2}\} is 2!s2+1=2s3\frac{2!}{s^{2+1}} = \system{\frac{2}{s^3}}, not 2s2\frac{2}{s^2}, and L{cos⁡(5t)}\mathcal{L}\{\force{\cos(5t)}\} has ss on top, not 55; using 2s2\frac{2}{s^2} gives the wrong answer 2s(s2+25)\frac{2}{s(s^2 + 25)}, and using 5s2+25\frac{5}{s^2 + 25} gives 10s3(s2+25)\frac{10}{s^3(s^2 + 25)}.)
2s3⋅ss2+25\displaystyle \system{\frac{2}{s^3}}\cdot\force{\frac{s}{s^2 + 25}} =2s2(s2+25)\displaystyle = \frac{2}{s^2(s^2 + 25)}
4

Express the complete solution to the initial value problem y′′+9y=f(t)y'' + 9y = \force{f(t)}, y(0)=2\output{y(0)} = 2, y′(0)=−6\velocity{y'(0)} = -6 as the sum of the free response and a convolution integral for the forced response.

Transform the whole equation and separate the initial-condition terms from the F(s)\force{F(s)} term before dividing by s2+9s^2 + 9. Check what constant is needed on top to invert 1s2+9\frac{1}{s^2 + 9}.

Take the Laplace transform and plug in y(0)=2\output{y(0)} = 2 and y′(0)=−6\velocity{y'(0)} = -6:
(s2Y(s)−2s−(−6))+9Y(s)=F(s)(s2+9)Y(s)=2s−6+F(s)Y(s)=2ss2+9−6s2+9+F(s)⋅1s2+9\displaystyle \begin{aligned} \big(s^2\output{Y(s)} \system{- 2s - (-6)}\big) + 9\output{Y(s)} &= \force{F(s)} \\ (s^2 + 9)\output{Y(s)} &= \system{2s - 6} + \force{F(s)} \\ \output{Y(s)} &= \system{\frac{2s}{s^2 + 9} - \frac{6}{s^2 + 9}} + \force{F(s)}\cdot\system{\frac{1}{s^2 + 9}} \end{aligned}
(Watch out: L{sin⁡(3t)}=3s2+9\mathcal{L}\{\sin(3t)\} = \frac{3}{s^2 + 9}, so L−1{1s2+9}=13sin⁡(3t)\mathcal{L}^{-1}\left\{\system{\frac{1}{s^2 + 9}}\right\} = \system{\frac{1}{3}\sin(3t)}; forgetting to divide by 33 gives the wrong answer 2cos⁡(3t)−6sin⁡(3t)+∫0tf(τ)sin⁡(3(t−τ)) dτ2\cos(3t) - 6\sin(3t) + \int_0^t f(\tau)\sin(3(t - \tau))\,d\tau.)
y(t)\displaystyle \output{y(t)} =2cos⁡(3t)−2sin⁡(3t)+∫0tf(τ)⋅13sin⁡(3(t−τ)) dτ\displaystyle = \system{2\cos(3t) - 2\sin(3t)} + \int_0^t \force{f(\tau)} \cdot \system{\frac{1}{3}\sin(3(\age{t - \tau}))}\,d\tau
5

Use the Convolution Theorem and the identity sin⁡(A)sin⁡(B)=12[cos⁡(A−B)−cos⁡(A+B)]\sin(A)\sin(B) = \frac{1}{2}[\cos(A - B) - \cos(A + B)] to find the inverse Laplace transform L−1{1(s2+9)2}\mathcal{L}^{-1}\left\{\frac{1}{(s^2 + 9)^2}\right\}.

Write the fraction as 1s2+9⋅1s2+9\force{\frac{1}{s^2 + 9}}\cdot\system{\frac{1}{s^2 + 9}} and invert each factor to 13sin⁡(3t)\frac{1}{3}\sin(3t). After applying the trig identity, remember which variable you are integrating over.

Each factor 1s2+9\frac{1}{s^2 + 9} inverts to 13sin⁡(3t)\frac{1}{3}\sin(3t), so by the Convolution Theorem:
L−1{1(s2+9)2}=∫0t13sin⁡(3τ)⋅13sin⁡(3(t−τ)) dτ=19∫0tsin⁡(3τ)sin⁡(3t−3τ) dτ=118∫0t[cos⁡(6τ−3t)−cos⁡(3t)] dτ=118[16sin⁡(6τ−3t)−τcos⁡(3t)]τ=0τ=t\displaystyle \begin{aligned} \mathcal{L}^{-1}\left\{\frac{1}{(s^2 + 9)^2}\right\} &= \int_0^t \force{\frac{1}{3}\sin(3\tau)}\cdot\system{\frac{1}{3}\sin(3(\age{t - \tau}))}\,d\tau \\ &= \frac{1}{9}\int_0^t \force{\sin(3\tau)}\system{\sin(3t - 3\tau)}\,d\tau \\ &= \frac{1}{18}\int_0^t \big[\cos(6\tau - 3t) - \cos(3t)\big]\,d\tau \\ &= \frac{1}{18}\left[\frac{1}{6}\sin(6\tau - 3t) - \tau\cos(3t)\right]_{\tau = 0}^{\tau = t} \end{aligned}
(Watch out: at the lower bound τ=0\tau = 0, 16sin⁡(6(0)−3t)=16sin⁡(−3t)=−16sin⁡(3t)\frac{1}{6}\sin(6(0) - 3t) = \frac{1}{6}\sin(-3t) = -\frac{1}{6}\sin(3t), not 00; assuming the lower bound is zero cuts the sine term in half and gives the wrong answer 1108sin⁡(3t)−118tcos⁡(3t)\frac{1}{108}\sin(3t) - \frac{1}{18}t\cos(3t).)
=118[(16sin⁡(3t)−tcos⁡(3t))−(−16sin⁡(3t)−0)]=118[13sin⁡(3t)−tcos⁡(3t)]\displaystyle \begin{aligned} &= \frac{1}{18}\left[\left(\frac{1}{6}\sin(3t) - t\cos(3t)\right) - \left(-\frac{1}{6}\sin(3t) - 0\right)\right] \\ &= \frac{1}{18}\left[\frac{1}{3}\sin(3t) - t\cos(3t)\right] \end{aligned}
154sin⁡(3t)−118tcos⁡(3t)\displaystyle \frac{1}{54}\sin(3t) - \frac{1}{18}t\cos(3t)
6

Solve the integro-differential equation y′(t)+9∫0ty(τ)e−6(t−τ) dτ=0y'(t) + 9\int_0^t \output{y(\tau)}\system{e^{-6(\age{t - \tau})}}\,d\tau = 0, y(0)=1\output{y(0)} = 1.

Transform the convolution integral y(t)∗e−6t\output{y(t)} * \system{e^{-6t}} directly into Y(s)⋅1s+6\output{Y(s)}\cdot\system{\frac{1}{s + 6}}, solve for Y(s)\output{Y(s)}, and rewrite the numerator in terms of (s+3)(s + 3).

Take the Laplace transform of the equation using y(0)=1\output{y(0)} = 1 and L{e−6t}=1s+6\mathcal{L}\{\system{e^{-6t}}\} = \system{\frac{1}{s + 6}}:
sY(s)−1+9Y(s)⋅1s+6=0Y(s)(s+9s+6)=1Y(s)(s(s+6)+9s+6)=1Y(s)((s+3)2s+6)=1Y(s)=s+6(s+3)2\displaystyle \begin{aligned} s\output{Y(s)} - 1 + 9\output{Y(s)}\cdot\system{\frac{1}{s + 6}} &= 0 \\ \output{Y(s)}\left(s + \frac{9}{s + 6}\right) &= 1 \\ \output{Y(s)}\left(\frac{s(s + 6) + 9}{s + 6}\right) &= 1 \\ \output{Y(s)}\left(\frac{(s + 3)^2}{s + 6}\right) &= 1 \\ \output{Y(s)} &= \frac{s + 6}{(s + 3)^2} \end{aligned}
(Watch out: to split s+6(s+3)2\frac{s + 6}{(s + 3)^2}, rewrite the numerator s+6s + 6 as (s+3)+3(s + 3) + 3, not (s+3)+6(s + 3) + 6; leaving 66 in the second numerator gives the wrong answer e−3t+6te−3te^{-3t} + 6te^{-3t}.)
Y(s)=(s+3)+3(s+3)2=1s+3+3(s+3)2\displaystyle \begin{aligned} \output{Y(s)} &= \frac{(s + 3) + 3}{(s + 3)^2} = \frac{1}{s + 3} + \frac{3}{(s + 3)^2} \end{aligned}
y(t)\displaystyle \output{y(t)} =e−3t+3te−3t\displaystyle = e^{-3t} + 3te^{-3t}