Trig substitution $\int x^3 \sqrt{1-x^2} dx$ $$\int x^3 \sqrt{1-x^2} dx$$
$x = \sin \theta $
$dx = \cos \theta d \theta$ 
$$\int \sin^3 \theta d \theta$$
$$\int (1 - \cos^2 \theta) \sin \theta  d \theta$$ 
$u = \cos  \theta$
$du = -\sin\theta d \theta$
$$-\int u^2 du$$
$$\frac{-u^3}{3} $$
$$\frac{\cos^3 \theta}{3}$$
With the triangle trick I get:
$$\frac{-\sqrt{1-x^2}^3}{3}$$
This is wrong but I am not sure where I went wrong.
 A: Let $x=\sin{\theta}$, then $dx = \cos{\theta} \, d\theta$; the integral becomes
$$\int d\theta \, \sin^3{\theta} \, \cos^2{\theta} = \int d\theta \, \sin^3{\theta} -\int d\theta \, \sin^5{\theta} $$
$$\int d\theta \, \sin^3{\theta} = \int d\theta \, \sin{\theta} (1-\cos^2{\theta}) = -\int d(\cos{\theta}) (1-\cos^2{\theta})= -\cos{\theta} + \frac13 \cos^3{\theta}+C$$
Similarly
$$\int d\theta \, \sin^5{\theta} = -\int d(\cos{\theta}) (1-\cos^2{\theta})^2 = -\cos{\theta} + \frac{2}{3} \cos^3{\theta}-\frac15 \cos^5{\theta}+C'$$
Subtracting the two, I get
$$\int d\theta \, \sin^3{\theta} \, \cos^2{\theta} = -\frac13 \cos^3{\theta}+\frac15 \cos^5{\theta}+C$$
Then use $x=\sin{\theta}$ and get
$$\int dx \, x^3 \, \sqrt{1-x^2} = \frac{1}{15} (3 x^4-x^2-2) \sqrt{1-x^2}+C$$
EDIT
I see that the answer can be simplified further to
$$-\frac{1}{15} (1-x^2)^{3/2} (3 x^2+2) + C$$
A: What about by integration by parts? It looks pretty simple:
$$u=x^2\;,\;\;u'=2x\\v'=x\sqrt{1-x^2}\;,\;\;v=-\frac13(1-x^2)^{3/2}$$
and thus
$$\int x^2\cdot x\sqrt{1-x^2}\,dx=-\frac13x^2(1-x^2)^{3/2}+\frac23\int x(1-x^2)^{3/2}dx=$$
$$-\frac13x^2(1-x^2)^{3/2}-\frac2{15}(1-x^2)^{5/2}+C$$
Note: We used above the following:
$$\int x(1-x^2)^k\,dx=-\frac12\int (-2x\,dx)(1-x^2)^k=-\frac12\frac{(1-x^2)^{k+1}}{k+1}\;\ldots$$
A: You can avoid all the trig by making a much simpler substitution:$$u^2=1-x^2$$so: $$x^2=1-u^2$$ $$ u= \sqrt{1-x^2}$$ $$2u du=-2xdx$$
Rewriting the integral, factoring out one $x$:$$\int x^3 \sqrt{1-x^2} dx=\int x^2 \sqrt{1-x^2} xdx=-\int (1-u^2) u^2 du$$Multiply out the integrand, integrate with the power formula term by term and substitute back for $x$...
