Fiveable

📚Signal Processing Unit 1 Review

QR code for Signal Processing practice questions

1.3 Frequency-Domain Representation

1.3 Frequency-Domain Representation

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
📚Signal Processing
Unit & Topic Study Guides

Frequency-domain representation transforms time-based signals into their frequency components, making it possible to see which frequencies are present and how strong each one is. This is foundational in signal processing because many operations (filtering, modulation, compression) are far easier to understand and design when you work in the frequency domain rather than the time domain.

The two main tools here are the Fourier series (for periodic signals) and the Fourier transform (for aperiodic signals). Both decompose signals into sinusoidal building blocks, but they apply to different types of signals and produce different kinds of output.

Frequency Spectrum of Signals

Understanding the Frequency Spectrum

The frequency spectrum is a way of displaying how a signal's energy or power is distributed across different frequencies. Instead of seeing a waveform evolve over time, you see which frequencies are present and how much each one contributes.

Any signal can be decomposed into a sum of sinusoidal components, each with its own frequency, amplitude, and phase. The frequency spectrum captures exactly this decomposition. It tells you the dominant frequencies in a signal and their relative strengths.

Two plots are commonly used to represent the spectrum:

  • Magnitude spectrum: shows the amplitude of each frequency component
  • Phase spectrum: shows the phase angle of each frequency component

Together, these two plots give you complete information about the signal's frequency content.

Obtaining the Frequency Spectrum

To get the frequency spectrum, you apply a mathematical transformation to the time-domain signal. Which transformation you use depends on the type of signal:

  • Fourier series for periodic signals (signals that repeat)
  • Fourier transform for aperiodic signals (signals that don't repeat)

Both convert the signal from the time domain to the frequency domain, but the Fourier series produces a discrete set of frequency components (harmonics), while the Fourier transform produces a continuous frequency function.

Fourier Series for Periodic Signals

Representing Periodic Signals with Fourier Series

The Fourier series expresses a periodic signal as a sum of sinusoids at integer multiples of a fundamental frequency. A periodic signal x(t)x(t) repeats with period TT, so its fundamental frequency is f0=1Tf_0 = \frac{1}{T}.

The trigonometric form of the Fourier series is:

x(t)=a02+n=1[ancos(2πnf0t)+bnsin(2πnf0t)]x(t) = \frac{a_0}{2} + \sum_{n=1}^{\infty} [a_n \cos(2\pi n f_0 t) + b_n \sin(2\pi n f_0 t)]

  • a02\frac{a_0}{2} is the DC component (the average value of the signal over one period)
  • ana_n and bnb_n are the Fourier coefficients for the nn-th harmonic
  • f0f_0 is the fundamental frequency, and nf0nf_0 is the frequency of the nn-th harmonic

The key idea: no matter how complex a periodic waveform looks (a square wave, a sawtooth, etc.), it can be built from sine and cosine waves at harmonically related frequencies.

Calculating Fourier Coefficients

The Fourier coefficients are found by integrating the signal multiplied by the corresponding sine or cosine over one full period:

  1. DC coefficient: a0=2T0Tx(t)dta_0 = \frac{2}{T} \int_0^T x(t)\, dt
  2. Cosine coefficients: an=2T0Tx(t)cos(2πnf0t)dta_n = \frac{2}{T} \int_0^T x(t) \cos(2\pi n f_0 t)\, dt
  3. Sine coefficients: bn=2T0Tx(t)sin(2πnf0t)dtb_n = \frac{2}{T} \int_0^T x(t) \sin(2\pi n f_0 t)\, dt

Why do these formulas work? Sine and cosine functions at different harmonic frequencies are orthogonal over one period. When you multiply x(t)x(t) by cos(2πnf0t)\cos(2\pi n f_0 t) and integrate, all the other frequency components average to zero, leaving only the contribution at frequency nf0nf_0. This orthogonality is what makes the decomposition possible.

Each pair (an,bn)(a_n, b_n) determines both the amplitude and phase of the nn-th harmonic. The amplitude of the nn-th component is an2+bn2\sqrt{a_n^2 + b_n^2}, and its phase is arctan(bnan)\arctan\left(\frac{-b_n}{a_n}\right).

Analyzing Harmonic Content

Once you have the Fourier coefficients, you can examine the harmonic content of the signal, meaning which harmonics are present and how strong each one is.

For example, a square wave with period TT contains only odd harmonics (f0,3f0,5f0,f_0, 3f_0, 5f_0, \ldots), with amplitudes that decrease as 1n\frac{1}{n}. A triangle wave also has only odd harmonics, but its amplitudes fall off as 1n2\frac{1}{n^2}, which is why a triangle wave sounds "smoother" than a square wave.

By plotting the magnitude of each coefficient versus frequency, you get a line spectrum showing discrete spikes at each harmonic. This is a defining feature of periodic signals: their spectra are discrete, not continuous.

Fourier Transform for Aperiodic Signals

Representing Aperiodic Signals with Fourier Transform

Aperiodic signals don't repeat, so the Fourier series doesn't apply directly. Instead, you use the Fourier transform, which generalizes the Fourier series to non-periodic signals.

You can think of it this way: as the period TT of a periodic signal approaches infinity, the harmonics get closer and closer together until the discrete line spectrum becomes a continuous function of frequency. That continuous function is the Fourier transform.

The Fourier transform of a continuous-time signal x(t)x(t) is:

X(f)=x(t)ej2πftdtX(f) = \int_{-\infty}^{\infty} x(t) \cdot e^{-j2\pi ft}\, dt

  • X(f)X(f) is a complex-valued function of frequency ff
  • Its magnitude X(f)|X(f)| gives the amplitude density at each frequency
  • Its angle X(f)\angle X(f) gives the phase at each frequency

Unlike the Fourier series, which gives you discrete coefficients, the Fourier transform gives a continuous spectrum. For example, a rectangular pulse of width τ\tau has a Fourier transform shaped like a sinc function: X(f)=τsinc(τf)X(f) = \tau \cdot \text{sinc}(\tau f), with energy spread across all frequencies.

Inverse Fourier Transform

The inverse Fourier transform recovers the time-domain signal from its frequency-domain representation:

x(t)=X(f)ej2πftdfx(t) = \int_{-\infty}^{\infty} X(f) \cdot e^{j2\pi ft}\, df

This means the transform pair is reversible: no information is lost when you go from time domain to frequency domain and back. The forward transform decomposes the signal into frequency components; the inverse transform reassembles them.

Applying Fourier Transform to Aperiodic Signals

The Fourier transform applies to a wide range of aperiodic signals:

  • Transient signals: short-duration events like an impulse or a decaying exponential
  • Pulses: signals with a rapid rise and fall, such as rectangular or Gaussian pulses
  • Non-periodic waveforms: any signal that doesn't repeat

A useful intuition: signals that are short in time tend to have wide frequency spectra (energy spread over many frequencies), while signals that are long in time tend to have narrow spectra. This is an informal statement of the time-frequency uncertainty principle, which you'll encounter more formally later.

Fourier Transform Properties

These properties let you predict how changes to a signal in one domain affect its representation in the other domain. They're extremely useful for solving problems without recomputing the full transform integral every time.

Linearity Property

If x1(t)X1(f)x_1(t) \leftrightarrow X_1(f) and x2(t)X2(f)x_2(t) \leftrightarrow X_2(f), then:

ax1(t)+bx2(t)aX1(f)+bX2(f)a \cdot x_1(t) + b \cdot x_2(t) \leftrightarrow a \cdot X_1(f) + b \cdot X_2(f)

where aa and bb are constants. Scaling and addition in the time domain map directly to scaling and addition in the frequency domain. This means you can analyze complex signals by breaking them into simpler pieces, transforming each piece separately, and adding the results.

Time-Shifting Property

If x(t)X(f)x(t) \leftrightarrow X(f), then:

x(tt0)ej2πft0X(f)x(t - t_0) \leftrightarrow e^{-j2\pi f t_0} \cdot X(f)

Shifting a signal in time by t0t_0 doesn't change its magnitude spectrum at all. It only adds a linear phase shift of 2πft0-2\pi f t_0 to the phase spectrum. This makes sense: delaying a signal doesn't change which frequencies are present, only when they arrive.

Frequency-Shifting Property

If x(t)X(f)x(t) \leftrightarrow X(f), then:

x(t)ej2πf0tX(ff0)x(t) \cdot e^{j2\pi f_0 t} \leftrightarrow X(f - f_0)

Multiplying by a complex exponential in the time domain shifts the entire spectrum by f0f_0. This is the basis of modulation in communications: you shift a baseband signal up to a carrier frequency for transmission. In practice, multiplying by cos(2πf0t)\cos(2\pi f_0 t) (which is the real part of the complex exponential) creates copies of the spectrum centered at +f0+f_0 and f0-f_0.

Scaling Property

If x(t)X(f)x(t) \leftrightarrow X(f), then:

x(at)1aX ⁣(fa)x(at) \leftrightarrow \frac{1}{|a|} X\!\left(\frac{f}{a}\right)

where aa is a non-zero constant. Compressing a signal in time (a>1|a| > 1) spreads its spectrum out in frequency and reduces its amplitude. Stretching a signal in time (a<1|a| < 1) narrows its spectrum and increases its amplitude. This is another manifestation of the time-frequency tradeoff: you can't make a signal shorter in time without making it wider in frequency, and vice versa.

Parseval's Theorem

Parseval's theorem states that the total energy of a signal is the same whether you compute it in the time domain or the frequency domain:

x(t)2dt=X(f)2df\int_{-\infty}^{\infty} |x(t)|^2\, dt = \int_{-\infty}^{\infty} |X(f)|^2\, df

The left side sums up energy over time; the right side sums up energy over frequency. The quantity X(f)2|X(f)|^2 is called the energy spectral density, and it tells you how the signal's energy is distributed across frequencies.

This theorem is useful for two reasons: it lets you calculate signal energy in whichever domain is more convenient, and it serves as a sanity check. If you compute a Fourier transform and the energy doesn't match between domains, something went wrong.