From Complex Function Theory by Palka, an example shows for positive integers $n$ that $$\int_0^\pi \sin^{2n}t \; dt=\frac{\pi}{4}\binom{2n}{n}$$ using the Residue Thm, and I understood his derivation. But he went on to say that this can be found using familiar techniques, he mentions the substitution $u= \tan (t/2)$ and to do partial fractions.
I like attempting to evaluate integrals b/c they often involve clever tricks (that I usually can't think of, but appreciate once I see), so I wanted to give this one a try.
Using the suggested substitution
$$\cos t=2 \cos^2 \frac{t}{2}-1= \frac{2}{u^2+1}-1$$
and $2du= \sec^2(t/2)$ $\leftrightarrow$ $dt=2du/(u^2+1)$ (converting from tan to cos I drew a right triangle w/ legs 1 and $u$), so
$$ \begin{split}
\int_0^\pi \sin^{2n}t \; dt =& \int_0^\pi ( \sin^2t)^n \; dt= \int_0^\pi \big( \frac{1- \cos 2t}{2}\big)^n \; dt \\
=& \frac{1}{2^{n+1}}\int_0^{2 \pi}(1- \cos t)^n \; dt = \frac{1}{2^{n+1}}\int_{- \pi}^\pi (1- \cos t)^n \; dt \\
=& \frac{1}{2^{n+1}}\int_{- \infty}^\infty \big( 1- \frac{2}{u^2+1}+1 \big)^n \frac{2}{u^2+1}\; du \\
=& \int_{- \infty}^\infty \frac{u^{2n}}{(u^2+1)^{n+1}}\; du
\end{split}$$
but the integrand doesn't look any easier to deal with. How should I proceed from here? Partial fractions should result in a linear combination of terms $1/(u^2+1)^k$, so even assuming I can do the decomp for general $n$, I realize I don't know how to integrate it for $k \neq 1$.
Thanks a lot in advance for any help.