I do not understand why for the two integrals below, the result is always 0 unless <mrow class="

Davin Fields

Davin Fields

Answered question

2022-05-26

I do not understand why for the two integrals below, the result is always 0 unless | k | = n , in which case the result is π / 2
0 π d θ cos k θ cos n θ 0 π d θ sin k θ sin n θ
I have tried using trigonometric identities to get a general solution but I had no luck understanding the nature of the integrals. If anyone can point out any hints or patterns, it would be much appreciated.

Answer & Explanation

vard6vv

vard6vv

Beginner2022-05-27Added 12 answers

I will show you how to do the first one. The second one is analogous.
Recall the trigonometric identity cos ( k θ ) cos ( n θ ) = 1 2 [ cos ( k n ) θ + cos ( k + n ) θ ] . Plugging this into the integral, you get
1 2 0 π [ cos ( k n ) θ + cos ( k + n ) θ ] d θ = 1 2 ( sin ( k n ) θ k n + sin ( k + n ) θ k + n ) | 0 π = 0
But, be careful that the above is valid only for | k | n , because otherwise you have 0 in the denominator and the expression is undefined. It is a fairly common mistake to forget this.
For k=n, we have that cos ( k θ ) cos ( n θ ) = 1 2 [ cos 0 + cos ( k + n ) θ ] = 1 2 [ 1 + cos ( 2 n θ ) ] . Evaluating the integral of this function you will get π / 2.
Similarly, for k=-n, we have that cos ( k θ ) cos ( n θ ) = 1 2 [ 1 + cos ( 2 n θ ) ] and the integral of this function again evaluates to π / 2.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?