 # A Signal's Spectrum

A periodic signal, such as the half-wave rectified sinusoid, consists of a sum of elemental sinusoids. A plot of the Fourier coefficients as a function of the frequency index, such as shown in Figure 2, displays the signal's spectrum. The word "spectrum" implies that the independent variable, here

, corresponds somehow to frequency. Each coefficient is directly related to a sinusoid having a frequency of

. Thus, if we half-wave rectified a 1 kHz sinusoid,

corresponds to 1 kHz,

to 2 kHz, etc.

#### Fourier Series spectrum of a half-wave rectified sine wave Figure 1. The Fourier series spectrum of a half-wave rectified sinusoid is shown. The index indicates the multiple of the fundamental frequency at which the signal has energy.

A subtle, but very important, aspect of the Fourier spectrum is its uniqueness: You can unambiguously find the spectrum from the signal (decomposition) and the signal from the spectrum (composition). Thus, any aspect of the signal can be found from the spectrum and vice versa. A signal's frequency domain expression is its spectrum. A periodic signal can be defined either in the time domain (as a function) or in the frequency domain (as a spectrum).

A fundamental aspect of solving electrical engineering problems is whether the time or frequency domain provides the most understanding of a signal's properties and the simplest way of manipulating it. The uniqueness property says that either domain can provide the right answer. As a simple example, suppose we want to know the (periodic) signal's maximum value. Clearly the time domain provides the answer directly. To use a frequency domain approach would require us to find the spectrum, form the signal from the spectrum and calculate the maximum; we're back in the time domain!

Another feature of a signal is its average power. A signal's instantaneous power is defined to be its square. The average power is the average of the instantaneous power over some time interval. For a periodic signal, the natural time interval is clearly its period; for nonperiodic signals, a better choice would be entire time or time from onset. For a periodic signal, the average power is the square of its root-mean-squared (rms) value. We define the rms value of a periodic signal to be

and thus its average power is

### Exercise

What is the rms value of the half-wave rectified sinusoid?

The rms value of a sinusoid equals its amplitude divided by

. As a half-wave rectified sine wave is zero during half of the period, its rms value is

since the integral of the squared half-wave rectified sine wave equals half that of a squared sinusoid.

To find the average power in the frequency domain, we need to substitute the spectral representation of the signal into this expression.

The square inside the integral will contain all possible pairwise products. However, the orthogonality properties say that most of these crossterms integrate to zero. The survivors leave a rather simple expression for the power we seek.

#### Power Spectrum of a Half-Wave Rectified Sinusoid Figure 2. Power spectrum of a half-wave rectified sinusoid.

It could well be that computing this sum is easier than integrating the signal's square. Furthermore, the contribution of each term in the Fourier series toward representing the signal can be measured by its contribution to the signal's average power. Thus, the power contained in a signal at its

th harmonic is

. The power spectrum,

, such as shown in Figure 2, plots each harmonic's contribution to the total power.

### Exercise

In high-end audio, deviation of a sine wave from the ideal is measured by the total harmonic distortion, which equals the total power in the harmonics higher than the first compared to power in the fundamental. Find an expression for the total harmonic distortion for any periodic signal. Is this calculation most easily performed in the time or frequency domain?

Total harmonic distortion equals

. Clearly, this quantity is most easily computed in the frequency domain. However, the numerator equals the square of the signal's rms value minus the power in the average and the power in the first harmonic. Swipe left and right to change pages.  