Fourier Series: A Comprehensive Tutorial

EEEN 462 — Analog Communications · Department of Electrical & Electronic Engineering · 4th Year BSc. EEE

Egerton University · Faculty of Engineering & Technology

STUDY GUIDE + INTERACTIVE SIMULATION + QUIZ

1. Introduction

Fourier Series is one of the most powerful analytical tools in Electrical & Electronic Engineering. It states that any periodic signal that satisfies certain mathematical conditions can be expressed as an infinite sum of sinusoids — sines and cosines — whose frequencies are integer multiples of a fundamental frequency.

1.1 Historical Background

In 1807, the French mathematician Jean-Baptiste Joseph Fourier presented his work on heat conduction, in which he claimed that any periodic function could be represented by a trigonometric series. Although initially rejected for lack of rigor, his insight has become the cornerstone of signal analysis, communications, and systems engineering.

1.2 The Central Idea

A periodic signal x(t) with period T0 can be decomposed as:

x(t) = a0 + ∑n=1∞ [ ancos(nω0t) + bnsin(nω0t) ]

where ω0 = 2πf0 = 2π/T0 is the fundamental angular frequency, and nω0 are the harmonics.

Why this matters for Analog Communications: Amplitude Modulation (AM), Frequency Modulation (FM), and spectral analysis all assume we can decompose a message signal into its frequency components. Fourier Series is the mathematical engine behind every spectrum analyser, filter design, and bandwidth calculation in EEEN 462.
fundamental 3rd harmonic t
Fig. 1 — A fundamental sinusoid and its 3rd harmonic component.

1.3 Objectives

By the end of this tutorial, you should be able to:

2. Mathematical Foundation

2.1 Dirichlet Conditions (Existence)

A periodic signal x(t) with period T0 possesses a convergent Fourier Series if it satisfies the Dirichlet conditions:

  1. Absolute integrability: ∫T₀ |x(t)| dt < ∞ over one period
  2. Finitely many discontinuities in one period.
  3. Finitely many maxima and minima in one period.
Practical signals (and even idealized ones like the square wave) satisfy these conditions. Pathological signals such as x(t) = 1/t near t = 0 or x(t) = tan(t) do not — but you will never meet them in communication systems.

2.2 Signal Classes

ClassDefinitionExample in Communications
Periodicx(t + T0) = x(t) for all tCarrier waves, clock signals, pilot tones
AperiodicNo T0 existsSpeech, music (handled by Fourier Transform)
Energy signalFinite energy, 0 < E < ∞Single pulses, packets
Power signalInfinite energy, finite average powerPeriodic carriers — exactly what Fourier Series covers

2.3 Orthogonality of Sinusoids — The Engine of Fourier Analysis

Over one period T0 = 2π/ω0, the basis functions cos(nω0t) and sin(nω0t) are mutually orthogonal:

T02, if n = m ≠ 0  0, if n ≠ m    ∫T₀ cos(nω0t) sin(mω0t) dt = 0  for all n, m
∫T₀ cos(nω0t) cos(mω0t) dt = ∫T₀ sin(nω0t) sin(mω0t) dt =

Orthogonality means each sinusoid "carries its own information" — we can extract each coefficient by projection, exactly like resolving a vector into orthogonal components.

2.4 The Concept of Projection (How Coefficients Are Obtained)

To find an: multiply x(t) by cos(nω0t) and average over one period. All other harmonics integrate to zero, leaving only the "amount" of that cosine present in x(t):

an = 2T0 ∫T₀ x(t) cos(nω0t) dt

3. Different Forms of Fourier Series

3.1 Trigonometric Form

x(t) = a0 + ∑n=1∞ [ ancos(nω0t) + bnsin(nω0t) ]
a0 = 1T0 ∫T₀ x(t) dt    an = 2T0 ∫T₀ x(t) cos(nω0t) dt    bn = 2T0 ∫T₀ x(t) sin(nω0t) dt

3.2 Exponential (Complex) Form

Using Euler's formula ejnω₀t = cos(nω0t) + j sin(nω0t), the series becomes a single compact sum over all integers:

x(t) = ∑n=−∞∞ cn ejnω₀t ,  cn = 1T0 ∫T₀ x(t) e−jnω₀t dt
RelationFormula
a0 ↔ c0a0 = c0
an ↔ cnan = cn + c−n = 2 Re{cn}
bn ↔ cnbn = j(cn − c−n) = −2 Im{cn}
cn from trig formcn = an − j bn2 ,   c−n = cn*  for real x(t)

3.3 Compact (Amplitude–Phase) Form

x(t) = A0 + ∑n=1∞ An cos(nω0t + φn)  A0 = a0,  An = an2 + bn2,  φn = −tan−1( bn/an )

This is the form used in frequency spectra: An gives the amplitude spectrum and φn the phase spectrum — exactly the display of a spectrum analyser.

Worked Example 3.1

Trigonometric coefficients of a square wave.

Let x(t) be an odd square wave with x(t) = +1 for 0 < t < T0/2 and x(t) = −1 for −T0/2 < t < 0, with period T0 and ω0 = 2π/T0.

Since x(t) is odd: a0 = 0 and an = 0 for all n. Then:

bn = 4T0 ∫0T₀/2 sin(nω0t) dt = 2nπ [1 − cos(nπ)] = 4nπ (n odd)  or  0 (n even)
☐  x(t) = 4π [ sin(ω0t) + 13 sin(3ω0t) + 15 sin(5ω0t) + … ]

Interpretation: only odd harmonics exist; amplitudes decay as 1/n. This is why a square-wave clock radiates strong odd-harmonic interference into RF circuits!

4. Properties of Fourier Series

PropertyTime DomainFrequency (coefficient) Domain
Linearityα x(t) + β y(t)α cn(x) + β cn(y)
Time shiftingx(t − t0)cn e−jnω₀t₀ — magnitudes unchanged, phase rotated by −nω0t0
Time reversalx(−t)c−n
Differentiationdx/dtj n ω0 cn
Integration∫ x(τ) dτ (if a0 = 0)cn / (j n ω0)
Parseval's theoremP = 1T0 ∫T₀ |x(t)|2 dt = ∑n |cn|2 = a02 + 12 ∑n=1∞ (an2 + bn2)  — power is conserved in the spectrum
Parseval's theorem in communications: average power of a modulated carrier equals the sum of powers in its carrier, upper sideband, and lower sideband. This is the basis of modulation-efficiency calculations in AM (EEEN 462).

4.1 Convergence and Gibbs Phenomenon

Truncating the series to N harmonics gives a partial sum xN(t). As N → ∞, xN(t) → x(t) at all points of continuity. At a discontinuity, the series converges to the midpoint ½[x(t+) + x(t−)].

Gibbs phenomenon: near any jump, the partial sum always overshoots by about 9% of the jump height, regardless of N. The overshoot narrows in width but never disappears — an important consideration when band-limiting digital waveforms.

4.2 Interactive Lab — Harmonic Synthesis of a Square Wave

Watch the square wave emerge as harmonics are added. Observe the Gibbs overshoot at the edges as you increase N.

1
— Blue: sum of first N harmonics  - - Orange: ideal waveform

5. Symmetry Considerations

Before integrating, always check symmetry — it can cut your work in half (or more).

SymmetryConditionConsequencesSeries Contains
Evenx(t) = x(−t)bn = 0 for all nCosine terms + a0 only
Oddx(t) = −x(−t)a0 = an = 0Sine terms only
Half-wavex(t) = −x(t ± T0/2)a0 = 0; only odd n surviveOdd harmonics only
Even + half-wavebotha0 = 0, bn = 0an, n odd
Odd + half-wavebotha0 = an = 0bn, n odd
Even: x(t) = x(−t) Odd: x(t) = −x(−t) (curve passes through origin: x(0) = 0)
Fig. 2 — Even symmetry (mirror about vertical axis) vs. odd symmetry (rotational symmetry about the origin).

5.1 Choosing the Origin — Half-Wave Symmetry Trick

A signal may be neither even nor odd in its given form, but a time shift (choice of t = 0) can convert it to even or odd form, simplifying analysis. For example, shifting a sawtooth by T0/2 makes it odd, eliminating all cosine terms.

Worked Example 5.1

Checking half-wave symmetry — rectified sine.

For the full-wave rectified signal x(t) = |sin(ω0t)| we have x(t + T0/2) = x(t) — it is periodic with the halved period, so its series contains only even harmonics of ω0 (plus DC). In contrast, the square wave satisfies x(t + T0/2) = −x(t) → only odd harmonics. Always test both symmetries before computing a single integral.

6. Fourier Series of Common Signals

The table below summarizes the standard results (unit amplitude, period T0, ω0 = 2π/T0). Memorize these — they appear constantly in exams and in spectral analysis of practical signals.

SignalFourier SeriesDecaySpectrum
Square (odd)4π ∑k=0∞ sin[(2k+1)ω0t] / (2k+1)1/nOdd harmonics only
Sawtooth12 − 1π ∑n=1∞ sin(nω0t) / n1/nAll harmonics, sines
Triangle (even)8π² ∑k=0∞ cos[(2k+1)ω0t] / (2k+1)²1/n²Odd harmonics, cosines
Half-wave rectified sine1π + 12 sin(ω0t) − 2π ∑k=1∞ cos(2kω0t)/(4k²−1)1/n²DC + fundamental + even cosines
Full-wave rectified sine2π − 4π ∑k=1∞ cos(2kω0t)/(4k²−1)1/n²DC + even harmonics of ω0
Impulse train1T0 ∑n=−∞∞ ejnω₀tconstantAll harmonics, equal amplitude
Square Sawtooth Triangle Full-wave rectified Corresponding amplitude spectra (first few lines) square / sawtooth (1/n) triangle (1/n²) impulse train (flat)
Fig. 3 — Common periodic signals and the shape of their amplitude spectra.

7. Applications in Communication Engineering

7.1 Spectral Analysis and Bandwidth Determination

A message signal m(t) (voice, music, data) is decomposed into sinusoids; the transmitter must pass all significant components. E.g., audio 0.3–3.4 kHz → AM channel spacing 10 kHz. Fourier Series tells us which frequencies carry the power (via Parseval).

7.2 Amplitude Modulation as Fourier Series in Action

When a message m(t) = Amcos(ωmt) modulates a carrier c(t) = Accos(ωct):

s(t) = Ac[1 + μcos(ωmt)] cos(ωct) = Accos(ωct) + μAc2cos[(ωc+ωm)t] + μAc2cos[(ωc−ωm)t]

The message's two spectral components at ±ωm are shifted to ωc ± ωm, creating the upper and lower sidebands (USB/LSB). This is linear frequency translation — the essence of AM, DSB-SC, and SSB studied in EEEN 462.

7.3 Harmonic Distortion and Signal Purity

Nonlinear amplifiers generate harmonics of the input. Total Harmonic Distortion (THD) is defined directly from Fourier coefficients:

THD = ∑n=2∞ (an2+bn2)a12+b12 × 100%

7.4 Filtering and Channel Allocation

Channels in FDM (frequency-division multiplexing) are separated by bandpass filters designed to pass the wanted harmonics and reject others — a Fourier Series view of "who lives where" in the spectrum.

7.5 Other Applications

8. Self-Assessment Quiz (5 Questions)

Attempt all questions before checking the answers. Click Show Answer after each attempt.

Question 1

The Fourier Series of a periodic signal exists if the signal satisfies:

Answer: (b). Absolute integrability over one period, finitely many discontinuities, and finitely many extrema are sufficient (Dirichlet conditions). Signals with jumps (square wave) still have a valid series — so (a) is false.
Question 2

An odd, half-wave symmetric periodic signal has a Fourier Series containing:

Answer: (c). Odd symmetry kills all an (cosines) and a0; half-wave symmetry kills all even harmonics. What remains: bn with n odd — sine terms only. The odd square wave is the classic example: (4/π)[sin ω0t + ⅓sin 3ω0t + ⅙sin 5ω0t + …].
Question 3

Using Parseval's theorem, the average power of x(t) = ∑ cn ejnω₀t equals:

Answer: (b). P = (1/T0)∫|x(t)|2dt = ∑|cn|2 (magnitude-squared, since cn are complex). This is how we compute power in the sidebands of a modulated carrier.
Question 4

As more harmonics are added to synthesize a square wave, the overshoot at the discontinuity edges approaches approximately:

Answer: (c). The Gibbs phenomenon: the partial sum overshoots by ≈ 8.95% ≈ 9% of the jump height no matter how many harmonics are included. The overshoot gets narrower but never vanishes. Try the interactive lab in Section 4.2 — push N to 50 and see the ~9% ringing persist.
Question 5

A message m(t) = 2cos(2π×103t) amplitude-modulates a 1 MHz carrier with modulation index 0.5. According to the Fourier view of AM, the transmitted spectrum contains:

Answer: (b). s(t) = Ac[1 + 0.5cos(ωmt)]cos(ωct) expands to three spectral lines: the carrier at 1 MHz and two sidebands at 1 MHz ± 1 kHz (USB and LSB). Each message frequency produces two sideband lines symmetrically placed about the carrier — the practical meaning of Fourier Series in AM.
How did you score? 5/5 — exam-ready. 3–4 — review the weak sections above. ≤2 — redo Sections 3, 4 and 5, then retake the quiz.