Baron Jean Baptiste Joseph Fourier (1768−1830) introduced the idea that any periodic function can be represented by a series of sines and cosines which are harmonically related.
Basic Definition
A function f(x) is said to have period P if f(x+P)=f(x) for all x. Let the function f(x) has period . In this case, it is enough to consider behavior of the function on the interval
.
- Suppose that the function f(x) with period
is absolutely integrable on
so that the following so-called Dirichlet integral is finite:
;
- Suppose also that the function f(x) is a single valued, piecewise continuous (must have a finite number of jump discontinuities), and piecewise monotonic (must have a finite number of maxima and minima).
If the conditions 1 and 2 are satisfied, the Fourier series for the function f(x) exists and converges to the given function. At a discontinuity , the Fourier Series converges to
. The Fourier series of the function f(x) is given by
,
where the Fourier coefficients ,
, and
are defined by the integrals
.
Sometimes alternative forms of the Fourier series are used. Replacing and
by the new variables
and
or
and
, where
,
we can write:
.
Fourier Series of Even Functions
The Fourier series expansion of an even function f(x) with the period of does not involve the terms with sines and has the form:
,
where the Fourier coefficients are given by the formulas
.
Fourier Series of Odd Functions
Accordingly, the Fourier series expansion of an odd -periodic function f(x) consists of sine terms only and has the form:
,
where the coefficients are
.
Examples
Example 1
Let the function f(x) be -periodic and suppose that it is presented by the Fourier series:
Calculate the coefficients a0, an, and bn.
Solution 1
To define a0, we integrate the Fourier series on the interval [−π,π]:
For all n>0,
.
Therefore, all the terms on the right of the summation sign are zero, so we obtain
.
In order to find the coefficients an, we multiply both sides of the Fourier series by cosmx and integrate term by term:
.
The first term on the right side is zero. Then, using the well-known trigonometric identities, we have
,
,
if . In case when m=n, we can write:
;
.
Thus,
Similarly, multiplying the Fourier series by sinmx and integrating term by term, we obtain the expression for bm:
.
Rewriting the formulas for an, bn, we can write the final expressions for the Fourier coefficients:
.
Example 2
Find the Fourier series for the square 2π-periodic wave defined on the interval [−π,π]:
Solution 2
First we calculate the constant a0:
.
Find now the Fourier coefficients for n≠0:
,
.
As , we can write:
.
Thus, the Fourier series for the square wave is
.