Ask your own question, for FREE!
Mathematics 18 Online
OpenStudy (anonymous):

How do you integrate the following below?

OpenStudy (anonymous):

\[\int\limits_{}^{}-cosx \cos ^{2}x\]

OpenStudy (abb0t):

\[\cos^2(x) = 1-\sin^2(x)\]

OpenStudy (abb0t):

Use that property to apply substitution-method.

OpenStudy (anonymous):

\[\cos ^2(x)\] can be rewritten as \[1 - \sin ^2 (x)\] which gives you \[\int\limits_{}^{}-cosx(1-\sin^2x)\] Multiply it out \[\int\limits_{}^{}-cosx + cosxsin^2x\] Separate into two integrals \[\int\limits_{}^{}-cosx + \int\limits_{}^{}cosxsin^2x\] The first integral becomes \[-sinx\] The second integral requires u-substitution Let u = sinx and du = cosxdx Then the integral becomes \[\int\limits_{}^{} u^2du\] And when we integrate that, we get \[u^3/3\] Plug sinx back in for u to get \[\sin^3(x)/3\] Add this second integral to the first one to get \[\sin^3(x)/3 - sinx\]

OpenStudy (anonymous):

okay maybe i messed up my work before I got to that... the original problem states... Find the general solution of \[y'-y \tan x = \cos ^{2} x\] and what I had was \[y(-\cos x)=\int\limits_{}^{}-\cos x \cos ^{2}x\] is that wrong?

OpenStudy (anonymous):

and then i needed to integrate the right side... but doing that i do not get the correct answer.

zepdrix (zepdrix):

\[\large y'+(-\tan x)y=\cos^2x\] \[\huge \mu=e^{\int\limits -\tan x dx}\]\[\huge \mu=e^{\ln|\cos x|} \qquad \rightarrow \qquad \mu=\cos x\] I think u missed the negative sign at the start. The rest looks good though.

OpenStudy (anonymous):

my fault... it was supposed to be \[y'+y \tan x = \cos ^{2} x\] but then i would still get \[\mu = -\cos x\] then when i multiple by mu i get\[y'(-\cos x) -\cos x \tan x = - \cos x \cos ^{2}x\]

OpenStudy (anonymous):

which equals \[[(-\cos x) y']'=-\cos x \cos ^{2}\] then i just have to integrate both side right?

zepdrix (zepdrix):

\[\large \left[(-\cos x)y\right]'=-\cos^3 x\]Yes, correct :) Looks good so far.

zepdrix (zepdrix):

You accidentally had an extra prime on the y, i was just fixin that :3

OpenStudy (anonymous):

opps yes... and then when i integrate the right side... i get \[-\sin x + \frac{ 1 }{ 3 }\sin ^{3} x\]

OpenStudy (anonymous):

is that correct?

OpenStudy (anonymous):

then dividing both sides by -cos x i get\[\frac{ -\sin x }{ -\cos x }+\frac{ \sin ^{3}x}{-3\cos x }\]

OpenStudy (anonymous):

but that is way different than the answer i am given

OpenStudy (anonymous):

ohhh opps and there is also a C/-cos x in there

zepdrix (zepdrix):

I think I'm getting \[\large \sin x-\frac{1}{3}\sin^3x+C\]Way different? :O oh my

OpenStudy (anonymous):

1/2 sin 2x + C cos x this is what the answer says

zepdrix (zepdrix):

Hmmmmmm

zepdrix (zepdrix):

The book clearly applied the Sine Double Angle formula. So if we undo that, we're trying to get to an answer of, \[\large y=\sin x \cos x+ C \cos x\]

zepdrix (zepdrix):

OH OH OH i see the problem.

zepdrix (zepdrix):

It was way back near the start, darn it!!!

zepdrix (zepdrix):

\[\large \int\limits \tan x dx=-\ln |\cos x|\] \[\huge e^{- \ln|\cos x|}\]We are NOT allowed to cancel the base e and the log since the negative is in the way. We must bring the negative into the log first.

OpenStudy (anonymous):

ohh i just assumed it was just -cos x, so then this is not the case? what do you do with the negative then

zepdrix (zepdrix):

Remember your rule of logs? You can bring the constant multiplier INTO the log as an exponent.\[-\ln(\cos x) \qquad = \qquad \ln\left(\frac{1}{\cos x}\right) \qquad = \qquad \ln(\sec x)\] I brought the negative one in as a power. I didn't want to write it as cos^-1 x since it's easi to confuse that with the inverse trig function :) lol

OpenStudy (anonymous):

ohhh so mu = sec x then

zepdrix (zepdrix):

Yah looks like it :) That's where we'll end up getting all those extra cosines from.

OpenStudy (anonymous):

i will attempt the calculation again.

OpenStudy (anonymous):

so since it is now \[\int\limits_{?}^{?}\sec x \cos ^{2}x\ so i still use u=sin x

zepdrix (zepdrix):

\[\large \left(y \sec x\right)'=\int\limits \sec x \cos^2x dx \quad = \quad \int\limits \cos x dx\]

zepdrix (zepdrix):

Convert your secant into it's cosine equivalent, and you'll make a nice cancellation from there.

zepdrix (zepdrix):

\[\large \int\limits \left(\frac{1}{\cos x}\right)\cos^2x dx\]

OpenStudy (anonymous):

ohhh 1/cos x

OpenStudy (anonymous):

and then once you divide by sec x, you convert it back to cos x and get cos x sin x + c cos x

zepdrix (zepdrix):

Hmm yah that worked out nicely! :)

OpenStudy (anonymous):

and then the sinx cosx = 1/2sin 2x

OpenStudy (anonymous):

got it... awesome... thank you... only 15 more to go. ekks.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!