For the sake of curiosity, does anyone know what $\sup\limits_{n \in \mathbb{N}} \sum\limits_{k=0}^n \cos(k)$ or $\sup\limits_{n \in \mathbb{N}} \sum\limits_{k=0}^n \sin(k)$ are? It is pretty easy to see that both partial sums are bounded, but I don't even have a clue as to what their respective supremums should be. Definitely something not too large.
-
1The both have closed form. See this. – dezdichado May 08 '17 at 04:05
-
3Do you mean $\cos(k)$ and $\sin(k)$? – May 08 '17 at 04:10
-
The question is about $\sum cos(n)$ not $\sum cos(nx)$. – Marcos TV May 08 '17 at 04:13
-
3^You can simply substitute $x = 1$. – JimmyK4542 May 08 '17 at 04:14
-
(I think this will work out) To find $\sup \sum cos(n)$, use the closed form of the sums to solve $\sum \sin(n) = 0$ for $n$ and then apply the floor function to this $n$ to get the value at which the supremum for $\sum cos(n) $ occures – infinitylord May 08 '17 at 04:29
1 Answers
As shown in the link that dezdichado gave in the comments, we can write
$\displaystyle\sum_{k = 0}^{n}\cos(k) = \sum_{k = 0}^{n}\dfrac{\cos(k)\sin (\tfrac{1}{2})}{\sin (\tfrac{1}{2})} = \sum_{k = 0}^{n}\dfrac{\sin(\tfrac{k+1}{2})-\sin(\tfrac{k-1}{2})}{2\sin (\tfrac{1}{2})}$
$= \dfrac{\sin(\tfrac{n+1}{2})-\sin (-\tfrac{1}{2})}{2\sin (\tfrac{1}{2})} = \dfrac{\sin(\tfrac{n+1}{2})+\sin (\tfrac{1}{2})}{2\sin (\tfrac{1}{2})}$
and
$\displaystyle\sum_{k = 0}^{n}\sin(k) = \sum_{k = 0}^{n}\dfrac{\sin(k)\sin (\tfrac{1}{2})}{\sin (\tfrac{1}{2})} = \sum_{k = 0}^{n}\dfrac{\cos(\tfrac{k-1}{2})-\sin(\tfrac{k+1}{2})}{2\sin (\tfrac{1}{2})}$
$= \dfrac{\cos(-\tfrac{1}{2})-\cos(\tfrac{n+1}{2})}{2\sin (\tfrac{1}{2})} = \dfrac{\cos(\tfrac{1}{2})-\cos(\tfrac{n+1}{2})}{2\sin (\tfrac{1}{2})}$.
You can prove that $\displaystyle\sup_{n \in \mathbb{N}}\sin(\tfrac{n+1}{2}) = 1$ and $\displaystyle\inf_{n \in \mathbb{N}}\cos(\tfrac{n+1}{2}) = -1$ using arguments similar to what is discussed here.
Combining those results gives $\displaystyle\sup_{n \in \mathbb{N}}\sum_{k = 0}^{n}\cos(k) = \dfrac{1}{2\sin(\tfrac{1}{2})}+\dfrac{1}{2}$ and $\displaystyle\sup_{n \in \mathbb{N}}\sum_{k = 0}^{n}\sin(k) = \dfrac{\cos(\tfrac{1}{2})+1}{2\sin (\tfrac{1}{2})}$.

- 54,331