Fairly complex trig integration

hanelliot
Messages
18
Reaction score
0

Homework Statement


\int dx/(cosx + cos3x)

Homework Equations





The Attempt at a Solution


Not sure if I'm doing this right.
1/cosx + cos3x = 1/2cosx * cos2x = cosx/cosx * 2cosxcos2x = cosx/2cos^2xcosx = (1/2)*(cosx)/[(1-sin^2x)(1-2sin^2x)]

then we let t = sinx and get \int dx/(cosx + cos3x) = 1/2 [1/(1-t^2)(1-2t^2)]dt

Any comments please..
 
Physics news on Phys.org
Please use more parentheses.

How did you get from the first expression to the second?
1/(cos(x) + cos(3x)) = 1/(2cos(x)cos(2x))
 
Mark44 said:
Please use more parentheses.

How did you get from the first expression to the second?
1/(cos(x) + cos(3x)) = 1/(2cos(x)cos(2x))
it was a hint given by a TA.. I plugged in few numbers and the relationship seems to hold?
 
It may be true, but you can't really prove that it is by merely plugging in a few numbers. In any case, it's not obvious, so you should put in the intervening steps.

\frac{1}{cosx + cos3x}= \frac{1}{2cosx cos2x}= \frac{cos x}{cosx * 2cosxcos2x} = \frac{cos x}{2cos^2xcosx }= \frac{cosx}{2(1-sin^2x)(1-2sin^2x)}

Here's what you posted in the first post, using tex tags.
Show how you get from the first expression to the second.
From the 2nd to the 3rd, you apparently multiplied by cos x /cos x, which is fine.
From the 3rd to the 4th is fine.
From the 4th to the 5th, I think you have an error.

Finally, in your integral, show the step where you make the substitution but before you actually integrate.
 
Thank you for your reply.. I worked out a new solution, can u see if anything's wrong?
<br /> \int \frac{dx} {cosx-cos3x} =<br /> \frac{1}{4} (-(\frac{1}{2}) cot(\frac{x}{2}) - ln(cos(\frac{x}{2}) - sin(\frac{x}{2})) + ln(cos(\frac{x}{2}) + sin(\frac{x}{2}) - (\frac{1}{2}) tan(\frac{x}{2})) + C<br />
 
hanelliot said:
Thank you for your reply.. I worked out a new solution, can u see if anything's wrong?
<br /> \int \frac{dx} {cosx-cos3x} =<br /> \frac{1}{4} (-(\frac{1}{2}) cot(\frac{x}{2}) - ln(cos(\frac{x}{2}) - sin(\frac{x}{2})) + ln(cos(\frac{x}{2}) + sin(\frac{x}{2}) - (\frac{1}{2}) tan(\frac{x}{2})) + C<br />
Why don't you check it yourself? If your answer is correct, its derivative ought to be your integrand. In my previous post I asked you to show how you got from the first expression to the next in your string of equalities, but you haven't done so.
 
Mark44 said:
Why don't you check it yourself? If your answer is correct, its derivative ought to be your integrand. In my previous post I asked you to show how you got from the first expression to the next in your string of equalities, but you haven't done so.
using identities:
cos(3x) = cos(2x+x) = cosx cos2x - sin^2x sinx
cos(x) = cos(2x-x) = cosx cos2x + sin^2x sinx

2nd term cancels out and we get 2cosxcos2x at the bottom. I got some help from my TA and solved it, thanks for your help!
 
hanelliot said:
using identities:
cos(3x) = cos(2x+x) = cosx cos2x - sin^2x sinx
cos(x) = cos(2x-x) = cosx cos2x + sin^2x sinx
I get
cos(3x) = cos(2x+x) = cosx cos2x - sin2x sinx
cos(x) = cos(2x-x) = cosx cos2x + sin2x sinx
So cos(x) - cos(3x) = cosx cos2x + sin2x sinx - cosx cos2x + sin2x sinx = 2sin(2x) sin(x)

That's not the same as what you show below...

hanelliot said:
2nd term cancels out and we get 2cosxcos2x at the bottom. I got some help from my TA and solved it, thanks for your help!
 
original question is actually cos(x) + cos(3x), not minus.. I made a mistake in post #5
 
Back
Top