What is the correct way to solve the integral of cos^5 x sin x?

  • Thread starter Thread starter DaleSwanson
  • Start date Start date
  • Tags Tags
    Integral Sin
DaleSwanson
Messages
350
Reaction score
2
When I did this problem I overlooked the fact that a u-sub of u=cos x would work fine. I ended up using the more complicated trig integrals rules and did this:
∫cos5 x sin x dx
∫(cos2 x)2 cos x sin x dx
∫(1 - sin2 x)2 cos x sin x dx
∫(sin5 x - 2 sin3 + sin x) cos x dx
with u = sin x, du = cos x dx this is a simple integral. However it gives me:
\frac{1}{6} sin^{6} x - \frac{1}{2} sin^4 x \frac{1}{2} sin^2 x
The correct answer is:
\frac{-cos^{6} x}{6}

Wolfram Alpha confirms that the final form of the integral I gave above still gives the correct answer. It also confirms that my answer isn't numerically equivalent to the correct answer. Also that my integration of the u-subed version is correct. Therefore, I must assume there was some mistake in the u-sub itself, either in the initial sub or the replacement after the integration. I cannot see where this mistake is though.

Just to be clear, I get the correct answer when I use the simpler u-sub of u = cos x, and I understand that is the preferred way to go about this problem. However, as far as I can tell the more complicated way I did it should have still produced a correct answer.
 
Physics news on Phys.org
DaleSwanson said:
When I did this problem I overlooked the fact that a u-sub of u=cos x would work fine. I ended up using the more complicated trig integrals rules and did this:
∫cos5 x sin x dx
∫(cos2 x)2 cos x sin x dx
You could have used a u substitution here as well with u=cos2x, du=-2cos(x)*sin(x) dx.
∫(1 - sin2 x)2 cos x sin x dx
And here with u=sin2x, du=2cos(x)*sin(x) dx.
∫(sin5 x - 2 sin3 + sin x) cos x dx
with u = sin x, du = cos x dx this is a simple integral. However it gives me:
\frac{1}{6} sin^{6} x - \frac{1}{2} sin^4 x \frac{1}{2} sin^2 x
I assume this last line is a typo and that you meant \frac{1}{6} sin^{6} x - \frac{1}{2} sin^4 x + \frac{1}{2} sin^2 x.
The correct answer is:
\frac{-cos^{6} x}{6}
Your more complicated answer is also correct.

You are forgetting the constant of integration. Your complex answer and the simple one differ by a constant.
 
D H said:
Your more complicated answer is also correct.

You are forgetting the constant of integration. Your complex answer and the simple one differ by a constant.

That possibility did occur to me briefly, but for some reason I quickly dismissed it. Thanks.
 
DaleSwanson said:
That possibility did occur to me briefly, but for some reason I quickly dismissed it. Thanks.
That constant of integration can always be written as c*1, but where "1" is written in an interesting way. A good start is to represent 1 as sin2x+cos2x. Cube this and simplify a bit and you will find a way to express one that applies to this problem, sin6x-3sin4x+3sin2x+cos6x.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top