Evaluate $\int \sin^{13}x\,dx$.
My solution so far:
$$\int\sin^{13}x\,dx=\int\sin x\sin^{12}x\,dx=\int\sin x(\sin^{2}x)^6\,dx$$
Let $t=\cos x$, then $dt=-\sin x\,dx$.
Now we have: $$\int\sin^{13}x\,dx=-\int(1-t^2)^6,\ dt$$.
How do I proceed from here? I need detailed answer.
Now, you can expand $(1-t^2)^6$ as follows $$(1-t^2)^6=(1-t^2)^3(1-t^2)^3$$ $$=(1-t^6+3t^4-3t^2)(1-t^6+3t^4-3t^2)$$ $$=t^{12}-6t^{10}+15t^{8}-20t^6+15t^4-6t^2+1$$, hence integrate as follows $$-\int (t^{12}-6t^{10}+15t^{8}-20t^6+15t^4-6t^2+1)\ dt$$ $$=-\frac{t^{13}}{13}+\frac{6t^{11}}{11}-\frac{5t^{9}}{3}+\frac{20t^6}{7}-3t^5+2t^3-t+C$$