If $k > 0$ how can the interchange between the summation and the integration for the following expression be formally justified:
$$\int_0^{\frac{\pi}{2}} \sum_{n = 0}^\infty \frac{(-1)^n (2k \cos x)^{2n}}{(2n + 1) \binom{2n}{n}} \, dx$$
My thoughts were to apply the following form of Fullini's theorem. It says that for general $f_n$, if $\int \sum |f_n| < \infty$ or $\sum \int |f_n| < \infty$, then $\int \sum f_n = \sum \int f_n$. Applying this result we have \begin{align} \int_0^{\frac{\pi}{2}} \sum_{n = 0}^\infty \left |\frac{(-1)^n (2k \cos x)^{2n}}{(2n + 1) \binom{2n}{n}} \right | \, dx &< \int_0^{\frac{\pi}{2}} \sum_{n = 0}^\infty \frac{(2k)^{2n}}{(2n + 1)\binom{2n}{n}} \, dx\\ &= \frac{\pi}{2} \sum_{n = 0}^\infty \frac{(2k)^{2n}}{(2n + 1)\binom{2n}{n}}\\ &= \frac{\pi}{2} \frac{\arcsin (k)}{k\sqrt{1 - k^2}} < \infty, \end{align} where the series expansion used can be found here. This result however is only valid for $|k| < 1$ whereas in my case $k > 0$.