Evaluate $$\sum^{20}_{r=0} \binom{20}{r}\cos r \theta$$
To do this my initial thought was to set up an alternative series, $S$, $$S=\sum^{20}_{r=0} \binom{20}{r}\sin r \theta$$ If yoy let the original series be $C$, then $$C+iS = \sum^{20}_{r=0} \binom{20}{r}\cos r \theta + i\sum^{20}_{r=0} \binom{20}{r}\sin r \theta $$ Nw, I'm not sure how to get this into a ncie obvious looking form, but i am assuming it is equal to, $$C+iS = 1+20(\cos \theta + i\sin\theta) + \binom{20}{2}(\cos 2\theta + i\sin2\theta) + \cdots (\cos20\theta + i\sin20\theta)$$ $$C+iS = 1+20(\cos \theta + i\sin\theta) + \binom{20}{2}(\cos \theta + i\sin\theta)^2 + \cdots (\cos\theta + i\sin\theta)^{20}$$ $$C+iS = (1+(\cos\theta + i\sin\theta))^{20}$$ This is the point I didn't know where to continue from. All I know is that I want to get to a point where I can just take the real part which would be $C$. I know the answer is $$C=2^{20} \cos^{20}(\frac12\theta) \cos10\theta $$
Use this: $$1+\cos{\theta}+i\sin{\theta}=1+e^{i\theta}=2\cos{\frac{\theta}{2}}e^{i\frac{\theta}{2}}$$
Here is how to prove it:
$$1+e^{i\theta} =e^{i\frac{\theta}{2}}e^{-i\frac{\theta}{2}}+e^{i\frac{\theta}{2}}e^{i\frac{\theta}{2}}=e^{i\frac{\theta}{2}}(e^{i\frac{\theta}{2}}+e^{-i\frac{\theta}{2}})=2\cos{\frac{\theta}{2}}e^{i\frac{\theta}{2}}$$