PhD Thesis: Appendix B
 

"Phase-Only Optical Information Processing"

University of Edinburgh, D.J.Potter, 1992.

Index   Chapter 1  2  3  4  5  6  7  8  9 

 

Appendix B: Fourier Series

This appendix summarises the basic facts of Fourier series and interelates its various forms so that the reader understands how to recover the amplitude and phase of a Fourier component in each representation.

The most general form of the Fourier series in one dimension describing a function f(x) is

fs(x) =  ¥
å
n=0 
 Dn cos( nx + Fn )
(1)
so the function fs(x) represents the object f(x) on the range [-p,+p] and is periodic with period 2p. The meaning of Dn and Fn is explained in appendix one. The equation for fs(x) may be expanded to give
fs(x) 
=
  ¥
å
n=0 
 Dn cos( nx ) cos( Fn ) - Dn sin( nx ) sin( Fn )
=
   A0

2
 +  ¥
å
n=1 
 An cos( nx ) + Bn sin( nx )
(2)
where A0 is often referred to as the constant or `DC' term in the series and
An 
=
 Dn cos( Fn )
(3)
Bn 
=
 -Dn sin( Fn )
(4)

The amplitude Dn and phase Fn of each Fourier component may be found from

Dn 
=
 ( An2 + Bn2 )[ 1/1]
(5)
tan( Fn ) 
=
 -  Bn

An
(6)
and the specific values of An and Bn for a particular object function f(x) are found from the integrations
An 
=
   1

p
  ó
õ
+p

-p 
 f(x) cos( nx ) dx
(7)
Bn 
=
   1

p
  ó
õ
+p

-p 
 f(x) sin( nx ) dx
(8)
(The factor of one half in front of the DC term allows these equations to be generally applicable for all `n'.)

A complex Fourier series may be formed by setting

Cn =   1

2
 ( An - iBn )
(9)
to form a series representation of f(x) described by
fs(x) = Cn e+i nx
(10)
Alternatively one may calculate Cn directly via the equation
Cn =   1

2p
  ó
õ
+p

-p 
 f(x) e-i nx dx
(11)
The complex form of the series thus incorporates An and Bn into the REAL and IMAGINARY parts of one complex amplitude Cn. Knowing this, one may easily recover the amplitude and phase of the Fourier component from the complex representation. In fact
Dn = 2 | Cn |
(12)
with the factor of 2 arising due to the summation over -¥ to +¥ in the complex series but only from 0 to +¥ in the 'standard' series representation. From equation 2.10 one sees that the phase of Cn is identical to Fn, and an advantage of the complex Fourier series is this clear identification of the phase of the component and the linear relationship between Dn and |Cn|.

Two Dimensional Series

Fourier's theorem may be extended into two dimensions to express a two dimensional function as a linear combination of 2-D sinusoidal basis functions. The series representation of f(x,y) is then
fs(x,y) =   1

2
A0 +  +¥
å
m=-¥ 
+¥
å
n=-¥ 
 Amn cos( mx + ny + Fmn )
(13)
which may be expanded as in the 1-D case, but this is not explicitly done here. The amplitude and phase of each component are found by performing the integrations
Amn cos( Fmn ) 
=
   1

4p2
  ó
õ
ó
õ
+p

-p 
 f(x,y) cos( mx + ny ) dx dy
(14)
Amn sin( Fmn ) 
=
 -  1

4p2
  ó
õ
ó
õ
+p

-p 
 f(x,y) sin( mx + ny ) dx dy
(15)
A00:
=
   1

4p2
  ó
õ
ó
õ
+p

-p 
 f(x,y) dx dy
(16)
from which Amn and Fmn may be found.

Square Wave series: Evaluation

Functions may be represented on other ranges by the appropriate scaling of the cosine argument to be [(npx)/L] where fs(x) is now periodic with period 2L, so that (in 1-D),
fs(x) =  +¥
å
n=-¥ 
 Cn e+i [(npx)/L]
(17)
where
Cn =   1

2L
  ó
õ
+L

-L 
 f(x) e-i [(npx)/L] dx
(18)

A square wave with period 2L has, in general, pulses of width `a' separated by a distance `s', so that 2L=a+s. Figure B.1 shows a section of the square wave.


Figure B.1: One dimensional square wave function

The Fourier coefficients Cn are found from the integration

Cn =   1

2L
  ó
õ
+[ a/2]

-[ a/2] 
 H e-i [(npx)/L] dx
(19)
where H represents the height of the pulse. This integration reduces to
H  a

np
 sin(   npa

2L
 )
(20)
and, by dividing and multiplying by [ 2L/a], can be written as
Cn = H  a

2L
 sinc(   na

2L
 )
(21)



File translated from TEX by TTH, version 3.02.
On 27 Oct 2001, 23:42.