Let $a_1, \dots ,a_n$ be arbitrary complex numbers. Define: $f \left( x \right)=\sum_{k=1}^{n}a_ke^{2 \pi ikx}$. I wish to show that there exists an $x\in\left[ 0,1 \right]$ s.t. $f \left( x \right)=0$.
What I tried:
It's pretty straightforward to show that $\int_0^1e^{2 \pi ikx}\mathrm{d}x=0 $ ($k\geq1$) and thus $\int_0^1f \left( x \right)\mathrm{d}x=\int_0^1\sum_{k=1}^{n}a_ke^{2 \pi ikx}\mathrm{d}x=0$. Now if we had the equivalent of the mean value theorem in complex analysis we'd be done. I tried to think of some way to apply the mean value property to yield similar results but I can't see how it might help.
Take $a_1 = 1$, $a_i = 0 \ \ \forall i\geq 2$ then $$f(x) = e^{2 \pi i x}$$ that is never zero.