<<

ESS 522 2014

2.

I have drawn the content for this lecture mostly from the book Mathematical Methods for the Physical Sciences by K. F. Riley

In the last lecture we showed that we could represent a periodic by a sum of and cosine terms of alternately by complex exponentials. 1 ( " 2!nt % ( " 2!nt % ( " i2!nt % (2-1) y(t) = A0 + ) An cos$ ' + ) Bn sin$ ' = ) Cn exp$ ' 2 n=1 # T & n=1 # T & n=*( # T & Furthermore we showed that we could evaluate the coefficients in the first representation T /2 2 " 2!nt % A = y(t)cos dt n T ) #$ T &' (T /2 (2-2) T /2 2 " 2!nt % B = y(t)sin dt n ) #$ &' T (T /2 T For the second representation the coefficients are obtained by T /2 1 # i2"nt & C = y(t)exp ! dt (2-3) n ) $% '( T !T /2 T (Note that the negative sign in the exponential, which arises because orthogonality for complex functions is defined with the complex conjugate - see 1.9 of the previous lecture)

Fourier Transform

We can extend the to non-periodic functions that are defined over an infinite interval. To do this we formally let the interval T of the Fourier series tend to infinity. If we substitute ω =2π n/T into equation (2-3) and replace Cn by C(ω) to indicate the dependency of C on ω, we get 1 T /2 C(! ) = # y(t)exp("i!t)dt (2-4) T "T /2 We can write y(t) as a sum of its components # y(t) = $ C(! )exp(i!t) m="# T # 2% = $ C(! )exp(i!t) (2-5) 2% m="# T T # = $ C(! )exp(i!t)&! 2% m="# where δω = 2π/T is the spacing of adjacent C(ω) (or Cn) terms. Now we can see that as δω becomes small the above sum can be represented as an integral T $ y(t) = % C(")exp(i"t)d" (2-6) 2! #$

2-1 ESS 522 2014

Now for (2-4) and (2-6) we set Y(ω) = TC(ω) and let T→∞. This yields # Y (! ) = $ y(t)exp("i!t)dt "# (2-7) 1 # y(t) = $ Y (!)exp(i!t)d! 2% "# Alternatively, we can set Y(ω) = TC(ω)/(2π)½ and let T→∞. This yields 1 $ Y (! ) = 1 y(t)exp(#i!t)dt 2 % (2" ) #$ (2-8) 1 $ y(t) = 1 Y (!)exp(i!t)d! 2 % (2" ) #$ Since ω = 2πf, we can also write (2-7) as # Y ( f ) = $ y(t)exp(!i2" ft)dt !# (2-9) 1 # # y(t) = $ Y ( f )exp(i2" ft)2"df = $ Y ( f )exp(i2" ft)df 2" !# !# Equations (2-7) to (2-9) are three alternate but equivalent representations of the Fourier transform pair (i.e., the Fourier transform and the inverse Fourier transform) and you need to be careful to make sure which version is being used. In this class, we will follow the convection adopted in Bob Crosson’s class notes and use (2-9).

Properties of the Fourier Transform Differentiation is very easy in the domain – you just multiply by iω 1 $ y'(t) = % i"Y (")exp(i"t)d" 2! #$ (2-10) FT '&y'(t))( = i"Y (")

Similarly integration involves dividing by iω 1 % Y (#) y(s)ds = exp(i#t)d# + constant !t 2" ! i# $% (2-11) Y (#) FT & y(s)ds( = + constant '!t ) i#

Translation by –a involves multiplying by exp(iωa) 1 ( y(t + a) = ) Y (")exp $#i" (t + a)&%d" 2! '( (2-12) FT $#y(t + a)&% = exp(i"a)Y (")

2-2 ESS 522 2014

The δ-function The δ-function is a very useful function that we will come across repeatedly when consider filters and the discrete (digital) version of the Fourier transform. It is defined mathematically by ! (x) = 0, x " 0 b #! (x)dx = 1, a < 0 < b (2-13) a b # f (y)! (y $ x)dy = f (x), a < y < b a It can be thought of an infinitely sharp narrow pulse – it not physically realizable but for practical purposes it just needs to be narrower than a system can resolve (i.e., shorter in duration than the time between samples in digital system).

The Fourier transform of a δ-function is $ D(! ) = % "(t)exp(#i!t)dt = 1 (2-14) #$ All are equally represented. For a δ-function at time t0, the Fourier transform is $ D ! = "(t # t )exp #i!t dt = exp #i!t (2-15) ( ) % 0 ( ) ( 0 ) #$ We get a similar result when we consider the inverse Fourier transform of a δ-function in the . 1 % d t = "(# $ # )exp i#t d# = exp i# t (2-16) ( ) & 0 ( ) ( 0 ) 2! $% In the 2nd class exercise you will investigate at a form of “Uncertainty Principle” - it is impossible to produce a signal that is narrow in both the time and frequency domain.

The Meaning of complex coefficients

The complex coefficients carry information about the amplitude and of a signal. Consider a monochromatic signal of frequency f. For the frequency +f, we can write the Fourier coefficient as Y ( f ) = a + ib (2-17) In the time domain this gives (a + ib)(cos2! ft + isin2! ft) (2-18) = (acos2! ft " bsin2! ft) + i(asin2! ft + bcos2! ft) For the frequency –f, we can write the Fourier coefficient as Y (! f ) = c + id (2-19) In the time domain this gives (c + id)(cos2! ft " isin2! ft) (2-20) = (ccos2! ft + d sin2! ft) + i("csin2! ft + d cos2! ft)

2-3 ESS 522 2014

The combined effects of +f and –f in the time domain are thus $#(a + c)cos2! ft + (d " b)sin2! ft &% + i $#(b + d)cos2! ft + (a " c)sin2! ft &% (2-21) Clearly if the signal is real d = !b (2-22) a = c so that Y ( f ) = a + ib (2-23) Y (! f ) = a ! ib In the time domain this yields y(t) = 2(acos2! ft " bsin2! ft) (2-24)

The relative values of the real and imaginary coefficients can be written in terms of a magnitude and phase

Imag a+ib

Z

θ

Real

a + ib = Z exp(i!) (2-25) where ! = arctan(b / a) (2-26) while their magnitude gives the amplitude of the signal Z = a2 + b2 (2-27)

From equation (2-24) it is clear that the amplitude of the y(t) is 2Z. By drawing the cosine function and negative sine function you can also see that the effect of a positive value of b is to move the signal earlier in time which would be described as a phase shift of -θ (by convention a positive phase shift moves the signal to the right on a plot or to a later time)

Pictorial Dictionary of Fourier Transforms

In this class we will soon be moving on to the discrete Fourier transform because that is what we deal with numerically. You should all be aware of the classic textbook for the continuous Fourier Transform - Bracewell, R. N., The Fourier transform and its applications, McGraw-Hill, 2nd edition, 1986. Chapter 21 is a pictorial dictionary of Fourier transforms.

2-4