I was wondering how one could show the following results:
- $|\sum_{n=1}^N (-1)^n \cos^2 (n+1)| \leq 1$ for all $N\ge 1$.
- There exists a real number $M$ so that $|\sum_{n=1}^N (-1)^n \cos(2(n+1))|\leq M$ and $|\sum_{n=1}^N \cos(2(n+1))|\leq M$ for all $N\ge 1$.
I know that $\cos (\theta) = \dfrac{e^{-i\theta} + e^{i\theta}}2$ for all $\theta,$ but I'm not sure how to prove the desired bounds since they involve $\cos$ taking integer values. And I know $\cos(2n) = 2\cos^2 n - 1$ for any real number $n$. But I can't seem to make much progress from here on.
Edit: For completeness, here's the computation for the case $N=2b$ (the case where $N=2b+1$ is similar):
We have $\begin{align} \sin(-1)\sum_{n=1}^b \sin(4n+1) &= \sin(-1) Im(\sum_{n=1}^b e^{i(4n+1)}) \\ &= \sin(-1)Im(\dfrac{e^{i(4b+5)} - e^{5i}}{e^{4i}-1})\\ &= \dfrac{\sin(-1)}{2-2\cos 4} Im(e^{i(4b+1)} - e^i - e^{i(4b+5)} + e^{5i})\\ &= \dfrac{\sin(-1)}{4\sin^2 2} (\sin(4b+1)-\sin(1) - \sin(4b+5) + \sin(5))\\ &= \dfrac{\sin(-1)}{4\sin^2 2} (2(\frac{1}2 (\sin 5 - \sin 1) - \frac{1}2 (\sin(4b+5) - \sin(4b+1))\\ &= \dfrac{\sin(-1)}{4\sin^2 2}(2\sin 2(\cos 3 - \cos (4b+3))\text{ using $\sin A \cos B = \frac{1}2 (\sin(A+B) - \sin(B-A))$}\\ &= \dfrac{\sin(-1)}{2\sin 2}(\cos 3 - \cos (4b+3))\\ &= \dfrac{\sin(-1)}{\sin 2} (\sin (2b)\sin(2b+3)) ( \end{align}$