How do you integrate the following below?
\[\int\limits_{}^{}-cosx \cos ^{2}x\]
\[\cos^2(x) = 1-\sin^2(x)\]
Use that property to apply substitution-method.
\[\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\]
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?
and then i needed to integrate the right side... but doing that i do not get the correct answer.
\[\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.
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\]
which equals \[[(-\cos x) y']'=-\cos x \cos ^{2}\] then i just have to integrate both side right?
\[\large \left[(-\cos x)y\right]'=-\cos^3 x\]Yes, correct :) Looks good so far.
You accidentally had an extra prime on the y, i was just fixin that :3
opps yes... and then when i integrate the right side... i get \[-\sin x + \frac{ 1 }{ 3 }\sin ^{3} x\]
is that correct?
then dividing both sides by -cos x i get\[\frac{ -\sin x }{ -\cos x }+\frac{ \sin ^{3}x}{-3\cos x }\]
but that is way different than the answer i am given
ohhh opps and there is also a C/-cos x in there
I think I'm getting \[\large \sin x-\frac{1}{3}\sin^3x+C\]Way different? :O oh my
1/2 sin 2x + C cos x this is what the answer says
Hmmmmmm
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\]
OH OH OH i see the problem.
It was way back near the start, darn it!!!
\[\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.
ohh i just assumed it was just -cos x, so then this is not the case? what do you do with the negative then
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
ohhh so mu = sec x then
Yah looks like it :) That's where we'll end up getting all those extra cosines from.
i will attempt the calculation again.
so since it is now \[\int\limits_{?}^{?}\sec x \cos ^{2}x\ so i still use u=sin x
\[\large \left(y \sec x\right)'=\int\limits \sec x \cos^2x dx \quad = \quad \int\limits \cos x dx\]
Convert your secant into it's cosine equivalent, and you'll make a nice cancellation from there.
\[\large \int\limits \left(\frac{1}{\cos x}\right)\cos^2x dx\]
ohhh 1/cos x
and then once you divide by sec x, you convert it back to cos x and get cos x sin x + c cos x
Hmm yah that worked out nicely! :)
and then the sinx cosx = 1/2sin 2x
got it... awesome... thank you... only 15 more to go. ekks.
Join our real-time social learning platform and learn together with your friends!