Signals and Systems

3.4 Convergence of the Fourier Series

Imron Rosyadi

Signals and Systems

3.4 Convergence of the Fourier Series

Approximating Signals: Euler, Lagrange, and Fourier

  • Early mathematicians like Euler and Lagrange struggled with Fourier series for discontinuous signals.

    • Fourier, however, maintained that even discontinuous signals like square waves could be represented.
  • We approximate a periodic signal \(x(t)\) using a finite sum of harmonically related complex exponentials: \[ x_{N}(t)=\sum_{k=-N}^{N} a_{k} e^{j k \omega_{0} t} \]

  • The approximation error is defined as: \[ e_{N}(t)=x(t)-x_{N}(t) \]

Minimizing Approximation Error

  • To quantify the approximation’s quality, we use the energy in the error over one period: \[ E_{N}=\int_{T}\left|e_{N}(t)\right|^{2} d t \]

  • Key Result: The coefficients \(a_k\) that minimize this energy \(E_N\) are precisely the Fourier series coefficients: \[ a_{k}=\frac{1}{T} \int_{T} x(t) e^{-j k \omega_{0} t} d t \]

Tip

This means that truncating the Fourier series provides the “best” approximation in a least-squares sense for a finite number of terms.

When Does a Fourier Series Converge?

  • Not all periodic signals have a valid Fourier series representation.
    • The integral for \(a_k\) might diverge, or the infinite series for \(x(t)\) might not converge to \(x(t)\).
  • Fortunately, most practical ECE signals do have Fourier series representations.
  • We’ll discuss two main classes of conditions guaranteeing convergence:
    1. Finite Energy over a Period (Square Integrability)
    2. Dirichlet Conditions (Point-wise Convergence)

Condition 1: Finite Energy (Square Integrability)

  • A periodic signal \(x(t)\) has a Fourier series representation if it has finite energy over a single period: \[ \int_{T}|x(t)|^{2} d t<\infty \]
  • Guarantees:
    • Coefficients \(a_k\) are finite.
    • The energy in the approximation error \(E_N\) converges to 0 as \(N \rightarrow \infty\). \[ \int_{T}|e(t)|^{2} d t=0 \quad \text{where} \quad e(t)=x(t)-\sum_{k=-\infty}^{+\infty} a_{k} e^{j k \omega_{0} t} \]

Important

This means \(x(t)\) and its infinite Fourier series representation are indistinguishable from an energy perspective, even if they differ at isolated points. Physical systems respond to signal energy.

Condition 2: Dirichlet Conditions

  • A set of conditions, developed by P. L. Dirichlet, that guarantee point-wise convergence.
  • This means \(x(t)\) equals its Fourier series representation except at isolated discontinuities.
  • At discontinuities, the series converges to the average of the values on either side.

Dirichlet Condition 1: Absolute Integrability

  • Over any period, \(x(t)\) must be absolutely integrable: \[ \int_{T}|x(t)| d t<\infty \]
  • Ensures: Each coefficient \(a_k\) will be finite. \[ \left|a_{k}\right| \leq \frac{1}{T} \int_{T}|x(t)| d t \]
  • Violation Example: \(x(t) = 1/t\) for \(0 < t \leq 1\), periodic with \(T=1\).
    • The integral \(\int_0^1 (1/t) dt\) diverges (see Figure 3.8a in textbook).

Dirichlet Condition 2: Bounded Variation

  • In any finite interval of time, \(x(t)\) must have a finite number of maxima and minima during any single period.
  • Violation Example: \(x(t) = \sin(2\pi/t)\) for \(0 < t \leq 1\), periodic with \(T=1\).
    • This function has an infinite number of oscillations (maxima and minima) as \(t \rightarrow 0\) (see Figure 3.8b in textbook).

Dirichlet Condition 3: Finite Discontinuities

  • In any finite interval of time, there are only a finite number of discontinuities.
  • Furthermore, each of these discontinuities must be finite.
  • Violation Example: A signal with an infinite number of increasingly smaller sections, each introducing a discontinuity (see Figure 3.8c in textbook).

Note

Most physically generated or processed signals in ECE satisfy all three Dirichlet conditions.

Practical Implications of Dirichlet Conditions

For Signals Satisfying Dirichlet Conditions:

  • Fourier series converges and equals \(x(t)\) everywhere except at isolated discontinuities.
  • At discontinuities, the series converges to the average value of the signal on either side.

Why it matters for ECE:

  • Signals differing only at isolated points have identical integrals.
  • They behave identically under convolution.
  • Therefore, they are considered equivalent for LTI system analysis.

The Gibbs Phenomenon: An Introduction

  • Discovered by Michelson (1898) and explained by Gibbs (1899).
  • It describes the peculiar behavior of the Fourier series approximation near discontinuities.
  • Observation: When approximating a discontinuous signal (like a square wave) with a finite Fourier series, ripples and overshoot occur at the discontinuities.

Visualizing the Gibbs Phenomenon

  • Consider a symmetric square wave.
  • We’ll observe its finite Fourier series approximation, \(x_N(t)\), as \(N\) increases.
  • Notice the overshoot and ripples near the edges of the square wave.

Understanding the Gibbs Phenomenon

  • Overshoot: For a discontinuity of unity height, the peak amplitude of the ripple is approximately 1.09 (an overshoot of ~9%).
    • This overshoot does not decrease with increasing \(N\).
  • Ripples: As \(N\) increases, the ripples become compressed closer to the discontinuity.
    • The width of the ripples decreases, but their peak amplitude remains constant.
  • Convergence at a point: For any fixed \(t_1\), \(x_N(t_1)\) will converge to \(x(t_1)\) as \(N \rightarrow \infty\) (or to the average at a discontinuity).
    • However, the closer \(t_1\) is to a discontinuity, the larger \(N\) must be for the error to be acceptably small.

Practical Significance of Gibbs Phenomenon

  • In real-world applications, if a truncated Fourier series \(x_N(t)\) is used to approximate a discontinuous signal:
    • Expect high-frequency ripples and overshoot near discontinuities.
  • Engineering Consideration:
    • Choose a sufficiently large \(N\) so that the total energy in these ripples becomes insignificant.
    • While the peak overshoot remains, the energy contained within the shrinking ripple region diminishes.

Caution

For applications sensitive to peak values (e.g., driving an amplifier to saturation), the Gibbs phenomenon can be a critical design consideration.

Conclusion: Convergence and Practicality

  • Most practical signals in ECE have Fourier series representations.
    • Guaranteed by finite energy or Dirichlet conditions.
  • Fourier series provides the best least-squares approximation for a finite number of terms.
  • The Gibbs Phenomenon highlights a limitation for discontinuous signals:
    • Persistent overshoot and ripples near discontinuities, even as \(N \rightarrow \infty\).
    • Ripples compress, but peak amplitude remains constant (for a given discontinuity height).
  • Despite Gibbs, Fourier series remains an indispensable tool for analyzing and synthesizing signals in ECE.