Signals and Systems

5.4 The Convolution Property

Imron Rosyadi

5.4 The Convolution Property

The Convolution Property

For an LTI system, if \(x[n]\) is the input, \(h[n]\) is the impulse response, and \(y[n]\) is the output:

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

Then, their Discrete-Time Fourier Transforms are related by:

\[ Y\left(e^{j \omega}\right)=X\left(e^{j \omega}\right) H\left(e^{j \omega}\right) \quad \text{(Eq. 5.48)} \]

  • Convolution in the time domain becomes multiplication in the frequency domain.
  • \(H(e^{j\omega})\) is the frequency response of the LTI system, which is the DTFT of the impulse response \(h[n]\).

Important

This property is a cornerstone of LTI system analysis, allowing us to analyze system behavior in the frequency domain, which is often much simpler.

Why is it so useful?

  • Simplifies Analysis: Converts complex convolution into algebraic multiplication.
  • System Understanding: \(H(e^{j\omega})\) directly shows how a system affects different frequencies.
    • Magnitude Response \(|H(e^{j\omega})|\): Gain at each frequency.
    • Phase Response \(\operatorname{Arg}\{H(e^{j\omega})\}\): Phase shift at each frequency.
  • Filter Design: Allows direct specification of desired frequency characteristics (e.g., passband, stopband) to design filters.
  • Eigenfunction Interpretation: Complex exponentials \(e^{j\omega n}\) are eigenfunctions of LTI systems. The frequency response \(H(e^{j\omega})\) is the eigenvalue for \(e^{j\omega n}\).

Example 5.11: Time Shift System

Consider an LTI system with impulse response:

\[ h[n]=\delta\left[n-n_{0}\right] \]

This system simply delays the input by \(n_0\) samples: \(y[n] = x[n-n_0]\).

1. Find the frequency response \(H(e^{j\omega})\):

\[ H\left(e^{j \omega}\right)=\mathcal{F}\{\delta[n-n_0]\} = \sum_{n=-\infty}^{+\infty} \delta\left[n-n_{0}\right] e^{-j \omega n}=e^{-j \omega n_{0}} \]

2. Apply the convolution property:

\[ Y\left(e^{j \omega}\right)=X\left(e^{j \omega}\right) H\left(e^{j \omega}\right)=X\left(e^{j \omega}\right) e^{-j \omega n_{0}} \quad \text{(Eq. 5.49)} \]

This is consistent with the time-shifting property: \(x[n-n_0] \stackrel{\mathcal{F}}{\longleftrightarrow} e^{-j\omega n_0} X(e^{j\omega})\).

Note

The frequency response \(H(e^{j\omega})=e^{-j\omega n_0}\) has:

  • Unity magnitude: \(|H(e^{j\omega})|=1\) for all \(\omega\). (No frequency is amplified or attenuated)
  • Linear phase: \(\operatorname{Arg}\{H(e^{j\omega})\} = -\omega n_0\). (All frequencies are delayed by the same amount, \(n_0\) samples, resulting in a constant group delay).

Example 5.12: Ideal Discrete-Time Lowpass Filter

An ideal lowpass filter has a frequency response \(H(e^{j\omega})\) as shown:

Figure 5.17(a): Ideal lowpass filter frequency response.

We can find its impulse response \(h[n]\) using the inverse DTFT:

\[ \begin{aligned} h[n] & =\frac{1}{2 \pi} \int_{-\pi}^{\pi} H\left(e^{j \omega}\right) e^{j \omega n} d \omega \\ & =\frac{1}{2 \pi} \int_{-\omega_{c}}^{\omega_{c}} e^{j \omega n} d \omega \\ & =\frac{\sin \omega_{c} n}{\pi n} \quad \text{(Eq. 5.50)} \end{aligned} \]

Figure 5.17(b): Impulse response of the ideal lowpass filter.

Warning

Challenges with Ideal Filters:

  • Non-causal: \(h[n]\) is non-zero for \(n<0\). Ideal filters cannot be implemented in real-time.
  • Oscillatory: The impulse response is an oscillating sinc function, which can lead to undesirable time-domain ringing artifacts.
  • Trade-offs: Practical filter design involves trade-offs between ideal frequency response and realizable time-domain characteristics.

Interactive Plot: Ideal Lowpass Filter \(h[n]\)

Observe the impulse response \(h[n]\) of an ideal lowpass filter for different cutoff frequencies.

Example 5.13: Convolution of Exponentials

Let’s use the convolution property to find the output \(y[n]\) of an LTI system.

  • Impulse response: \(h[n]=\alpha^{n} u[n]\), with \(|\alpha|<1\).
  • Input signal: \(x[n]=\beta^{n} u[n]\), with \(|\beta|<1\).

1. Find DTFTs of \(h[n]\) and \(x[n]\) (from Example 5.1):

\[ H\left(e^{j \omega}\right)=\frac{1}{1-\alpha e^{-j \omega}} \quad \text{(Eq. 5.51)} \]

\[ X\left(e^{j \omega}\right)=\frac{1}{1-\beta e^{-j \omega}} \quad \text{(Eq. 5.52)} \]

2. Multiply in frequency domain:

\[ Y\left(e^{j \omega}\right)=H\left(e^{j \omega}\right) X\left(e^{j \omega}\right)=\frac{1}{\left(1-\alpha e^{-j \omega}\right)\left(1-\beta e^{-j \omega}\right)} \quad \text{(Eq. 5.53)} \]

3. Find inverse DTFT of \(Y(e^{j\omega})\) using partial fractions:

  • Case 1: \(\alpha \neq \beta\) \[ Y\left(e^{j \omega}\right)=\frac{A}{1-\alpha e^{-j \omega}}+\frac{B}{1-\beta e^{-j \omega}} \] where \(A=\frac{\alpha}{\alpha-\beta}\) and \(B=-\frac{\beta}{\alpha-\beta}\). Taking the inverse DTFT (using linearity and Example 5.1): \[ y[n]=\frac{1}{\alpha-\beta}\left[\alpha^{n+1} u[n]-\beta^{n+1} u[n]\right] \quad \text{(Eq. 5.55)} \]

  • Case 2: \(\alpha = \beta\) \[ Y\left(e^{j \omega}\right)=\left(\frac{1}{1-\alpha e^{-j \omega}}\right)^{2} \] Using the differentiation in frequency property (Eq. 5.46) and time-shifting property: \[ y[n]=(n+1) \alpha^{n} u[n] \quad \text{(Eq. 5.58)} \]

Example 5.14: System Interconnection Analysis

Consider the system shown in Figure 5.18(a).

Figure 5.18(a): System interconnection.

  • \(H_{lp}(e^{j\omega})\) are ideal lowpass filters with cutoff \(\pi/4\).
  • The “\(-1\)” blocks multiply by \((-1)^n = e^{j\pi n}\).

Example 5.14: System Interconnection Analysis

Analysis of Paths:

  • Top Path:

    1. \(w_1[n] = (-1)^n x[n] \stackrel{\mathcal{F}}{\longleftrightarrow} W_1(e^{j\omega}) = X(e^{j(\omega-\pi)})\) (Frequency Shift)
    2. \(w_2[n] = w_1[n] * h_{lp}[n] \stackrel{\mathcal{F}}{\longleftrightarrow} W_2(e^{j\omega}) = H_{lp}(e^{j\omega}) X(e^{j(\omega-\pi)})\) (Convolution Property)
    3. \(w_3[n] = (-1)^n w_2[n] \stackrel{\mathcal{F}}{\longleftrightarrow} W_3(e^{j\omega}) = W_2(e^{j(\omega-\pi)}) = H_{lp}(e^{j(\omega-\pi)}) X(e^{j(\omega-2\pi)})\) Since \(X(e^{j(\omega-2\pi)}) = X(e^{j\omega})\) (DTFT Periodicity): \(W_3(e^{j\omega}) = H_{lp}(e^{j(\omega-\pi)}) X(e^{j\omega})\)
  • Lower Path:

    \(W_4(e^{j\omega}) = H_{lp}(e^{j\omega}) X(e^{j\omega})\) (Convolution Property)

Example 5.14: System Interconnection Analysis

Overall System:

\[ Y\left(e^{j \omega}\right) = W_{3}\left(e^{j \omega}\right)+W_{4}\left(e^{j \omega}\right) = \left[H_{l p}\left(e^{j(\omega-\pi)}\right)+H_{l p}\left(e^{j \omega}\right)\right] X\left(e^{j \omega}\right) \]

The overall frequency response is \(H(e^{j\omega}) = H_{lp}(e^{j(\omega-\pi)}) + H_{lp}(e^{j\omega})\).

Figure 5.18(b): Overall frequency response.

Tip

\(H_{lp}(e^{j(\omega-\pi)})\) is the frequency response of an ideal highpass filter (from Example 5.7). Thus, the overall system creates an ideal bandstop filter, passing low and high frequencies, and stopping frequencies between \(\pi/4\) and \(3\pi/4\).

Stability and Frequency Response

  • Not all LTI systems have a well-defined frequency response.
    • Example: \(h[n] = 2^n u[n]\) (unstable system). Its DTFT (analysis equation) diverges.
  • For a stable LTI system, its impulse response \(h[n]\) must be absolutely summable:

\[ \sum_{n=-\infty}^{+\infty}|h[n]|<\infty \quad \text{(Eq. 5.59)} \]

  • If an LTI system is stable, its frequency response \(H(e^{j\omega})\) always converges.
  • For unstable systems, we use the z-transform (Chapter 10), which is a more general transform that includes the DTFT as a special case.