$\textbf{1.}$ I was recently looking at a trigonometry textbook for revision and I found that the identities
$$\cos x+\cos\left(x+\frac{2\pi}3\right)+\cos\left(x+\frac{4\pi}3\right)=0$$ $$\sin x+\sin\left(x+\frac{2\pi}3\right)+\sin\left(x+\frac{4\pi}3\right)=0$$
can be very quickly proved using complex numbers by taking the real and the imaginary parts of:
$$e^{ix}(1+\omega+\omega^2)=0$$
where $\omega=e^{2\pi i/3}$, apart from the standard formulae for $\sum_{k=0}^n\sin(\alpha+k\beta)$ and $\sum_{k=0}^n\cos(\alpha+k\beta)$. I found this use of the cube roots of unity quite intriguing and found that this can be generalized as:
$$\sum_{k=0}^{n-1}\cos\left(x+\frac{2k\pi}{n}\right)=\sum_{k=0}^{n-1}\sin\left(x+\frac{2k\pi}{n}\right)=0$$
$\textbf{2.}$ In destructive interference of $n$ plane harmonic waves with the same amplitude, if the waves are considered in the order at which each wave reaches a fixed point in space, the phase difference between $2$ consecutive waves must be $\Delta\varphi=\frac{2\pi}{n}$. This is a consequence of the fact that the $n^{\text{th}}$ roots of unity are symmetrically distributed in the complex plane, since
$$\sum_{k=0}^{n-1}\text{cis}\left(\frac{2k\pi}{n}\right)=0$$ where $\text{cis}\theta=e^{i\theta}$.
For example, when $n=5$:
$\textbf{3.}$ The general solution of the differential equation $$\frac{\mathrm d^ny}{\mathrm dx^n}=y$$ is $$y=\sum_{k=1}^{n}C_ke^{\text{cis}\left(\frac{2k\pi}{n}\right)x}$$
where $C_1, C_2,\cdots C_n$ are arbitrary constants.
I find this particularly interesting since apparently at the first glance, the ODE seems to have nothing to do with the roots of unity.
This can be proved by letting $y=e^{rx}$ which yields the result $r^n=1$, from which it is imminent for the $n^{\text{th}}$ roots of unity to appear in the general solution.
Are there any other interesting uses of the $n^\text{th}$ roots of unity?
