I need to prove that:
$$ \int^{\frac{\pi}{2}}_{0} \cos^n x \, \mathrm dx = \frac{n-1}{n} \int^{\frac{\pi}{2}}_{0} \cos^{n-2} x \, \mathrm dx$$
for $n \in \{\mathbb{N} > 2\}$
I know that the integrals will not disappear if we take a derivative of both sides of equation even though they are taken on interval with 0.
I thought therefore that the only / the easiest way to prove that must be through induction. I have the basis (for n = 3 we get):
$$ \int^{\frac{\pi}{2}}_{0} \cos^3 x \, \mathrm dx = \frac{2}{3} \int^{\frac{\pi}{2}}_{0} \cos x\, \mathrm dx$$ (integration of the LHS) $$\left[\sin x-\frac{1}{3}\sin^3 x\right]^{\frac{\pi}{2}}_0 = \frac{2}{3}\left[\cos x \right]^{\frac{\pi}{2}}_0 \to 1 - \frac{1}{3} = \frac{2}{3}$$
And that works. However, I don't know how to do the hard part of induction since I don't even see that type of simple regularity of changes in the integral of $cos(x)$ that would come with changes of $n$.
Therefore I'm not sure how to do the proof (which should be easy according to my book).