Docsity

Orthogonal and Complete Harmonic Functions: Fourier Series, Study notes of Environmental Science

Toggle sidebar
bg1
ESS522 Spring 2008
1-1
1. Fourier Series
I have drawn the content for this lecture from the book Mathematical Methods for the Physical
Sciences by K. F. Riley
Whatever your background, you are probably aware that harmonic functions (i.e., sine and
cosine functions) are a useful means to describe many physical phenomena. If we are describing
how things vary in time, the conventional notation is of the form cos(
ω
t) (or sin(
ω
t)) where t is
time and
ω
is known as the angular frequency and is related to the frequency f by ω = 2πf. For
spatial variations, the notation is cos(kx) where x is the spatial coordinate and k is the
wavenumber and is related to the wavelength,
λ
, by k=2π/
λ
. When considering problems that
involve harmonic waves (e.g., waves on the ocean surface), descriptions in terms of time and
spatial variable are interchangeable.
As Riley notes, harmonic functions can arise from at least 3 different but interrelated ways:
1. As mathematically simple and manageable functions.
2. As solutions to a certain broad class of differential equations (Sturm Louisville equations).
3. As functions that arise naturally in describing a wide variety of physical systems.
Consider the set of functions given by
hn(t)=cos 2
!
nt T
( )
, 0 "n<#
, and n an integer. (1.1)
We can show that
cos 2
!
nt /T
( )
"T/2
T/2
#cos 2
!
mt /T
( )
dt =0, n$m
T
2,n=m$0
T,n=m=0
(1.2)
You should be able to show the above yourself with the aid of the trigonometric formula
2cos Acos B=cos A+B
( )
+cos A!B
( )
(1.3)
Mathematically, we can say that the series of harmonic functions hn(t) are orthogonal over the
range -T/2 < t < T/2. This means that we cannot represent one harmonic function in terms of a
sum of the others functions. This is a useful property because it means that any sum of the
orthogonal functions produces a unique periodic function that cannot be produced by summing
the orthogonal functions in a different way (i.e., with different coefficients).
For the series of orthogonal functions to be very useful they must also be complete – that is any
arbitrary periodic function must be expressible as a sum of turns orthogonal functions. It turns
out that the functions hn(t) are incomplete because they can only describe arbitrary periodic
functions that are even (symmetric about t = 0). Likewise the set of functions given by
gn(t)=sin 2
!
nt T
( )
, 1"n<#
, and n is an integer
is also incomplete because they can only describe periodic functions that are odd (antisymmetric
about t = 0).
pf3

Partial preview of the text

Download Orthogonal and Complete Harmonic Functions: Fourier Series and more Study notes Environmental Science in PDF only on Docsity!

1. Fourier Series

I have drawn the content for this lecture from the book Mathematical Methods for the Physical

Sciences by K. F. Riley

Whatever your background, you are probably aware that harmonic functions (i.e., sine and

cosine functions) are a useful means to describe many physical phenomena. If we are describing

how things vary in time, the conventional notation is of the form cos( ω t ) (or sin( ω t )) where t is

time and ω is known as the angular frequency and is related to the frequency f by ω = 2π f. For

spatial variations, the notation is cos( kx ) where x is the spatial coordinate and k is the

wavenumber and is related to the wavelength, λ, by k =2π/ λ. When considering problems that

involve harmonic waves (e.g., waves on the ocean surface), descriptions in terms of time and

spatial variable are interchangeable.

As Riley notes, harmonic functions can arise from at least 3 different but interrelated ways:

  1. As mathematically simple and manageable functions.
  2. As solutions to a certain broad class of differential equations (Sturm Louisville equations).
  3. As functions that arise naturally in describing a wide variety of physical systems.

Consider the set of functions given by

hn ( t ) = cos ( 2! nt T ), 0 " n < # , and n an integer. (1.1)

We can show that

cos ( 2! nt / T )

" T / 2

T / 2

# cos^ (^2!^ mt^ /^ T )^ dt^ =^0 ,^ n^ $^ m

T

, n = m $ 0

T , n = m = 0

You should be able to show the above yourself with the aid of the trigonometric formula

2 cos A cos B = cos ( A + B ) + cos ( A! B ) (1.3)

Mathematically, we can say that the series of harmonic functions hn(t) are orthogonal over the

range - T/2 < t < T/2. This means that we cannot represent one harmonic function in terms of a

sum of the others functions. This is a useful property because it means that any sum of the

orthogonal functions produces a unique periodic function that cannot be produced by summing

the orthogonal functions in a different way (i.e., with different coefficients).

For the series of orthogonal functions to be very useful they must also be complete – that is any

arbitrary periodic function must be expressible as a sum of turns orthogonal functions. It turns

out that the functions hn ( t ) are incomplete because they can only describe arbitrary periodic

functions that are even (symmetric about t = 0). Likewise the set of functions given by

gn ( t ) = sin ( 2! nt T ), 1 " n < # , and n is an integer

is also incomplete because they can only describe periodic functions that are odd (antisymmetric

about t = 0).

However if we combine the cosine and sine series, hn ( t ) and gn ( t ) they are complete. You should

be able to show that this set of harmonic functions are also orthogonal. That is in addition to

equation (1.1), we can also write

cos ( 2! nt T )sin ( 2! mt T )

" T / 2

T / 2

# dt^ =^0 (1.4)

sin ( 2! nt / T )

" T / 2

T / 2

# sin^ (^2!^ mt^ /^ T )^ dt^ =^0 ,^ n^ $^ m

T

, n = m

To show the above you need to remember the trigonometric relationships

2 cos A sin B = sin ( A + B ) + sin( B! A )

2 sin A sin B = cos ( A! B )! cos( A + B ) (1.6)

The complete set of harmonic functions are often referred to as basis functions since they can be

summed to construct all other functions.

An alternate and mathematically very convenient orthogonal and complete set of harmonic basis

functions is given by

exp ( i 2! nt T ) = cos ( 2! nt T ) + i sin ( 2! nt T ), " # < n < # , and n an integer. (1.7)

This form facilitates compact expressions and as we will see is more convenient for the Fourier

transforms.

If you have not familiar with equation (1.7) you can derive it by considering the Maclaurin

(Taylor) Series expansions for the 3 terms.

f (! ) = f ( 0 ) +! f '( 0 ) +

2

f ''( 0 ) +

3

f '''( 0 ) + ...

exp(! ) = 1 +! +

2

3

sin(! ) =! "

3

5

cos(! ) = 1 "

2

4

Also note that complex functions g(x) and h(x) are defined as orthogonal if

! g^ (^ x ) h^ (^ x )^ dx^ =^0 (1.9)

where g is the complex conjugate that is also often denoted by g

. Remember that the complex

conjugate of an orthogonal number is given by ( a + ib )

= a - ib.

We can write a Fourier series for a periodic function