Given that $n\in\mathbb{Z}$, for any $\theta\in\mathbb{R}$, prove that $$\sum^n_{k=0}\binom{n}k\cos\big((n-2k)\theta\big)=2^n\cos^n\theta\,.$$
I tried to finish the proof by Mathematical Induction. However, when I want to prove the case $P(k+1)$ is true, I am stucked.
I assumed that $P(m)$ is true for some positive integer $m$.
I don't know how to prove $2^m\cos^m\theta+\cos(m+2)\theta=2^{m+1}\cos^{m+1}\theta$
Can anyone help me? Thanks.
I don't follow your induction argument.
I see another route:
$$\sum_{k=0}^n \binom{n}{k} \cos{(n-2k) \theta} = \text{Re}\left\{\sum_{k=0}^n \binom{n}{k} e^{i(n-2k)\theta}\right\} = \text{Re}\{(e^{i\theta} + e^{-i\theta})^n\}$$
I have used binomial theorem in the last step.