Chapter 9: Fourier Transform
NOTE: Math will not display properly in Safari - please use another browser
The material covered in this chapter is also presented in Boas Chapter 7, Sections 12.
9.1 Fourier Transform
Can Fourier series be applied to functions f(x) that are not periodic? Strictly speaking the answer is no. But we can generalize the approach to provide a positive answer. The trick is to take the periodicity length 2L to infinity, so that the function becomes periodic with an infinite period --- which is the same thing as not being periodic at all. A consequence of this limiting procedure is that the set of wave numbers implicated in the Fourier expansion will no longer be discrete, but will form a continuum. Discrete sums will therefore be replaced by integrals, and the standard Fourier series will become a Fourier transform. This is the topic of this chapter.
Recall from Chapter 7 --- refer back to Sec.7.7 --- that the Fourier series of a function f(x), periodic with period 2L, is given by
with coefficients
Writing einπx/L=eiknx, we see that the set of wave numbers involved in the expansion is given by kn=nπ/L, so that the set of wavelengths is λn=2π/kn=2L/n. With n an integer ranging from n=−∞ to n=∞, these are infinite but discrete sets.
We wish to take the limit L→∞, and for this purpose it is useful to rewrite Eqs.(9.1) and (9.2) in terms of kn. We have
f(x)=∞∑n=−∞cneiknxΔn,cn=12L∫L−Lf(x)e−iknxdx,
where we inserted a trivial factor Δn=1 in the Fourier series, to make it outrageously obvious that the sum is taken in unit steps of n. The reason for doing this is that we now wish to replace the summation variable with kn, which increases in steps of Δkn=(π/L)Δn. This gives us
f(x)=Lπ∞∑kn=−∞ckneiknxΔkn,ckn=12L∫L−Lf(x)e−iknxdx,
and these equations indicate that the limit L→∞ is problematic: the sum for f(x) comes with an overall factor of L that goes to infinity, and the integral for ckn comes with a factor of 1/L that goes to zero.
These problems go away if we define gkn:=Lckn/π and assume that as L→∞, ckn→0 so that the product Lckn stays finite. With this notation the equations become
\begin{align} f(x) &= \sum_{k_n=-\infty}^\infty g_{k_n} e^{i k_n x} \Delta k_n, \tag{9.5a} \\ g_{k_n} &= \frac{1}{2\pi} \int_{-L}^L f(x) e^{-i k_n x}\, dx, \tag{9.5b}
and taking the limit no longer seems problematic. With L→∞ we have that Δkn=(π/L)Δn becomes extremely small, and should therefore be interpreted as the infinitesimal dk. In the limit the discrete variable kn becomes the continuous variable k, the coefficients gkn become the function g(k), and the discrete sum over kn becomes an integral.
Taking the limit therefore takes us to the pair of equations
f(x)=∫∞−∞g(k)eikxdk,g(k)=12π∫∞−∞f(x)e−ikxdx.
The function g(k) is called the Fourier transform of f(x). Equation (9.6a) is the generalization of the Fourier series to nonperiodic functions, and Eq.(9.6b) allows us to calculate g(k) from f(x); this complex function of k is the generalization of the Fourier coefficients cn.
The Fourier transform is often used to represent functions of time. In this context the variable x is replaced by t, and the wave number k is replaced by the angular frequency ω. It is conventional to let k→−ω when making this replacement. It is also conventional to change the notation of the Fourier transform, so that g(k) is replaced by g(ω) instead of g(−ω). So the Fourier pair becomes
begin{align} f(t) &= \int_{-\infty}^\infty g(\omega) e^{-i \omega t}\, d\omega, \tag{9.7a} \\ g(\omega) &= \frac{1}{2\pi} \int_{-\infty}^\infty f(t) e^{i \omega t}\, dt \tag{9.7b} \end{align}
when dealing with functions of time. In this new context the Fourier transform g(ω) is sometimes called the frequency spectrum of the function f(t). It is important to understand that Eqs.(9.6) and (9.7) have precisely the same mathematical content; they differ in notation only.
9.2 Two-Step Function
As a first example we consider the two-step function defined by
f(t)={1−τ<t<τ0otherwise.
Its Fourier transform is calculated with the help of Eq.(9.7b). We have
g(ω)=12π∫∞−∞f(t)eiωtdt=12π∫τ−τeiωtdt=eiωt2πiω|τ−τ=12πiω(eiωτ−e−iωτ),
or
g(ω)=sin(ωτ)πω.
The function and its Fourier transform are shown in Fig.9.1.

This example (and the other ones below) reveals an interesting connection between the functions f(t) and g(ω). Both functions can be characterized by a certain spread. In the case of f(t), the function is nonzero for a finite interval of time only, and the half-width Δt=τ can be taken as a measure of its spread. In the case of g(ω), the function is nonzero over the entire interval −∞<ω<∞, but it is sharply peaked around ω=0. A rough measure of its spread can be given by the half-width Δω=π/(2τ), at which point g has decreased by an approximate factor of 0.6. The product of the time and frequency spreads,
ΔωΔt=π2≃1.6,
is a number of order unity, independent of τ. This is a universal feature of functions and their Fourier transforms: the product ΔωΔt is always of order unity. This means that a function f(t) that has a wide spread in time will have a Fourier transform g(ω) that has a narrow spread in frequency; conversely, a function f(t) that has a narrow spread in time will have a Fourier transform g(ω) that has a wide spread in frequency. This observation has far-reaching consequences in quantum mechanics, where frequency is related to energy by Planck's formula E=ℏω. The relation ΔEΔt≃ℏ is one of the famous Heisenberg uncertainty relations.
9.3 Damped Wave
For a second example we consider the damped cosine wave described by
f(t)=e−κ|t|cos(Ωt),
where κ is the damping constant, and Ω is the wave's angular frequency. To calculate the Fourier transform it is helpful to convert the cosine into complex exponentials. For t>0 we write
f(t)=e−κtcos(Ωt)=12e−κt(eiΩt+e−iΩt)=12[ei(Ω+iκ)t+ei(−Ω+iκ)t],
while for t<0,
f(t)=eκtcos(Ωt)=12eκt(eiΩt+e−iΩt)=12[ei(Ω−iκ)t+ei(−Ω−iκ)t].
Inserting this in Eq.(9.7b) gives
g(ω)=14π∫0−∞[ei(Ω−iκ)t+ei(−Ω−iκ)t]eiωtdt+14π∫∞0[ei(Ω+iκ)t+ei(−Ω+iκ)t]eiωtdt=14πi{ei(ω+Ω−iκ)tω+Ω−iκ|0−∞+ei(ω−Ω−iκ)tω−Ω−iκ|0−∞+ei(ω+Ω+iκ)tω+Ω+iκ|∞0+ei(ω−Ω+iκ)tω−Ω+iκ|∞0}=14πi{1ω+Ω−iκ+1ω−Ω−iκ−1ω+Ω+iκ−1ω−Ω+iκ};
the contributions from t=±∞ vanish because of the factors e∓κt in the exponentials. Combining the first and third terms within the curly brackets gives
2iκ(ω+Ω)2+κ2
after simplification, while the second of fourth terms combine to give
2iκ(ω−Ω)2+κ2.
Our final expression for the Fourier transform is therefore
g(ω)=κ2π[1(ω+Ω)2+κ2+1(ω−Ω)2+κ2].
The function and its Fourier transform are displayed in Fig.9.2.

Exercise 9.1: Reproduce the calculations that lead to Eq.(9.16). This is a good exercise in complex algebra.
The damped cosine wave has a spread in time that is measured by the half-width Δt=1/κ, which marks the point at which the wave's envelope has decreased by a factor of 1/e≃0.4. Its Fourier transform features two peaks at ω=±Ω, and the spread in frequency is measured by the half-width of each peak, given by Δω=κ, the point at which the peak has decreased by a factor of 1/2. With these measures of spread we have that
ΔωΔt=1,
and again we find that the right-hand side is a number of order unity, independent of κ and Ω.
9.4 Truncated Cosine Function
Our third example is concerned with a truncated cosine function described by
f(t)={cost−π2<t<π20otherwise./tag9.18
With cost=12(eit+e−it) the Fourier transform is calculated as
g(ω)=12π∫π/2−π/2costeiωtdt=14π∫π/2−π/2[ei(ω+1)t+ei(ω−1)t]dt=14πi[ei(ω+1)π/2−e−i(ω+1)π/2ω+1+ei(ω−1)π/2−e−i(ω−1)π/2ω−1]=14πi[iω+1(eiωπ/2+e−iωπ/2)−iω−1(eiωπ/2+e−iωπ/2)],
where we used the identity e±iπ/2=±i in the last step. The complex exponentials can be converted to a cosine function, and we arrive at
after further simplification. The function and its Fourier transform are displayed in Fig.9.3.

Exercise 9.2: Reproduce the calculations that lead to Eq.(9.20).
Exercise 9.3: What is the value of g(ω) at ω=±1?
The time spread of the truncated cosine function can again be measured by the half-width Δt=π/3, at which point the function has decreased by a factor of 1/2. The frequency spread of its Fourier transform is measured by the half-width Δω=π/2, the point by which it has decreased by a factor of approximately 0.53. This gives us
ΔωΔt=π26≃1.6,
9.5 Delta Function
Even the delta function can be given a Fourier transform. If we set
f(t)=δ(t−t′)
in Eq.(9.7b) we quickly arrive at
g(ω)=eiωt′2π
for its Fourier transform. In this case the spread of f(t) is Δt=0, while the spread of g(ω) is Δω=∞, because the function just keeps on oscillating. With a generous attitude we might interpret the product ΔωΔt=∞⋅0 as a number of order unity.
If we insert g(ω) back into Eq.(9.7a) we obtain an interesting representation of the delta function,
Because the delta function is real, taking the complex conjugate of both sides of this equation yields
These equations make intuitive sense. When t≠t′, the integrand is an oscillating function of ω, the integral adds up the positive and negative contributions, and we end up with a zero value; this is what we expect of δ(t−t′) when t≠t′. When t=t′, however, the complex exponential becomes equal to one, and the integral gives infinity, precisely what we expect of the delta function.
We can produce alternative representations of the delta function by adapting the notation. If, in Eqs.(9.24) or (9.25), we let t→ω, t′→ω′, ω→t, and dω→dt, we obtain
In this case the original function is δ(ω−ω′), a function of ω, and its Fourier transform is e∓iω′t/(2π), a function of t. The spread in frequency is Δω=0, while the spread in time is Δt=∞.
These considerations allow us to define the Fourier transform of a undamped, and untruncated, cosine function. Let us therefore insert
f(t)=cos(Ωt)
within Eq.(9.7b) to calculate its Fourier transform. We have
g(ω)=12π∫∞−∞cos(Ωt)eiωtdt=14π∫∞−∞ei(ω+Ω)tdt+14π∫∞−∞ei(ω−Ω)tdt,
and Eq.(9.26) converts this to
g(ω)=12[δ(ω+Ω)+δ(ω−Ω)].
The Fourier transform of a pure cosine function is therefore the sum of two delta functions peaked at ω=±Ω. This result can be thought of as the limit of Eq.(9.16) when κ→0. In this case we are dealing with a function f(t) with Δt=∞ and a Fourier transform g(ω) with Δω=0.
9.6 Practice Problems
-
(Boas Chapter 7, Section 12, Problem 6) Find the Fourier transform of the function defined by f(t)=t for |t|<1 and f(t)=0 otherwise.
-
(Boas Chapter 7, Section 12, Problem 7) Find the Fourier transform of the function defined by f(t)=|t| for |t|<1 and f(t)=0 otherwise.
-
(Boas Chapter 7, Section 12, Problem 12) Find the Fourier transform of the truncated sine function defined by f(t)=sint for |t|<π/2 and f(t)=0 otherwise.
-
(Boas Chapter 7, Section 12, Problem 21) Find the Fourier transform of the Gaussian function f(t)=exp[−t2/(2σ2)]. Hint: consider the change of variables y=t−iσ2ω to evaluate the integral.
-
(Boas Chapter 7, Section 12, Problem 24a) Find the Fourier transform of f(t)=exp(−|x|).
-
(Boas Chapter 7, Section 12, Problem 24c) Find the Fourier transform of f(t)=1/(1+t2). Hint: make sure to work through the previous problem first.
9.7 Challenge Problems
-
If g(ω) is the Fourier transform of f(t), what is the Fourier
of df/dt?
-
Calculate the Fourier transform of the function f(t)=J0(t). Hint: Start with the integral representation for the Bessel function, and do the t-integral first.