I was trying to calculate $$\int \frac{x^3}{\sqrt{1-x^8}}dx$$
Here is what I did:
Let $u=x^4$
Then $du=4x^3dx$
Therefore we get: $\int \frac{\frac14du}{\sqrt{1-u^2}}$
Let $u=\sin \theta$,
Then $du=\cos\theta d\theta$
Therefore we get $\frac14 \int \frac{\cos\theta d\theta}{\sqrt {cos^2\theta}}$
I was expecting to results because $\sqrt {\cos^2\theta}=\pm \cos\theta$
If $\sqrt {\cos^2\theta}=\cos\theta$,
then we have the result $\frac14\sin^{-1}(x^4)+c$,
If $\sqrt {\cos^2\theta}=-\cos\theta$,
then we have the result $-\frac14\sin^{-1}(x^4)+c$.
Differentiating the first one, we get back to the function under the integral sign, but differentiating the second one, what we get is the function under the integral sign with a minus sign.Could somebody tell me where I did it wrong please?