Integration Homework: Finding Expression & Proving Result

VertexOperator
Messages
79
Reaction score
0

Homework Statement



Find an expression for

\cos 2\theta + \cos 4\theta + \cos 6\theta + \dots + \cos (2n\theta)

Hence prove that
\int_0^{\pi/2} \frac{\sin(2n+1)x}{\sin x} \ dx = \frac{\pi}{2}

Homework Equations



\cos 2\theta + \cos 4\theta + \cos 6\theta + \dots + \cos (2n\theta)
and
\int_0^{\pi/2} \frac{\sin(2n+1)x}{\sin x} \ dx = \frac{\pi}{2}

The Attempt at a Solution



I found an expression for \cos 2\theta + \cos 4\theta + \cos 6\theta + \dots + \cos (2n\theta) which was \sum_{k=1}^{n}1-2sin^{2}k\theta but couldn't continue because it doesn't look like the appropriate expression.
 
Last edited:
Physics news on Phys.org
VertexOperator said:

Homework Statement



Find an expression for

\cos 2\theta + \cos 4\theta + \cos 6\theta + \dots + \cos (2n\theta)

Hence prove that
\int_0^{\pi/2} \frac{\sin(2n+1)x}{\sin x} \ dx = \frac{\pi}{2}


Homework Equations



\cos 2\theta + \cos 4\theta + \cos 6\theta + \dots + \cos (2n\theta)
and
\int_0^{\pi/2} \frac{\sin(2n+1)x}{\sin x} \ dx = \frac{\pi}{2}

The Attempt at a Solution



I found an expression for \cos 2\theta + \cos 4\theta + \cos 6\theta + \dots + \cos (2n\theta) which was \sum_{k=1}^{n}1-sin^{2}k\theta but couldn't continue because it doesn't look like the appropriate expression.
What is 1 - sin2(u) ?
 
oh it should have been 1-2sin^2u
edited*
 
VertexOperator said:
oh it should have been 1-2sin^2u
edited*
cos(2u) = ?
 
SammyS said:
cos(2u) = ?

Yes, that is how I go 1-2sin^2(u) in the first place (because the integral had sin) but I don't see how it can help me evaluate the integral :(
 
Do you know the identity that cos θ= \frac{e^{iθ} + e^{-iθ}}{2}?
 
It seems helpful to use this identity to reduce the question to geometric progression, then what it takes is some computation.
 
Along the same lines as raopeng's hint, but a little bit less tedious:

##\cos 2x + \cos 4x + \cdots + \cos (2nx)## is equal to the real part of ##e^{2ix} + e^{4ix} + \cdots + e^{2nix}##
 
How does that help me do the integral though?
 
  • #10
If you calculate the sum correctly, it'll become clear.
 
  • #11
I have never learned how to express cis in terms of e so can you please give me a hint on how to do it?
Thank you!
 
  • #12
Not really sure what kind of hint you're looking for.
 
  • #13
How do I find the real part of e^2ix...
 
  • #14
Use Euler's formula, keeping in mind that ##x## is real.
 
  • #15
I get
e^2ix=cos2x+ison2x
e^4ix=cos4x+ison4x
.
.
.
e^nix=cosnx+isonnx

I still don't see how this can help with the integral :(
 
  • #16
Hint: ##e^{2ix} + e^{4ix} + \cdots + e^{2nix} = (e^{2ix})^1 + (e^{2ix})^2 + \cdots + (e^{2ix})^n##. You have a geometric progression on your hands, as raopeng noted earlier.
 
  • #17
Ok, so I get \frac{e^{ix}+e^{-ix}}{2} =cosx
\frac{e^{ix}-e^{-ix}}{2} =sinx
 
  • #18
How can I make use of these identities now?
 
  • #19
We're not here to spoon-feed you the solution. You need to show some initiative at solving the problem yourself.
 
  • #20
I know this is dumb but this is what I did :(
\int_{0}^{\frac{\pi }{2}}\frac{e^{i(2n+1)x}-e^{-i(2n+1)x}}{e^{ix}-e^{-ix}}dx
 
  • #21
I know, you are not allowed to solve the question form me but if the student is stuck shouldn't you give some hints? :(
 
  • #22
It is already very close! Remember we have the identity that sinθ=\frac{e^iθ-e^{-iθ}}{2i}, how does this relate to the integration you wrote?

BTW if you find such problems difficult, given that you haven't learned about Euler's Equation, it is perhaps more productive to have a better grasp of the material. It is indeed better than asking as it will improve your understanding on the topic a lot more. And all the joy of revelation after solving a problem will be the greatest when you figure it out completely on your own :)
 
  • #23
The denominator is equal to 2isinx and the numerator =2isin(2n+1)x?
How can I integrate the integral I have in post 20 though, it looks very hard :(
 
  • #24
yes and it would equal integrating a sum of cos because you just prove that these two expressions are equivalent. And integrating separately the cos in the series is an easy job.
 
  • #25
But why is
\int_{0}^{\frac{\pi }{2}}\frac{e^{i(2n+1)x}-e^{-i(2n+1)x}}{e^{ix}-e^{-ix}}dx
equal to the cos2x series? Isn't this the imaginary part of e^2ix+e^4ix+...+e^2nix and the cos2x series the real part?
 
Last edited:
  • #26
I haven't done the calculation myself, but you should, according to Euler's Equation, take the real part of the sum of exponential functions.
 
  • #27
Isn't the real part the cos2nx series?
 
  • #28
VertexOperator said:
I know, you are not allowed to solve the question form me but if the student is stuck shouldn't you give some hints? :(
We've given you hints, but for some reason, you've completely ignored them.
 
  • #29
I ignored some because Euler's formula isn't covered by the syllabus. Maybe we should use cis2x+(cis2x)^2+...+(cis2x)^n as a suitable geometric series.

I was able to do the integral without using the series but that isn't acceptable for this question.

Let I_n=\int_0^{\pi/2}\frac{\sin ((2n+1)x)}{\sin(x)}dx
we can use sum to products formula: \sin((2n+1)x)-\sin((2n-1)x)=2\sin(x)\cos(2nx) \therefore I_n=\int_0^{\pi/2} \frac{\sin((2n+1)x)}{\sin(x)}dx
=\int_0^{\pi/2} \frac{\sin((2n-1)x)}{\sin(x)}dx+2\int_0^{\pi/2}\cos(2nx)dx
The cosine integral is zero, so we have that I_n=I_{n-1}
By induction this implies that I_n=I_0=\pi/2
 
Back
Top