Integration with Trig (Calc 2)

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
demersal
Messages
41
Reaction score
0

Homework Statement


[tex]\int[/tex][tex]\frac{(sin x)^{3}}{(cos x)}[/tex]dx


Homework Equations


Trigonometric identities


The Attempt at a Solution


[tex]\int[/tex][tex]\frac{(sin x)^{2}}{(cos x)}(sin x)[/tex]dx

[tex]\int[/tex][tex]\frac{1-(cos x)^{2}}{(cos x)}(sin x)[/tex]dx

u = cos x
du = -sin x dx

- [tex]\int[/tex][tex]\frac{1-(u)^{2}}{(u)}[/tex]du

Where do I go from here? I am kind of stuck. Can I just simply split the two up, as in 1/u - u^2/2? I think I tried that and end up with the wrong answer. Thanks in advance for the advice!
 
Physics news on Phys.org
Oops! I had the - on my paper, I forgot it in transferring it :smile: I will edit that now!

But the answer I am getting is not equal to the answers those online integral calculators are showing. Here is my work:

= - [tex]\int[/tex]du/u + [tex]\int\frac{u^{2}}{u}[/tex]du
= - ln u + (1/2)u[tex]^{2}[/tex] + c
= - ln (cos x) + ((cos x)^2)/2 + c

Am I making some sort of elementary mistake?
 
demersal said:
Oops! I had the - on my paper, I forgot it in transferring it :smile: I will edit that now!

But the answer I am getting is not equal to the answers those online integral calculators are showing. Here is my work:

= - [tex]\int[/tex]du/u + [tex]\int\frac{u^{2}}{u}[/tex]du
= - ln u + (1/2)u[tex]^{2}[/tex] + c
= - ln (cos x) + ((cos x)^2)/2 + c

Am I making some sort of elementary mistake?

That's perfectly fine. Differentiate it to make sure. Now take one on the online integrator solutions and do the same. There's lots of different ways to write the result that only differ by a constant. For example instead of cos(x)^2/2 you could put -sin(x)^2/2. They only differ by a constant.
 
Thanks, Dick! It did work. I feel very silly for not thinking of doing that myself!