Fourier series of Dirac comb, complex VS real approaches

Click For Summary

Discussion Overview

The discussion revolves around the Fourier series coefficients for the Dirac comb function, comparing the results obtained from complex and real formulations. Participants explore the implications of these coefficients on the amplitude of frequencies in the spectrum of the Dirac comb, raising questions about compatibility and interpretation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant computes the Fourier series coefficients using both complex and real formulas, yielding different results for amplitude and expressing confusion about their compatibility.
  • Another participant suggests a relationship between the complex and real representations of the coefficients through the equation involving cosine and exponential functions.
  • Some participants discuss the concept of "negative frequencies" in the context of the complex formula and how they affect amplitude interpretation.
  • A participant expresses uncertainty about which coefficients (real or complex) accurately represent the amplitude of frequencies in the Dirac comb spectrum.
  • Another participant emphasizes that both real and imaginary parts of complex coefficients are significant, noting that the complex approach provides a more comprehensive representation of the signal.
  • A later reply mentions that in certain educational contexts, the complex exponential approach is preferred for its conciseness and ability to handle phase shifts.

Areas of Agreement / Disagreement

Participants do not reach a consensus on which coefficients represent the amplitude of frequencies in the Dirac comb function, with multiple perspectives on the significance of real versus complex coefficients remaining unresolved.

Contextual Notes

Participants express varying levels of understanding regarding the relationship between complex and real coefficients, indicating potential gaps in foundational knowledge or assumptions about Fourier series representations.

DoobleD
Messages
259
Reaction score
20
Hello,

I tried to compute the Fourier series coefficients for the Dirac comb function. I did it using both the "complex" formula and the "real" formula for the Fourier series, and I got :

- complex formula : Cn = 1/T
- real formula : a0 = 1/T, an = 2/T, bn = 0

This seems to be valid since it is coherent with the equations relatins cn, a0, an, and bn. The thing that bugs me now, is : what is really the amplitude of the frequencies in the spectrum of the Dirac comb function ? Is it 1/T or is it 2/T ? How can those two results be compatible ? I must be misunderstanding something here.

To be as clear as possible, here is what I did and what bugs me (at the end) :
 
Physics news on Phys.org
Isn't it just as simple as
$$ \frac{2 \cos x}{T} = \frac{e^{ix}+e^{-ix}}{T}$$
?
 
  • Like
Likes   Reactions: scottdave
jasonRF said:
Isn't it just as simple as
$$ \frac{2 \cos x}{T} = \frac{e^{ix}+e^{-ix}}{T}$$
?
Thank you for answering. I'm not sure what you mean, how do you get that result ?
 
DoobleD said:
Thank you for answering. I'm not sure what you mean, how do you get that result ?
##e^{ix} = \cos(x) + i \sin(x)##
 
Orodruin said:
##e^{ix} = \cos(x) + i \sin(x)##

Yep, but I still don't get how is this related to my initial question ? I might be missing something obvious...
 
If you look at this:
$$ {2 \cos \omega} = e^{i\omega}+e^{-i\omega} $$
With the complex formula you have something sort of like "negative frequencies". But since they add together, the amplitude of each is half.

That is my sort of layman's explanation.
 
scottdave said:
If you look at this:
$$ {2 \cos \omega} = e^{i\omega}+e^{-i\omega} $$
With the complex formula you have something sort of like "negative frequencies". But since they add together, the amplitude of each is half.

That is my sort of layman's explanation.

Again, how does this relates to my question ? I'll copy/paste it here : what is really the amplitude of the frequencies in the spectrum of the Dirac comb function ? Is it 1/T or is it 2/T ?
 
The complex formula gives the coefficients, Cn, of the exponential and the real formula gives the coefficients, an, of the cos(), so the equation ##2\cos(\omega) = e^{i\omega} + e^{-i\omega}## should help you find the relationship between the two.
 
FactChecker said:
The complex formula gives the coefficients, Cn, of the exponential and the real formula gives the coefficients, an, of the cos(), so the equation ##2\cos(\omega) = e^{i\omega} + e^{-i\omega}## should help you find the relationship between the two.

Thank you for clarifying. I'm fine with the relationship between Cn, an, and bn. I actually used it to double check my maths on the little derivations I gave in the link in my initial post.

I was just confused as to what coefficients (real or complex) are really representing the frequencies spectrum amplitudes (since the real and complex coefficients differ). What you guys assumed and what I think I missed is that actually only the real coefficients have real (no pun intended) meaning here. At the end, what represent the amount of a particular frequency in the signal, is the real coefficient, not the complex one. That might be very obvious, but I wasn't very sure about this.

Please correct me if I am making a mistake here. Otherwise, thank you for the help !
 
  • #10
DoobleD said:
What you guys assumed and what I think I missed is that actually only the real coefficients have real (no pun intended) meaning here. At the end, what represent the amount of a particular frequency in the signal, is the real coefficient, not the complex one. That might be very obvious, but I wasn't very sure about this.
That may be true at this point in your learning. But remember that the complex terms and coefficients have both a real and imaginary part. It is a more concise way of representing the entire process. There will be phase shifts and other "real" things that are more difficult to keep track of without using the complex approach.

In a class dedicated to Fourier Transforms like Stanford's Lecture by Professor Brad Osgood for the Electrical Engineering course, The Fourier Transforms and its Applications (EE 261) (which I highly recommend if you have the time), most of it will probably be done using the complex exponential approach.
 
Last edited:
  • Like
Likes   Reactions: DoobleD

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 8 ·
Replies
8
Views
10K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K