2702 Definition and Properties
Definition
The convolution of two functions f and g is a third function which we denote f∗g. It is defined as the following integral
(f∗g)(t)=∫t+0−f(τ)g(t−τ)dτ
We will leave this unmotivated until the next note, and for now just learn how to work with it.
There are a few things to point out about the formula.
* The variable of integration is τ. We can't use t because that is already used in the limits and in the integrand. We can choose any symbol we want for the variable of integration – it is just a dummy variable.
* The limits of integration are 0− and t+. This is important, particularly when we work with delta functions. If f and g are continuous or have at worst jump discontinuities then we can use 0 and t for the limits. You will often see convolution written like this:
(f∗g)(t)=∫t0f(τ)g(t−τ)dτ
* We are considering one-sided convolution. There is also a two-sided convolution where the limits of integration are ±∞.
* (Important) One-sided convolution is only concerned with functions on the interval (0−,∞). When using convolution we never look at t < 0.
Examples
Example 1 below calculates two useful convolutions from the definition (1). As you can see, the form of f∗g is not very predictable from the form of f and g.
Example 1. Show that
eat∗ebt=eat−ebta−b,a≠b
eat∗eat=teat
Solution. We show the first; the second calculation is similar.
If a=b,
eat∗ebt=∫t0eaτeb(t−τ)dτ=ebt∫t0e(a−b)τdτ=ebte(a−b)τa−b|t0=ebte(a−b)t−1a−b=eat−ebta−b
If a=b,
eat∗eat=∫t0eaτea(t−τ)dτ=∫t0eatdτ=eat∫t01dτ=teat
Note that because the functions are continuous we could safely integrate just from 0 to t instead of having to specify precisely 0− to t+.
The convolution gives us a formula for a particular solution yp to an inhomogeneous linear ODE. The next example illustrates this for a first order equation.
Example 2. Express as a convolution the solution to the first order constantcoefficient linear IVP.
y′+ky=q(t);y(0)=0
Solution. The integrating factor is ekt; multiplying both sides by it gives
(yekt)′=q(t)ekt
Integrate both sides from 0 to t, and apply the Fundamental Theorem of Calculus to the left side; since we have y(0)=0, the solution we seek satisfies
yekt=∫t0q(τ)ekτdτ
Moving the ekt to the right side and placing it under the integral sign gives
yp=∫t0q(τ)e−k(t−τ)dτ
yp=q(t)∗e−kt
Now we observe that the solution is the convolution of the input q(t) with e−kt, which is the solution to the corresponding homogeneous DE y′+ky=0, but with IC y(0)=1. This is the simplest case of Green's formula, which is the analogous result for higher order linear ODE's, as we will see shortly.
Properties
-
Linearity: Convolution is linear. That is, for functions f1, f2, g and constants c1, c2 we have (c1f1+c2f2)∗g=c1(f1∗g)+c2(f2∗g) This follows from the exact same property for integration. This might also be called the distributive law.
-
Commutivity: f∗g=g∗f.
Proof: This follows from the change of variable v=t−τ.
Limits: τ=0−\rArrt−τ=t+, and τ=t+\rArrt−τ=0−
dv=−dτ
Integral: (f∗g)(t)=∫t+0−f(τ)g(t−τ)dτ=∫0−t+f(t−v)g(v)(−dv)=∫t+0−g(v)f(t−v)dv=(g∗f)(t) - Associativity: f∗(g∗h)=(f∗g)∗h. The proof just amounts to changing the order of integration in a double integral. (f∗(g∗h))(t)=∫t0f(u)(g∗h)(t−u)du=∫tu=0f(u)(∫t−us=0g(s)h(t−u−s)ds)du=∫tu=0∫t−us=0f(u)g(s)h(t−s−u)dsdu=∫tu=0∫ts=uf(u)g(s−u)h(t−s)dsdu=∫ts=0∫su=0f(u)g(s−u)h(t−s)duds=∫ts=0(∫su=0f(u)g(s−u)du)h(t−s)ds=∫t0(f∗g)(s)h(t−s)ds=((f∗g)∗h)(t)
Delta Functions
We have (δ∗f)(t)=f(t) and (δ(t−a)∗f)(t)=f(t−a) The notation for the second equation is ugly, but its meaning is clear.
We prove these formulas by direct computation. First, remember the rules of integration with delta functions: for b>0 ∫b0−δ(τ)f(τ)dτ=f(0) The formulas follow easily for t≥0 (δ∗f)(t)=∫t+0−δ(τ)f(t−τ)dτ=∫t+0−δ(τ)f(t−0)dτ=f(t−0)∫t+0−δ(τ)dτ=f(t) (δ(t−a)∗f)(t)=∫t+0−δ(τ−a)f(t−τ)dτ=∫t+0−δ(τ−a)f(t−a)dτ=f(t−a)∫t+0−δ(τ−a)dτ=f(t−a)
Convolution is a Type of Multiplication
You should think of convolution as a type of multiplication of functions. In fact, it is often referred to as the convolution product. In fact, it has the properties we associate with multiplication: * It is commutative. * It is associative. * It is distributive over addition. * It has a multiplicative identity. For ordinary multiplication, 1 is the multiplicative identity. Formula (3) shows that δ(t) is the multiplicative identity for the convolution product.