642 CHAPTER 33. BOUNDARY VALUE PROBLEMS, FOURIER SERIES

12

∫ L

−L

(sin((mπ

L+

L

)x)+ sin

((mπ

L− nπ

L

)x))

dx

It is easy to see that this integral is always 0 regardless the choice of m,n. ■Now suppose you succeed in approximating f with a Fourier series in some meaningful

way.

f (x)≈ a01√2L

+∞

∑k=1

ak1√L

cos(

Lx)+

∑k=1

bk1√L

sin(

Lx)

(33.5)

What should be the formula for ak and bk? Multiply both sides by 1√L

sin(mπ

L x)

and thenintegrate the resulting infinite sum by saying the integral of the sum is the sum of theintegrals. Since the sum involves a limit, this is nothing but a formal and highly speculativepiece of pseudo mathematical nonsense but we will not let a little thing like that get in theway. Thus ∫ L

−Lf (x)

1√L

sin(mπ

Lx)

dx = a0

∫ L

−L

1√2L

sin(mπ

Lx)

dx+

∑k=1

ak

∫ L

−L

1√L

cos(

Lx)

1√L

sin(mπ

Lx)

dx

+∞

∑k=1

bk

∫ L

−L

1√L

sin(

Lx)

1√L

sin(mπ

Lx)

dx

All these integrals equal 0 but one and that is the one involving the sine and k = m. This isby the above lemma. Therefore,∫ L

−Lf (x)

1√L

sin(mπ

Lx)

dx = bm1L

∫ L

−Lsin2

(mπ

Lx)

dx = bm

It seems likely therefore, that bm should be defined as

bm =∫ L

−Lf (x)

1√L

sin(mπ

Lx)

dx (33.6)

Next do the same thing after multiplying by 1√L

cos(mπ

L x). Another use of the same lemma

implies that the appropriate choice for am is

am =∫ L

−Lf (x)

1√L

cos(mπ

Lx)

dx (33.7)

Finally integrate both sides of 33.5. This yields∫ L

−Lf (x)

1√2L

dx = a0 (33.8)

and so the appropriate description of a0 is given above. Thus the Fourier series is of theform ∫ L

−Lf (y)

1√2L

dy1√2L

+∞

∑m=1

(∫ L

−Lf (y)

1√L

cos(mπ

Ly)

dy)

1√L

cos(mπ

Lx)

+∞

∑m=1

(∫ L

−Lf (y)

1√L

sin(mπ

Ly)

dy)

1√L

sin(mπ

Lx)

642 CHAPTER 33. BOUNDARY VALUE PROBLEMS, FOURIER SERIES5 (n+ E)a) +sin((E TE) aIt is easy to see that this integral is always 0 regardless the choice of m,n.Now suppose you succeed in approximating f with a Fourier series in some meaningfulway.1 — 1 ku — 1 knSf (x) © ag —=+ ) a—cos (Fs) + ) b.—sin (Fs) (33.5)V2L py VL L py VL LWhat should be the formula for a, and b,? Multiply both sides by 7 sin (4x) and thenintegrate the resulting infinite sum by saying the integral of the sum is the sum of theintegrals. Since the sum involves a limit, this is nothing but a formal and highly speculativepiece of pseudo mathematical nonsense but we will not let a little thing like that get in theway. Thus .[fe F sin (“*x)a =a [ S Vin sin ( (= x) dx+Lela cos (@ =) sin (=) dx+) bx [sin (F) sin (“* x) axAll these integrals equal 0 but one and that is the one involving the sine and k = m. This isby the above lemma. Therefore,[se Spin (Es = nt | sin? ) dx = bnIt seems likely therefore, that b,, should be defined asL 1 mnb =| x) —= sin (“*x) dx 33.6m= | fe asin(T (33.6)Next do the same thing after multiplying by TE cos (47x) . Another use of the same lemmaimplies that the appropriate choice for a, isam = [ise a cos (“* x) dx (33.7)Finally integrate both sides of 33.5. This yieldsL 1[fe Va = ao (33.8)and so the appropriate description of ap is given above. Thus the Fourier series is of theform[io va E (201 Seeos (Ms) ay) Foo (x)E (for gemC)) poe)