You are on page 1of 12

434 Chapter 8.

Fourier and Laplace Transforms

8.1 Fourier Series


This section explains three Fourier series: sines, cosines, and exponentials e ikx .
Square waves (1 or 0 or 1) are great examples, with delta functions in the derivative.
We look at a spike, a step function, and a ramp—and smoother functions too.
Start with sin x. It has period 2 since sin.x C 2/ D sin x. It is an odd function since
sin. x/ D sin x, and it vanishes at x D 0 and x D . Every function sin nx has those
three properties, and Fourier looked at infinite combinations of the sines:
1
X
Fourier sine series S.x/ D b1 sin x C b2 sin 2x C b3 sin 3x C    D bn sin nx (1)
nD1

If the numbers b1 ; b2 ; b3 ; : : : drop off quickly enough (we are foreshadowing the
importance of their decay rate) then the sum S.x/ will inherit all three properties:

Periodic S.x C 2/ D S.x/ Odd S. x/ D S.x/ S.0/ D S./ D 0

200 years ago, Fourier startled the mathematicians in France by suggesting that any odd
periodic function S.x/ could be expressed as an infinite series of sines. This idea started
an enormous development of Fourier series. Our first step is to find the number bk that
multiplies sin kx. The function S.x/ is “transformed” to a sequence of b’s.
P
Suppose S.x/ D bn sin nx. Multiply both sides by sin kx. Integrate from 0 to  :
Z  Z  Z 
S.x/ sin kx dx D b1 sin x sin kx dx C    C bk sin kx sin kx dx C    (2)
0 0 0

On the right side, all integrals are zero except the highlighted one with n D k. This
property of “orthogonality” will dominate the whole chapter. For sines, integral D 0 is a
fact of calculus :

Z 
Sines are orthogonal sin nx sin kx dx D 0 if n ¤ k : (3)
0

R  sin mx 
Zero comes quickly if we integrate cos mx dx D m 0
D0 0. So we use this:

1 1
Product of sines sin nx sin kx D cos.n k/x cos.n C k/x : (4)
2 2
Integrating cos .n k/x and cos .n C k/x gives zero, proving orthogonality of the sines.
The exception is when n D k. Then we are integrating .sin kx/2 D 21 12 cos 2kx:
Z  Z  Z 
1 1 
sin kx sin kx dx D dx cos 2kx dx D : (5)
0 0 2 0 2 2
The highlighted term in equation (2) is .=2/bk. Multiply both sides by 2= to find bk .
8.1. Fourier Series 435

Z  Z 
Sine coefficients 2 1
bk D S.x/ sin kx dx D S.x/ sin kx dx: (6)
S. x/ D S.x/  0  

Notice that S.x/ sin kx is even (equal integrals from  to 0 and from 0 to ).
I will go immediately to the most important example of a Fourier sine series.
S.x/ is an odd square wave with S W .x/ D 1 for 0 < x < . It is drawn in
Figure 8.1 as an odd function (with period 2) that vanishes at x D 0 and x D .
S W .x/ D 1

x
 0  2

Figure 8.1: The odd square wave with S W .x C 2/ D S W .x/ D f1 or 0 or 1g.

Example 1 Find the Fourier sine coefficients bk of the odd square wave S W .x/.
Solution For k D 1; 2; : : : use formula (6) with S.x/ D 1 between 0 and :
Z     
2 2 cos kx 2 2 0 2 0 2 0
bk D sin kx dx D D ; ; ; ; ; ;::: (7)
 0  k 0  1 2 3 4 5 6

The even-numbered coefficients b2k are all zero because cos 2k D cos 0 D 1. The odd-
numbered coefficients bk D 4 =k decrease at the rate 1=k. We will see that same 1=k
decay rate for all functions formed from smooth pieces and jumps.
Put those coefficients 4=k and zero into the Fourier sine series for S W .x/:
 
4 sin x sin 3x sin 5x sin 7x
Square wave SW.x/ D C C C C (8)
 1 3 5 7

Figure 8.2 graphs this sum after one term, then two terms, and then five terms. You can
see the all-important Gibbs phenomenon appearing as these “partial sums” include more
terms. Away from the jumps, we safely approach S W .x/ D 1 or 1. At x D =2, the
series gives a beautiful alternating formula for the number  :
   
4 1 1 1 1 1 1 1 1
1D C C so that  D 4 C C    : (9)
 1 3 5 7 1 3 5 7

The Gibbs phenomenon is the overshoot that moves closer and closer to the jumps.
Its height approaches 1:18 : : : and it does not decrease with more terms of the series.
This overshoot is the one greatest obstacle to calculation of all discontinuous functions
(like shock waves). We try hard to avoid Gibbs but sometimes we can’t.
436 Chapter 8. Fourier and Laplace Transforms
   
4 sin x sin 3x 4 sin x sin 9x
Solid curve C 5 terms: CC
 1 3  1 9
4 sin x Gibbs overshoot ! SW D 1
Dashed
 1
 x x
 
2

Figure 8.2: The sums b1 sin x C    C bN sin N x overshoot the square wave near jumps.

Fourier Cosine Series


The cosine series applies to even functions C.x/ D C. x/. They are symmetric across 0 :
1
X
Cosine series C.x/ D a0 C a1 cos x C a2 cos 2x C    D a0 C an cos nx: (10)
nD1

Every cosine has period 2. Figure 8.3 shows two even functions, the repeating ramp
RR.x/ and the up-down train UD.x/ of delta functions. That sawtooth ramp RR is the
integral of the square wave. The delta functions in UD give the derivative of the square
wave. (For sines, the integral and derivative are cosines.) RR and UD will be valuable
examples, one smoother than S W , one less smooth.
First we find formulas for the cosine coefficients a0 and ak . The constant term a0 is
the average value of the function C.x/ :
Z Z 
1  1
a0 D average a0 D C.x/ dx D C.x/ dx: (11)
 0 2 

I just integrated every term in the cosine series (10) from 0 to . On the right side, the
integral of a0 is a0  (divide both sides by ). All other integrals are zero :
Z   
sin nx 
cos nx dx D D 0 0 D 0: (12)
0 n 0

In words, the constant function 1 is orthogonal to cos nx over the interval Œ0; .
The other cosine coefficients ak come from the orthogonality of cosines. As with sines,
we multiply both sides of (10) by cos kx and integrate from 0 to :
Z  Z  Z  Z 
C.x/ cos kx dx D a0 cos kx dxC a1 cos x cos kx dxCC ak .cos kx/2 dxC
0 0 0 0

You know what is coming. On the right side, only the highlighted term can be nonzero. For
k > 0, that bold nonzero term is ak =2. Multiply both sides by 2= to find ak :

Z  Z 
Cosine coefficients 2 1
ak D C.x/ cos kx dx D C.x/ cos kx dx : (13)
C. x/ D C.x/  0  
8.1. Fourier Series 437

RR.x/ D jxj 2ı.x/ 2ı.x 2/

Up-down UD.x/
x x
 0  2  0  2
Derivative of Square Wave
Repeating Ramp RR.x/
Integral of Square Wave 2ı.x C / 2ı.x /

Figure 8.3: The repeating ramp RR and the up-down UD (periodic spikes) are even.
The slope of RR is 1 then 1 : odd square wave S W . The next derivative is UD : ˙ 2ı.

Example 2 Find the cosine coefficients of the ramp RR.x/ and the up-down UD.x/.
Solution The simplest way is to start with the sine series for the square wave :
 
4 sin x sin 3x sin 5x sin 7x
S W .x/ D C C C C    D slope of RR
 1 3 5 7
Take the derivative of every term to produce cosines in the up-down delta function :
4
Up-down spikes UD.x/ D Œcos x C cos 3x C cos 5x C cos 7x C     : (14)

Those coefficients don’t decay at all. The terms in the series don’t approach zero, so
officially the series cannot converge. Nevertheless it is correct and important. At x D 0,
the cosines are all 1 and their sum is C1. At x D , the cosines are all 1. Then
their sum is 1. (The R downward spike is 2ı.x /.) The true way to recognize ı.x/
is by the integral test ı.x/f .x/ dx D f .0/ and Example 3 will do this.
For the repeating ramp, we integrate the square wave series for S W .x/ and add a0 .
The average ramp height is a0 D =2, halfway from 0 to  :
 
  cos x cos 3x cos 5x cos 7x
Ramp series RR.x/ D C C C C    : (15)
2 4 12 32 52 72
The constant of integration is a0 . Those coefficients
R ak drop off like 1=k 2 . They could
be computed directly from formula (13) using x cos kx dx, and integration by parts (or
an appeal to Mathematica or Maple). It was much easier to integrate every sine separately
in S W .x/, which makes clear the crucial point : Each “degree of smoothness” in the
function brings a faster decay rate of its Fourier coefficients ak and bk .
Every integration divides those numbers by k.

No decay Delta functions (with spikes)


1=k decay Step functions (with jumps)
1=k2 decay Ramp functions (with corners)
1=k4 decay Spline functions (jumps in f 000 )
r k decay with r < 1 Analytic functions like 1=.2 cos x/
438 Chapter 8. Fourier and Laplace Transforms

The Fourier Series for a Delta Function


Example 3 Find the (cosine) coefficients of the delta function ı.x/, made 2-periodic.

Solution The spike in ı.x/ occurs at x D 0. All the integrals are 1, because the
cosine of 0 is 1. We divide by 2 for a0 and by  for the other cosine coefficients ak .
Z  Z 
1 1 1 1
Average a0 D ı.x/ dx D Cosines ak D ı.x/ cos kx dx D
2  2   

Then the series for the delta function has all cosines in equal amounts : No decay.

1 1
Delta function ı.x/ D C Œ cos x C cos 2x C cos 3x C     : (16)
2 

This series cannot truly converge (its terms don’t approach zero). But we can graph the
sum after cos 5x and after cos 10x. Figure 8.4 shows how these “partial sums” are doing
their best to approach ı.x/. They oscillate faster while going higher.
There is a neat formula for the sum ıN that stops at cos N x. Start by writing each term
2 cos x as e ix C e ix . We get a geometric progression from e iN x up to e iN x .

1 h i 1 sin.N C 12 /x
ıN D 1 C e ix C e ix
C    C e iN x C e iN x
D : (17)
2 2 sin 12 x

This is the function graphed in Figure 8.4.

ı10 .x/ height 21=2

ı5 .x/ height 11=2

height 1=2
0 height 1=2
 

Figure 8.4: The sums ıN .x/ D .1 C 2 cos x C    C 2 cos N x/=2 try to approach ı.x/.
8.1. Fourier Series 439

Complete Series: Sines and Cosines


Over the half-period Œ0; , the sines are not orthogonal to all the cosines. In fact the
integral of sin x times 1 is not zero. So for functions F .x/ that are not odd or even, we must
move to the complete series (sines plus cosines) on the full interval. Since our functions
are periodic, that “full interval” can be Œ ;  or Œ0; 2. We have both a’s and b’s.

1
X 1
X
Complete Fourier series F .x/ D a0 C an cos nx C bn sin nx : (18)
nD1 nD1

On every “2 interval” the sines and cosines are orthogonal. We find the Fourier
coefficients ak and bk in the usual way: Multiply (18) by 1 and cos kx and sin kx.
Then integrate both sides from  to  to get a0 and ak and bk .
Z  Z  Z 
1 1 1
a0 D F .x/ dx ak D F .x/ cos kx dx bk D F .x/ sin kx dx
2     

Orthogonality kills off infinitely many integrals and leaves only the one we want.
Another approach is to split F .x/ D C.x/ C S.x/ into an even part and an odd part.
Then we can use the earlier cosine and sine formulas. The two parts are

F .x/ C F . x/ F .x/ F . x/
C.x/ D Feven .x/ D S.x/ D Fodd .x/ D : (19)
2 2
The even part gives the a’s and the odd part gives the b’s. Test on a square pulse from
x D 0 to x D h—this one-sided thin box function is not odd or even.

1=h for 0 < x < h
Example 4 Find the a’s and b’s if F.x/ D tall box D
0 for h < x < 2
Solution The integrals for a0 and ak and bk stop at x D h where F .x/ drops to zero.
The coefficients decay like 1=k because of the jump at x D 0 and the drop at x D h :
Z h
1 1
Coefficients of square pulse a0 D 1= h dx D D average
2 0 2
Z h Z h
1 sin kh 1 1 cos kh
ak D cos kx dx D bk D sin kx dx D :
h 0 kh h 0 kh
Important As h approaches zero, the box gets thinner and taller. Its width is h and its
height is 1= h and its area is 1. The box approaches a delta function ! And its Fourier
coefficients approach the coefficients of the delta function as h ! 0 :

1 sin kh 1 1 cos kh
a0 D ak D approaches bk D approaches 0: (20)
2 kh  kh
440 Chapter 8. Fourier and Laplace Transforms

Energy in Function = Energy in Coefficients


There is an extremely important equation (the energy identity) that comes from integrat-
ing .F .x//2 . When we square the Fourier series of F .x/, and integrate from  to ,
all the “cross terms” drop out. The only nonzero integrals come from 12 and cos2 kx
and sin2 kx. Those integrals give 2 and  and , multiplied by a02 and ak2 and bk2 :

R
Energy .F.x//2 dx D 2a02 C .a12 C b21 C a22 C b22 C    /: (21)


The energy in F .x/ equals the energy in the coefficients. The left side is like the length
squared of a vector, except the vector is a function. The right side comes from an in-
finitely long vector of a’s and b’s. The lengths are equal, which says that thepFourier trans-
p
form from function to vector is like an orthogonal matrix. Normalized by 2 and ,
sines and cosines are an orthonormal basis in function space.

Complex Exponentials ck e ikx


This is a small step and we have to take it. In place of separate formulas for a0 and ak
and bk , we will have one formula for all the complex coefficients ck . And the function
F .x/ might be complex (as in quantum mechanics). The Discrete Fourier Transform will
be much simpler when we use N complex exponentials for a vector.
We practice with the complex infinite series for a 2-periodic function :
1
X
Complex Fourier series F .x/ D c0 C c1 e ix C c 1e
ix
C D cn e inx (22)
nD 1

If every cn D c n , we can combine e i nx with e i nx into 2 cos nx. Then (22) is the
cosine series for an even function. If every cn D c n , we use e i nx e i nx D 2i sin nx.
Then (22) is the sine series for an odd function and the c’s are pure imaginary.
To find ck , multiply (22) by e ikx (not e i kx ) and integrate from  to :
Z Z Z Z
i kx i kx ix i kx
F .x/e dx D c0 e dx C c1 e e dx C   C ck e ikx e ikx
dx C  
   
The complex exponentials are orthogonal. Every integral on the right side is zero,
except for the highlighted term (when n D k and e i kx e i kx D 1). The integral of 1 is 2.
That surviving term gives the formula for ck :
Z
ikx
Fourier coefficients F.x/e dx D 2ck for k D 0; ˙1; : : : l (23)


Notice that c0 D a0 is still the average of F .x/. The orthogonality of e i nx and e i kx is


checked by integrating e i nx times e i kx . Remember to use that complex conjugate e i kx .
8.1. Fourier Series 441

Example 5 For a delta function, all integrals are 1 and every ck is 1=2. Flat transform !

1 for s  x  s C h
Example 6 Find ck for the 2-periodic shifted box F .x/ D
0 elsewhere in Œ ; 
Solution The integrals (23) have F D 1 from s to s C h :
Z sCh " #s C h !
i kx
1 1 e 1 e i kh
ck D 1  e ikx dx D De iks
: (24)
2 s 2 ik 2 i k
s
i ks
Notice above all the simple effect of the shift by s. It “modulates” each ck by e .
The energy is unchanged, the integral of jF j2 just shifts, and je i ks j D 1.
iks
Shift F.x/ to F.x s/ ! Multiply every ck by e . (25)

Example 7 A centered box has shift s D h=2. It becomes balanced around x D 0.


This even function equals 1 on the interval from h=2 to h=2:
h 1 e i kh 1 sin.kh=2/
Centered by s D ck D e i kh=2 D :
2 2 i k 2 k=2
Divide by h for a tall box. The ratio of sin.kh=2/ to kh=2 is called the “sinc” of kh=2.
1   
Fcentered 1 X kh 1= h for h=2  x  h=2
Tall box D sinc e i kx D
h 2 1 2 0 elsewhere in Œ ; 
1
That division by h produces area D 1. Every coefficient approaches 2 as h ! 0.
The Fourier series for the tall thin box again approaches the Fourier series for ı.x/.

The Rules for Derivatives and Integrals


The derivative of e i kx is i ke i kx . This great fact puts the Fourier functions e i kx in first
place for applications. They are eigenfunctions for d=dx (and the eigenvalues are  D i k).
Differential equations with constant coefficients are naturally solved by Fourier series.

X X
Multiply by ik The derivative of F.x/ D ck e ikx is dF=dx D ikck e ikx

The second derivative has coefficients .i k/2 ck D k2 ck . High frequencies are growing
stronger. And in the opposite direction (when we integrate), we divide by i k and high
frequencies get weaker. The solution becomes smoother. Please look at this example :

Response 1=.k2 C 1/ d 2y i kx e i kx
C y D e is solved by y.x/ D
to frequency k dx 2 k2 C 1
This was a typical problem in Chapter 2. The transfer function is 1=.k 2 C 1/. There we
learned : The forcing function e i kx is exponential so the solution is exponential.
442 Chapter 8. Fourier and Laplace Transforms

All we are doing now is superposition. Allow all the exponentials at once !

d 2y X X ck e i kx
C y D ck e i kx is solved by y.x/ D : (26)
dx 2 k2 C 1
1. Derivative rule dF =dx has Fourier coefficients ikck (energy moves to high k).
iks
2. Shift rule F.x s/ has Fourier coefficients e ck (no change in energy).

Application: Laplace’s Equation in a Circle


Our first application is to Laplace’s equation uxx C uyy D 0 (Section 7.4). The idea is
to construct u.x; y/ as an infinite series, choosing its coefficients to match u0 .x; y/
along the boundary. The shape of the boundary is crucial, and we take a circle of radius 1.
Begin with the solutions 1, r cos , r sin , r 2 cos 2, r 2 sin 2, ... to Laplace’s
equation. Combinations of these special solutions give all solutions in the circle:

u.r; / D a0 C a1 r cos  C b1 r sin  C a2 r 2 cos 2 C b2 r 2 sin 2 C    (27)

It remains to choose the constants ak and bk to make u D u0 on the boundary. For a circle,
 and  C 2 give the same point. This means that u0 ./ is periodic :

Set r D 1 u0 ./ D a0 C a1 cos  C b1 sin  C a2 cos 2 C b2 sin 2 C    (28)

This is exactly the Fourier series for u0 . The constants ak and bk must be the Fourier
coefficients of u0 ./. Thus Laplace’s boundary value problem is completely solved, if
an infinite series (27) is acceptable as the solution.
Example 8 Point source u0 D ı./. The boundary is held at u0 D 0, except for the
source at x D 1, y D 0 (where  D 0). Find the temperature u.r; / inside the circle.
1
1 1 1 X i n
Delta function u0 ./ D C .cos  C cos 2 C cos 3 C    / D e
2  2 1
Inside the circle, each cos n is multiplied by r n to solve Laplace’s equation :
1 1
Inside the circle u.r; / D C .r cos  C r 2 cos 2 C r 3 cos 3 C    / (29)
2 
Poisson managed to sum this infinite series ! It involves a series of powers .re i /n .
His sum gives the response at every .r; / to the point source at r D 1,  D 0:

1 1 r2
Temperature inside circle u.r; / D (30)
2 1 C r 2 2r cos 

At the center r D 0, this produces the average of u0 D ı./ which is a0 D 1=2.


On the boundary r D 1, this gives u D 0 except u D 1 at the point where cos 0 D 1.
8.1. Fourier Series 443

Example 9 u0 ./ D 1 on the top half of the circle and u0 D 1 on the bottom half.
Solution The boundary values u0 are a square wave S W . We know its sine series :
 
4 sin  sin 3 sin 5
Square wave for u0 ./ S W ./ D C C C (31)
 1 3 5
Inside the circle, multiplying by r, r 3 , r 5 , : : : gives fast decay of high frequencies :
 
4 r sin  r 3 sin 3 r 5 sin 5
Rapid decay inside u.r; / D C C C (32)
 1 3 5
Laplace’s equation has smooth solutions inside, even when u0 ./ is not smooth.

Problem Set 8.1


1 (a) To prove that cos nx is orthogonal to cos kx when k ¤ n, use the formula
1
.cos nx/ .cos kx/ DR 2 cos .n C k/x C 12 cos .n k/x. Integrate from x D 0
2
to x D . What is cos kx dx ?
(b) From 0 to , cos x is not orthogonal to sin x. The period has to be 2 :
Z Z Z2
Find .sin x/ .cos x/ dx and .sin x/ .cos x/ dx and .sin x/ .cos x/ dx:
0  0
2 Suppose F .x/ D x for 0  x  . Draw graphs for 2  x  2 to show
three extensions of F : a 2-periodic even function and a 2-periodic odd function
and a -periodic function.
3 Find the Fourier series on   x   for
(a) f1 .x/ D sin3 x, an odd function (sine series, only two terms)
(b) f2 .x/ D j sin xj, an even function (cosine series)
(c) f3 .x/ D x for   x   (sine series with jump at x D )
P
4 Find the complex Fourier series e x D ck e i kx on the interval   x  .
1
The even part of a function is 2 .f .x/ C f . x//, so that feven .x/ D feven . x/. Find
the cosine series for feven and the sine series for fodd . Notice the jump at x D .
5 From the energy formula (21), the square wave sine coefficients satisfy
Z  Z 
2 2 2
.b1 C b2 C    / D jS W .x/j dx D 1 dx D 2:
 
2 1 1
Substitute the numbers bk from equation (8) to find that  D 8.1 C 9
C 25
C    /.
6 If a square pulse is centered at x D 0 to give
 
f .x/ D 1 for jxj < ; f .x/ D 0 for < jxj < ;
2 2
draw its graph and find its Fourier coefficients ak and bk .
444 Chapter 8. Fourier and Laplace Transforms

7 Plot the first three partial sums and the function x. x/ :
 
8 sin x sin 3x sin 5x
x. x/ D C C C    ; 0 < x < :
 1 27 125

Why is 1=k 3 the decay rate for this function? What is its second derivative?
8 Sketch the 2-periodic half wave with f .x/ D sin x for 0 < x <  and f .x/ D 0
for  < x < 0. Find its Fourier series.
9 Suppose G.x/ has period 2L instead of 2. Then G.x C 2L/ D G.x/. Integrals
go from L to L or from 0 to 2L. The Fourier formulas change by a factor =L :
ZL
P
1 1
The coefficients in G.x/ D C ke i kx=L
are C k D G.x/e i kx=L dx:
1 2L
L
Derive this formula for Ck : Multiply the first equation for G.x/ by and
integrate both sides. Why is the integral on the right side equal to 2LCk ?
10 For Geven , use Problem 9 to find the cosine coefficient Ak from .Ck C C k /=2 :

ZL
P
1 kx 1 kx
Geven.x/ D Ak cos has Ak D Geven.x/ cos dx:
0 L L L
0
1
Geven is 2
.G.x/ C G. x//. Exception for A0 D C0 : Divide by 2L instead of L.
1
11 Problem 10 tells us that ak D .ck C c k / on the usual interval from 0 to .
2
Find a similar formula for bk from Pck and c k . In the reverse direction, find the
complex coefficient ck in F .x/ D ck e i kx from the real coefficients ak and bk .
12 Find the solution to Laplace’s equation with u0 D  on the boundary. Why is this
the imaginary part of 2.z z 2 =2 C z 3 =3    / D 2 log.1 C z/? Confirm that on the
unit circle z D e i , the imaginary part of 2 log.1 C z/ agrees with .
13 If the boundary condition for Laplace’s equation is u0 D 1 for 0 <  <  and
u0 D 0 for  <  < 0, find the Fourier series solution u.r; / inside the unit
circle. What is u at the origin r D 0 ?
14 With boundary values u0 ./ D 1 C 12 e i C 14 e 2i C    , what is the Fourier series
solution to Laplace’s equation in the circle? Sum this geometric series.
15 (a) Verify that the fraction in Poisson’s formula (30) satisfies Laplace’s equation.
(b) Find the response u.r; / to an impulse at x D 0; y D 1 (where  D 2 ).
P
16 With complex exponentials in F .x/ D ck e i kx , the energy identity (21) changes to
R P P P
jF .x/j2 dx D 2 jck j2 . Derive this by integrating . ck e i kx /. c k e i kx /.

8.1. Fourier Series 445

17 A centered square wave has F .x/ D 1 for jxj  =2.


R
(a) Find its energy jF .x/j2 dx by direct integration
(b) Compute its Fourier coefficients ck as specific numbers
(c) Find the sum in the energy identity (Problem 16).
18 F .x/ D 1 C .cos x/=2 C    C .cos nx/=2n C    is analytic : infinitely smooth.
(a) If you take 10 derivatives, what is the Fourier series of d 10 F=dx 10 ?
(b) Does that series still converge quickly ? Compare n10 with 2n for n D 210 .

19 If f .x/ D 1 for jxj  =2 and f .x/ D 0 for =2 < jxj < , find its cosine
coefficients. Can you graph and compute the Gibbs overshoot at the jumps ?
20 Find all the coefficients ak and bk for F; I; and D on the interval   x   :
 Z x 
  d  
F .x/ D ı x I.x/ D ı x dx D.x/ D ı x :
2 0 2 dx 2

21 For the one-sided tall box function in Example 4, with F D 1= h for 0  x  h,


what is its odd part 12 .F .x/ F . x// ? I am surprised that the Fourier coefficients
of this odd part disappear as h approaches zero and F .x/ approaches ı.x/.
P
22 Find the series F .x/ D ck e i kx for F .x/ D e x on   x  . That function
x
e looks smooth, but there must be a hidden jump to get coefficients ck proportional
to 1=k. Where is the jump ?
23 (a) (Old particular solution) Solve Ay 00 C By 0 C Cy D e i kx .
P
(b) (New particular solution) Solve Ay 00 C By 0 C Cy D ck e i kx .

You might also like