Fourier Series — Trigonometric & Exponential Form

Representing periodic signals as sums of harmonically related sinusoids

Signals & SystemsElectrical Engineering Year 2Free preview
⏱️ About 18 min

What if every periodic signal — no matter how jagged or complex — is secretly just a stack of cosine and sine waves at carefully chosen frequencies?

💡
The big idea: Any periodic signal can be written as a weighted sum of harmonically related complex exponentials (or equivalently, sines and cosines). Because complex exponentials are eigenfunctions of LTI systems, this representation turns the problem of finding a system's response to an arbitrary periodic input into simple multiplication.
🎯 By the end, you'll be able to
  • Express a periodic signal in trigonometric Fourier series form and compute its coefficients a0, an, and bn
  • Express a periodic signal in exponential Fourier series form and compute its coefficients cn
  • Explain why the Fourier series representation is natural for analyzing LTI systems
  • Convert between the trigonometric and exponential forms of the Fourier series

From LTI Systems to Frequency Decomposition

In Module 9 you learned that complex exponentials are eigenfunctions of LTI systems: if the input is x(t)=est, the output is y(t)=H(s)est. The signal shape doesn't change — it just gets scaled by a complex number. This motivates one of the most useful ideas in signal processing: if we can write an arbitrary input as a sum of complex exponentials, the output of an LTI system is simply the sum of those same exponentials, each individually scaled by its own H value.

Jean-Baptiste Joseph Fourier showed in the early 1800s that any periodic signal — no matter how irregular it looks in the time domain — can be decomposed into a sum of sinusoids (or complex exponentials) at frequencies that are integer multiples of a fundamental frequency. This decomposition is the Fourier series, the bridge between the time-domain and frequency-domain views of signals.

Setting Up the Periodic Signal

A signal x(t) is periodic with fundamental period T₀ if x(t)=x(t+T₀) for all t. The fundamental frequency is ω₀=2π/T₀. The harmonics are at frequencies nω₀ for n=1,2,3,…. The Fourier series says x(t) is a sum of sinusoids at exactly these harmonic frequencies.

There are two common forms — the trigonometric form and the exponential form. They are mathematically equivalent, but the exponential form is more compact and is used for most derivations throughout the rest of this course.

\[ x(t) = a_0 + \sum_{n=1}^{\infty} \left[ a_n \cos(n\omega_0 t) + b_n \sin(n\omega_0 t) \right] \]
Trigonometric Fourier series: a periodic signal as a DC term plus harmonically related cosines and sines.

Computing the Trigonometric Coefficients

The coefficient a₀ is the DC component — the average value of the signal over one period. The coefficients aₙ and bₙ tell you how much cosine and sine energy is present at the n-th harmonic. Each is computed by integrating the signal against the corresponding basis function over one full period.

The integrals work because of orthogonality: over one period, the integral of cos(nω₀t)·cos(mω₀t) is zero when n≠m, and T₀/2 when n=m. This means each coefficient can be extracted independently — multiplying x(t) by cos(nω₀t) and integrating picks out exactly the aₙ component, with all other terms integrating to zero.

\[ a_0 = \frac{1}{T_0}\int_{0}^{T_0} x(t)\,dt \]
DC coefficient: the average value of x(t) over one period.
\[ a_n = \frac{2}{T_0}\int_{0}^{T_0} x(t)\cos(n\omega_0 t)\,dt, \qquad b_n = \frac{2}{T_0}\int_{0}^{T_0} x(t)\sin(n\omega_0 t)\,dt \]
Trigonometric Fourier coefficients for the n-th harmonic (n ≥ 1).
✨ Why the factor of 2 in an and bn but not a0?

The basis functions cos(nω₀t) and sin(nω₀t) each have average squared value 1/2 over a period (from Module 8, the average of cos² is 1/2). The factor of 2/T₀ normalizes for this. The DC term has average squared value 1, so a₀ needs no extra factor.

The Exponential Form — Compact and Powerful

Using Euler's formula (e=cos θ+j sin θ), the trigonometric form can be rewritten using complex exponentials. Instead of three separate coefficients (a₀, aₙ, bₙ), there is a single coefficient cₙ defined for all integers n, positive and negative.

\[ x(t) = \sum_{n=-\infty}^{\infty} c_n \, e^{jn\omega_0 t} \]
Exponential Fourier series: a single sum over all integers n, positive and negative.
\[ c_n = \frac{1}{T_0}\int_{0}^{T_0} x(t)\, e^{-jn\omega_0 t}\,dt \]
Exponential Fourier coefficient: one formula for all n, including n = 0.
🔑 One formula, all coefficients

The exponential form uses a single integration formula for all coefficients — including c₀ (which equals a₀). There's no separate case for n=0, no factor of 2 to remember, and the sum runs symmetrically over negative and positive n.

Converting Between the Two Forms

For n>0, the exponential coefficients connect to the trigonometric ones as cₙ=(aₙ−jbₙ)/2 and c₋ₙ=(aₙ+jbₙ)/2, while c₀=a₀. For real-valued signals, c₋ₙ is the complex conjugate of cₙ — conjugate symmetry. This is why the exponential form, despite running over both positive and negative n, carries the same information as the trigonometric form.

Why This Matters for LTI Systems

If x(t)=Σcₙejnω₀t and the system is LTI with frequency response H(jω), then by the eigenfunction property each exponential ejnω₀t is simply scaled by H(jnω₀): y(t)=Σcₙ H(jnω₀)ejnω₀t. No convolution integral needed — you multiply each Fourier coefficient by the system's response at that harmonic frequency, sum them back up, and you have the output. Every harmonic of the input passes through the system independently, scaled by the system's gain and phase at that frequency. This is exactly what makes the Fourier series so central to circuit analysis, communications, and control theory.

📝 Worked example: A periodic pulse train has period T0 = 2 s. Within one period it is defined as x(t) = 5 for 0 < t < 1, and x(t) = 0 for 1 < t < 2. Find the DC component a0 (the average value of the signal).
  1. Start with the DC formula: a0 = (1/T0) ∫x(t)dt over one period.
  2. Substitute T0 = 2 and split the integral at the discontinuity: a0 = (1/2)[∫5dt from 0 to 1 + ∫0dt from 1 to 2].
  3. The second integral is zero: a0 = (1/2)(5×1).
  4. So a0 = (1/2)(5) = 2.5.
✓ a0 = 2.5
✏️ Practice: Consider the same pulse-train shape (period T0 = 2 s, pulse is "on" for 0 < t < 1 and "off" for 1 < t < 2), but now the pulse amplitude is 8 instead of 5. Find the DC component a0.
Solution
  1. Apply the DC formula: a0 = (1/T0)∫x(t)dt over one period.
  2. With T0 = 2: a0 = (1/2)∫8dt from 0 to 1 = (1/2)(8×1).
  3. So a0 = (1/2)(8) = 4.

Check your understanding

1. In the exponential Fourier series, what does c0 represent?
c0 = (1/T0)∫x(t)dt, which is the average value of the signal — the same as a0 in the trigonometric form.
2. Why is the Fourier series representation especially useful for LTI systems?
Complex exponentials are eigenfunctions of LTI systems. If x(t) = Σcn·e^(jnω0t), then y(t) = Σcn·H(jnω0)·e^(jnω0t) — each term is simply scaled by the system response at that frequency.
✅ Key takeaways
  • Any periodic signal x(t) with fundamental period T0 and frequency ω0 = 2π/T0 can be expressed as a Fourier series — a sum of harmonically related sinusoids or complex exponentials.
  • The trigonometric form is x(t) = a0 + Σ[an·cos(nω0t) + bn·sin(nω0t)], with a0 the DC value and an, bn the harmonic amplitudes.
  • The exponential form x(t) = Σcn·e^(jnω0t) is more compact and uses a single formula for all coefficients.
  • Because complex exponentials are eigenfunctions of LTI systems, the Fourier series lets you find a system's response to any periodic input by scaling each coefficient by H(jnω0).
➡️ Now that you can decompose a periodic signal into its frequency components, the next lesson explores key properties of the Fourier series — including linearity and time-shifting — and shows how Parseval's theorem connects signal power in the time and frequency domains.
Want to test yourself on this? Try the Electrical Aptitude test →