Given $$G=1+k\cos \theta+k^2\cos(2\theta)+k^3\cos(3\theta)+\cdots,$$ what is the maximum value of $G$ ( where $k=\frac{1}{2}$)?
Now i have thinking about approaching this by using Euler equation $$\cos(\theta)+i\sin(\theta)=e^{i\theta},$$ what I am not getting is how do I take the series individually. Is this is a valid way of solving this or is there any other way to do this?
No need of complex numbers in the present case. Indeed, as $k = 1/2$ is positive and cosine is maximal when $\theta \in 2\pi\mathbb{Z}$ with $\cos\theta = 1$, the series equal $1 + k + k^2 + \ldots = \frac{1}{1-k} = 2$ at most.