The Fourier Expansion

Sources:

  1. B. P. Lathi & Roger Green. (2021). Chapter 3: Signal Representation by Fourier Series. Signal Processing and Linear Systems (2nd ed., pp. 261-277). Oxford University Press.

Trigonometric Fourier Expansion

After showing that (see my past post) the set of sinusoids (called the trigonometric set) in {1,cosω0t,cos2ω0t,,cosnω0t,,sinω0t,sin2ω0t,,sinnω0t,} is a complete set over any contiguous interval of duration T0.

We can therefore express an arbitary[^3] signal x(t) by a trigonometric Fourier series1 over any interval of duration T0 seconds as x(t)=a0+a1cosω0t+a2cos2ω0t++b1sinω0t+b2sin2ω0t+ or

x(t)=a0+n=1ancosnω0t+n=1bnsinnω0t,t1<t<t1+T0 where ω0=2πf0=2πT0 and a0=1T0T0x(t)dt,an=2T0T0x(t)cosnω0tdt, and bn=2T0T0x(t)sinnω0tdt

  • Terminologies:
    • A sinusoid of frequency nω0 is called the nth harmonic of the sinusoid of frequency ω0 when n is an integer. In this set, the sinusoid of frequency ω0, called the fundamental, serves as an anchor of which all the remaining terms are harmonics.

NOTE: In signal processing, we use x(t) to represent the original signal under any interval duration T0 (Not the original signal, just one interval duration of it!), and we also use it to represent the Fourier series of the former. This is not confusing since they are equal. Unless otherwise notified, in my posts, the x(t) always refers to the Fourier series. In this sense, x(t) is always periodic (proved later), while the original signal over its whole duration may not be periodic.

NOTE: See the existence of FE.

The Effect of Symmetry

Recall from Even and Odd Functions that every signal x(t) can be expressed as a sum of even and odd components because x(t)=12[x(t)+x(t)]even +12[x(t)x(t)]odd  For a Fourier series x(t)=a0+n=1ancosnω0t+bnsinnω0t, we obtain

  1. Even part xe(t) : xe(t)=a0+n=1ancosnω0t.
  2. Odd part xo(t) : xo(t)=n=1bnsinnω0t.

For this reason, we can easily see that

  1. If x(t) itself is even, then x(t)=xe(t), we have x(t)=a0+n=1ancosnω0t.

  2. If x(t) itself is odd, then x(t)=xo(t), we have x(t)=n=1bnsinnω0t.

Periodicity of the Trigonometric Fourier Series

We now use x(t) to represent the trigonometric Fourier series of the original signal under any interval duration T0. Now we prove that x(t) is periodic with the same period as T0.

(Note that, the original signal, usually also denoted as x(t), may not be periodic. Here we only talk about its trigonometric Fourier series.)

Proof: x(t+T0)=a0+n=1ancosnω0(t+T0)+bnsinnω0(t+T0)=a0+n=1ancos(nω0t+nω0T0)+bnsin(nω0t+nω0T0)

We know that nω0T0=2πn, and x(t+T0)=a0+n=1ancos(nω0t+2πn)+bnsin(nω0t+2πn)=a0+n=1ancosnω0t+bnsinnω0t=x(t) Since x(t) is periodic, it's integral T0f(x)dx of duration T0 can start from any instant t (see the proof).

Compact Trigonometric Fourier Series

# TODO

The results derived so far are general and apply whether x(t) is a real or a complex function of t. However, when x(t) is real, coefficients an and bn are real for all n, and the trigonometric Fourier series can be expressed in a compact form, using the results in Eq. (B.16): (1)x(t)=C0+n=1Cncos(nω0t+θn) where Cn and θn are related to an and bn, as [see Eq. (B.17)] C0=a0,Cn=an2+bn2, and θn=arctan(bnan)

img

The Fourier Spectrum

The compact trigonometric Fourier series in Eq. (1) indicates that:

A periodic signal x(t)2 can be expressed as a sum of sinusoids of frequencies 0(dc),ω0,2ω0,,nω0,, whose amplitudes are C0,C1,C2,,Cn,,

and whose phases are 0,θ1,θ2,,θn,,

respectively.

Here, we use the term spectrum to refer the representation of a signal in terms of its constituent sinusoidal signals (computed by the Fourier transform) in frequency domain.

In frequency domain, a sinusoidal signal of frequency nω0, say Cncos(nω0t+θn), is charaterized by its amplitude Cn and phase θn.

We use two charts to show the signal:

  1. The amplitude spectrum, which is the amplitude Cn versus n (the amplitude spectrum).
  2. The phase spectrum, which is the θn versus n (the phase spectrum).

The two plots together are the frequency spectra of x(t).

Appendix: Addition of Sinusoids

Two sinusoids having the same frequency but different phases add to form a single sinusoid of the same frequency. This fact is readily seen from the well-known trigonometric identity Ccosθcosω0tCsinθsinω0t=Ccos(ω0t+θ)

Setting a=Ccosθ and b=Csinθ, we see that acosω0t+bsinω0t=Ccos(ω0t+θ)

From trigonometry, we know that C=a2+b2 and θ=tan1(ba)

Equation (B.17) shows that C and θ are the magnitude and angle, respectively, of a complex number ajb. In other words, ajb=Cejθ. Hence, to find C and θ, we convert ajb to polar form and the magnitude and the angle of the resulting polar number are C and θ, respectively.

The process of adding two sinusoids with the same frequency can be clarified by using phasors to represent sinusoids. We represent the sinusoid Ccos(ω0t+θ) by a phasor of length C at an angle θ with the horizontal axis. Clearly, the sinusoid acosω0t is represented by a horizontal phasor of length a(θ=0), while bsinω0t=bcos(ω0tπ/2) is represented by a vertical phasor of length b at an angle π/2 with the horizontal (Fig. B.7). Adding these two phasors results in a phasor of length C at an angle θ, as depicted in Fig. B.7. From this figure, we verify the values of C and θ found in Eq. (B.17). Proper care should be exercised in computing θ, as explained on page 8 ("A Warning About Computing Angles with Calculators").


  1. This post mainly involves the trigonometric Fourier expansion. There are other forms of Fourier expansion. Like the exponential Fourier expansion.↩︎

  2. As mentioned before, unless otherwise told, the notation "x(t)" always refers to the trigonometric Fourier series of the original signal under any interval duration T0. Meanwhile, we have proved that this x(t) is always periodic.↩︎