Docsity

Fourier Sine Series: Convergence and Examples, Study notes of Fourier Transform and Series

Toggle sidebar
bg1
Fourier Sine Series Examples
16th November 2007
The Fourier sine series for a function f(x)defined on x∈[0,1] writes f(x)as
f(x) =
∞
X
n=1
bnsin(nπx)
for some coefficients bn. Because of orthogonality, we can compute the bnvery simply:
for any given m, we integrate both sides against sin(mπx). In the summation, this gives
zero for n6=m, and R1
0sin2(mπx) = 1/2for n=m, resulting in the equation
bm= 2 Z1
0
f(x) sin(mπx)dx.
Fourier claimed (without proof) in 1822 that any function f(x)can be expanded in
terms of sines in this way, even discontinuous function. This turned out to be false for
various badly behaved f(x), and controversy over the exact conditions for convergence
of the Fourier series lasted for well over a century, until the question was finally settled
by Carleson (1966) and Hunt (1968): any function f(x)where R|f(x)|pdx is finite
for some p > 1has a Fourier series that converges almost everywhere to f(x)[except
at isolated points]. At points where f(x)has a jump discontinuity, the Fourier series
converges to the midpoint of the jump. So, as long as one does not care about crazy di-
vergent functions or the function value exactly at points of discontinuity (which usually
has no physical significance), Fourier’s remarkable claim is essentially true.
To illustrate the convergence of the sine series, let’s consider a couple of examples.
First, consider the function f(x) = 1, which seems impossible to expand in sines
because it is not zero at the endpoints, but nevertheless it works...if you don’t care
about the value exactly at x= 0 or x= 1. From the formula above, we obtain
bm= 2 Z1
0
sin(nπx)dx =−2
nπ cos(nπx)
1
0
=4
nπ nodd
0neven ,
and thus
f(x) = 1 = 4
πsin(πx) + 4
3πsin(3πx) + 4
5πsin(5πx) + · · · .
This is plotted for 1, 2, 4, 8, 16, and 32 terms in figure. 1, showing that it does in-
deed approach f(x) = 1 almost everywhere. There is some oscillation at the point of
discontinuity, which is known as a Gibb’s phenomenon.
1
pf3
pf4

Partial preview of the text

Download Fourier Sine Series: Convergence and Examples and more Study notes Fourier Transform and Series in PDF only on Docsity!

Fourier Sine Series Examples

16th November 2007

The Fourier sine series for a function f (x) defined on x ∈ [0, 1] writes f (x) as

f (x) =

∑^ ∞

n=

bn sin(nπx)

for some coefficients bn. Because of orthogonality, we can compute the bn very simply: for any given m, we integrate both sides against sin(mπx). In the summation, this gives zero for n 6 = m, and

0 sin

(^2) (mπx) = 1/ 2 for n = m, resulting in the equation

bm = 2

0

f (x) sin(mπx) dx.

Fourier claimed (without proof) in 1822 that any function f (x) can be expanded in terms of sines in this way, even discontinuous function. This turned out to be false for various badly behaved f (x), and controversy over the exact conditions for convergence of the Fourier series lasted for well over a century, until the question was finally settled by Carleson (1966) and Hunt (1968): any function f (x) where

|f (x)|pdx is finite for some p > 1 has a Fourier series that converges almost everywhere to f (x) [except at isolated points]. At points where f (x) has a jump discontinuity, the Fourier series converges to the midpoint of the jump. So, as long as one does not care about crazy di- vergent functions or the function value exactly at points of discontinuity (which usually has no physical significance), Fourier’s remarkable claim is essentially true. To illustrate the convergence of the sine series, let’s consider a couple of examples. First, consider the function f (x) = 1, which seems impossible to expand in sines because it is not zero at the endpoints, but nevertheless it works...if you don’t care about the value exactly at x = 0 or x = 1. From the formula above, we obtain

bm = 2

0

sin(nπx) dx = −

nπ cos(nπx)

1

0

nπ n^ odd 0 n even

and thus

f (x) = 1 =

π

sin(πx) +

3 π

sin(3πx) +

5 π

sin(5πx) + · · ·.

This is plotted for 1, 2, 4, 8, 16, and 32 terms in figure. 1, showing that it does in- deed approach f (x) = 1 almost everywhere. There is some oscillation at the point of discontinuity, which is known as a Gibb’s phenomenon.

0 0.2 0.4 0.6 0.8 1 0

1

32 terms

0 0.2 0.4 0.6 0.8 1 0

1

1 term

0 0.2 0.4 0.6 0.8 1 0

1

2 terms

0 0.2 0.4 0.6 0.8 1 0

1

4 terms

0 0.2 0.4 0.6 0.8 1 0

1

8 terms

0 0.2 0.4 0.6 0.8 1 0

1

16 terms

Figure 1: Fourier sine series for f (x) = 1, truncated to a finite number of terms (from 1 to 32), showing that the series indeed converges everywhere to f (x), except exactly at the endpoints, as the number of terms is increased.

0 0.2 0.4 0.6 0.8 1 0

1 term

0 0.2 0.4 0.6 0.8 1 0

2 terms

0 0.2 0.4 0.6 0.8 1 0

4 terms

0 0.2 0.4 0.6 0.8 1 0

8 terms

Figure 2: Fourier sine series (blue lines) for the triangle function f (x) = 12 − |x − 12 | (dashed black lines), truncated to a finite number of terms (from 1 to 32), showing that the series indeed converges everywhere to f (x).