Professional Documents
Culture Documents
Lecture 1
In this lecture, we shall discuss a class of expansions which are particularly useful in the
study of solution of PDEs. To begin with, we now review some function property that are
particularly relevant to this study.
DEFINITION 1. (Periodic function) A function is periodic of period L if f (x+L) = f (x)
for all x in the domain of f .
The smallest positive value of L is called the fundamental period. The trigonometric
functions sin x and cos x are examples of periodic functions with fundamental period 2
and tan x is periodic with fundamental period . A constant function is a periodic function
with arbitrary period L.
It is easy to verify that if the functions f1 , . . . , fn are periodic of period L, then any
linear combination
c1 f1 (x) + + cn fn (x)
is also periodic. Furthermore, if the innite series
1
nx
nx
a0 +
an cos(
) + bn sin(
)
2
L
L
n=1
consisting of 2L-periodic functions converges for all x, then the function to which it converges will be periodic of period 2L.
There are two symmetry properties of functions that will be useful in the study of
Fourier series.
DEFINITION 2. (Even function and Odd function) Let f : [L, L] R. Then f (x)
is called even, if f (x) = f (x) for all x [L, L]. f (x) is called odd, if f (x) = f (x),
for all x [L, L].
Note: The graph of an even function is symmetric with respect to the y-axis. Note that
if (x, f (x)) is on the graph of an even function f (x), then (x, f (x)) will also be on the
graph (i.e., the graph is invariant under reection in the y-axis), see Figure 4.1.
The graph of an odd function is symmetric with respect to the origin. If f (x) is odd,
then (x, f (x)) is on the graph if and only if (x, f (x)) is on the graph. That is, the
graph is invariant under reection through the origin, see Figure 4.2.
EXAMPLE 3. The functions f (x) = x2n , n = 0, 1, 2, . . . are even functions whereas f (x) =
x2n+1 , n = 0, 1, 2, . . . are odd functions. The functions sin x and tan x are odd functions
and cos x is an even function.
L f (x)dx
L f (x)dx
L
0
nx
sin
dx = 0,
L
L
cos
L
nx
dx = 0,
L
n = 1, 2, . . . ,
For m. n = 1, 2, . . . , we have
mx
nx
cos
dx = 0
L
L
L
{
L
0,
nx
mx
sin
dx =
sin
L
L
L,
L
{
L
0,
nx
mx
cos
dx =
cos
L
L
L,
L
sin
(1)
m = n,
m = n.
m = n,
m = n.
(2)
(3)
fm (x)fn (x)w(x)dx = 0,
whenever m = n.
]1/2
f (x)w(x)dx
.
2
(4)
fm (x)fn (x)w(x)dx =
a
0, m =
n,
1, m = n.
(5)
1
nx
nx
a0 +
) + bn sin(
),
an cos(
2
L
L
(6)
n=1
where
1
an =
L
and
1
bn =
L
f (x) cos(
L
nx
)dx, n = 0, 1, 2, 3 . . . ,
L
f (x) sin(
L
nx
)dx, n = 1, 2, 3 . . . ,
L
is called the Fourier series of f (x). This series is named after the outstanding French
mathematical physicist Joseph Fourier (1768-1830).
Suppose that f (x) is of the form
1
nx
nx
f (x) = a0 +
[an cos(
) + bn sin(
)].
2
L
L
N
(7)
n=1
1 L
nx
an =
f (x) cos(
) dx, n = 0, 1, . . . ,
L L
L
1 L
nx
bn =
f (x) sin(
) dx, n = 1, 2, . . . , .
L L
L
(8)
(9)
REMARK 5.
Not every function f (x) has the representation of the form (7). The right side of (7) is
smooth i.e., C (innitely dierentiable functions), but many functions have graphs
with jumps or corners. We will encounter functions f (x) for which the integral (8)
and (9) are not zero for innitely many values of n. In such cases, f (x) can not be
represented as a nite sum as in (7). Also, even if N , the sum (7) might not
converge to f (x), unless some additional assumptions are made (cf. [1])
DEFINITION 6. (Fourier series) Let f (x) : [L, L] R be such that the integrals
nx
1 L
f (x) cos(
)dx, n = 0, 1, 2, 3 . . . ,
(10)
an =
L L
L
and
1
bn =
L
f (x) sin(
L
nx
)dx, n = 1, 2, 3 . . . ,
L
(11)
exists and are nite. Then the Fourier series(FS) of f on [L, L] is the expression
[
1
nx ]
nx
f (x) a0 +
) + bn sin(
) .
an cos(
2
L
L
(12)
n=1
1 < x < 0,
1,
0 < x < .
Solution. Here L = . Note that f (x) is an odd function. Since the product of an
odd function and an even function is odd, f (x) cos nx is also an odd function. Hence
an =
n = 0, 1, 2, . . .
Since f (x) sin x is an even function (as the product of two odd functions), we have
1
2
f (x) cos nxdx =
sin nxdx
0
[
]
[
]
2 1 (1)n
2 cos nx
, n = 1, 2, 3, . . . .
=
= n n
n
0
{
0,
n even,
=
4
n , n odd.
bn =
Thus
f (x)
[
]
2 [1 (1)n ]
4
1
1
sin nx =
sin x + sin 3x + sin 5x + .
3
5
n=1
REMARK 8.
If f is any odd function, then its FS consists only of sine terms. (see, Example 7).
If f is an even function, then its FS consists only of cosine terms (including cos 0x).
EXAMPLE 9. Find the FS of the function f (x) = x for L x L.
an =
x cos(
For n = 0, we get
1
a0 =
L
L
1 x2
xdx =
= 0.
L 2 L
L
L
nx
x
nx L
nx
1
x sin(
)dx =
cos(
) +
cos(
)dx
L
n
L
n
L
L
L
L
2L
L
nx L
cos(n) +
)
sin(
(n)
(n)2
L L
2L
(1)n+1 , n = 1, 2, 3, . . . .,
n
1
L
where we have used the fact cos(n) = (1)n . Thus, the FS of f (x) is given by
f (x)
(1)
n=1
nx
2L
1
nx
sin(
)=
(1)n+1 sin(
).
n
L
n
L
n+1 2L
n=1
Practice Problems
1. Find the FS of the following function:
{
{
0 2 x 1,
x2
1 x 0,
(a) f (x) =
; (b) f (x) =
1, 1 < x 2.
1 + x, 0 < x 1.
(c) f (x) = | sin x|, < x < .
2. If the 2-periodic even function is given by f (x) = |x| for < x < , show that
f (x) =
4 cos(2n 1)x
.
2
(2n 1)2
n=1
3. Show that
1
1 1 1
+ + = .
3 5 7
4