Elements of Fourier Analysis
Elements of Fourier Analysis
241
242 Fourier Series
£ eikxdx=r' k =
°
0, fc = ± l , ± 2 , . . . .
(5.1.2)
EXERCISE 5.1.2F (a) Verify that all values of PN{X) are real if and only if
C-k = Cfc for aU k; recall that Ck is the complex conjugate of Ck- Hint: we
already proved the "if" part; for the "only if" part, write P(x) = P(x), multiply
by etkx and integrate from — 7r to TT, using (5.1.2). (b) Verify that
Hint: use (5.1.2) and the equality \PN(X)\2 = PN(X)PN(X); remember that the
complex conjugate of elkx is e~%kx.
In what follows, we show that the Fourier coefficients of the function /
are the coefncients of the trigonometric polynomial that is the best mean-
square approximation of / .
Let / be a reasonably good function defined on [—IT, n], for example,
bounded and (Riemann) integrable; it can take complex values. How should
Fourier Coefficients 243
r \f(x)-pN(X)\2dx= r \f(X)\2dx
J— 7T «/—7T
- J ( / ( z ) P ^ ) + PN{x)W)) dx + J* \PN(x)\2dx,
EXERCISE 5.1.3. C Verify (5.1.5). Hint: you work, back and forth, with the
equality \z~w\ = \z\ +\w\ —zw — wz; keep in mind that, for complex numbers,
(z - w)2 ± \z - w\2.
An immediate consequence of (5.1.5) is that f* \f(x) — P^(x)\2dx is
minimal when the coefficients of Pjv are the Fourier coefficients of / : Ck =
Ck(f) for all k = —N,..., N, with Cfe(/) defined in (5.1.4). Accordingly, we
define a special trigonometric polynomial,
k=-N
and call it the iV-th p a r t i a l sum of the Fourier series for / . Using (5.1.5)
244 Fourier Series
lira | c f e ( / ) | = 0 . (5.1.8)
here; we will take the result for granted. Below (see page 256), we discuss
the physical interpretation of Parseval's identity in the context of signal
processing. With this interpretation, (5.1.9) means conservation of energy.
Definition 5.1 The Fourier s e r i e s Sf of a bounded, Riemann inte-
g r a t e function / = f(x) on the interval [—IT, IT] is
lim / \f(x)-SfN(x)\2dx = 0.
N
(b) Verify that, for real-valued functions, Parseval's identity (5.1.9) becomes
f A r • . , JTT, m = n,
/ cos nx cos mx ax = I sin nx sin mx dx = <
For fixed x, the Fourier series Sf(x) is a numerical series; see Section
4.3.1, page 206. Note that \ck(f)elkx\ = \ck(f)\, so the Fourier series will
converge absolutely for all x if ^fcl-oo lcfc(/)l < °°- ^n fact> t n e series in
this case also converges uniformly, which is a special type of convergence
we define next.
Definition 5.2 A sequence of functions f\, fa, • •. on an interval I of the
real line converges uniformly to the function / if, for every e > 0, there
exists an m > 1 such that, for all n > m and all x in the interval I, we
have \fn(x) - f(x)\ < e.
A series ]CfcLi fk(x) converges uniformly if the sequence of partial sums
Sfc=i fk(x) converges uniformly; for the series J2k^=-oo fk(x)> we consider
partial sums of the form ^22=-n fk(x)-
The same definition applies to functions of a complex variable, defined
in a complex domain instead of a real interval.
Recall that a sequence of functions f\, fa,... converges to / at every
point of the interval if for every e > 0, and for every x in the interval, there
exists an m > 1 such that, for all n > m we have \fn(x) — f{x)\ < e. The
difference from uniform convergence is therefore in the possible dependence
of m on x. In other words, a uniformly convergent sequence converges
point-wise, but a point-wise convergent sequence does not need to converge
uniformly. FOR EXAMPLE, the sequence fn(x) = x/n converges uniformly
to zero on every bounded interval, while the sequence fn(x) = x™ converges
to zero on [0,1) point-wise, but not uniformly; the same sequence fn(x) =
xn does converge uniformly on [0, a] for every a < 1.
EXERCISE 5 . 1 . 9 . S(a) State the analog of the above theorem for a series of
functions, (b) Show that if the sequence / i , / 2 , . . . of continuous functions
converges uniformly to f on the closed bounded interval [a,b], then, for all
sufficiently large n, the graph of fn resembles the graph of f. In other words,
show that lim n _ 0 O m a x ^ e ^ ] \fn{x) - f(x)\ = 0. Hint: let max^,;,] \fn{x) -
f(x)\ = \fn(xn) - f(xn)\.
The main test for uniform convergence for a series of functions is
known as W e i e r s t r a s s ' s M-test, in honor of the German mathemati-
cian KARL T H E O D O R WILHELM WEIERSTRASS (1815-1897), who was one
of the founders of modern analysis (both real and complex).
On the other hand, (5.1.6) and Parseval's identity (5.1.9) imply that
the left-hand side of (5.1.15) is equal to zero. As a result, f* \f(x) —
Sf(x)\2dx = 0, and since both / and Sf are continuous, we conclude that
f(x) = Sf(x) for all x e [-TT, n}. •
oo oo / oo \ oo
we conclude that ^2%L_ao |cfc(/)| < oo. This implies uniform convergence of
the Fourier series, and, together with Theorem 5.1.3, completes the proof.
D
f(a+)= l i m / ( a + e).
e—>0,e>0
Similarly, the limit from the left f(a~), also denoted by lim^^Q- f(x), is
defined by
If one can physically draw the graph of a function, then the function must
be piece-wise smooth: it is impossible to draw infinitely many cusps or
discontinuities just because of the finite thickness of the line. In particular,
f{x+) and f(x~) must exist at every point. These are the functions we
encounter in every-day life. The functions can have jump-discontinuities,
that is, points where f(x+) ^ f(x~). The following result shows that we
can represent such functions using a Fourier series. I T IS ALSO THE MAIN
RESULT OF THIS SECTION.
Sf(x) = ( / ( X ) ' i f f iS c o n t i n u o u s a t
* (5.1.16)
1 {f{x+) + f{x
))/2, if / is not continuous at x.
Moreover, if f is continuous everywhere, then the Fourier series converges
to f uniformly on R.
Note that conditions of the theorem imply that, on every bounded in-
terval, there exist finitely many numbers X\ < Xi < ... < xn such that
the function / is bounded and continuously differentiable on every interval
(xk,Xk+i); this, in particular, implies the existence of f(x+) and f(x~) for
every x. The proof of this theorem is rather long; an interested reader will
find the main steps in Problem 6.2 on page 437.
252 Fourier Series
The next result shows that many convergent Fourier series can be inte-
grated term-by-term even without uniform convergence, and the resulting
integrated sequence will always converge uniformly.
k= — oo k= — oo
fe^O fe^O
Proof. We outline the main steps; the details are in the Exercise below.
Step 1. By assumption, co(/) = 0. Integrating by parts for k ^ 0, we
find
"• , / ft-ikx\ x=n rv p-ikx
/
Since both / and / ' are bounded, there exists a positive number A so that
|cfe(/)| < A/\k\ for all k = ± 1 , ± 2 , . . . .
Step 2. Recall that, for x < 0, f* f(t)dt = - f~x f(t)dt. Denote by
Cfc, k = 0, ± 1 , ± 2 , . . . the Fourier coefficients of F. Then
k=—oo A:=—oo
EXERCISE 5.1.11. 5 Fill in the details in the above proof. In particular, (a)
Verify that condition f* f(x)dx = 0 implies co(f) = 0 and also implies that
the function F is periodic with period 2TT. (b) Verify that F is continuous
everywhere. Hint: for y>x, \F(y) - F(x)\ < f£ \f(t)\dt < A\x - y\. (c) Carry
out the calculations in Step 2 to conclude that Ck = —ick(f)/k. (d) Verify
that SF{X) is indeed the result of the term-by-term integration of Sf(x).
Hint: for k^O, / Q x eiktdt = (eikx - l)/(ik) = i(l - eikx)/k.
EXERCISE 5 . 1 . 1 2 . C
(a) Convince yourself that if the periodic extension of
f is not continuous, then the Fourier series cannot converge uniformly on
[—7r,7r]. Hint: if it did converge uniformly, the result would be a continuous
function, which it is not. (b) Assume that the periodic extension of f has N
continuous derivatives. Show that there exists a positive number A so that,
for all k, | c f c ( / ) | < A / ( | f c | + 1 ) ^ . Hint: integrate by parts N times and observe
that the derivatives of the periodic extension, if exist, are also periodic.
system to plot the graph of S9IN on the interval [—TT, TT] for N = 10,50,100.
(c) Verify that limjv—oo £g,./v (7r(l - 1/iV)) = 2 /^(sin x/x) dx.
(d) Show that 2 J* (sin x/x) dx > 1.177T. Hint: first try it analytically us-
ing the power series expansion of sin x/x at zero; if not successful, try a computer
algebra system.
In other words, even though limjv-KX) Sgtpf(TT — e) — TT — e for every
e £ (0, TT], the maximal value of S3IN(X) on the interval [0, IT], being achieved
at different points, does not converge to IT, the supremum of g on the interval
[0,7r]; by Exercise 5.1.9, this could not have happened had S3,N converged
uniformly.
In applications, we cannot sum infinitely many terms and approximate a
function / with the trigonometric polynomial SfiN(x) = ^2k^_N Ck(f)elkx.
If the periodic extension of the function / is not continuous, then the max-
imal value of the approximation error will not converge to zero. This effect
was first observed in 1898 for the sawtooth function g by A. A. Michelson,
of the Michelson-Morley experiment, who made a machine to recover the
function from the Fourier coefficients. Since it was J. W. Gibbs who pro-
vided the mathematical explanation in 1899, the effect is now known as the
Gibbs phenomenon.
EXERCISE 5.1.14^ Investigate the Gibbs phenomenon for the the 2n-periodic
square wave function h = h{x), defined for x G {—IT, TT] by
h
, if 0 < x < IT;
(x) = { ,
if - TT < X < 0.
a =
o ^l f{y)dy,ak =- f(y) cos(nky/L)dy, fc = 1,2,...;
-L
bk =
1 fL
Z / ^ sm(-Kky/L) dy, k = 1,2,...;
2a20 + J2(at+bl) = ~ L
f{y)dy.
fc=l
L_, J-L
(5.1.18)
As in the case L = w, if / is piece-wise continuously differentiable then
Sf(y) = f(y) at the points y where the 2L-periodic extension of / is con-
tinuous; the convergence is uniform if this extension of / is continuous
everywhere on R.
EXERCISE 5.1.15. 5 Show that if the function f is extended with period 1L
on M., then all the integrals J_L in (5.1.18) can be replaced with integrals
fa_L for an arbitrary a S M. Hint: if a function g satisfies g(x) = g(x + 2L)
for all x € R, then f^_L g(x)dx — f_Lg(x)dx + f£ g(x)dx — /^~ g{x)dx;
IL+L 9(x)dx = fa_~LL g(y + 2L)dy = fa_~LL g{y)dy.
If the function / is even (f(x) = f(—x)), then bk = 0 for all k and the
Fourier series contains only cosines; if the function is odd (f(x) = —f(—x)),
then dfc = 0 for all k and the Fourier series contains only sines.
If the function is defined on the interval [0,L], then there are three
possibilities for constructing the Fourier series of / :
(1) Extend / on R with period L: f(x + nL) = f(x), x e (0, L); the Fourier
series will, in general, include cos (2itkx/L) and sin(27rfcx/L).
(2) Extend / in an odd way onto (—L,0): f(—x) — —f(x), x e (0,L);
then consider the 2L-periodic extension of the result; the Fourier series
will include only sm(Trkx/L) and is sometimes called the odd half-range
expansion.
(3) Extend / in an even way onto (—L,0): f{—x) = f(x), x e (0,L); then
consider the 2L-periodic extension of the result; the Fourier series will
256 Fourier Series
/(*) g(x)
1
1 1 » ' 1 ^ I 1 1 1fa1 1 1,1 1 1 1
k '
— 77 •K 2TT 3TT X -3 -1 1 3 5 X
5/Cx) Sg{x)
•
14
— 7T
f1 1 a
•
, 1
2TT
(a)
•
1*
3TT
k
•
1
X
1
U lkl
-3 -1
1
1
• 'k '
3
(b)
'
5
' • ' t. <
X
*(*)=/(f*+f)
(verify this!) and therefore
+1
ssM = s,(f* + !K + i£ST<«0 »*)'
n=0
As a bonus, we can evaluate the following two infinite sums:
J X 0 ( - l ) n / ( 2 n + 1) and £,T=o V ( 2 n + x?• Indeed, by Theorem 5.1.5,
258 Fourier Series
(~l)n *
(5.1.20)
^(2n+l) 4'
v
n=0 '
<0*+^5 (^irH/>><<*='•
which means
oo 1
(5.1.21)
2 n4-+ l ) 2
2^1 (Or, 8'
n=0
EXERCISE 5.1.17? Use the Fourier series expansion (5.1.19) of the function
f from Figure 5.1.1(a), to derive (5.1.20) and (5.1.21).
To complete the EXAMPLE, let us consider the 27r-periodic function h =
h(x) so that h(x) = \x\ for |a;| < n; see Figure 5.1.2(b).
1
1 i i i i N
— •K •IT 2n 3TT X
— TV 7T 2n 3TT X
(a) (b)
Fig. 5.1.2 Rectangle and Triangle
Verify that h(x) = Jo(2f(t) - l)dt, where / = f{x) from Figure 5.1.1(a)
is the original rectangular wave that started our example. By Theorem
5.1.6 about term-by-term integration of Fourier series (see page 252), we
conclude that
4>fi i i r , . w i r , TT
—
/ T^ TT? — ao = ;r~ / h(x)dx = — xdx = —,
Computations 259
and so
SfcL-oo ck(f)elkoJt- If ku> ^ (Jo for all k > 0, then, for every k, a particular
solution of y(t) + u0y(t) = exkujt has the form y(t) = Cke%kuJt, which, after
substitution, results in Cfc(—k2u>2 + u>2) = 1 or Cfc = 1/(WQ _ fc2w2). By
linearity of the equation, the general solution of y(t) + u>Qy(t) = f(t) is
therefore
Note that the series on the right-hand side converges uniformly even if the
Fourier series for / does not converge uniformly. Note also that y(t) stays
bounded for all t.
EXERCISE 5 . 1 . 2 0 . C
Find the solution of y(t) + 4y(t) = h(t), where h(t) is
the function shown on Figure 5.1.2, and y(0) = 2/(0) = 0.
If uio = ku> for some k, then we get a resonance and an unbounded
solution: the particular solution of y(t) + u)ay(t) = e%Uot has the form
y(t) = Ctelu'°t. In practical terms, the system can break down if subjected
to the external resonant forcing for sufficiently long time. As a result,
knowledge of the Fourier series expansion of the external forcing is crucial
to ensuring the stability of the system.
EXERCISE 5.1.21. 3 Find the solution of y(t) + 9y(t) = h(t), where h(t) is
the function shown on Figure 5.1.2(b), and y(0) = j)(0) = 0.
Sometimes we know for sure that a given external periodic force will be
acting on the system (example could be a train moving on a bridge and
jumping on the rail joints). There are two ways to ensure that the system
does not break down under this forcing:
• Adjust the proper frequency U>Q of the system so that wo is not a mul-
tiple of u>.
• Introduce damping (friction or other energy loss) into the system.
EXERCISE 5.1.22.'4 Verify that all solutions of y(t) + a2y(t) + 9y{t) = h{t),
where h(t) is the function shown on Figure 5.1.2, remain bounded. How
does the bound depend on a? Hint: the computations are easier with complex
exponentials rather than with sines and cosines; see Section 4.1.3, page 187.
This completes our discussion of the Fourier series. We will revisit the
topic in the following chapter, where we use Fourier series to solve certain
partial differential equations.
[i;fLfL®e~i™/Ldt)el
knx/L "^_.
/tW= £
the equality holds at all points x where the 2L-periodic extension of //, is
continuous. Let ujk = kTr/L and Aaife = ujk+i — ^fe = TT/L. Then
where, for every x and L, €N,L{X) —> 0 as TV —> oo. Note that, for each x,
the right-hand side of (5.2.2) is a Riemann sum, and it is natural to pass
to the limit and turn this sum into an integral. This passage to the limit
requires decreasing Awfc = n/L, that is, increasing L. As L —* oo, the
value of Cx(w) will converge to C(w) = (l/27r) J^° f(t)e~lwtdt, provided
IT 1/(0\dt exists. As a result, existence of this integral is the necessary
additional assumption about the function / . With this assumption in place,
we can now expect from (5.2.2) that, for each fixed TV and x,
N
lim fL(x)= lim Y^ FL(cjk,x)AuJk
z + lim eNiL{x)
L—»oo L—»oo —' L—>oo
k=-N
N
I N
F(u),x)du + Ejv(a;)
So far, the only questionable step in our argument is our assumption that
limL-»oo £N,L(X) exists. In fact, we need to go even further and assume that,
similar to EN,L(X), we have limjv->oo£;v(£) = 0 for all x. A more careful
analysis shows that we can ensure these properties of e, for example, with
an additional condition J^ \F(w,x)\dw < C with C independent of x.
From Sums to Integrals 263
By analogy with Theorem 5.1.5 on page 251, we have the following result.
If(t) = { m if / is continuous at i ^ ^
[ ( / ( i + ) + /(* ))/2, if / is not continuous at t.
~ 1 r°°
f(w) = . F [ / ] M = - 4 = / f(t)e-^dt. (5.2.6)
if / is continuous at t.
264 Fourier Transform
The reader should keep in mind that other scientific disciplines might
use other d e f i n i t i o n s of the Fourier transform. For example, the
following version of (5.2.4) is popular in engineering:
fA,B(y) = Jj j~iBxvdx.
(a) Show that, under the assumptions of Theorem 5.2.20, we have
m = ^rfjAMy)eiBxydy
if f is continuous at x. (b) Verify that (5.2.8) corresponds to A = 1,
B = 2TT.
Strictly speaking, the integrals in these definitions are the Lebesgue inte-
grals, as are all the integrals in this and the following two sections, but
this should not stop the reader from proceeding, as the precise definition
of either the Riemann or the Lebesgue integral is not necessary for under-
standing the presentation.
The results of the following exercise are useful to keep in mind, even if
you do not do the exercise.
EXERCISE 5.2.3.^ (a) Give an example of a function f from LP(M) so that
lim| x |_ (00 |/(a:)| ¥" 0- Hint: let your function be zero everywhere except short
intervals Ik around the points Xk = k, k = 2, 3,4,..., where the function is equal
to 1 (draw a picture). For every p, the value of the integral f_ \f(x)\pdx is then
J2k>2 1-^*1) the sum of the lengths of the intervals. Choose \Ik\ so that the sum is
finite, (b) Give an example of a function from L\(R) that is not in L2OR).
From Sums to Integrals 265
Hint: think \j\fx for 0 < x < 1. (c) Give an example of a function from
Z/2(K) that is not in Li(R). Hint: think 1/x for x > 1.
We now combine Theorem 5.2.1 with Theorem 5.1.5 on page 251
about the convergence of the Fourier series to prove the Nyquist-Shannon
sampling theorem. The theorem shows that a band-limited signal / can
be exactly recovered from its samples at equally spaces time moments; by
definition, the signal / is called band-limited if there exists an fi > 0 such
that the Fourier transform / of / satisfies f{u>) = 0 for \ui\ > fi.
because, by assumption, |/(w)| = 0 for \u)\ > fi. By Theorem 5.1.5 applied
to/,
ku/At
(5.2.11)
where the second equality follows from (5.2.10) with t = —kAt. Sub-
stituting (5.2.11) in (5.2.10) and exchanging the order of summation and
integration, we get
EXERCISE 5.2.4. c Verify that one can take At < TT/Q. and still have the
result of the theorem. Hint: if |/(w)| = 0 for |w| > fi and Q,\ = {ir/At) > fi,
then \f{uj)\ = 0 for \u\ > n : .
In 1927, the Swedish-born American scientist HARRY NYQUIST (1889-
1976) discovered that, to recover a continuous-time signal from equally-
spaced samples, the sampling frequency 2ir/At should be equal to twice
the bandwidth fl of the signal (that is, At — 27r/(2fi)). In 1948, the Amer-
ican scientist CLAUDE ELWOOD SHANNON (1916-2001) put communication
theory, including the result of Nyquist, on a firm mathematical basis.
Practical implementation of the sampling theorem is not straightfor-
ward, because no signal lasts infinitely long, while a signal that is zero
outside of a bounded interval is not band-limited; see Exercise 5.2.12(a) on
page 271. We discuss some of the related questions on page 277.
We conclude this section with a connection between the samples of a
function and the samples of its Fourier transform. Take a continuously
differentiable function / £ Li(M.) and a real number L > 0, and assume
that, for every x, the function g(x) = X)^L_oc, f(x + 2Ln) is defined and
is also continuously differentiable. This is true, for example, if there exists
an R > 0 so that f(x) = 0 for |x| > R, because in this case the sum
that defines g contains only finitely many non-zero terms. Note that g is
periodic with period 2L, and therefore, by (5.1.17) on page 254, g(x) =
Er=-ooCfc(<?)ei,rfcx/L, where
i rL °°
C f x
^9)=2L S ( + 2Ln)e-™k*/Ldx
~L n = —oo
1 oo „2L(n+l)
= *7 T, f{x)e-i'kx'Ldx (5.2.13)
21y /
n=-oo- 2in
Then explain how to use such a formula for computing approximately the
value o / ^ ^ = _ O Q e~ak for various a > 0; the problem of approximating this
sum arises, for example, in statistics. Hint: how does the value a > 0 control
the rate of convergence of the sequence e~an , n > 1, to zero?
/
\f(t)\2dt= \f{w)\2du>. (5.2.15)
-oo J — oo
Equality (5.2.15) is also known as P l a n c h e r e l ' s Theorem, after the Swiss
mathematician MICHEL PLANCHEREL (1885-1967), who was the first to
establish it.
EXERCISE 5.2.6. A Verify that (5.2.15) implies
/•OO /-OO
for all functions f,g from Z/2(K). As usual, a is the complex conjugate of
the number a. Hint: Apply (5.2.15) with f + g instead of f to show that the real
parts of the two sides of (5.2.16) are the same; then use f + ig to establish the
equality of the imaginary parts; the key relations are \a + b\ = \a\ +\b\ +25R(ab);
\a + ib\2 = \a\2 + \b\2 — 2i SJ(o6), which you should verify too.
268 Fourier Transform
•F[/'](w)=iw.F[/](a,). (5.2.17)
1 r°° 1
V27T J-oo V27T
EXERCISE 5.2.7. c Assume that f has two derivatives so that / , / ' , / " all
belong to Li(R), and also limi^on |/(i)| = limi^oo \f'{t)\ = 0. Show that
J \(f*g)(x)\dx< J j \f(x-y)\\g(y)\dydx
-oo —00
00/00 \ / o o \ / oo \
/ ( I \f(x-y)\dx\ \g(y)\dy=l J \f{x)\dx\ I J \g{y)\dy\
-00 \ — 00
Properties 269
Indeed,
I /»0O rOO
/ * g(w) = -f=\ / f(s)9(x - s)e-^dsdx
y Air J-oo J-oo
-l /"OO /*00
= - = / / f(s)g(y)e^y+^dyds
\JITT J-oo J-oo
The next three properties of the Fourier transform are verified by direct
computation.
LINEARITY O F THE FOURIER TRANSFORM. If f,g belong to Li(R) and
a, b are real numbers, then
?M 7M- (5.2.22)
EXERCISE 5.2.9. (a)c Verify the relations (5.2.21), (5.2.22), and (5.2.23).
A
(b) Can we allow complex values of a in (5.2.22) and (5.2.23)?
270 Fourier Transform
where f(x) = f(—x). All equalities in (5.2.24) follow directly from the
definitions (5.2.6) and (5.2.7) after changing the sign of the variable of
integration.
EXERCISE 5.2.10? Verify all equalities in (5.2.24).
Together with the relation ^ r _ 1 [^ r [/]] = / , equalities (5.2.24) have two
practical benefits:
• Two Fourier transforms for the price of one:
(verify this!) Once the definition of the Fourier transform is modified ac-
cordingly, the second equality will hold even if h is not absolutely integrable.
• Two properties for the price of one: every property of the Fourier trans-
form has a dual property after the inverse Fourier transform is applied to
both sides.
In particular, the dual property of (5.2.20) is
fS=^f*9, (5-2.26)
2 sin u>L
y/2n J-L V2^ ™ V n7r u
By Theorem 5.2.1,
w
K J-oo
Notice that the integral on the right-hand side exists even though / does not
belong to Li(R), and, for t = ±L, the value of the integral is 1/2. Setting
t = 0, we find / dw = IT for all L > 0. Using Parseval's identity
J-oo "
OO / • r \ 2
/ I J dw = LTT.
EXERCISE 5.2.12. (a,)B Explain why a signal that is zero outside of a
bounded time interval cannot be band-limited. Hint: if f(t) = /(i)Ili(t) for
some L > 0, then f{u>) is connected to the convolution of f(u>) and sla^L. Can
this convolution be zero outside of a bounded interval in ui ? (b)c Verify that if
f(x) = e _ ' x ', then /(w) = \/2/(\/7r(l + u>2)). Hint: this is straightforward
integration and complex number manipulation; do not try to find any connection
with the rectangular pulse. (c)c Use (5.2.27) to conclude that the Fourier
transform ofte~W is 2iy/2/n w/(l + w 2 ) 2 .
For the next EXAMPLE, consider the function f(t) = e~* I2. Turns out,
the Fourier transform does not change this function:
f
J —(
e-(x-a) /2dx = ^ (5.2.30)
If /(£) is real, then the imaginary part of the last expression must be zero.
Therefore, If(t) — (l/27r) f_oo J_oo f(s) cosu>(s — t) dsdu. Since cosw(s — t)
is an even function of u>,
1 />oo /«oo
•TK*) = —
/ / f (s) cos UJ(S — t) dsdio.
7T Jo J-oo
Computations 273
Using the identity cos (ui(s-t)) = cos u>t cosws + sin wt sin us, we get the
real form of the Fourier integral:
,00 / 1 ,00 x
I t f°° I~2 -
f( ) = / \ -fc{u)coswtduj = Fc{fc}(t). (5.2.34)
Jo V 7T
Thus, T~x = Tc-, and, for functions defined on (0,oo), the Fourier cosine
transform represents the even extension of the function / to M.
If f(s) is an odd function, then f(t) = J0°° y/2/n fs(u>)sm ut du =
Ts[fs](t)- Thus, T~x = Ts, and, for functions defined on (0,00), the Fourier
sine transform represents the odd extension of the function / to R. Other
conditions being equal, the choice between the even and odd extensions is
determined by the smoothness properties of the result: the smoother the
extension, the better.
Similar to (5.2.17), we have the following rules for transforms of deriva-
tives; the reader is encouraged to verify these rules using integration by
/"OO
parts. Assume that / is continuous and / \f(x)\dx < 00. Also assume
Jo
that lim^^oo |/(a;)| = 0 and that, on every bounded interval, the function /
has a bounded derivative everywhere except at finitely many points. Then
/
Fc[f] = toTslf] - V 2 A / ( 0 ) , F.[f] = -w^c[/].
If, in addition, the function / ' has the same properties as / , then
nicely integrable, but looses the main spirit of the discrete signal: we expect
/ to be zero everywhere except UJ = nk/L. To reconcile these seemingly
irreconcilable objectives, take an integer n > 1 and define the function
\x\
1 1 < l/(2n)
/v
' (5.3.1)
|x| > l/(2n).
/
f{x)Un(x)dx = /(0). (5.3.2)
•oo
EXERCISE 5.3.1. c Verify (5.3.2) for every function that is integrable on
[—1,1] and is continuous at zero. Hint: /(0) = f^° f(0)ti„(x)dx, and, by
continuity, for every e > 0, there exists an N so that, for all n > N, \f(x) —
/(0)|<ei/|;r|<l/(2n).
We can now use (5.3.2) to define linin-joo n „ as a "black box" (or a
rule) that takes a continuous function as an input, and produce the value
of that function at zero as the output. In mathematics, a rule that makes
a number out of a function is called a f u n c t i o n a l . Thus, the limit of
fln(a;), as n —> oo, is an functional. This functional is called D i r a c ' s
d e l t a function, in honor of the British physicist PAUL ADRIEN MAURICE
DlRAC (1902-1984), and is denoted by 5(x). Given what we know about
the functions f[ n , we have the following intuitive description of the delta
function:
oo
S(x)d:\x = l.
/ •OO
The expression
oo
5{x)f{x)dx = /(0) (5.3.3)
/ •OO
276 Discrete Fourier Transform
is both more precise and more convenient for calculations. Similarly, for a
real number a, 6a(x) = 5(x — a) is a functional that takes in a continuous
function and produces the value of the function at the point a:
EXERCISE 5.3.2. (a)A Assume that the argument of the delta function is
measured in some physical units, such as time or distance. Show that the
delta function must then be measured in the reciprocal of the corresponding
units. Hint: this follows directly from (5.3.3). (b)c We can use (5.3.2) to
compute the Fourier transform of the delta function. Verify that
2j feL
TT,*(y-
L / - " V r)=
L J E^ - (*-™)
k——oo k=—oo
Hint: treat both sides as functionals, multiply by a function f = f(y) and in-
tegrate. Each term on the left will produce f(2nk/L); each term on the right,
y/2irf(—kL). Then use the Poisson summation formula (5.2.14) on page 266.
Coming back to the sequence of the Fourier coefficients Cfc(/) of a peri-
odic function / , let
00
the Fourier series of / (that was the reason for introducing the extra factor
\/27r in the definition of f(w); recall that if / is the Fourier transform of / ,
then the right-hand side of the above equality is If, the Fourier integral of
/ ) . In other words, this function / is the right choice.
To summarize, the natural representation for a discrete function of a
continuous argument is a linear combination of Dirac's delta functions.
Discrete Functions 277
E X E R C I S E 5 . 3 . 3 . B Verify that
OO OO /
27T£A
(5.3.8)
i — ~ > i —= — OO \
~At)
fe=-oo fc
where f is the Fourier transform of f. Hint: the first equality follows imme-
diately from (5.3.4). Then write
Y, f{^)e-iut"= Y }{t)e-iut5{t-tk)dt
k= — oo fe= — oo
and use (5.3.6) with L = 2n/ At; feel free to exchange summation and integration.
fit)
Equality (5.3.8) shows that the spectrum of the discrete signal is a pe-
riodic function with period 2n/At, obtained by the periodic repetition of
the original spectrum; see Figure 5.3.1. Recall that the Nyquist-Shannon
sampling theorem on page 265 provides an example of this effect, where
the samples of a signal with bounded spectrum represented the periodic
extension of the spectrum; with the special selection of the sampling fre-
quency, the extension had no overlaps. Exact recovery of the spectrum of /
from the spectrum of fd leads to exact recovery of / from fd. If the function
/ = / ( w ) does not vanish outside of a bounded interval, or if the sampling
frequency is not high enough, then the periodic extension of / contains
overlaps, and the exact recovery of / from fd by the Nyquist-Shannon sam-
pling theorem is not possible. The error of recovery of / from fd that is
due to this spectral overlapping is called the a l i a s i n g e r r o r .
N-l
£ Ckei**kn/N = /m n = o , . . . , AT - 1. (5.3.9)
fc=0
y^e-i2,n(rn-k)/N=\N, m = k + IN, I = 0, ± 1 , ± 2 , . . . ( 5 3 i o )
^0 lo, otherwise.
Hint: e~l 2™£N = 1 for all n, (.; otherwise, you are summing N terms of a geo-
metric series with the first term equal to one, and the ratio equal to e-'2n(rn-k'>/N j
FFT 279
so use the formula for the sum. (b) Conclude that cm = Fm, where
Fm
1 W_1
= N S fne~i27Tnm/N, (5.3.11)
n=0
and also
JV-l
/ „ = ^ i?fce i2 1 rnfc/JV ) n = 0 ,...,JV-l. (5.3.12)
fc=0
i7ini: to dehue (5.3.11), multiply both sides of (5.3.9) by e-i2^mn/N; sum owr
n, and use (5.3.10); (5.3.12) is the same as (5.3.9).
The collection of numbers Fn, n = 0 , . . . , N — 1, is called the d i s c r e t e
Fourier transform or d i s c r e t e Fourier coeff i c i e n t s of the collection
fn,n = 0,...,N-l.
Let us investigate the connection between the discrete Fourier transform
and the Fourier series. Recall that the Fourier coefficients of / are ck (/) =
we assume that the function / is equal to its
Fourier series for all t, then
oo
Cm{f), 7Tl = 0, . . . , f - 1 ,
(5.3.15)
C-(N-m)(f), m=%,...,N-l.
If c/t(/) ^ 0 for infinitely many k, then the exact recovery of Ck(f) from
Fn is impossible due to the same a l i a s i n g e r r o r we discussed earlier in
connection with the Nyquist-Shannon sampling theorem.
Let us now discuss the computational aspects of formula (5.3.11).
Straightforward computation of all N numbers Fn according to (5.3.11)
280 Discrete Fourier Transform
Recall that the Fourier transform is defined for absolutely integrable func-
tions. For non-integrable functions, for example, those that are positive
increasing, it is often impossible to define the Fourier transform, and the
Laplace transform is used instead.
Let f{x) be a real-valued function defined on —oo < x < oo and suppose
Note that for every function / satisfying (5.4.1) and (5.4.2), and for every
real number so > Sf, the function /o(a;) = f(x)e~s°x' has s/ 0 < 0. As
a result, for functions / = f(x) that are equal to zero when x < 0, the
Laplace transform is a generalization of the Fourier transform.
Below are the main properties of the Laplace transform.
If h(x) =
-f Jo
JO
f(x- y)g(y)dy, then H(s) = F(s)G(s)
1 ra+iL (5.4.13)
/ ( i o ) - ^ r - lim / F(s)e9X°ds.
2nr L-oo Ja_iL
In the above properties, all the functions involved must satisfy (5.4.1)
and (5.4.2). Note that, to invert the Laplace transform according to
(5.4.13), we can integrate along any vertical line in the half-plane {s :
5fts > Sf}. Two more properties of the Laplace transform are discussed in
Problem 6.6, page 440.
EXERCISE 5.4.2. B Verify (54.5)-(54.13). Hint: (54.5)-(54.12) are best
verified directly by definition, (54-13), by using (544) and the inversion formula
for the Fourier transform.
EXERCISE 5.4.3. c (a) Let h = h(x) be H e a v i s i d e ' s function h(x) = 1,
x > 0, h(x) = 0, x < 0. Show that H{s) = l/s, Us > 0. (b) Let F(x) =
e~ax, a g R. Show that F(s) = l / ( s + a), Us > -a.
We review the operational calculus by an EXAMPLE. Let us solve the
equation y" — 2y' + y = ex, with initial conditions y(0) = 1, y'(Q) = —1. We
have by (5.4.5) and (5.4.7): s2Y(s)-s+l-2{sY(s)-l) + Y(s) = ( s - 1 ) " 1 ,
3 2
Y(s) = ( s - l ) - + ( s - 3 ) ( s - l ) ~ . Consider the function F(s) = (s-1)-1.
x
We know that this is the Laplace transform of f(x) = e . We also notice
that F'(s) = - ( s - 1 ) " 2 and F"(s) = 2 ( s - 1 ) - 3 . Then the property (5.4.8)
implies that (s — l ) - 3 is the Laplace transform of (x2/2)ex. Next,
s-3 s-1 2 1 2
(s-1)2 (s-1)2 (s-1)2 s-1 (s-1)2'
and we conclude from the above calculations that (s — 3)(s — 1)~ 2 is the
Laplace transform of ex — 2xex. Then the solution of the equation is
V(x) =[-z--2x+l)e
EXERCISE 5.4.4. A Try to solve the following equation using the Laplace
transform: y" + x2y = e~x, y(0) = y'(0) = 0. Hint: do not be surprised if
you do not succeed, but try to understand the reason.
284 Laplace Transform
Fd{s)= J2 W s - i _ ) . (5.4.16)
fc=-oo ^ '
That is, Fd(s) is a periodic function with a purely imaginary period i2n/At.
EXERCISE 5.4.6. B Verify (5.4-16). Hint: the same arguments as for (5.3.8);
since f(t) < 0 for t < 0, integration and summation can start at —oo, when
necessary.
Take a real number a> Sf and write s = a—iuj. For fixed a, the function
H(u>) = Fd(a — iuj) is periodic with period 2-7r/At. Equality (5.4.15), which
can be written as
akAt AkujAt
l
H(LJ) = IAt^Tf(kAt)e-
\KIAL)H Ce
fc=0
Atf(kAt)e-akAt = ^ ^ H(oj)e-ik"Atdu,
27r
J-n/At
System Theory 285
As usual, x denotes the first derivative with respect to t, and x^k\ the
derivative of order k. Given the input signal x(t), t > 0, we can use (5.4.20)
to find the output signal y(t), t > 0, as long as the function / is reasonably
good and we know the initial conditions 1/(0) = (2/(0),y(0),... ,yn"1(0)).
A p h y s i c a l l y implementable system has n > m. In particular, neither
the perfect amplification y(t) = kx(t) nor differentiation y(t) = x(t) is
implementable, even though both have theoretical interest, and can be im-
plemented approximately. Roughly speaking, condition n> m means that
the output at time t depends only on the input up to time t. At the end of
this section we will use the discrete-time analog of (5.4.20) to demonstrate
the necessity of this condition.
The natural assumption about (5.4.20) is that zero input and zero initial
conditions produce zero output, that is, / ( 0 , . . . , 0) = 0. Thus, the system
has an equilibrium point at ( 0 , . . . , 0). If we further assume that the function
/ = f(xo,..., xm, 2/0, • • •, Vn) has two continuous partial derivatives at zero,
then we have a l i n e a r i z a t i o n of (5.4.20) as follows:
that xW{0) = 0 and y(*>(0) = 0 for all k, we find X(s) XT=o akSk =
WELcAAor
Y(s) = W(s)X(s), where W(s) = ^ " ^ V (5.4.22)
EXERCISE 5.4.12. c Verify that the cascade system is stable if and only if
each of the individual systems is stable. Hint: use the result of the previous
exercise.
?\
T*& 9 x
t. wp
y=
Wx W2
Xl 2/1 = x2 2/2 r xp
wc
Cascade Vc Closed-loop
Wp(s)
W(s) = (5.4.23)
1+ Wp(s)Wc(s)
(verify this). Notice that the signs of Wp and Ws do make a difference. For
example, when the signals x and yc are subtracted, changing the sign of Wc
produces the transfer function Wp(s)/(1 — Wp(s)Wc(s)). Unlike the cas-
cade system, individual stability of the components provides no information
about the stability of the closed-loop system.
A closed-loop connection can approximate certain individual systems
that are not physically implementable, that is, systems of the type (5.4.21)
with n < m. For example, if in (5.4.23) we take Wp(s) = K/(l + s), and
Wc{s) = 1/(1 + s), then, as K -> oo, we get W(s) « 1 + s.
EXERCISE 5 . 4 . 1 3 . C
(a) Give an example of an unstable closed-loop system
with stable plant and controller, (b) Verify that ifWp(s) — 1/(1 + 2s) and
System Theory 289
Wc = 1/(1 +p), then the real parts of the poles ofW are - 3 / 4 . In other
words, the closed-loop system in this example is more stable than the plant
itself. This is the idea behind negative feedback.
The following table summarizes the common types of controllers.
K0,Ki, Kd are positive real numbers. Not surprisingly, the letters P,I,D,
come from "proportional," "integral," and "derivative", respectively.
EXERCISE 5.4.14. B Let x = x(t) be the input of a PID controller and
y = y(t), the output. Assuming x(0) = y(0) — 0, find the relation between
x and y.
We conclude this section with a few words about discrete-time systems.
The discrete analog of (5.4.21) is
M-l N
y( ) = YL ™ ( ~ ) + X] b™y(k - m )-
k a x k m
(5.4.24)