2.5  Fourier Transforms and Series

The transforms in this section adopt eternal (infinite duration) sinusoids as basis functions and complement the DFT, which uses finite-length basis functions. For mathematical convenience, complex exponentials are also used given that they conveniently represent sinusoids.

Using sinusoids as basis functions is very useful in many applications. Depending on the type of signal to be analyzed, there are four pairs of analysis and synthesis transform equations that adopt eternal sinusoids as basis functions. These four pairs can be collectively called Fourier analysis tools and are discussed in the sequel.

The reason for not having only one transform pair when dealing with Fourier analysis is that two properties of the signal to be analyzed must be taken in account: whether the signal is continuous or discrete in time, and periodic or non-periodic. Covering all possible combinations, Table 2.3 lists the four pairs of equations to conduct Fourier analysis with eternal sinusoids (later we will discuss the DFT, which is used for finite-duration signals).

Table 2.3: The four pair of equations for Fourier analysis with eternal sinusoids and the description of their spectra: ck, X(f) (or X(ω)), X[k] and X(ejΩ). For periodic continuous and discrete-time signals the periods are T0 and N0, respectively, with fundamental (angular) frequencies ω0 = 2πT0 rad/s and Ω0 = 2πN0 rad. For continuous-time signals, one can alternatively use the linear frequency f instead of ω = 2πf, such that f0 = 1T0 is the fundamental frequency in Hz.

Continuous-time

Discrete-time

Fourier series (FS)

Discrete-time Fourier series (DTFS)

Periodic

ck = 1 T0 T0x(t)ej2πkf0tdt

x(t) = k=ckej2πkf0t

X[k] = 1 N0 n=N0x[n]ejkΩ0n


or ck = 1 T0 T0x(t)ejkω0tdt

x[n] = k=N0X[k]ejkΩ0n

x(t) = k=ckejkω0t

Fourier transform (FT)

Discrete-time Fourier transform (DTFT)

Non-periodic

X(f) = x(t)ej2πftdt

x(t) = X(f)ej2πftdf

X(ejΩ) = n=x[n]ejΩn


or X(ω) = x(t)ejωtdt

x[n] = 1 2π 2πX(ejΩ)ejΩndΩ

x(t) = 1 2π X(ω)ejωtdω

It can be seen from Table 2.3 that the terminology series is used when the signal to be analyzed is periodic. In this case the spectrum is discrete in frequency and represented by coefficients ck or X[k]. Obtaining a Fourier series is a special case of the general procedure of representing a function (in this case, a periodic signal) via a series expansion such as Taylor’s, Laurent’s, etc. In contrast, the spectrum of non-periodic signals is continuous in frequency and the tools to analyze non-periodic signals are called transforms. Note this nomenclature is not 100% consistent with block transforms in the sense that the DFT, which has a discrete spectrum, is called “transform”.

As highlighted in Table 2.4, in Fourier analysis, there is an interesting and maybe not evident duality between the time and frequency domains: periodicity in one domain leads to a discrete function in the other domain, while non-periodicity leads to a continuous function. For example, Table 2.4 shows that the spectrum of a discrete-time signal x[n] is always periodic.

Table 2.4: Duality of periodicity and discreteness in Fourier analysis.

Continuous-time x(t)

Discrete-time x[n]

Periodic

Fourier series

Discrete-time Fourier series (DTFS)

Basis: ejω0kt

Basis: ej 2π N0 kn

ck non-periodic, k discrete

X[k] periodic, k discrete

Non-periodic

Fourier transform

Discrete-time Fourier transform (DTFT)

Basis: ejωt

Basis: ejΩn

X(ω) non-periodic, ω continuous

X(ejΩ) periodic, Ω continuous

Table 2.4 and Table 2.3 indicate that the DTFS is the only pair that has discrete signals in both domains, time and frequency. This indicates that the DTFS is related to the DFT. In fact, the DFT and DTFS are mathematically equivalent in case N0 = N, with the exception of the normalization factor 1N in Eq. (2.11). But their interpretation has a remarkable distinction: The basis functions of the block transform DFT in Eq. (2.11) are finite-duration sequences or, equivalently, vectors, with dimension N, while the basis functions of the DTFS are infinite-duration complex exponentials ej 2π N0kn of period N0. Hence, the DTFS and DFT are more naturally interpreted and used for (infinite-duration) periodic and finite-duration signals, respectively.

Another reason for keeping their names different is that the DFT (via FFT algorithms) is often used in computers, digital oscilloscopes, spectrum analyzers, etc., to analyze non-periodic and even continuous-time signals that were digitized. Hence, there are aspects that must be studied to apply DFT in these cases, such as the relation between an original spectrum X(ω) of a continuous-time signal and X[k], the one obtained by the DFT of its discrete-time version. Therefore, in spite of the operations in DTFS and DFT being mathematically equivalent apart from a normalization constant, it is convenient to restrict the discussion of DTFS to the analysis of periodic and discrete-time signals and call DFT the tool for finite-duration signals, which in practice is used for analyzing any digitized signal.

Besides their relation to the DFT, there are many other similarities and relations within the four Fourier pairs in Table 2.4 themselves. For example, transforms are meant for non-periodic signals but, as discussed in Appendix A.26.2, impulses can be used to also represent periodic signals via a transform (instead of a series). The next sections will discuss some of these relations.

One point that will not be explored in this text is the important aspect of convergence. Similar to the fact that a vector outside the span of a given basis set cannot be perfectly represented by the given basis vectors, there are signals that cannot be represented by Fourier transforms or series. In other words, the transform/series may not converge to a perfect representation even when using an infinite number of basis functions. A related aspect is the well-known Gibbs phenomenon: when the signal x(t) has discontinuities (such as u(t) at t = 0), the Fourier representation has to use an infinite number of basis functions. Any truncation of this number (i. e., using a finite number of basis functions) leads to ripples in the reconstructed signal. Given the adopted emphasis in the engineering application of transforms, this text assumes the signals are well-behaved and the transforms and series properly converge.

Complementing Table 2.3, Table 2.5 indicates the assumed units when the signals in time domain are given in volts and is useful to observe the difference for continuous and discrete spectra.

Table 2.5: Units for each pair of Fourier equations in Table 2.3.

Continuous-time

Discrete-time

x(t) in volts

x[n] in volts

Periodic

Fourier series

Discrete-time Fourier series (DTFS)

ck (volts)

X[k] (volts)

Fourier transform

Discrete-time Fourier transform (DTFT)

Non-periodic

X(f) (volts/Hz)

X(ejΩ)(2π) (volts/radians)

2.5.1  Fourier series for continuous-time signals

The Fourier series for a continuous-time signal uses an infinite number of complex harmonic sinusoids ejkω0t,k , as basis functions. These functions allow to represent any periodic signal x(t) with period T0 (i. e., x(t) = x(t + T0),t), where ω0 = 2π T0 = 2πf0 (rad/s). The frequency f0 in Hz (or ω0 in rad/s) is called the fundamental frequency.

Advanced: On the orthogonality of sinusoids

The results in this subsection are useful for proving Fourier pairs. They can be eventually skipped in case the mathematical proofs based on the orthogonality of sinusoids are not of interest at this moment.

Result 2.1. Eternal (infinite-duration) sinusoids at different frequencies are orthogonal. If ω1ω2, then

A 1 sin (ω1t + ϕ1)A2 sin (ω2t + ϕ2)dt = 0.

Proof: To simplify notation, let ω1t + ϕ1 = α and ω2t + ϕ2 = β. From Eq. (A.11):

A1 sin (α)A2 sin (β) = 1 2[cos (α β) cos (α + β)].

First let us assume that the interval from to corresponds to an integer number of periods for both cos (α β) and cos (α + β). In this case, it is easy to see that the following result is zero:

[A 1 sin (α)A2 sin (β)]dt = 1 2[cos (α β)dt cos (α + β)dt] = 0,

unless α = β (in this case cos (α β) = 1). But the astute reader may be concerned that the range] ,[ does not necessarily represent an integer number of periods. In fact, using the reasoning that we adopt for finite-duration signals, we should have the integral interval (recall the concept of commensurate frequencies in Example 1.16) corresponding to a multiple of the periods of α β and α + β. But things are different when the integral interval has infinite duration. In this case, a sinusoid alternates between positive and negative values, and over an infinite interval, the areas under these positive and negative sections cancel each other out. As a result, the integral converges to zero. In spite of not being rigorously stated, this result is important to understand the proof of the expression for the Fourier transform (see, e. g., Section 2.5.3).    

Result 2.2. Cosine and sine at the same frequency are orthogonal. Similar to Example 2.1, it can be shown that:

A 1 cos (ω0t)A2 sin (ω0t)dt = A1A22sin (2ω 0t)dt = 0,

which used Eq. (A.5).   

The following result is useful when the integration interval is the fundamental period T0 or a multiple of T0.

Result 2.3. Harmonic sinusoids are orthogonal when the inner product (integral) is over a time interval multiple of the fundamental period. If ω0 = 2πT0 is the fundamental frequency in rad/s and km, then

<T0>A1 sin (kω0t + ϕ1)A2 sin (mω0t + ϕ2)dt = 0.

Proof: Note that the sinusoids are assumed here to be eternal, but the result is also valid in case they have a finite-duration coinciding with the time duration of the integral. From Eq. (A.11):

<T0>A1 sin (kω0t + ϕ1)A2 sin (mω0t + ϕ2)dt = 1 2 [<T0> cos ((k m)ω0t + ϕ1 ϕ2)dt <T0> cos ((k + m)ω0t + ϕ1 + ϕ2)dt] = 0.

The cosine with angular frequency (k + m)ω0 of the second parcel has a period T = T0(k + m) and its integral over T0 is zero, because T0 is an interval corresponding to an integer number of periods T. The same reasoning can be applied to the cosine with angular frequency (k m)ω0 with period T0|k m|, which is especially easy to observe when k > m. If k < m, because cos (x) = cos (x), the cosine argument of the first parcel can be changed to (m k)ω0t + ϕ2 ϕ1 to help concluding that this integral over T0 is also zero.   

Result 2.4. On the energy of Fourier basis functions. Example 2.3 proves that the Fourier series basis functions are orthogonal. But they are not orthonormal and the energy over a duration T0 is

E =T0 |ejkω0t| 2dt =0T0 dt = T0,

which is the normalization factor that will appear in the Fourier series equations, similar to the result for block transforms in Eq. (2.25).    

Result 2.5. Proof of the Fourier series pair. One can use the reasoning in Theorem 4 (page 2022) to prove the Fourier series equations. Writing the synthesis equation

x(t) = k=c kej2πkf0t

is similar to x = i=1Nαibi. Calculating x,bi is therefore equivalent to the inner product between x(t) and the m-th basis function ej2πmf0t, which is written as:

x(t),ej2πmf0t =T0x(t)ej2πmf0tdt =T0 [ k=c kej2πkf0t] ej2πmf0tdt.

(recall from Table 2.2 that x(t),y(t) = x(t)y(t)dt the inner product is defined with the complex conjugate of the second argument when the signals are complex). Due to the properties of the inner product one can write

x(t),ej2πmf0t = k= [T0ckej2π(km)f0tdt] = T 0cm.
(2.26)

The last step is due to the orthogonality of the basis functions:

ej2πkf0t,ej2πmf0t =T0ej2πkf0tej2πmf0tdt = { T0, k = m 0, km.

In summary, the previous steps used the basis functions orthogonality to prove that the analysis equation

ck = 1 T0x(t),ej2πkf0t = 1 T0T0x(t)ej2πkf0tdt

corresponds to using the inner product as in Theorem 4 (page 2022), and taking in account that here the basis functions have an energy T0.    

Fourier series using complex exponentials

Looking at Table 2.3, the basis b(t) = 1,t, corresponding to k = 0 in a Fourier series, is responsible for representing the DC level of x(t). All other basis functions have a frequency

fk = kf0.

When k > 1, frequencies higher than f0 are generated and, consequently, a period Tk = T0k that is smaller than T0. Therefore, all basis functions but the one for k = 0 are periodic in T0. The frequencies fk that obey a relation fk = kf0 with respect to a fundamental frequency f0 are called harmonics. The frequency f2 = 2f0 is called the second harmonic, 3f0 is the third harmonic and so on.

It seems intuitive that Fourier series should not be used to represent non-periodic signals. In fact, the basis functions even depend on the period T0 of the signal to be analyzed. On the other hand, because the signal is periodic, it suffices to find coefficients that represent the signal x(t) during a single period. The trick is then to use these coefficients (obtained with inner products of duration T0) to multiply eternal complex exponentials and properly represent the periodic (and consequently infinite-duration) x(t). Hence, the Fourier series pair is:

{ ck = 1 T0T0x(t)ej2πkf0tdt ,k = ,,1,0,1,, x(t) = k=ckej2πkf0t ,t.
(2.27)

The negative frequencies fk,k = ,,2,1 exist for mathematical convenience. They allow, for example, to represent a cosine as a sum of complex exponentials with “positive” and “negative” frequencies as in Eq. (A.2).

PIC
(a) k = 0 (DC)
PIC
(b) k = 1 (fundamental)

PIC
(c) k = 2
PIC
(d) k = 2
Figure 2.11: Fourier series basis functions for analyzing signals with period T0 = 150 seconds. Because the basis functions are complex-valued signals, the plots show their real (top) and imaginary (bottom) parts.

Example 2.14. Basis functions of Fourier series. Figure 2.11 shows four basis functions for analyzing signals with period T0 = 150 = 0.02 seconds. Note that the basis for k = 0 is a real signal while the others are complex. The basis for k = 2 has the same real part of the one for k = 2 and the negative of the imaginary part. This is due to the fact that cosines are even functions cos (x) = cos (x) while sines are odd functions sin (x) = sin (x) (see Section 1.6.1).   

Similar to the DFT case discussed in Section 2.4.3.0, when the Fourier series is used to analyze a real signal x(t), the symmetry of the basis functions for k and k leads to interesting properties for the coefficients: the real part of ck and their magnitude compose even sequences while the imaginary part and their phase compose odd sequences. In summary, for real signals x(t): |ck| = |ck|, Real{ck} = Real{ck}, ck = ck and Imag{ck} = Imag{ck}. These properties can be written compactly as

ck = ck,
(2.28)

which corresponds to Hermitian symmetry for the Fourier series, as for the DFT in Section 2.4.3.0. In fact, the properties based on the symmetry of the basis functions and, eventually, also of the signal to be analyzed (x(t) in this case), are valid not only for Eq. (2.27) but for other Fourier pairs.

Another aspect due to the symmetry is often invoked: because any signal x(t) can be decomposed as the sum x(t) = xe(t) + xo(t) of an even part xe(t) and an odd part xo(t) (see Section 1.6.1), the cosines are in charge of representing xe(t), while the sines represent xo(t). This leads to conclusions such as: if x(t) is real and even, then ck = Imag{ck} = 0,k.

Figure 2.12 shows the Fourier coefficients for the periodic and real-valued signal x(t) = 4 + 10cos (2π50t + 2) + 4sin (2π150t 1), with fundamental period T0 = 1f0 = 150 = 0.02 s. The graphs in Figure 2.12 are called the spectrum of the signal. Because the coefficients ck are in general complex numbers, a spectrum is represented using the polar or rectangular form of complex numbers. Figure 2.12 uses the polar format. One can notice that, because x(t) is real, ck = ck, i. e., the spectrum presents the Hermitian symmetry of Eq. (2.28).

PIC

Figure 2.12: Spectrum of x(t) = 4 + 10cos (2π50t + 2) + 4sin (2π150t 1).

Example 2.15. Continuous-time Fourier series coefficients by inspection. When the periodic signal x(t) is composed by a sum of sines and cosines, it is convenient to obtain the Fourier series coefficients by inspection. For example, assume the signal x(t) = 4 + 10cos (2π50t + 2) + 4sin (2π150t 1) of Figure 2.12. Using Euler’s, one has

10cos (2π50t + 2) = 5ej2π50t ej2 + 5ej2π50t ej2

and

4sin (2π150t 1) = 4 2j[ej2π150t ej1 ej2π150t ej1] = 2 e2[ej2π150t ej1 + eej2π150t ej1] = 2ej2π150t ej(1+π2) + 2ej2π150t ej(1+π2).

Hence, the only non-zero coefficients are c0 = 4, c1 = 5ej2, c3 = 2ej(1+π2), c1 = 5ej2, c3 = 2ej(1+π2), with 1 + π2 2.57 as indicated in Figure 2.12, which shows the magnitude and phase graphs of the Fourier series coefficients for representing x(t).   

Trigonometric Fourier series

Instead of complex exponentials ejkω0t with negative frequencies as in Eq. (2.27), the Fourier series can be written in terms of cosines and sines with positive frequencies only. In this case, one has a set of coefficients for the cosines and another set for the sines that are usually called ak and bk, respectively, and related as follows:

{ ak = 2 T0T0x(t)cos (2πkf0t)dt,k = 1,2, , bk = 2 T0T0x(t)sin (2πkf0t)dt,k = 1,2, , a0 = 1 T0T0x(t)dt x(t) = a0 + k=1 (ak cos (2πkf0t) + bk sin (2πkf0t)).
(2.29)

Comparing the expression for x(t) in Eq. (2.27) and Eq. (2.29), they are related via Euler’s formula (see Eq. (A.1)) 

ejkω0t = cos (kω 0t) + jsin (kω0t).

This allows to write c0 = a0 and, for k > 0:

ck = 1 2(ak jbk)andck = 1 2(ak + jbk).

Eq. (2.29) is called the trigonometric Fourier series while Eq. (2.27) is the exponential version.

Example 2.16. Bilateral and unilateral spectrum representations.

PIC

Figure 2.13: Unilateral spectrum of (real) signal x(t) = 4 + 10cos (2π50t + 2) + 4sin (2π150t 1).

The spectrum of Figure 2.12 is called bilateral because the negative frequencies are explicitly represented. In this case, a sinusoid of amplitude A is represented by a pair of coefficients with magnitudes A2 each. An alternative representation, valid only for real signals, is the unilateral spectrum, where only ck,k 0 are shown. In this case, c0 = c0 and ck = 2ck,k > 0 as illustrated in Figure 2.13. This text emphasizes the bilateral representation because it is more general and capable of representing the spectrum of a complex-valued signal x(t).    

2.5.2  Discrete-time Fourier series (DTFS)

The Fourier series for discrete-time signals is used to analyze a periodic signal x[n] with fundamental period N0. Similar to the continuous-time case, the basis functions consist of a set of complex exponentials formed by a fundamental frequency and its harmonics. The basis corresponding to the fundamental frequency is ejΩ0n, where Ω0 = 2π N0 radians, and the harmonics are Ωk = kΩ0. A major distinction between the DTFS and the Fourier series is that there are only N0 distinct angular frequencies for the DTFS because

(k + N0)Ω0 = (k + N0) 2π N0 = k 2π N0 + 2π = kΩ0.

This is a consequence of the fact that discrete-time angular frequencies are angles. Hence, the basis function corresponding to a frequency Ω = π is equal to the one corresponding to Ω = π + 2π = 3π.

Hence, the DTFS pair is:

{ X[k] = 1 N0 n=N0x[n]ejkΩ0n ,k = ,,1,0,1,, x[n] = k=N0X[k]ejkΩ0n ,n = ,,1,0,1,,.
(2.30)

If convenient, Eq. (2.30) can be represented using the twiddle factor WN0 = ej2π N0 as in Table 2.3. The notation n = N0 and k = N0 represent any interval of N0 consecutive integers, such as 0,1,,N0 1 or N0,(N0 1),,1. Note the basis functions depend on the period N0 of the signal to be analyzed.

Because x[n] is periodic, it suffices to specify its samples in an interval N0. However, using k = ,,1,0,1,, and n = ,,1,0,1,, in Eq. (2.30) allows to indicate that X[k] is periodic and x[n] has an infinite duration (in contrast to the finite-duration sequence obtained by an inverse DFT), respectively. As indicated in Eq. (2.30), only k = N0 values of X[k] are necessary to represent the periodic x[n], and along k the values X[k] are periodic, i. e., X[k] = X[k + N0]. The reason is that, as mentioned, the angles repeat (k + N0)Ω0 = kΩ0 after N0 samples (as also illustrated by the divided unit circle in Figure 2.7) and, consequently, their corresponding basis functions and coefficients X[k].

Similar to Example 2.15, which obtained the Fourier series of a continuous-time signal, when x[n] is composed by a sum of sinusoids, it is relatively easy to find the DTFS coefficients X[k] by inspection, as discussed next.

Example 2.17. DTFS coefficients by inspection. Assume x[n] = Acos (π 6 n + π3), which has a period of N = 12 samples. Instead of calculating via Eq. (2.30), one can rewrite the signal as a sum of complex exponentials:

x[n] = A 2 [ej(π 6 n+π3) + ej(π 6 n+π3)] = A 2 ejπ 6 n e3 + A 2 ejπ 6 n e3.

With N = 12, the DTFS synthesis equation is:

x[n] = k=12X[k]ejk2π 12 n ,

where the range k = 12 is chosen to be: k = 6,5,,0,1,,5, which leads to

x[n] = k=65X[k]ejkπ 6 n .

By inspection, x[n] can be represented by two coefficients: X[1] = A 2 e3 and X[1] = A 2 e3, while all other coefficients in the range k [6,5],k ± 1 are zero.

If the range k = 12 were k = 0,1,,11, it would be necessary to recall that X[k] = X[k + N]. Hence, X[11] = X[1] and the spectrum of x[n] could be represented by X[1] = A 2 e3 and X[11] = A 2 e3 with X[k] = 0 for k = 0 and 1 < k < 11. An alternative view of this periodicity is to sum 2πn to the angle ejπ 6 n, which leads to ej2πnejπ 6 n = ej11π 6 n and allows to write

x[n] = A 2 ejπ 6 n e3 + A 2 ej11π 6 n e3.

Sometimes the graphs do not emphasize, but DTFS is always periodic and the Fourier coefficients repeat over k with a period N.   

Calculating the DTFS via the DFT

As mentioned, mathematically the DFT and DTFS differ only by the scaling factor 1N, as indicated in Eq. (2.20) and Eq. (2.30), respectively. Using the proper scaling factor will not alter the spectrum shape but it is important in case the numerical values should be interpreted with the correct units. For example, if a cosine is generated and its FFT calculated in Matlab/Octave, the numerical values will be influenced by both the cosine amplitude and value of N. Only after the normalization by 1N one can interpret the spectrum of a periodic signal in volts. The following example illustrates this procedure.

Example 2.18. DTFS using an FFT routine. Having a DFT routine, typically implemented as an FFT, one can obtain the forward DTFS by dividing the DFT spectrum by N and, consequently, interpreting as the spectrum of a periodic signal.

Listing 2.2 illustrates how to calculate the DTFS in Matlab/Octave using both their built-in fft function and the companion ak_fftmtx.m, with X and X2 being the same apart from numerical errors around 1013. Figure 2.14 shows the resulting spectrum.

PIC

Figure 2.14: DTFS / DFT of x[n] = 10cos (π 6 n + π3) calculated with N = 12. The plot on top is the magnitude obtained with abs(X) and the bottom is the phase obtained with angle(X) (note some random phases when the magnitude is close to zero).
Listing 2.2: MatlabOctaveCodeSnippets/snip_transforms_DTFS.m. [ Python version]
1N=12; %period in samples 
2n=transpose(0:N-1); %column vector representing abscissa 
3Vp=10; x=Vp*cos(pi/6*n + pi/3); %cosine with amplitude 10 V 
4X=(1/N)*fft(x);%calculate DFT and normalize to obtain DTFS 
5A=ak_fftmtx(N,2); %DFT matrix with the DTFS normalization 
6X2=A*x; %calculate the DTFS via the normalized DFT matrix
  

While DFT graphs typically show only the chosen range of N coefficients as in Figure 2.14 and Figure 2.38, sometimes the periodicity of DTFS / DFT must be represented. Therefore, the strict representation of the spectrum of x[n] is given in Figure 2.15, which does not limit the abscissa to N values of k.

PIC

Figure 2.15: Complete representation of the DTFS / DFT of x[n] = 10cos (π 6 n + π3) indicating the periodicity X[k] = X[k + N].

Note in the example of Figure 2.15 the value N = 12 was chosen to coincide with the period of the cosine and the non-zero coefficients were k = ±1. Choosing N = 24 would move the non-zero coefficients to k = ±2. If the number of points of the DFT / DTFS was not a multiple of 12, x[n] would still be interpreted as a periodic signal but not a single cosine. In this case the spectrum would have many non-zero coefficients.    

As mentioned, all four pairs of Fourier representations are related. The two pairs of series have been discussed. One can obtain the expressions for transforms from expressions for series by using the limit when the period (N or T0) goes to infinite. This allows to create an aperiodic signal from a periodic one, and also illustrates that the discrete components of the spectrum (ck or X[k]) get so close to each other that create a continuum of frequencies (X(f) or X(ejΩ)). The next sections discuss Fourier transforms.

2.5.3  Continuous-time Fourier transform using frequency in Hertz

The continuous-time Fourier transform11 uses an infinite number of exponentials ejωt as basis functions, where ω is the angular frequency in radians per second and varies from to . Recall from Result 2.1 that two exponentials ejω0t and ejω1t, ω0ω1, are orthogonal, and ω = 2πf, where f is the frequency in Hertz. Hence, the continuous-time Fourier equations are given by

{ X(f) = x(t)ej2πftdt x(t) = X(f)ej2πftdf.
(2.31)

One should interpret the coefficient X(f0) for a given frequency f0 as the inner product X(f0) = x(t),ej2πf0t.

As anticipated in Table 2.5, if x(t) is given in volts, the unit of X(f) is volts × seconds or, equivalently, volts/Hz. Similarly, for x(t) in ampere, X(f) is in ampere/Hz, and so on.

2.5.4  Continuous-time Fourier transform using frequency in rad/s

In some applications of Fourier transform, it is more convenient to use X(ω) with ω in rad/s, instead of X(f) with f in Hz.

Having X(ω) as a convenient alternative to X(f), where ω = 2πf, is very different from deriving a new function Y (f) = X(2πf) by contracting the frequency axis by the factor 2π (see, e. g., Figure 1.6). In case Y (f) = X(2πf), the two functions Y (f) and X(f) are different. In contrast, X(f) and X(ω) = X(2πf) represent the very same function, but with distinct independent variables. In summary, a plot of X(f) without impulses δ(f) can be converted to X(ω) by simply multiplying the abscissa by 2π. But due to the scaling property of the impulse, the area of each eventual impulse in X(f) needs to be scaled by 2π when representing it in X(ω). Some examples are provided in the sequel.

Example 2.19. Examples contrasting Fourier transforms in linear and angular frequencies As depicted in Figure 2.16, when there are no impulses in X(f), the Fourier transform X(ω) is obtained by simply multiplying the abscissa by 2π.

PIC

Figure 2.16: Example of a Fourier transform X(f) and its equivalent representation X(ω) with ω in rad/s.

However, when X(f) contains impulses, the scaling property of an impulse described in Appendix A.26.5.0 has to be taken into account. This property states that each area A of an impulse (f) in X(f) is multiplied by 2π to become 2πAδ(ω) in X(ω). For example, the transform of x(t) = cos (2πf0t) is X(f) = 0.5[δ(f + f0) + δ(f f0)] or, equivalently, X(ω) = π[δ(ω + 2πf0) + δ(ω 2πf0)]. Figure 2.17 provides an example for x(t) = 6cos (10πt).

PIC

Figure 2.17: Fourier transform of x(t) = 6cos (10πt) represented in Hertz and radians per second, indicating the scaling of the impulses areas by the factor 2π.

It is instructive to compare Figure 2.16 and Figure 2.17, observing that X(f) and X(ω) are two distinct representations of the same Fourier transform of the respective signal x(t).

As a final example, consider that X(f) = 5rect(f4) + 3δ(f 2) is the Fourier transform of a complex-valued signal x(t). The spectrum X(f) does not have Hermitian symmetry because x(t) is not real-valued. When ω in rad/s is adopted, this spectrum is represented as X(ω) = 5rect (ω(8π)) + 6πδ(ω 4π). The amplitude of the rect() function is 5 in both X(f) and X(ω), but the area of the impulse is scaled by 2π in X(ω).    

Because they represent the same spectrum, X(f) and X(ω) share the same properties with few subtle differences imposed by the factor 2π. If a given property is defined for one of these two functions (the “mother” definition for this property), an equivalent property can be derived for the other (“child” definition).

For instance, assume the Fourier transform given in Hertz is the “mother” definition described by Eq. (2.31). The “child” definition using rad/s instead of Hz, requires a change of variable f = ω 2π to obtain the alternative Fourier transform definition:

{ X(ω) = x(t)ejωtdt x(t) = 1 2πX(ω)ejωtdω
(2.32)

given that df = dω 2π .

Units of the Fourier transform in linear and angular frequencies

Table 2.5 indicated that, when x(t) is given in volts, the unit of X(f) is volts/Hz. The unit of X(ω)(2π) is volts/(rad/s), and the need to incorporate the 2π factor is better understood via an example.

For instance, when X(f) = 5rect(f4), the value is 5 V/Hz from [2,2] Hz, and zero otherwise. The integral of X(f) is 20 volts, because:

X(f)df = 5 × 4 = 20.

Equivalently, this spectrum can be denoted as X(ω) = 5rect(f(8π)). The unit of X(ω) is not directly in volts/(rad/s) because taking the value of 5 along the frequency band [4π,4π] leads to

X(ω)dω = 5 × 8π = 40π20.

But using a normalization factor of 2π, the function X(ω)(2π) can be interpreted in units of rad/s. For the given example, one has a density of 5(2π) V/(rad/s), which leads to

X(ω) 2π dω = 5 2π × 8π = 20.

Hence, the factor 1 2π in Eq. (2.32) is essential for having the proper results and interpreting X(ω)(2π) in units of volts/(rad/s). For example, for t = 0

x(t)|t=0 =X(f)df = 1 2πX(ω)dω.
(2.33)

2.5.5  Discrete-time Fourier transform (DTFT)

The discrete-time Fourier transform uses an infinite number of exponentials ejΩn as basis functions, where Ω is the angular frequency in radians. The equations are given by

{ X(ejΩ) = x[n]ejΩn x[n] = 1 2π2πX(ejΩ)ejΩndΩ.
(2.34)

If x[n] is given in volts, the unit of X(ejΩ)(2π) is volts per radians. For instance, assuming X(ejΩ) = 10πrect(Ω), the density is X(ejΩ)(2π) = 5 volts/rads over the frequency band Ω [0.5,0.5] rads, and one has

x[n]|n=0 =ππX(ejΩ) 2π dΩ =0.50.510π 2π dΩ = 5 × 1 = 5volts.

One should interpret the coefficient X(Ω0) for a given frequency Ω0 as the inner product X(Ω0) = x[n],ejΩ0n.

The notation is X(ejΩ) because Ω only appears in the imaginary part of an exponent, i. e., Ω is always the angle of a complex exponential, unless Ω is the argument of an impulse δ(Ω). For example, X(ejΩ) = 1+Ω 3+Ω will never be a “valid” discrete-time Fourier transform for the signals of interest. In contrast, a “valid” expression is X(ejΩ) = 1+ej2Ω 3+ej4Ω + δ(Ω). One can also note that

X(ejΩ) = X(ej(Ω+m2π)),m ,

which indicates that X(ejΩ) is always periodic in 2π (for any x[n]). This discreteness-periodicity duality had been already summarized in Table 2.4.

Calculating the DTFT via the DFT

The DFT corresponds to sampling the DTFT in the frequency domain such that

X[k] = X(ejΩ)| Ω=2π N k
(2.35)

with N being the DFT dimension. In other words, the DFT uses a frequency increment of ΔΩ = 2πN and calculates the value of the DTFT X(ejΩ) at the angles 0,ΔΩ,2ΔΩ,,(N 1)ΔΩ rad.

The discrete-values of the angles used in an N-point DFT are called DFT (or FFT) bins. Hence, in Fourier analysis, the number of bins coincides with the number N of DFT / FFT points. Figure 2.18 depicts an example with N = 4. In this case, a cosine x[n] = cos ((π2)n) with angular frequency Ωc = π2 is called bin-centered because its frequency coincides with a DFT bin (also called DFT frequency line).12

PIC

Figure 2.18: Example of bins when using an N-points DFT with N = 4. The bin centers are 0,π2,π and 3π2, all marked with ’×’.

Figure 2.18 has similarities to the histogram in Figure 1.21. For instance, for the DFT one can assume that the minimum and maximum angular frequencies are always Ω = 0 and 2π, respectively. Hence, the bin width can be calculated using a strategy similar to the one adopted in Eq. (1.15), as ΔΩ = (2π 0)N = 2πN. However, the bin centers in histograms are calculated differently than DFT bin centers. A histogram with B bins uses the minimum signal value as an edge of the first bin. In contrast, as indicated in Figure 2.18, the minimum angular frequency value Ω = 0 rad is considered to be the first bin center (not the edge). Because of this, the first and last bins of a DFT/FFT have a width of ΔΩ2, which differs from the other bins.

Another issue when using a DFT is to improve its resolution given by ΔΩ = 2πN. When one wants to sample the DTFT using a high-resolution grid, the value N is chosen to be larger than the duration of x[n] and zero-padding is adopted. Zero-padding corresponds to simply increasing the size of a sequence by appending extra values to it, all with zero amplitude.