Orthogonality of cosine and sine functions

Click For Summary

Discussion Overview

The discussion revolves around the orthogonality of cosine and sine functions, specifically examining the integrals of products of these functions over a specified interval. Participants seek intuitive explanations and mathematical justifications for the claims that the integrals of cos(nx) cos(mx) and sin(nx) sin(mx) equal zero when n is not equal to m.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants request a more intuitive understanding of the orthogonality of cosine and sine functions, particularly regarding the integrals being zero for different frequencies.
  • One participant suggests using graphical representations of the functions to gain insight into their orthogonality.
  • Another participant mentions that the orthogonality can be proven using exponential forms of sine and cosine, referencing integration techniques.
  • Some participants highlight the importance of the definite integral and the specific interval over which the integration is performed in establishing orthogonality.
  • A participant introduces the concept of eigenvectors of a differentiation operator as a theoretical argument for orthogonality, drawing parallels to linear algebra.
  • Another participant discusses the convolution of functions as a means to understand orthogonality, suggesting that the output of a linear time-invariant system with different frequency inputs would be zero.

Areas of Agreement / Disagreement

Participants express a range of views and approaches to understanding the orthogonality of sine and cosine functions, with no consensus reached on a single explanation or method. Multiple competing perspectives and interpretations remain present throughout the discussion.

Contextual Notes

Some participants note that the orthogonality relations depend on the specifics of the integral's limits and the definitions used, which may not be universally agreed upon.

zheng89120
Messages
139
Reaction score
0
Can someone give a more intuitive explanation on how it is (if it is true), that;

all cos (nx) cos (mx) = 0 if n!=m

or

all sin (nx) sin (mx) = 0 if n!=m

thanks
 
Physics news on Phys.org
zheng89120 said:
Can someone give a more intuitive explanation on how it is (if it is true), that;

all cos (nx) cos (mx) = 0 if n!=m

or

all sin (nx) sin (mx) = 0 if n!=m

thanks

Do you mean "explanation" in the algebraic sense? Note that

0exp(ikx)dx=0

if and only if k≠0. If k=0 then the integrand is 1 and the integral is 2π.

Then to prove the orthogonality relations just substitute the exponential forms for sine and cosine, i.e. cos(nx)=(exp(inx)+exp(-inx))/2 etc. and the result falls out.

BBB
 
zheng89120 said:
Can someone give a more intuitive explanation on how it is (if it is true), that;

all cos (nx) cos (mx) = 0 if n!=m

or

all sin (nx) sin (mx) = 0 if n!=m

thanks

Maybe you should graph a few of these curves against each other to get some intuitive graphical understanding of why these are the way they are.

In terms of algebra though, you just need a few applications of integration by parts.

If you want to understand the orthogonality and how it acts in situations like a filter, again use a mathematical package and use a few different filters: low-pass, high-pass, or some union of frequency domains. This should give you an intuitive idea of how the orthongality translates algebraicly to something that can be seen graphically.
 
You can also use trig identities.
cos(a+ b)= cos(a)cos(b)- sin(a)sin(b) and
cos(a- b)= cos(a)cos(b)+ sin(a)sin(b) so that

cos(a+ b)+ cos(a- b)= 2 cos(a)cos(b)

In particular, cos(mx)cos(nx)= (1/2)cos((n+m)x)+ (1/2)cos((n-m)x)

The integral of that will be, of course,
[tex]-\frac{1}{2(n+m)}sin((n+m)x)- \frac{1}{2(n- m)}sin((n-m)x)[/tex]
as long as [itex]n\ne m[/itex]. Integrating from 0 to [itex]2\pi[/itex] (I don't understand your "all" in the integral) those will be 0. If m= n, we have, since cos(0)= 1, cos^2(nx)= cos(2nx)+ 1 and the integral is NOT 0.

Similarly, if we subtract cos(a+b)= cos(a)cos(b)- sin(a)sin(b) from cos(a- b)= cos(a)cos(b)+ sin(a)sin(b), we get 2sin(a)sin(b)= cos(a- b)- cos(a+ b).

So sin(mx)sin(nx)= (1/2)cos((m-n)x)- cos((m+n)x) and the same thing happens.
 
It is interesting that nobody has pointed out that the orthogonality depends on it being a definite integral and the interval over which the integral is taken.
 
There are good conceptual ways of seeing this, I think, without really doing any calculations.

Unfortunately, my grasp of these things is tenuous, and I am pressed for time these days, so I can only indicate a few lines of investigation in this direction. So, this will be a fairly crappy response, but it is the best I can do at the moment. I'd love to be able to explore this fully. The point is that there are answers to the original question.

I think there is a nice proof that involves some representation theory.

It is given somewhere in here, but I don't suppose you would want to read this paper (kind of heavy stuff):

http://www.maths.mq.edu.au/~street/CT90Como.pdf

I believe maybe this proof can be applied to the present case (by someone with more knowledge and time on their hands than myself).

Another theoretical argument that might work is that cos x and sin x are eigenvectors of a differentiation operator. So, this fact is analogous to the fact that the eigenvectors of a Hermitian matrix are orthogonal. Here's a little intro to that sort of thing:

http://en.wikipedia.org/wiki/Differential_operator

So, that sometimes gives you a beautiful way to show that functions are orthogonal without calculating the integral that defines orthogonality. Although, I guess that integral is done indirectly when you prove that the operator is self-adjoint.

And there is a third explanation that I came up with myself when I was studying signal processing. If you take the convolution of the two functions, it vanishes. The orthogonality relations can be obtained as a special case of that. As it stands, the argument is sort of circular, but there's a reason why you would expect the convolution to be zero.

Convolution is what you do to find how a linear time invariant system will respond to a given input. You convolve the input with the impulse-response (which is the response when the input is a delta function). So you feed one sine wave into the system whose impulse reponse is a sine wave with a different frequency. If the system is linear and time invariant, you would expect the output to be a sine wave with the same frequency as the input. But convolution is actually a commutative operation, so you could switch the role of the input and impulse response and get the same result. So, I have argued that the output has one frequency one way and another frequency the other way. Contradiction. Only way out is for the output to be 0 (you're free to let the amplitude be 0), so you are done.
 

Similar threads

  • · Replies 139 ·
5
Replies
139
Views
12K
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
12K
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
2K