Hello,
1) Integrate (using trig substitution):
integral of: (sinx)^3(cosx)^5 dx
I broke it into:
integral: (sinx)^3(cosx)(1 - (sinx)^2)^2 dx
Let u = sinx
du = cosxdx
integral of: u^3(1 - u^2)^2 du
becomes integral of: u^3 - 2u^5 + u^7 du
= 1/4 * (sinx)^4 - 1/3 * (sinx)^6 + 1/8 * (sinx)^8 + C
However the 'correct' answer appears to be:
= 1/8 * (cosx)^8 - 1/6 * (cosx)^6 + C
I thought the different answer was just a result of using sinx instead of cosx for u. But if I pick random values for x, the answers do not output the same value.. so I think they must be different. I can't figure out where I went wrong in the problem I worked out above though.. can anyone identify where?
1) Integrate (using trig substitution):
integral of: (sinx)^3(cosx)^5 dx
I broke it into:
integral: (sinx)^3(cosx)(1 - (sinx)^2)^2 dx
Let u = sinx
du = cosxdx
integral of: u^3(1 - u^2)^2 du
becomes integral of: u^3 - 2u^5 + u^7 du
= 1/4 * (sinx)^4 - 1/3 * (sinx)^6 + 1/8 * (sinx)^8 + C
However the 'correct' answer appears to be:
= 1/8 * (cosx)^8 - 1/6 * (cosx)^6 + C
I thought the different answer was just a result of using sinx instead of cosx for u. But if I pick random values for x, the answers do not output the same value.. so I think they must be different. I can't figure out where I went wrong in the problem I worked out above though.. can anyone identify where?