Hello,

I have the following function I need to find an integral for:

sin(x)^3*cos(x)^5

I have done my way and got to this integral:

cos(x)^6/6 - cos(x)^8/8 +C

I checked the answer in my book and saw the answer was:

sin(x)^4/4 - sin(x)^6/3 + sin(x)^8/8 +C

I checked the answer in wolfram and got this:

Wolfram Mathematica Online Integrator
I understand each function has a infinite number of integrals, and they can be shown is many different ways.

But still, I cant find a reliable way to check if my answer is correct.

I would like to ask how do you deal with such a problem ?

Thanks a lot,

Michael.