









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










“Convolution” is an operation involving two functions that turns out to be rather useful in many
applications. We have two reasons for introducing it here. First of all, convolution will give
us a way to deal with inverse transforms of fairly arbitrary products of functions. Secondly, it
will be a major element in some relatively simple formulas for solving a number of differential
equations.
Let us start with just seeing what “convolution” is. After that, we’ll discuss using it with the
Laplace transform and in solving differential equations.
Let f (t) and g(t) be two functions. The convolution of f and g , denoted by f ∗ g , is the
function on t ≥ 0 given by
f ∗ g(t) =
t
x= 0
f (x)g(t − x) d x.
! ◮ Example 27.1: Let
f (t) = e
3 t and g(t) = e
7 t .
Since we will use f (x) and g(t − x) in computing the convolution, let us note that
f (x) = e
3 x and g(t − x) = e
7 (t−x) .
So,
f ∗ g(t) =
t
x= 0
f (x)g(t − x) d x
t
x= 0
e
3 x e
7 (t−x) d x
t
x= 0
e
3 x e
7 t e
− 7 x d x
539
540 Convolution and Laplace Transforms
= e
7 t
t
x= 0
e
− 4 x d x
= e
7 t ·
− 1
4
e
− 4 x
t
x= 0
− 1
4
e
7 t e
− 4 t −
− 1
4
e
7 t e
− 1
4
e
3 t
1
4
e
7 t .
Simplifying this slightly, we have
f ∗ g(t) =
1
4
e
7 t − e
3 t
when f (t) = e
3 t and g(t) = e
7 t .
It is common practice to also denote the convolution f ∗ g(t) by f (t) ∗ g(t) where, here,
f (t) and g(t) denote the formulas for f and g. Thus, instead of writing
f ∗ g(t) =
1
4
e
7 t − e
3 t
when f (t) = e
3 t and g(t) = e
7 t ,
we may just write
e
3 t ∗ e
1
4
e
7 t − e
3 t
This simplifies notation a little, but be careful — t is being used for two different things in this
equation: On the left side, t is used to describe f and g ; on the right side, t is the variable in
the formula for the convolution. By convention, if we assign t a value, say, t = 2 , then we are
setting t = 2 in the final formula for the convolution. That is,
e
3 t ∗ e
7 t with t = 2
means compute the convolution and replace the t in the resulting formula with 2 , which, by the
above computations, is
1
4
e
7 · 2 − e
3 · 2
1
4
e
14 − e
6
It does NOT mean to compute
e
3 · 2 ∗ e
7 · 2 ,
which would give you a completely different result, namely,
e
6 ∗ e
t
x= 0
e
6 e
14 dt = e
20 t.
! ◮ Example 27.2: Let us find
1 √ t
∗ t
2 when t = 4.
Here,
f (t) =
1 √ t
and g(t) = t
2 .
So
f (x) =
1 √ x
and g(t − x) = (t − x)
2 ,
and
1 √ t
∗ t
2 = f ∗ g(t) =
t
x= 0
1 √ x
(t − x)
2
t
x= 0
x
−^1 / 2
t
2 − 2 t x + x
2
d x
542 Convolution and Laplace Transforms
The last integral is exactly the same as the integral for computing g∗ f (t) , except for the cosmetic
change of denoting the variable of integration by y instead of x. So that integral is the formula
for formula for g ∗ f (t) , and our computations just above reduce to
f ∗ g(t) = g ∗ f (t). (27.2)
Thus we see that convolution is “commutative”.
! ◮ Example 27.3: Let’s consider the convolution
t
2 ∗
1 √ t
Since we just showed that convolution is commutative, we know that
t
2 ∗
1 √ t
1 √ t
∗ t
2 .
What an incredible stroke of luck! We’ve already computed the convolution on the right in
example 27.2. Checking back to equation (27.1), we find
1 √ t
∗ t
16
15
t
(^5) / (^2).
Hence,
t
2 ∗
1 √ t
1 √ t
∗ t
16
15
t
(^5) / 2 .
In addition to being commutative, convolution is “distributive” and “associative”. That is,
given three functions f , g and h ,
[ f + g] ∗ h = [ f ∗ h] + [g ∗ h] , (27.3)
f ∗ [g + h] = [ f ∗ g] + [ f ∗ h] (27.4)
and
f ∗ [g ∗ h] = [ f ∗ g] ∗ h. (27.5)
The first and second equations are that “addition distributes over convolution”. They are easily
confirmed using the basic definition of convolution. For the first:
[ f + g] ∗ h(t) =
t
x= 0
[ f (x) + g(x)]h(t − x) d x
t
x= 0
[ f (x)h(t − x) + g(x)h(t − x)] d x
t
x= 0
f (x)h(t − x) d x +
t
x= 0
g(x)h(t − x)] d x
= [ f ∗ g] + [g ∗ h].
The second, equation (27.4) follows in a similar manner or by combining (27.3) with the commu-
tativity of the convolution. The last equation in the list, equation (27.5), states that convolution
Convolution and Products of Transforms 543
is “associative”, that is, when convolving three functions together, it does not matter which two
you convolve first. It’s verification requires showing that the two double integrals defining
f ∗ [g ∗ h] and [ f ∗ g] ∗ h
are equivalent. This is a relatively straightforward exercise in substitution, and will be left as a
challenge for the interested student (exercise 27.3 on page 552).
Finally, just for fun, let’s make a few more simple observations:
0 ∗ g(t) = g ∗ 0 (t) =
t
x= 0
0 · g(t − x) d x = 0.
f ∗ 1 (t) = 1 ∗ f (t) =
t
x= 0
f (s) · 1 d x =
t
x= 0
f (s) d x.
f ∗ g( 0 ) =
0
x= 0
f (x)g( 0 − x) d x = 0.
The observant reader will have noted that, if f and g are at least piecewise continuous on
( 0 , ∞) , then, for any positive value t , the product f (x)g(t − x) is a piecewise continuous
function of x on ( 0 , t). It then follows that the integral in
f ∗ g(t) =
t
x= 0
f (x)g(t − x) d x
is well defined and finite for every positive value of t. In other words, f ∗ g is a well-defined
function on ( 0 , ∞) , at least whenever f and g are both piecewise continuous on ( 0 , ∞). (In
fact, it can then even be shown that f ∗ g(t) is a continuous function on [ 0 , ∞) .)
But now observe that one of the functions in example 27.2, namely t
− 1 / 2 , ‘blows up’ at
t = 0 and, thus, is not piecewise continuous on ( 0 , ∞). So that example also demonstrates that,
sometimes, f ∗ g is well defined on ( 0 , ∞) even though f or g is not piecewise continuous.
To see one reason convolution is important in the study of Laplace transforms, let us examine the
Laplace transform of the convolution of two functions f (t) and g(t). Our goal is a surprisingly
simple formula of the corresponding transforms,
F(s) = L[ f (t)]|s =
∞
0
f (t)e
−st dt
and
G(s) = L[g(t)]|s =
∞
0
g(t)e
−st dt.
Convolution and Products of Transforms 545
T
X
t = t 0
x = x 0
t = x 0
x = t 0
(x 0 , t 0 )
(x 0 , x 0 )
(t 0 , t 0 )
t^
=
R^ x
Figure 27.1: The region R for the transform of the convolution. Note that the coordinates
of any point (x 0 , t 0 ) in R must satisfy 0 < x 0 < t 0 < ∞.
Combining this with equation (27.6), and then continuing, we have
L[ f ∗ g(t)]| s
∞
x= 0
∞
t=x
K (x, t) dt d x
∞
x= 0
∞
t=x
e
−sx f (x) e
−s(t−x) g(t − x) dt d x
∞
x= 0
e
−sx f (x)
∞
t=x
e
−s(t−x) g(t − x) dt
d x.
Let us simplify the inner integral with the substitution y = t − x (remembering that t is the
variable of integration in this integral):
∞
t=x
e
−s(t−x) g(t − x) dt =
∞−x
y=x−x
e
−sy g(y) dy =
∞
y= 0
e
−sy g(y) dy = G(s)!
Combining this with our last formula for L[ f ∗ g] then yields
L[ f ∗ g(t)]| s
∞
x= 0
f (x)e
−sx G(s) d x
∞
x= 0
e
−sx f (x) d x · G(s) = F(s) · G(s)!
Thus,
L[ f ∗ g(t)]|s = F(s)G(s).
Equivalently,
f ∗ g(t) = L
− 1 [F(s)G(s)]|t.
If we had been a little more complete in our computations, we would have kept track of
the exponential order of all the functions involved (see exercise 27.9), and obtained all of the
following theorem.
Theorem 27.1 (Laplace convolution identities)
Assume f (t) and g(t) are two functions of exponential order s 0 , and with Laplace transforms
F(s) = L[ f (t)]| s and G(s) = L[g(t)]| s
546 Convolution and Laplace Transforms
Then the convolution f ∗ g(t) is of exponential order s 1 for any s 1 > s 0. Moreover,
L[ f ∗ g(t)]| s = F(s)G(s) for s > s 0 (27.7)
and
− 1 [F(s)G(s)]| t = f ∗ g(t). (27.8)
Do remember that identities (27.7) and (27.8) are equivalent. It is also worthwhile to rewrite
these identities as
L[ f ∗ g(t)]| s = L[ f ]| s · L[g(t)]| s
′ )
and
− 1 [F(s)G(s)]| t
− 1 [F(s)]| t
− 1 [G(s)]| t
′ )
respectively. These forms, especially the latter, are sometimes a little more convenient in practice.
! ◮ Example 27.4: Consider finding the inverse Laplace transform of
1
s^2 − 10 s + 21
Factoring the denominator and applying the above, we get
− 1
1
s 2 − 10 s + 21
t
− 1
1
(s − 3 )(s − 7 )
t
− 1
1
s − 3
1
s − 7
t
− 1
1
s − 3
t
− 1
1
s − 7
t
= e
3 t ∗ e
7 t .
As luck would have it, this convolution was computed in example 27.1 on page 539),
e
3 t ∗ e
1
4
e
7 t − e
3 t
Thus,
− 1
1
s 2 − 10 s + 21
t
= e
3 t ∗ e
1
4
e
7 t − e
3 t
The inverse transform in the last example could also have been computed using partial
fractions. Indeed, many of the inverse transforms we computed using partial fractions can also
be computed using convolution. Whether one approach or the other is preferred depends on the
opinion of the person doing the computing. However, as the next example shows, there are cases
where convolution can be applied, but not partial fractions. We will also use this example to
demonstrate how convolution naturally arises when solving differential equations.
! ◮ Example 27.5: Consider solving the initial-value problem
y
′′
1 √ t
with y( 0 ) = 0 and y
′ ( 0 ) = 0.
548 Convolution and Laplace Transforms
As illustrated in our last example, convolution has a natural role in solving differential equations
when using the Laplace transform. However, if we look a little more carefully at the process
of solving differential equations using the Laplace transform, we will find that convolution can
play an even more significant role.
! ◮ Example 27.6: Let’s consider solving the nonhomogeneous initial-value problem
y
′′ − 10 y
′
′ ( 0 ) = 0
where f = f (t) is any Laplace transformable function. Naturally, we will use the Laplace
transform. So let
Y (s) = L[y(t)]| s and F(s) = L[ f (t)]| s
Because of our initial conditions, the “transform of the derivatives” identities simplify con-
siderably:
y
′′
s
= s
2 Y (s) − s y( 0 ) ︸︷︷︸
0
− y
′ ( 0 ) ︸ ︷︷ ︸
0
= s
2 Y (s)
and
y
′
s
= sY (s) − y( 0 ) ︸︷︷︸
0
= sY (s).
Consequently,
y
′′ − 10 y
′
s
= L[ f (t)]| s
y
′′
s
y
′
s
2 Y (s) − 10 sY (s) + 21 Y (s) = F(s)
s
2 − 10 s + 21
Y (s) = F(s).
Dividing through by the polynomial, we get
Y (s) = H (s)F(s) where H (s) =
1
s 2 − 10 s + 21
Thus,
y(t) = L
− 1 [Y (s)]|t = L
− 1 [H (s)F(s)]|t.
Applying the convolution identity then yields
y(t) = h ∗ f (t) (27.9a)
where
h(x) = L
− 1 [H (s)]|x = L
− 1
1
s 2 − 10 s + 21
t
. (27.9b)
Convolution and Differential Equations (Duhamel’s Principle) 549
The convolution h ∗ f can be computed using either
t
0
h(x) f (t − x) d x or
t
0
h(t − x) f (x) d x.
For no particular reason, we will choose the first integral formula.
To compute h(x) , we can use partial fractions or convolution. Or we can glance at
example 27.4 a few pages ago, discover that we’ve already computed h(t) , and just replace
the t in that formula with x ,
h(x) =
1
4
e
7 x − e
3 x
With this and our chosen integral formula for h ∗ f , formula (27.9a), the solution to our
initial-value problem, becomes
y(t) =
t
0
1
4
e
7 x − e
3 x
f (t − x) d x. (27.10)
Formula (27.10) is a convenient way to describe the solutions to our initial-value problem,
especially if we want to solve this problem for a number of different choices of f (t). Using
it, we can quickly write out a relatively simple integral formula for the solution corresponding
to each f (t). For example:
If f (t) = e
4 t , then f (t − x) = e
4 (t−x) and formula (27.10) yields
y(t) =
t
0
1
4
e
7 x − e
3 x
e
4 (t−x) d x.
If f (t) = 1 , then f (t − x) = 1 and and formula (27.10) yields
y(t) =
1
4
t
0
e
7 x − e
3 x
· 1 d x.
And finally, if f (t) =
3
t , then f (t − x) =
3
t − x and formula (27.10) yields
y(t) =
1
4
∫ (^) t
0
e
7 x − e
3 x
3
t − x d x.
The first two integrals are easily evaluated, giving us
y(t) =
1
2
e
7 t
1
4
e
3 t −
1
3
e
4 t and y(t) =
1
28
e
7 t −
1
12
e
3 t −
1
21
respectively. The last integral,
y(t) =
1
4
∫ (^) t
0
e
7 x − e
3 x
3
t − x d x ,
is not easily evaluated by hand, but can be accurately approximated for any value of t using
routines found in our favorite computer math package.
? ◮ Exercise 27.1: Using the formula (27.10), find the solution to
y
′′ − 10 y
′
3 t with y( 0 ) = 0 and y
′ ( 0 ) = 0.
Convolution and Differential Equations (Duhamel’s Principle) 551
As illustrated in our example, Duhamel’s principle makes it easy to write down solutions to
the given initial-value problem once we have found h. This is especially useful if we need to
find solutions to
ay
′′
′
′ ( 0 ) = 0
for a number of different choices of f.
Bur why stop at second-order problems? It should be clear that the above differential equation
did not have to be second order. A completely analogous derivation can be done starting with
any nonhomogeneous linear differential equation with constant coefficients, provided all the
appropriate initial values are zero. Doing so, leads to the following theorem:
Theorem 27.2 (Duhamel’s principle)
Let N be any positive integer, let a 0 , a 1 ,... and aN be any collection of constants, and let
f (t) be any Laplace transformable function. Then, the solution to
a 0 y
(N )
(N − 1 )
′′
′
satisfying the N
th -order “zero” initial conditions,
y( 0 ) = 0 , y
′ ( 0 ) = 0 , y
′′ ( 0 ) = 0 ,... and y
N − 1 ( 0 ) = 0 ,
is given by
y(t) = h ∗ f (t)
where
h(x) = L
− 1 [H (s)]| x and H (s) =
1
a 0 s n
Three quick notes:
t
0
h(x) f (t − x) d x or
t
0
h(t − x) f (x) d x.
In practice, use whichever appears easier to compute given the h and f involved. In the
examples here, we used the first. Later, when we re-examine “resonance” in mass/spring
systems (section 28.7), we will use the other integral formula.
be Laplace transformable. By applying the above theorem with
fT (t) =
f (t) if t < T
0 if t ≥ T
and then letting T → ∞ , you can show that y = h ∗ f is well defined and satisfies the
initial-value problem even when f is merely piecewise continuous on ( 0 , ∞).
a 0 y
(N )
(N − 1 )
′′
′
552 Convolution and Laplace Transforms
but satisfying nonzero initial conditions, then you simply need to add the solution obtained
by Duhamel’s principle to the solution to the corresponding homogeneous differential
equation
a 0 y
(N )
(N − 1 )
′′
′
that satisfies the desired initial conditions.
27.2. Compute the convolution f ∗ g(t) of each of the following pairs of functions:
a. f (t) = e
3 t and g(t) = e
5 t b. f (t) =
1 √ t
and g(t) = t
2
c. f (t) =
t and g(t) = 6 d. f (t) = t and g(t) = e
3 t
e. f (t) = t
2 and g(t) = t
2 f. f (t) = sin(t) and g(t) = t
g. f (t) = sin(t) and g(t) = sin(t) h. f (t) = step 3 (t) and g(t) = e
2 t
i. f (t) = step 3 (t) and g(t) = t
2
27.3. Verify the associative property of convolution. That is, verify equation (27.5) on page
27.4. Using convolution, compute the inverse Laplace transform of each of the following:
a.
1
(s − 4 )(s − 3 )
b.
1
s(s − 3 )
c.
1
s(s 2
d.
1
(s − 3 )(s 2
e.
1
(s 2
f.
s 2
(s 2
g.
e
− 4 s
s(s 2
h.
1 √ s(s − 3 )
(leave in integral form)
27.5. For each of the following initial-value problems, find the corresponding transfer function
H and the impulse response function h , and write down the corresponding convolution
integral formula for the solution:
a. y
′′
′ ( 0 ) = 0
b. y
′′ − 4 y = f (t) with y( 0 ) = 0 and y
′ ( 0 ) = 0
c. y
′′ − 6 y
′
′ ( 0 ) = 0
d. y
′′ − 6 y
′
′ ( 0 ) = 0
e. y
′′′
′ = f (t) with y( 0 ) = 0 and y
′ ( 0 ) = 0