Orthogonality in Discrete Fourier Transforms

Click For Summary

Discussion Overview

The discussion revolves around the orthogonality condition in Discrete Fourier Transforms (DFTs) as presented by a professor. Participants explore the implications of this condition, its correctness, and the relationship between DFTs and Fourier Transforms (FTs), focusing on the mathematical properties of cosine and exponential functions.

Discussion Character

  • Debate/contested
  • Mathematical reasoning
  • Conceptual clarification

Main Points Raised

  • One participant questions the orthogonality condition stated by their professor, providing a specific example where the sum does not equal zero, suggesting the condition may be incorrect.
  • Another participant draws a parallel to resonance, proposing that at certain frequencies, components reinforce each other, leading to a different interpretation of orthogonality in the context of cosine functions.
  • It is noted that there are 2N mutually orthogonal complex exponentials, contrasting with the proposed orthogonality of cosine functions.
  • Participants discuss the dimensionality of DFTs versus FTs, highlighting that DFTs operate over complex numbers while FTs operate over real numbers, which may affect the interpretation of orthogonality.
  • One participant suggests that extracting cosine or sine components from the exponential form requires both positive and negative exponents, indicating a potential misunderstanding of the original orthogonality claim.
  • A later reply proposes that the sum could be simplified to include only a maximal set of mutually orthogonal functions, questioning the necessity of the original condition.

Areas of Agreement / Disagreement

Participants express disagreement regarding the correctness of the orthogonality condition for cosine functions. There is no consensus on the validity of the original claim, and multiple competing views are presented regarding the nature of orthogonality in DFTs and FTs.

Contextual Notes

Participants acknowledge the complexity of the relationship between DFTs and FTs, including the implications of working in real versus complex spaces. There are unresolved questions about the assumptions underlying the orthogonality condition and its applicability in discrete versus continuous contexts.

bdforbes
Messages
149
Reaction score
0
My professor stated that the following orthogonality condition holds:

[tex]\sum_{n=0}^N cos(2\pi mn/N)cos(2\pi kn/N)=0[/tex]

where m != k, and 0<= m,k < N.

I couldn't prove this, so I plugged in specific values: N=4, m=1, k=3. I found that the sum equals 2. Likewise for other situations where m+k=N, it comes out non-zero.

Is the condition incorrect?
 
Physics news on Phys.org
I'm absolutely sure that my calculations are correct. This seems similar to resonance; at a particular frequency the components resonate and reinforce each other, whereas for other frequencies there is no resonance and they cancel to zero. It seems like this then implies there are only N/2 mutually orthogonal cos() basis functions and N/2 mutually orthogonal sin() basis functions. This is strange though because there are 2N mutually orthogonal complex exponentials which have the following orthogonality condition:

[tex]\sum_{n=0}^{N-1}<br /> \left(e^{ \frac{2\pi i}{N} kn}\right)<br /> \left(e^{-\frac{2\pi i}{N} k'n}\right)<br /> =N~\delta_{kk'}[/tex]

where k,k' range between -(N-1) and +(N-1)
 
There are only N linearly independent exponentials:

exp(2ki\pi/N)

as k goes from 0 to N-1 (or 1 to N).

Notice that there are actually 2N-1 integers in the range -N+1 to N-1, anyway.
 
Hmm. So DFTs only have positive exponentials but FTs have positive AND negative?

In any case, it still appears that the given orthogonality condition for the cosines is incorrect, right?
 
Well, the DFT is explained as being over the complex numbers, and FT over the reals, usually. So a 2N dimensional real space is N complex dimensional, and you see everything is consistent.

If you think about attempting to extract cos or sin from the exponential version using only *real* coefficients, then you need both the +ve and -ve exponents. I'm being reticent on the original question, not because you're wrong, but because I haven't figured out what your professor was attempting to say: you should speak to him, it would be better all round.
 
That makes sense now. In FTs we have the time domain and frequency domain, both of which are in the reals, whereas in DFTs, we pull coefficients from the complex numbers. So that part is solved, we still have the same number of mutually orthogonal basis functions.

I'll ask my professor today about the original problem. The bottom line is that we need a condition that allows us to pull the coefficients a_m and b_m out of this sum:

[tex]\frac{a_0}{2}+\sum_{m=1}^{N-1}\left[a_m cos(2\pi mn/N)+b_m sin(2\pi mn/N)\right][/tex]

With continuous time we would just multiply by a cos or sin, and integrate over all time, but in the discrete case, we have to sum with respect to the N samples in time we are taking.
The sum above really appears to have non-orthogonal components. Wouldn't it be equivalent to just have the sum

[tex]\sum_{m=1}^{\left\lfloor \frac{N+1}{2}\right\rfloor[/tex]

since this sums over a maximal set of mutually orthogonal functions?
 

Similar threads

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