DSP 101
M3 · L3
Module 3 — Discrete-Time Signals & Systems
Convolution —
The Core Operation

The output of any LTI system is the convolution of its input with its impulse response. This single operation is the foundation of every filter, equalizer, and channel model in DSP.

1 / 9
DSP 101
M3 · L3
The Formula
The Convolution Sum

For an LTI system with impulse response h[n] driven by input x[n], the output is the sum of scaled, shifted copies of h[n] — one for each input sample.

Convolution Sum
y[n] = \sum_{k=-\infty}^{\infty} x[k]\,h[n-k]
Shorthand
y[n] = x[n] * h[n] — the asterisk denotes convolution, not multiplication.
2 / 9
DSP 101
M3 · L3
Where It Comes From
Derived, Not Assumed

The sifting property decomposes any signal into scaled impulses. Linearity passes the sum through T. Time-invariance converts each T{δ[n−k]} into h[n−k]. The convolution sum is the inevitable result.

Sifting → Convolution
y[n] = T\!\left\{\sum_k x[k]\,\delta[n-k]\right\} = \sum_k x[k]\,h[n-k]
3 / 9
DSP 101
M3 · L3
Step-by-Step
Flip, Shift,
Multiply, Sum

To compute y[n] at a single output index: flip h to get h[−k], shift by n to get h[n−k], multiply with x[k] element-wise, then sum all products.

Flip
Reverse h
Shift
Slide by n
Mult
× element-wise
Sum
→ y[n]
4 / 9
DSP 101
M3 · L3
Algebra of Convolution
Three Key Properties
  • Commutative: x*h = h*x — order doesn't matter
  • Associative: (x*h₁)*h₂ = x*(h₁*h₂) — cascade filters merge into one
  • Distributive: x*(h₁+h₂) = x*h₁ + x*h₂ — parallel filters add
Key Insight
Cascaded LTI systems can be reordered or pre-combined into a single impulse response h₁ * h₂.
5 / 9
DSP 101
M3 · L3
Identity & Length
δ[n] and Output Length

The unit impulse is the identity element of convolution: x[n] * δ[n] = x[n]. A shifted impulse δ[n−n₀] is a pure delay.

Output Length
L_y = N + M - 1

N-sample signal * M-sample kernel → N+M−1 samples output. Direct cost: O(N·M). FFT cost: O((N+M)log(N+M)).

6 / 9
DSP 101
M3 · L3
Two Families
FIR vs. IIR

FIR: finite h[n] — always stable, direct convolution sum, linear-phase achievable.
IIR: infinite h[n] — implemented via difference equations, fewer coefficients for sharp selectivity, requires stability check.

FIR
Always stable
IIR
Check |α| < 1
7 / 9
DSP 101
Knowledge Check

Check what stuck

Four questions from this lesson. Answer to see why — the explanation appears whether you were right or wrong. Nothing is scored or saved.

Question 1 of 0
Score 0/0

8 / 9
DSP 101
M3 · L3
Key Takeaways
What You Learned
  • y[n] = Σ x[k]·h[n−k] — the convolution sum for any LTI system
  • Derived from sifting + linearity + time-invariance
  • Graphical method: flip, shift, multiply, sum
  • Commutative, associative, distributive properties
  • δ[n] is the convolution identity; δ[n−n₀] is a pure delay
  • Output length = N + M − 1; FFT speeds computation
  • FIR = finite h[n]; IIR = infinite h[n] via recursion
Read full article →
9 / 9
1 / 8 muted