Prove that $$ \prod_{k=0}^{n-1}(z-\mathrm{e}^{2k\pi i/n})=z^n-1. $$ In my some problem I have used $$ \prod_{k=0}^{7}(z-\mathrm{e}^{2k\pi i/8})=z^8-1. $$ I have verified this.
So I think in general the following will be true $$ \prod_{k=0}^{n-1}(z-\mathrm{e}^{2k\pi i/n})=z^n-1. $$
Can someone help me to prove this general relation?
Thanks.
Clearly, each of the $n$ DISTINCT complex numbers $$ \lambda_k=\exp\left(\frac{2k\pi i}{n}\right), \quad k=1,\ldots,n, $$ is a root of the polynomial $$ p(z)=z^n-1. $$ Hence, as we have found $n$ DISTINCT roots of $p$, which is a polynomial of degree $n$, then we can analyze $p$ as $$ p(z)=(z-\lambda_1)\cdots (z-\lambda_n)=\prod_{j=1}^n\left(z-\exp\left(\frac{2j\pi i}{n}\right)\right). $$