Exercise: Sawtooth Wave Fourier Transform

From Class Wiki
Revision as of 13:24, 12 January 2010 by John.hawkins (talk | contribs)
Jump to navigation Jump to search

Problem Statement

Find the Fourier Tranform of the sawtooth wave given by the equation


x(t)=t−⌊t⌋



Solution

As shown in class, the general equation for the Fourier Transform for a periodic function with period T is given by


x(t)=∑n=0∞[ancos⁡2πntT+bnsin⁡2πntT]


where


{an=2T∫cc+Tx(t)cos⁡2πntTdtbn=2T∫cc+Tx(t)sin⁡2πntTdtn=0,1,2,3…


For the sawtooth function given, we note that T=1, and an obvious choice for c is 0 since this allows us to reduce the equation to x(t)=t. It remains, then, only to find the expression for an and bn. We proceed first to find bn. For bn we can ignore the case when n=0 because sin⁡0=0. Hence, we proceed for n=1,2,3…:


bn=21∫01tsin⁡2πntdt


which is solved easiest with integration by parts, letting


u=t⇒du=dt


dv=sin⁡2πntdt⇒v=−12πncos⁡2πnt


so


bn=2[t(−12πn)cos⁡2πnt|01+12πn∫01cos⁡2πntdt]


=2[(−12πncos⁡2πn−0)+(12πn)2sin⁡2πnt|01]


=2[−12πn(1)+0]


=−1πn

Now, for an we must consider the case when n=0.


a0=∫01tdt=t22|01=12


For n=1,2,3…, we have


an=21∫01tcos⁡2πntdt


which again is best solved using integration by parts, this time with


u=t⇒du=dt


dv=cos⁡2πntdt⇒v=12πnsin⁡2πnt


so


an=2[t(12πn)sin⁡2πnt|01−∫0112πnsin⁡2πntdt]


2[(12πnsin⁡2πn−0)−[−(12πn)2cos⁡2πnt]01]


=2[0+(12πn)2(cos⁡2πn−cos⁡0)]


=0


Therefore, the Fourier Transform representation of the sawtooth wave given is:


x(t)=12−∑n=1∞1πnsin⁡2πnt


The figures below graph the first few iterations of this solution. The first graph shows the solution truncated after the first 100 terms of the infinite sum, as well as each of the contributing sine waves with offset. The second figure shows the function truncated after 1, 3, 5, 10, 50, and 100 terms.


Error creating thumbnail: File missing


Error creating thumbnail: File missing

Author

John Hawkins

Read By

Reviewed By