My task is to find the real Fourier series for $ f(x)=\cos(x)^n$.
What I did so far: I set $z = e^{ix}$ and $cos(x) = \frac{z+z^{-1}}{2}$
With that I came to to following: $$cos(x)^n = \frac{1}{2^n}(z+z^{-1})^n$$
Now I only need to find a series representation of this. Which turned out harder than I thought. I came to something like this: $$\frac{1}{2^n}(z+z^{-1})^n=\frac{1}{2^n}\sum_{k=0}^n\binom{n}{k}z^{n-k}z^{-k}$$
But now I struggle to simplify this to some. Can someone help me simplify this to some sort of cosine equation? Or am I missing a point?