Fourier Cosine Series, Sine Series, Fourier Coefficients of Even and Odd Functions
📂Fourier AnalysisFourier Cosine Series, Sine Series, Fourier Coefficients of Even and Odd Functions
Definition
Let’s say f is a piecewise smooth function on the interval [0,L). The following defined fe on the interval [−L,L) is called the even extension of f.
fe(t):={f(t)f(−t)−L≤t<00≤t<L
Similarly, the following defined fo on the interval [−L,L) is called the odd extension of f.
fo(t):={−f(−t)f(t)−L≤t<00≤t<L
Explanation
fe and fo are each the extension of the domain of f to make it an even function and odd function respectively. fe and fo can be used to express the Fourier series of f such that only cosine or sine terms appear.
Fourier Cosine Series
fe(t)=21a0+n=1∑n(ancosLnπt+bnsinLnπt)
fe is an even function and because of t∈[0,L), fe(t)=f(t) holds, so the following equation is valid.
a0=L1∫−LLfe(t)dt=L2∫0Lf(t)dt
an=L1∫−LLfe(t)cosLnπtdt=L2∫0Lf(t)cosLnπtdt
bn=L1∫−LLfe(t)sinLnπtdt=0
Therefore, the Fourier series of fe(t) is
fe(t)=21a0+n=1∑nancosLnπt
And since t∈[0,L) implies fe(t)=f(t),
f(t)=21a0+n=1∑nancosLnπt
At this point, a0=L2∫0Lf(t)dt, an=L2∫0Lf(t)cosLnπtdt are given. The equation (1) is referred to as the Fourier cosine series of f.
Fourier Sine Series
fo(t)=21a0+n=1∑n(ancosLnπt+bnsinLnπt)
fo is an odd function and because of t∈[0,L), fe(t)=f(t) holds, so the following equation is valid.
a0anbn=L1∫−LLfo(t)dt=0=L1∫−LLfo(t)cosLnπtdt=0=L1∫−LLfo(t)sinLnπtdt=L2∫0Lf(t)sinLnπt
Therefore, the Fourier series of fo(t) is
fo(t)=n=1∑nbnsinLnπt
And since t∈[0,L) gives fo(t)=f(t),
f(t)=n=1∑nbnsinLnπt
At this point, bn=L2∫0Lf(t)sinLnπtdt is given. The equation (2) is called the Fourier sine series of f.
Fourier Coefficients of Even and Odd Functions
To summarize the above content, let’s assume f is a function defined in the interval [−L,L). If f is an even function, the Fourier coefficients of f are as follows.
a0anbn=L2∫0Lf(t)dt=L2∫0Lf(t)cosLnπtdt=0
If f is an odd function, the Fourier coefficients of f are as follows.
a0anbn=0=0=L2∫0Lf(t)sinLnπtdt