For all $n \in \mathbb{N} : n≥2$, I might add. $$I_n:=\int_{0}^{\pi}(\sin x)^ndx$$ $$I_n=\frac{n-1}{n}I_{n-2}$$
I've tried to rewrite $\int(\sin x)^ndx$ to the form $\int(\sin x)(\sin x)^{n-1}dx$ but then I don't get much further. Any advice on how to move forward would be appreciated.
The initial step is correct; assuming $n>1$, \begin{align} I_n &=\int_0^\pi (\sin x)^{n-1}\sin x\,dx \\ &=\Bigl[-(\sin x)^{n-1}\cos x\Bigr]_0^\pi +(n-1)\int_0^\pi (\sin x)^{n-2}\cos^2x\,dx\\ &=(n-1)\int_0^\pi (\sin x)^{n-2}(1-\sin^2x)\,dx\\ &=(n-1)\int_0^\pi (\sin x)^{n-2}\,dx- (n-1)\int_0^\pi (\sin x)^{n}\,dx\\[6px] &=(n-1)I_{n-2}-(n-1)I_n \end{align}