Fourier sine series, Fourier cosine series

When a function is an odd function, its Fourier series contains only the sine functions. Such a Fourier series is called a Fourier sine series. When a function is an even function, its Fourier series contains only the cosine functions (and possibly a constant). Such a Fourier series is called a Fourier cosine series.



Example. Consider the function fP2π defined by

f(x)=x   (π<x<π).

Note that f is an odd function (i.e., f(x)=f(x)). The Fourier coefficients are obtained as (exercise!)

an=1π02πf(x)cos(nx)dx=1πππf(x)cos(nx)dx=0bn=1π02πf(x)sin(nx)dx=1πππf(x)sin(nx)dx.=(1)n+12n.

Thus, we have

x2[sinx1sin(2x)2+sin(3x)3+(1)n+1sin(nx)n+]

for π<x<π. □

More generally, if fR2π1 is an odd function, the coefficients of cos(nx) are all 0 so S[f] consists of only the sin(nx) terms,

fS[f]=n=1bnsin(nx).

Such a Fourier series is called a Fourier sine series.

In contrast, if fR2π1 is an even function, the coefficients of sin(nx) are all 0 so S[f] consists of only the cos(nx) terms,

fS[f]=12a0+n=1ancos(nx).

Such a Fourier series is called a Fourier cosine series.

Example (evenfunc). Consider the function fP2π defined by

f(x)=1|x|π   (|x|π).

f is a continuous, even, and periodic function. Clearly, bn=0 (verify!). It is easy to see a0=1. For n=1,2,,

πan=ππf(x)cos(nx)dx=20π(1xπ)cos(nx)dx=2n2π{1(1)n}   (n=1,2,).

That is,

an={1(n=0),4π2n2(n=1,3,5,),0(n=2,4,6,).

Therefore,

1|x|π12+4π2(cosx12+cos(3x)32+cos(5x)52+)   (π<x<π).

Now, suppose we have a function g(x) on I0=(0,π) that is integrable and continuous on I0 except for finitely many points. Based on this function, let us define the following odd function fo:

fo(x)=g(x) for x(0,π),fo(x)=g(x) for x(π,0),fo(x+2nπ)=fo(x) for x(π,π){0},nN.

Similarly, we can define the following even function fe:

fe(x)=g(x) for x(0,π),fe(x)=g(x) for x(π,0),fe(x+2nπ)=fe(x) for x(π,π){0},nN.

The corresponding Fourier series are of the forms

fon=1bnsin(nx),fe12a0+n=1ancos(nx),

where

an=1πππfe(x)cos(nx)dx=2π0πg(x)cos(nx)dx,bn=1πππfo(x)sin(nx)dx=2π0πg(x)sin(nx)dx.

Using these coefficients, g(x) on I0=(0,π) can be expressed in two ways:

g(x)n=1bnsin(nx),g(x)12a0+n=1ancos(nx).

Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic