We know how a system responds to a single hammer hit δ(t), and now we need a way to find its motion y(t) when the external force f(t) pushes on it continuously.
1
The Impulse Response and Discrete Hits
The impulse responseh(t) is how a system starting at rest reacts to a single unit hammer hit δ(t) at t=0. Once we know that one curve, we can build the response to any sequence of hits.
The Impulse Response and Discrete Hits
Because the differential equation is linear with constant coefficients, a hit at t=0 of strength 5 and a hit at t=3 of strength 2 simply add their scaled, shifted responses:
y(t)=strength5h(age of hit at 0t−0)+strength2h(age of hit at 3t−3)
A later hit triggers a new copy of 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) isn't a few separate hits, but a smooth, continuous push. How can we build the system's position y(t) at a present time t out of its impulse response h(t)?
Building the Convolution Integral
At any past moment τ, pushing with force f(τ) over a tiny interval dτ acts as a small hammer hit of strength f(τ)dτ whose age at the present time t is t−τ. Adding up these lingering responses from τ=0 to τ=t gives the convolution of f and h:
y(t)=(f∗h)(t)=∫0tstrength at τf(τ)dτ⋅lingering response at th(t−τage)
The star ∗ stands for this integral over the past, not multiplication. Because convolution works in either order,
(f∗h)(t)=(h∗f)(t)=∫0th(τ)f(t−τ)dτ
we can place the shifted variable t−τ inside whichever function makes the algebra simpler.
On the past-time τ axis, h(t−τ) is flipped backward so its start, h(0), sits at the present τ=t and its faded tail reaches back toward τ=0. As t moves forward, this flipped curve slides across f(τ) 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=e−t,y(0)=0
To find the system's impulse response h(t) first, we replace the forcing term on the right with a unit impulse δ(t) and use L{δ(t)}=1.
Solving a Differential Equation with Convolution
y′+2yy(t)=e−t,y(0)=0=?
Text solution
1. Replace the forcing function with δ(t) to find the impulse response h(t)Take the Laplace transform of the unit-hit equation and invert H(s) to get the system's response to a single hit at t=0.
2. Substitute f(τ) and h(t−τ) into the convolution integralReplace t with τ in the input force f(t)=e−t, and replace t with the age t−τ in the impulse response h(t)=e−2t.
y(t)=∫0te−τe−2(t−τ)dτ
3. Pull the e−2t factor outside the integral and integrate with respect to τSplit the exponent −2(t−τ) into −2t+2τ, factor e−2t out front since t is fixed while τ varies, and evaluate from τ=0 to τ=t.
So the motion y(t)=e−t−e−2t starts at y(0)=0 and combines the external e−t push with the system's own 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), the product of the input transform F(s) and the system's transfer functionH(s). Because Y(s) in s and (f∗h)(t) in t represent the exact same solution y(t), multiplication in s corresponds to convolution in t:
This is the Convolution Theorem. Notice what it warns against: L−1{F(s)H(s)} is notf(t)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)=(s2+4)21
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)=21[cos(A−B)−cos(A+B)]
The Convolution Theorem and Resonance
Text solution
1. Factor Y(s) into two simple transforms and invert each pieceWrite the squared fraction as the product of two identical factors, each matching L{21sin(2t)}=s2+41.
2. Set up the convolution integral and turn the product of sines into a difference of cosinesApply sin(A)sin(B)=21[cos(A−B)−cos(A+B)] with A=2τ and B=2t−2τ, which cancels τ inside the second cosine.
3. Integrate with respect to τ while treating cos(2t) as a constantDivide by the τ-coefficient 4 on the first term, integrate the constant cos(2t) (which has no τ) to τcos(2t), and evaluate from τ=0 to τ=t using sin(−2t)=−sin(2t).
Because the input frequency matches the natural frequency, τ cancels inside cos(2t), and integrating that constant from 0 to t produces the resonance term −81tcos(2t) whose amplitude grows without bound.
When the driving frequency differs from the natural frequency, the positive and negative parts of f(τ)h(t−τ) mostly cancel, so the output stays bounded. When the frequencies match, f(τ) and h(t−τ) stay in sync from 0 to t, and the product adds up into a swing whose amplitude grows in proportion to t.
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) is left as any function f(t)? Let's find the complete solution to
y′′+4y=f(t),y(0)=3,y′(0)=−2
Free Response and Forced Response
Text solution
1. Transform the equation and separate the initial-condition terms from the F(s) termApply the Laplace transform, substitute y(0)=3 and y′(0)=−2, and divide by s2+4 to split the starting state from the external force.
2. Invert the initial-condition fractions and invert the F(s)H(s) product using convolutionInvert the first two fractions directly, and write the inverse of F(s)⋅s2+41 as the convolution of f(t) with h(t)=21sin(2t).
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 t straight into a product in s:
L{∫0tf(τ)g(t−τ)dτ}=F(s)⋅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) is inside a convolution integral:
y′(t)+∫0ty(τ)e−2(t−τ)dτ=0,y(0)=1
Transforming Convolution Integrals and Integro-Differential Equations
y′(t)+∫0ty(τ)e−2(t−τ)dτy(0)y(t)=0=1=?
This gives a quick way to transform an integral like ∫0tτ2e3(t−τ)dτ without evaluating it first:
Now let's solve the integro-differential equation y′(t)+∫0ty(τ)e−2(t−τ)dτ=0 with 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, so its Laplace transform is Y(s) times L{e−2t}=s+21.
2. Solve algebraically for Y(s) using a common denominatorMove 1 to the right, factor out Y(s), combine the terms in parentheses over s+2, and multiply by the reciprocal to isolate Y(s).
3. Split the numerator in terms of (s+1) and invert each fractionRewrite s+2 as (s+1)+1 so the fraction splits into two shifted forms, then invert each piece.
Y(s)y(t)=(s+1)2(s+1)+1=s+11+(s+1)21=e−t+te−t
Turning the convolution integral into Y(s)⋅s+21 gets rid of the integral in one step, giving the solution y(t)=e−t+te−t.
Key concepts
For any linear, constant-coefficient system, the unit impulse responseh(t) (found by solving the differential equation with δ(t) on the right and zero initial conditions) captures how the system reacts to a single unit hit at t=0. Each discrete hammer hit contributes strength×h(age of hit), so hits of strength 5 at t=0 and strength 2 at t=3 produce y(t)=5h(t)+2h(t−3).
When the input is a continuous force f(t), chopping f(τ) into thin hits of strength f(τ)dτ at past time τ (age t−τ) builds the convolution integral:
(f∗h)(t)=∫0tf(τ)h(t−τ)dτ=∫0th(τ)f(t−τ)dτ
To evaluate a convolution integral directly, put t−τ inside whichever function is easier to expand, treat t as a constant while integrating over τ, and pull any factor with no τ out front (as in ∫0te−τe−2(t−τ)dτ=e−2t∫0teτdτ). 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 s:
L{∫0tf(τ)h(t−τ)dτ}=F(s)⋅H(s)
Forward (∫0t→product)
When taking L of a 0-to-t integral with τ and t−τ (such as L{∫0tτ2e3(t−τ)dτ}=s32⋅s−31 or an integro-differential equation containing ∫0ty(τ)e−2(t−τ)dτ), never evaluate the integral. Just multiply the transforms of the two unshifted functions.
Backward (product→∫0t)
Use convolution to invert F(s)H(s) when f(t) is an unspecified function or when a repeated quadratic like (s2+4)21=s2+41⋅s2+41 cannot be split by partial fractions. When not to use convolution: if Y(s) splits easily by partial fractions or numerator splitting (like (s+1)2s+2=s+11+(s+1)21), 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). If the system receives a hammer hit of strength 4 at t=0 and a second hit of strength 7 at t=5, write the total response y(t) for t>5.
Each hit contributes strength×h(age of hit). How old is the second hit at time t, and where does t appear in h(t)?
The first hit at t=0 has strength 4 and age t−0=t, giving 4h(t)=4e−2tsin(3t). The second hit at t=5 has strength 7 and age t−5, giving 7h(t−5).(Watch out: when evaluating h(t−5), replace t with (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)).)
y(t)=4e−2tsin(3t)+7e−2(t−5)sin(3(t−5))
2
For the initial value problem y′+3y=e2t,y(0)=0, find the system's unit impulse response h(t) and evaluate the convolution integral directly to find y(t).
Replace e2t with δ(t) first to find h(t). Inside ∫0tf(τ)h(t−τ)dτ, split the exponent so the factor with only t can move outside the integral.
First, solve h′+3h=δ(t) with h(0)=0:
(s+3)H(s)=1⟹H(s)=s+31⟹h(t)=e−3t
Next, convolve f(t)=e2t with h(t)=e−3t:
y(t)=∫0te2τe−3(t−τ)dτ
(Watch out: distributing −3(t−τ) gives −3t+3τ, not −3t−3τ; missing that minus-times-minus sign leaves e−τ inside the integral and gives the wrong answer e−3t−e−4t.)
(Watch out: at the lower limit τ=0,e0=1, not 0; dropping the lower limit gives the wrong answer 51e2t.)
h(t)=e−3t,y(t)=51e2t−51e−3t
3
Without evaluating the integral, find the Laplace transform L{∫0t(t−τ)2cos(5τ)dτ}.
Match the t−τ factor and the τ factor to their unshifted functions of t, then multiply their Laplace transforms.
The integral is the convolution of f(t)=cos(5t) and g(t)=t2. By the Convolution Theorem, we multiply their transforms:
L{∫0t(t−τ)2cos(5τ)dτ}=L{t2}⋅L{cos(5t)}
(Watch out: L{t2} is s2+12!=s32, not s22, and L{cos(5t)} has s on top, not 5; using s22 gives the wrong answer s(s2+25)2, and using s2+255 gives s3(s2+25)10.)
s32⋅s2+25s=s2(s2+25)2
4
Express the complete solution to the initial value problem y′′+9y=f(t),y(0)=2,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) term before dividing by s2+9. Check what constant is needed on top to invert s2+91.
Take the Laplace transform and plug in y(0)=2 and y′(0)=−6:
(Watch out: L{sin(3t)}=s2+93, so L−1{s2+91}=31sin(3t); forgetting to divide by 3 gives the wrong answer 2cos(3t)−6sin(3t)+∫0tf(τ)sin(3(t−τ))dτ.)
y(t)=2cos(3t)−2sin(3t)+∫0tf(τ)⋅31sin(3(t−τ))dτ
5
Use the Convolution Theorem and the identity sin(A)sin(B)=21[cos(A−B)−cos(A+B)] to find the inverse Laplace transform L−1{(s2+9)21}.
Write the fraction as s2+91⋅s2+91 and invert each factor to 31sin(3t). After applying the trig identity, remember which variable you are integrating over.
Each factor s2+91 inverts to 31sin(3t), so by the Convolution Theorem:
(Watch out: at the lower bound τ=0,61sin(6(0)−3t)=61sin(−3t)=−61sin(3t), not 0; assuming the lower bound is zero cuts the sine term in half and gives the wrong answer 1081sin(3t)−181tcos(3t).)
(Watch out: to split (s+3)2s+6, rewrite the numerator s+6 as (s+3)+3, not (s+3)+6; leaving 6 in the second numerator gives the wrong answer e−3t+6te−3t.)