Skip to content
4 days ago

Fourier Series: Trigonometric Form

MA
Mindli AI

Fourier Series: Trigonometric Form

Representing complex, repeating patterns as simpler, oscillatory components is a cornerstone of engineering analysis. The trigonometric Fourier series provides the mathematical machinery to do exactly this, transforming any periodic signal into a sum of basic sine and cosine waves. Mastering this decomposition is essential for fields ranging from signal processing and communications to vibrations analysis and acoustics, as it reveals the fundamental frequencies that constitute a complex waveform.

The Core Idea: Decomposing Periodic Signals

A periodic function is one that repeats its values at regular intervals, such that for all . The constant is the fundamental period. The trigonometric Fourier series states that a wide class of such periodic functions can be expressed as an infinite sum of sine and cosine functions whose frequencies are integer multiples of the fundamental frequency (or fundamental angular frequency ).

The general form of the series is:

This equation is a recipe: take a constant offset, add a cosine wave at the fundamental frequency, add a sine wave at the fundamental frequency, then add cosine and sine waves at every integer multiple (harmonics), each with its own specific weight. The magic lies in calculating those weights—the Fourier coefficients , , and .

Calculating the Fourier Coefficients

The coefficients are not arbitrary; they are computed by projecting the function onto each of the basis functions (the constant, cosine, and sine terms). This is achieved through integration over one complete period, exploiting the orthogonality properties of sines and cosines. The formulas are:

The DC (or average) component: This coefficient represents the average value of the function over one period.

The cosine coefficients:

The sine coefficients:

The integration limits denote integration over any convenient interval of length , such as from to or from to . The factor of 2 for and (but not for ) arises from the average value of the square of a sine or cosine over a period.

A Worked Example: The Square Wave

Consider an odd-symmetry square wave with period , amplitude , and defined over one period as:

Let's compute its trigonometric Fourier series.

  1. DC Offset (): The average value over one period is clearly zero. The integral confirms: .
  2. Cosine Coefficients (): Due to the odd symmetry of multiplied by the even symmetry of , the integrand is odd over a symmetric interval. Therefore, all .
  3. Sine Coefficients (): We compute:

Solving the integrals yields:

Thus, the square wave's series is: This reveals the square wave contains only odd harmonics of the fundamental frequency, with amplitudes diminishing as .

From Coefficients to Amplitude and Phase Spectrum

The trigonometric form directly shows the presence of sine and cosine components. However, we can often gain clearer physical insight by combining each sine-cosine pair at a given harmonic into a single sinusoid with a magnitude and phase.

Using trigonometric identities, for each : where:

  • Harmonic Amplitude:
  • Harmonic Phase Angle: (taking care with quadrant)

The constant remains the DC offset. In this amplitude-phase form, the series becomes: This representation tells you precisely "how much" of each frequency is present () and "when" it starts relative to a pure cosine (). Engineers commonly plot vs. frequency () as the amplitude spectrum and vs. frequency as the phase spectrum, which together form the signal's frequency-domain portrait.

Convergence and the Gibbs Phenomenon

The Fourier series converges to at all points where the function is continuous. At points of finite discontinuity (like the jumps in the square wave), the series converges to the average of the function's limit from the left and right. A fascinating and important artifact occurs near these discontinuities: the Gibbs phenomenon.

When approximating a discontinuous function with a finite number of terms (a partial sum), the series exhibits an overshoot and ripple near the jump. Crucially, as increases, the overshoot does not disappear; it approaches a constant value of about 9% of the jump height. The width of the oscillatory region narrows, however, so in the infinite limit, the overshoot is confined to a single point of discontinuity. This is a vital consideration in filter design, where truncating a series in the frequency domain can cause ringing artifacts in the time-domain signal.

Common Pitfalls

  1. Incorrect Integration Limits or Period: The most frequent error is misidentifying the fundamental period or integrating over an interval that is not exactly one period long. Always verify the function satisfies and set your integration bounds to span exactly that . For a function defined piecewise, be meticulous in breaking the integral at the discontinuity points.
  2. Misapplying Symmetry: Recognizing function symmetry (even, odd, half-wave) can drastically simplify calculations. An even function () will have all . An odd function () will have all (including ). Failing to spot symmetry leads to unnecessary computation. Remember, symmetry must be evaluated relative to the origin of your chosen period.
  3. Confusing Forms: Be precise about which form of the series you are using (trigonometric vs. amplitude-phase vs. complex exponential). The coefficient formulas differ. For the standard trigonometric form, remember has a factor of , while and for have a factor of .
  4. Ignoring Convergence Conditions (Dirichlet Conditions): While many engineering functions satisfy them, it's important to know the requirements for a Fourier series to exist: the function must be absolutely integrable over one period, have a finite number of maxima/minima and discontinuities in a period. A function like over a period containing would violate these.

Summary

  • The trigonometric Fourier series decomposes a periodic function into a DC component plus an infinite sum of sine and cosine harmonics at integer multiples of the fundamental frequency.
  • The coefficients , , and are determined by integrating the product of the function with the corresponding basis function (1, , or ) over a single period.
  • The series can be equivalently expressed in amplitude-phase form , where is the harmonic amplitude and is its phase, providing a direct link to frequency spectrum plots.
  • Symmetry properties (even, odd) immediately determine which sets of coefficients are zero, significantly simplifying analysis.
  • Understanding convergence behavior, including the Gibbs phenomenon at discontinuities, is critical for practical applications, especially when dealing with finite, truncated series approximations.

Write better notes with AI

Mindli helps you capture, organize, and master any subject with AI-powered summaries and flashcards.