Complex Fourier Series and Phase Spectra

Click For Summary
SUMMARY

The discussion focuses on deriving the complex form of the Fourier series for the sawtooth function, defined as f(t) = (2t/T) for 0 < t < 2T. The Fourier coefficients are calculated using integration by parts, resulting in c_n = -2(-1)^n/(inπ). The second part of the question involves finding and plotting the discrete amplitude and phase spectra for the derived Fourier series. The amplitude is determined as ||c_n|| = 2/(πn) = 2/(Tω₀n), while the phase angle remains to be clarified.

PREREQUISITES
  • Understanding of Fourier series and their applications
  • Proficiency in complex numbers and exponential functions
  • Knowledge of integration techniques, specifically integration by parts
  • Familiarity with amplitude and phase spectra concepts
NEXT STEPS
  • Learn how to derive phase angles from complex Fourier coefficients
  • Research methods for plotting amplitude and phase spectra
  • Explore the use of Python libraries like Matplotlib for visualizing Fourier series
  • Study the implications of the sawtooth function in signal processing
USEFUL FOR

Students and professionals in mathematics, electrical engineering, and signal processing who are looking to deepen their understanding of Fourier analysis and its practical applications.

mathwurkz
Messages
41
Reaction score
0
Please check my solution and I need help on understanding the second part of the question.
Q:Obtain the complex form of the Fourier series of the sawtooth function.
[tex]f(t) = \frac{2t}{T} \ \ \ 0 < t < 2T\\[/tex]
So if the period is 2l = 2T then l = T
[tex]\\ c_n = \frac{1}{2l} \int_{-l}^{l} f(x) e^{in\pi x / l} dx \\<br /> c_n = \frac{1}{2T} \int_{-T}^{T} \frac{2t}{T} e^{in\pi t / T} dt = \frac{1}{T^2} \int_{-T}^{T} te^{-in\pi t / T} dt \\[/tex]
Then I used integration by parts.
[tex]\\ u = t \ \ \ du = dt\ \ \ dv = e^{-in\pit / T} \ \ \ v = -\frac{T}{in \pi }e^{-in\pit / T}\\[/tex]
And here we go...
[tex]\\ = \frac{1}{T^2}\left[-t\frac{T}{in\pi }e^{-in\pi t / T}|_{-T}^{T} + \frac{T}{in\pi } \int_{-T}^{T} e^{-in\pi t / T} dt\right]\\[/tex]
I skip a few steps too much nitty gritty and then I arrive at...
[tex]\\ \frac{1}{in\pi } \left[ \left(-e^{-in\pi } - e^{in\pi }\right) - \frac{1}{in \pi} \left( e^{-in\pi - e^{in\pi }\right)\right]\\[/tex]
and since I know:
[tex]\\ e^{+-iat} = \cos{at} +- i \sin{at} \\{[/tex]
then it becomes
[tex]\frac{1}{in\pi } \left[ \left(-\cos{n\pi } - \cos{n\pi }\right) - \frac{1}{in \pi} \left( \cos{n\pi } - \cos{n\pi }\right)\right]\\[/tex]
and the end result is...
[tex]c_n = -\frac{2(-1)^n}{in\pi }\\[/tex]
and the Fourier series is...
[tex]f(t) = \sum_{-\infty}^{infty} -\frac{2(-1)^n}{in\pi } e^{in\pi t / T}[/tex]
The second part the question, the one I do not understand is it asks to find and plot the discrete amplitude and phase spectra for f(t) above. In general, a complex quantity G(t), can be written [tex]G(t) = ||G(t)||e^{i\phi t}[/tex] where ||G(t)|| is the amplitude and [tex]\phi (t)[/tex] is the phase angle. When these quantities are function of angular frequency, w, the plots resulting from their graphs vs w are called spectra.
hints: [tex]\omega _0 = \frac{\pi}{T} \ \ \ c_n = ||c_n||e^{i \phi}\\[/tex]
So what I did was find ||c_n||...
[tex]||c_n|| = \frac{2}{\pi n} = \frac{2}{T \omega _0 n}}\\[/tex]
Is this right though? And how do I go about finding the phase angle? and then plotting it vs omega. thanks for any help.
 
Last edited:
Physics news on Phys.org
[tex] \begin{align}<br /> \frac{1}{in\pi } \left[ (-e^{-in\pi } &- e^{in\pi }) - \frac{1}{in \pi} ( e^{-in\pi} - e^{in\pi })\right]\notag\\<br /> &\neq \frac{1}{in\pi } \left[ \left(-\cos{n\pi } - \cos{n\pi }\right) - \frac{1}{in \pi} <br /> {\color{red}<br /> ( \cos{n\pi } - \cos{n\pi })\right]<br /> }\notag<br /> \end{align}[/tex]
Sines?
 
Last edited:

Similar threads

  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K