Skip to main content

Convolve δ-sum with u[n] − u[n−1]

Short answer

h[n] = u[n] - u[n-1] simplifies to δ[n]. Convolution with δ[n] is the identity operation, so y[n] = x[n] = δ[n+2] + δ[n+1] + 2δ[n] - δ[n-1] + δ[n-2]. The sequence values are {1, 1, 2, -1, 1} for n = -2 to 2, zero elsewhere.

Find the convolution between the signal x[n] = δ[n−2] − δ[n−1] + 2δ[n] + δ[n+1] + δ[n+2] and h[n] = u[n] − u[n−1]

First simplify h[n]h[n]:

h[n]=u[n]−u[n−1]h[n]=u[n]-u[n-1]

u[n]−u[n−1]u[n]-u[n-1] is 1 only at n=0n=0 (both are 1 for n≥1n\ge1 and both are 0 for n<0n<0), so

h[n]=δ[n]h[n]=\delta[n]

Convolution with the unit impulse leaves a signal unchanged (x[n]∗δ[n]=x[n]x[n]*\delta[n]=x[n], the identity property). Hence

y[n]=x[n]∗h[n]=x[n]∗δ[n]=x[n]=δ[n+2]+δ[n+1]+2δ[n]−δ[n−1]+δ[n−2]\begin{aligned} y[n]&=x[n]*h[n]=x[n]*\delta[n]=x[n]\\ &=\delta[n+2]+\delta[n+1]+2\delta[n]-\delta[n-1]+\delta[n-2] \end{aligned}
nn−2−1012
y[n]y[n]112−11

Answer: y[n]={1, 1, 2, −1, 1}y[n]=\{1,\ 1,\ 2,\ -1,\ 1\} for n=−2,…,2n=-2,\dots,2 (↑ at 2), and zero elsewhere.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Signals and Systems chapter 6 questions →