Suppose $V$ is a complex inner product space. I want to prove that for any $x,y \in V$, we have the following identities:
$\langle x, y\rangle = \frac{1}{2\pi} \int_{0}^{2\pi} \|x + e^{it}y\|^2 e^{it}dt$
$\langle x, y\rangle = \frac{1}{N} \sum_{k=1}^{N} \|x + e^\frac{2\pi ik}{N}y\|^2 e^\frac{2\pi ik}{N},$ where $N \geq 3.$
I tried to use the polarization identity (and I still thnk is is the way to approach the problem), but I couldn't figure out the trick, so help would be highly appreciated.
\begin{align} &\frac{1}{N} \sum_{k=1}^{N}\|x + e^\frac{2\pi ik}{N}y\|^2 e^\frac{2\pi ik}{N}\\ &=\frac{1}{N} \sum_{k=1}^{N}\left(\|x\|^2+\|e^\frac{2\pi ik}{N}y\|^2+\langle x, e^\frac{2\pi ik}{N} y\rangle+\langle e^\frac{2\pi ik}{N} y,x\rangle\right)e^\frac{2\pi ik}{N}\\ &=\frac{1}{N} \sum_{k=1}^{N}(\|x\|^2+\|y\|^2)e^\frac{2\pi ik}{N}+\frac1N\sum_{k=1}^{N}\langle x, y\rangle e^\frac{-2\pi ik}{N}e^\frac{2\pi ik}{N}+\frac1N\sum_{k=1}^{N}\langle y, x\rangle e^\frac{2\pi ik}{N}e^\frac{2\pi ik}{N}\\ &=0+\frac1N\sum_{k=1}^{N}\langle x, y\rangle+0\\ &=\langle x, y\rangle \end{align} Some observations: