Scroll back to top
Imagine you are a doctor and to fight an infection you must give your patients 3 doses of medicine.
Doses = 3
At the beginning of the week, you have 1 patient. This number increases throughout the week by 1 patient each day. By Friday, you have 5 patients.
Number of patients per day = [1 2 3 4 5]
If you wanted to calculate the total number of doses you administer over the week, you would multiply the doses by the number of patients per day and sum this.
Total doses = [3 6 9 12 15] = 45
However, imagine the disease evolves. Now, you have to give each patient 3 doses on the first day, 2 doses on the second day, and 1 dose on the third day.
Doses = [3 2 1]
Now, how many total doses are administered each day? Each week? This suddenly became more complicated, but convolution is the key to solving this problem.
This is a way to take two functions and apply them to each other. You take the first function and map the second function to it. Simplistically, you are taking both functions and performing a sliding multiplication and sum of them.
Often, we do not know the output of a system, \( y(t) \), but we do know the input, \( x(t) \), and the impulse response, \( h(t) \). The convolution operation allows us to use \( x(t) \) and \( h(t) \) to solve for \( y(t) \):
Important: The asterisk (\( * \)) is the symbol used for convolution; it does not mean standard multiplication. In continuous time, this is expressed analytically with an integral:
The commutative property:
The distributive property:
The associative property: