In Example 11.1.4 and Exercises 11.1.4-11.1.22 we saw that the eigenfunctions of Problem 5 are orthogonal on and the eigenfunctions of Problems 1–4 are orthogonal on . In this section and the next we introduce some series expansions in terms of these eigenfunctions. We’ll use these expansions to solve partial differential equations in Chapter 12.
Theorem 11.2.1
Suppose the functions … are orthogonal on and
Let …be constants such that the partial sums satisfy the inequalities
for some constant Suppose also that the series
converges and is integrable on . Then
Proof
Multiplying Equation by and integrating yields
It can be shown that the boundedness of the partial sums and the integrability of allow us to interchange the operations of integration and summation on the right of Equation , and rewrite Equation as
(This isn’t easy to prove.) Since
Equation reduces to
Now Equation implies Equation .
Theorem 11.2.1
motivates the next definition.
Definition 11.2.2
Suppose , …, ,…are orthogonal on and , , , , …. Let be integrable on and define
Then the infinite series is called the Fourier expansion of in terms of the orthogonal set , and , , …, , … are called the Fourier coefficients of with respect to . We indicate the relationship between and its Fourier expansion by
You may wonder why we don’t write
rather than Equation . Unfortunately, this isn’t always true. The series on the right may diverge for some or all values of in , or it may converge to for some values of and not for others. So, for now, we’ll just think of the series as being associated with because of the definition of the coefficients , and we’ll indicate this association informally as in Equation .
Fourier Series
We’ll now study Fourier expansions in terms of the eigenfunctions
of Problem 5. If is integrable on , its Fourier expansion in terms of these functions is called the Fourier series of on . Since
and
we see from Equation that the Fourier series of on is
where
Note that is the average value of on , while and (for ) are twice the average values of
on , respectively.
Convergence of Fourier Series
The question of convergence of Fourier series for arbitrary integrable functions is beyond the scope of this book. However, we can state a theorem that settles this question for most functions that arise in applications.
Definition 11.2.3
A function is said to be piecewise smooth on if:
has at most finitely many points of discontinuity in ;
exists and is continuous except possibly at finitely many points in ;
and exist if ;
and exist if .
Since and are required to be continuous at all but finitely many points in , and for all but finitely many values of in . Recall from Section 8.1 that is said to have a jump discontinuity at if .
The next theorem gives sufficient conditions for convergence of a Fourier series. The proof is beyond the scope of this book.
Theorem 11.2.4
If is piecewise smooth on , then the Fourier series
of on converges for all in ; moreover,
Since if is continuous at , we can also say that
Note that is itself piecewise smooth on , and at all points in the open interval where is continuous. Since the series in Equation converges to for all in , you may be tempted to infer that the error
can be made as small as we please for all in by choosing sufficiently large. However, this isn’t true if has a discontinuity somewhere in , or if . Here’s the situation in this case.
If has a jump discontinuity at a point in , there will be sequences of points and in and , respectively, such that
and
Thus, the maximum value of the error near does not approach zero as , but just occurs closer and closer to and on both sides of , and is essentially independent of .
If , then there will be sequences of points and in such that
This is the Gibbs phenomenon. Having been alerted to it, you may see it in Figures 11.2.2
- 11.2.4
, below; however, we’ll give a specific example at the end of this section.
Example 11.2.1
Find the Fourier series of the piecewise smooth function
on (Figure 11.2.1
). Determine the sum of the Fourier series for .
Figure 11.2.1
Solution
Note that we didn’t bother to define , , and . No matter how they may be defined, is piecewise smooth on , and the coefficients in the Fourier series
are not affected by them. In any case, Theorem 11.2.4
implies that in and , where is continuous, while
and
To summarize,
We compute the Fourier coefficients as follows:
If , then
and
Therefore
Figure 11.2.2
shows how the partial sum
approximates for (dotted curve), (dashed curve), and (solid curve).
Figure 11.2.2
Even and Odd Functions
Computing the Fourier coefficients of a function can be tedious; however, the computation can often be simplified by exploiting symmetries in or some of its terms. To focus on this, we recall some concepts that you studied in calculus. Let and be defined on and suppose that
Then we say that is an even function and is an odd function. Note that:
The product of two even functions is even.
The product of two odd functions is even.
The product of an even function and an odd function is odd.
Example 11.2.2
The functions and are even, while and are odd. The function is neither even nor odd.
You learned parts (a) and (b) of the next theorem in calculus, and the other parts follow from them (Exercise 11.2.1).
Theorem 11.2.5
Suppose is even and is odd on Then:
Example 11.2.3
Find the Fourier series of on , and determine its sum for .
Solution
Since ,
where
and
We simplify the evaluation of these integrals by using Theorem 11.2.5
with and ; thus, from Equation ,
From Equation ,
From Equation ,
Therefore
Theorem 11.2.4
implies that
Figure 11.2.3
shows how the partial sum
approximates for (dotted curve), (dashed curve), and (solid curve).
Figure 11.2.3
: Approximation of by partial sums of its Fourier series on
Theorem 11.2.5
implies the next theorem.
Theorem 11.2.6
Suppose is integrable on
If is even the Fourier series of on is where
If is odd the Fourier series of on is where
Example 11.2.4
Find the Fourier series of on , and determine its sum for .
Solution
Since is odd and ,
where
Therefore
Theorem 11.2.4
implies that
Figure 11.2.4
shows how the partial sum
approximates for (dotted curve), (dashed curve), and (solid curve).
Figure 11.2.4
: Approximation of by partial sums of its Fourier series on
Example 11.2.5
Find the Fourier series of on and determine its sum for .
Solution:
Since is even and ,
Since if ,
and, if ,
Therefore
However, since
the terms in Equation for which are all zeros. Therefore we only to include the terms for which ; that is, we can rewrite Equation as
However, since the name of the index of summation doesn’t matter, we prefer to replace by , and write
Since is continuous for all and , Theorem 11.2.4
implies that for all in .
Example 11.2.6
Find the Fourier series of on , and determine its sum for .
Solution:
Since is odd,
where
Therefore
Theorem 11.2.4
implies that for all in .
Example 11.2.7
Gibbs Phenomenon
The Fourier series of
on is
(Verify.) According to Theorem 11.2.4
,
thus, (as well as ) has unit jump discontinuities at . Figures 11.2.5
-11.2.7
show the graphs of and
for , , and . You can see that although approximates (and therefore ) well on larger intervals as increases, the maximum absolute values of the errors remain approximately equal to , but occur closer to the discontinuities as increases.
Figures 11.2.5
-11.2.7
: The Gibbs Phenomenon Example 11.2.7
for (left) , (middle) , and (right) .
Using Technology
The computation of Fourier coefficients will be tedious in many of the exercises in this chapter and the next. To learn the technique, we recommend that you do some exercises in each section “by hand,” perhaps using the table of integrals at the front of the book. However, we encourage you to use your favorite symbolic computation software in the more difficult problems.