Orthogonality of Cosine and Sine Functions: A Proof by Explicit Integration

  • Thread starter Thread starter Jack21222
  • Start date Start date
  • Tags Tags
    Cos Sin
Click For Summary
SUMMARY

The discussion centers on proving the orthogonality of sine and cosine functions through explicit integration. The integral from 0 to a of sin(m*pi*x/a)*cos(n*pi*x/a) equals zero when m+n is even, while for m+n odd, the result is -a*m/[(m^2-n^2)*pi]. The user verified their calculations using a TI-89 calculator and Mathematica, confirming consistent results. A correction from the professor clarified that the integral should include a factor of 2 in the argument, changing it to sin(m*2*pi*x/a)*cos(n*2*pi*x/a>.

PREREQUISITES
  • Understanding of integral calculus
  • Familiarity with trigonometric identities
  • Experience using mathematical software like Mathematica
  • Basic knowledge of LaTeX for mathematical notation
NEXT STEPS
  • Learn how to use LaTeX for mathematical expressions
  • Study the properties of orthogonal functions in Fourier series
  • Explore advanced integration techniques in calculus
  • Investigate the use of Mathematica for symbolic computation
USEFUL FOR

Students and educators in mathematics, particularly those focused on calculus and trigonometry, as well as anyone interested in the application of software tools for mathematical proofs.

Jack21222
Messages
209
Reaction score
1

Homework Statement



This would be easier if I knew how to use LaTeX, but I'll give it a shot.

Show by explicit integration that the following is true:

Integral from 0 to a of sin(m*pi*x/a)*cos(n*pi*x/a)=0

Homework Equations


The Attempt at a Solution



I've used an identity to change sin(m*pi*x/a)*cos(n*pi*x/a) into sin[(m+n)*pi*x/a]+sin[(m-n)*pi*x/a] and integrated each side. When I do this, m+n=even (including m=n), the answer is zero, but the answer is not zero for m+n=odd. Instead, I get -a*m/[(m^2-n^2)*pi]

So, I decided to check with my TI-89. When I enter the original problem into my TI-89, I get the same thing.

Mathematica tells me it equals -((a (-m + m Cos[m \[Pi]] Cos[n \[Pi]] +
n Sin[m \[Pi]] Sin[n \[Pi]]))/((m^2 - n^2) \[Pi])), which ends up reducing to the same thing. I tested Mathematica with m = 2 and n = 3, and it gave me -4a/(5*pi), which is the same as my TI-89 and the same as the answer I got by hand.

Is the question wrong?
 
Last edited:
Physics news on Phys.org
Are the arguments of the functions really [tex]\frac{m \pi x}{a}[/tex]?

Perhaps it should say [tex]\frac{m 2 \pi x}{a}[/tex]
 
Stephen Tashi said:
Are the arguments of the functions really [tex]\frac{m \pi x}{a}[/tex]?

Perhaps it should say [tex]\frac{m 2 \pi x}{a}[/tex]

I emailed the professor after posting this, and he came back with the correction that yes, it should have been 2*pi, not pi. He forgot the factor of 2.

Everything's correct now, thanks. If I had hair, I would have pulled it out over this. :-p
 

Similar threads

Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
Replies
2
Views
2K