The n th roots of unity ------------------------------------------
These numbers are aptly named: given a nonzero integer n, the *nth roots of unity are all the complex numbers whose n th power equals 1. In other words, if we denote them by z, they satisfy the equation *z n* = 1.
For a given n, there are exactly n nth roots of unity. A short calculation in ℂ shows that they can be expressed using the complex exponential: for 0 ≤ kn − 1, they are the numbers zk=e2ikπn=cos(2kπn)+isin(2kπn).z_k = e^{\frac{2ik\pi}{n}} = \cos \left( \frac{2k\pi}{n} \right) + i \sin \left( \frac{2k\pi}{n} \right).
For example, if n = 2, both roots are real: unsurprisingly, we get 1 and −1.
For n = 3, they are known as the cube roots of unity: in the standard notation, they are 1, j=e2iπ3=12+i32j =e^{\frac{2i\pi}{3}} = - \frac{1}{2} + i \frac{\sqrt{3}}{2} and j2=e4iπ3=12i32j^2 = e^{\frac{4i\pi}{3}} = - \frac{1}{2} - i \frac{\sqrt{3}}{2} since j 2 is the square of j.