12.3. INTEGRATING AND DIFFERENTIATING FOURIER SERIES 283

where Ak =1

∫π

−πG(y)eikydy. Now from 12.10 and the definition of the Fourier coeffi-

cients for f ,

G(π) = F (π)−a02π = 0 = A0 + limn→∞

n

∑k=−n,k ̸=0

Ak (−1)k (12.11)

and so

A0 =− limn→∞

n

∑k=−n,k ̸=0

Ak (−1)k ≡−∞

∑k=−∞,k ̸=0

Ak (−1)k (12.12)

Next consider Ak for k ̸= 0.

Ak ≡ 12π

∫π

−π

G(x)e−ikxdx≡ 12π

∫π

−π

∫ x

−π

( f (t)−a0)dte−ikxdx

=1

∫π

−π

e−ikx∫ x

−π

( f (t)−a0)dtdx

Now let ψ (x) ≡∫ x−π

( f (t)−a0)dt and φ k (x) =e−ikx

−ik . Then the above integral is of theform 1

∫π

−πψ (x)dφ k (x) . Since ψ (π)φ k (π) = 0 = ψ (−π)φ k (−π) , integration by parts,

Theorem 9.4.1, says that the above equals

− 12π

∫π

−π

φ k (x)dψ (x) =1

∫π

−π

e−ikx

ikdψ (x)

Use Corollary 9.3.18 to write as a sum of finitely many integrals

n

∑k=1

∫ xk

xk−1

e−ikx

ikdψ (x) .

It follows from Proposition 9.4.3 that this is

Ak =1

∫π

−π

e−ikx

ik( f (x)−a0)dx =

1ik

12π

∫π

−π

f (x)e−ikxdx≡ ak

ik

Thus this shows from 12.12, that for all x,

G(x) =∞

∑k=−∞,k ̸=0

ak

ikeikx +A0, A0 =−

∑k=−∞,k ̸=0

Ak (−1)k

and so, ∫ x

−π

f (t)dt−∫ x

−π

a0 =∞

∑k=−∞,k ̸=0

ak

ikeikx− ak

ikeik(−π)

which shows that ∫ x

−π

f (t)dt =∫ x

−π

a0 +∞

∑k=−∞,k ̸=0

ak

∫ x

−π

eiktdt

This proves the following theorem.

Theorem 12.3.2 Let f be 2π periodic and piecewise continuous. Then∫ x

−π

f (t)dt =∫ x

−π

a0dt + limn→∞

n

∑k=−n,k ̸=0

ak

∫ x

−π

eiktdt

where ak are the Fourier coefficients of f . This holds for all x ∈ R.

12.3. INTEGRATING AND DIFFERENTIATING FOURIER SERIES 283where Ay = 52 [7 G(y)edy. Now from 12.10 and the definition of the Fourier coeffi-cients for f,nG(x) =F(x)—ay2x=0=Ay+lim YY A,(-1) (12.11)mre TAOand so , .Ap=—lim YO Ag(-1)*=- YS Ag(-1)* (12.12)mr TAO k= k #0Next consider Ax for k 4 0.A. = G(x)e*dx = [fu — ap) dte*d6 = y/o “ | (Fao) dred= xl. aw fr ) — ag) dtdxNow let w(x) = f*,, (f(t) — ao) dt and @, (x)form 35 [72 V(x) dO, (x). Since w(t); () =Theorem 9.4.1, says that the above equals1 1 ot ei— — da | eave == | SawinUse Corollary 9.3.18 to write as a sum of finitely many integrals¥ | Sayin.fed tk0= w(K 1) 0, (—2), integration by parts,It follows from Proposition 9.4.3 that this isaay [rw = | feje Max =«on In ik ao) =m = ikThus this shows from 12.12, that for all x,Ak . kGa= ¥ qe tho: Ao=—- YY Ag(-1)k=—00,k £0 k=—00,k£0“X x oo ak ik ak ik(—7)t)dt — = =e — —e![f0 [ ike ik’k=—00,k £0Xx Xx oo x ./ f (t)dt =| ag + y a | el dt—1 — k=—00,k £0 —1This proves the following theorem.and so,which shows thatTheorem 12.3.2 Le: f be 2% periodic and piecewise continuous. ThenXx Xx n Xo/ f(t)dt= [. agdt+lim YP? a | el dt_n _ nro, “ag _nwhere a, are the Fourier coefficients of f. This holds for all x € R.