While reading a physics paper I came cross the following set of integrals.
$$\int_{-\pi/2}^{\pi/2} dx \, \sin^{2n} x $$
I tried using De Moivre identity but not sure about the conclusion:
$$ \int_{-\pi/2}^{\pi/2} dx \, \left(\frac{e^{ix} - e^{-ix}}{2}\right)^{2n} = \frac{1}{2^n} \int_{-\pi/2}^{\pi/2} dx \, \left(e^{2ix} + e^{-2ix} - 2 \right)^{n} $$
The idea is into integrate over the entire period take the middle term of the binomial expansion
\begin{eqnarray} \frac{1}{2^n} \int_{-\pi}^{\pi} dx \, \left(e^{ix} + e^{-ix} - 2 \right)^{n} &=& \frac{1}{2^n} \int_{-\pi}^{\pi} \sum_{k=0}^n dx \, (e^{ix} + e^{-ix})^k 2^{n-k} \binom{n}{k} \\ &=& \sum_{k=0}^n 2^{-k}\binom{2k}{k} \binom{n}{k} \end{eqnarray}
I couldn't find the correct page in the table of definite integrals. Can anyone help with the derivation and the correct formula?
$$ \int_0^{\pi/2} \sin^{2n} dx = \frac{1}{2^{2n}}\binom{2m}{m} \frac{\pi}{2} $$