3

I am trying to do an integration problem but am running into a problem! My answer is different from what the solution says. My attempt:

Evaluate $$\int\cos^3x\sin^5 x\mathop{dx}$$

$\int\cos^3x\sin^5 x\mathop{dx}=(1-\cos^2 x)^2\sin x \cos ^3 x$

Then with u substitution, letting $u=\cos x \implies du=-\sin x \mathop{dx}$

which gives us

$-\int (1-u^2)^2\cdot u^3\mathop{du}=\int-u^3+2u^5+u^7=-(\cos^ 4 x)/4+(\cos^6 x)/3-(\cos ^8 x)/8 +C$

However the solution books says the answer is

$(\sin^6 x)/6-(\sin ^8 x)/8 +C$

  • 2
    It's quite possible that the answers are the same, at least up to a constant which can be absorbed into $C$. Try computing a definite integral and comparing the two answers. – carmichael561 Feb 17 '16 at 05:33
  • 1
    $\cos^3 x \sin^5 x = \cos x(1-\sin^2x)\sin^5x$ and then use the substitution, $u=\sin x$. – vnd Feb 17 '16 at 05:40

2 Answers2

7

They are equivalent, with different constants of integration; specifically, they differ by $1/24$. The proof of this I leave to you as an exercise, but a simple way to do it is to convert all the cosines in your expression to sines, via the circular identity $\sin^2 x + \cos^2 = 1$.

To figure out how the book got a different answer, note that instead of converting $\sin^4 x$ in terms of cosine, you could have also converted $\cos^3 x = (1-\sin^2 x)\cos x$, which leads to a simpler integrand--the one the book obtained.

heropup
  • 143,828
1

Let's see a simpler case: $$ \int 2\sin x\cos x\,dx $$ You have two choices: either do $u=\sin x$, so $\cos x\,dx=du$, and you get $$ \int 2u\,du=u^2+c=\sin^2x+c $$ or do $v=\cos x$, so $\sin x\,dx=-dv$, and you get $$ \int -2v\,dv=-v^2+c=-\cos^2x+c $$ Which one is right? Both, of course, but this doesn't mean you reached the false conclusion that $\sin^2x=-\cos^2x$.

The fact is that an antiderivative is only determined up to a constant, so what you can say is that $$ \sin^2x=-\cos^2x + k $$ for some constant $k$; you surely know that $k=1$, in this case.

Your problem is exactly the same. You happened to use the second substitution instead of the first one. Try and determine $k$ such that $$ -(\cos^ 4 x)/4+(\cos^6 x)/3-(\cos ^8 x)/8=(\sin^6 x)/6-(\sin ^8 x)/8 +k $$

Hint: evaluate at $0$ both expressions.

egreg
  • 244,946