An elementary solution of a weird intergal problem (Putnam 1985 A5)

Problem Let $I_{m} = \int^{2\pi}_{0} \cos(x)\cos(2x)\dots\cos(mx) dx$. For $m$ in $1, 2, \dots, 10$, for which $m$ is $I_m \neq 0$ ? Solution $I_m$ is non-zero if and only if $m \equiv 0, 3 \pmod{4}$. Main idea The official(seemingly? It is in the putnam problem book and a few solutions I found online do the same.) solution is to substitute $\cos x = \frac{e^{ix} + e^{-ix}}{2}$ followed by grouping the terms into $\cos x \cos (2x) \dots \cos (mx) = e^{\text{something}}$, and analyze the something....

April 5, 2025 · updated April 6, 2025 · 3 min ·  mathematics