Skip to main content

What is convolution; convolution sum

Short answer

Convolution gives the output of an LTI system as a weighted sum of input samples. The convolution sum is y[n] = ∑ x[k] h[n−k], where h[n] is the impulse response.

What is convolution? Obtain the expression for convolution sum.

Convolution

Convolution is the operation that gives the output of an LTI system from its input and its impulse response. For discrete time, the output is a weighted sum of the present and past (and possibly future) inputs, with the impulse response values as weights:

y[n]=x[n]∗h[n]y[n] = x[n] * h[n]

Here h[n]h[n] is the impulse response, the output when the input is the unit impulse δ[n]\delta[n].

Expression for the convolution sum

Step 1: Represent the input with impulses. Using the sifting property, any sequence is a sum of scaled, shifted impulses:

x[n]=∑k=−∞∞x[k] δ[n−k]x[n] = \sum_{k=-\infty}^{\infty} x[k]\,\delta[n-k]

e.g. {3↑,1}=3δ[n]+δ[n−1]\{\underset{\uparrow}{3}, 1\} = 3\delta[n] + \delta[n-1].

Step 2: Response to one impulse. By definition δ[n]→h[n]\delta[n] \rightarrow h[n].

Step 3: Time invariance. δ[n−k]→h[n−k]\delta[n-k] \rightarrow h[n-k].

Step 4: Homogeneity. x[k] δ[n−k]→x[k] h[n−k]x[k]\,\delta[n-k] \rightarrow x[k]\,h[n-k] (x[k]x[k] is a constant for each kk).

Step 5: Additivity. The output for the sum of all these inputs is the sum of their outputs:

y[n]=∑k=−∞∞x[k] h[n−k]y[n] = \sum_{k=-\infty}^{\infty} x[k]\,h[n-k]

This is the convolution sum. With m=n−km = n - k it can also be written y[n]=∑kh[k] x[n−k]y[n] = \sum_{k} h[k]\,x[n-k] (commutative property).

For a causal system with a causal input: y[n]=∑k=0nx[k] h[n−k]y[n] = \sum_{k=0}^{n} x[k]\,h[n-k].

Steps to evaluate: fold h[k]→h[−k]h[k] \rightarrow h[-k]; shift to h[n−k]h[n-k]; multiply with x[k]x[k]; add all products; repeat for each nn. If the lengths are N1N_1 and N2N_2, the output length is N1+N2−1N_1 + N_2 - 1, starting at (start of xx) + (start of hh).

Example: x[n]={1↑,1}x[n] = \{\underset{\uparrow}{1}, 1\}, h[n]={2↑,3}h[n] = \{\underset{\uparrow}{2}, 3\}:

  • y[0]=1⋅2=2y[0] = 1\cdot2 = 2
  • y[1]=1⋅3+1⋅2=5y[1] = 1\cdot3 + 1\cdot2 = 5
  • y[2]=1⋅3=3y[2] = 1\cdot3 = 3

So y[n]={2↑,5,3}y[n] = \{\underset{\uparrow}{2}, 5, 3\}.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Signals and Systems chapter 6 questions →