Roots of Unity

The roots of z=1 are called roots of unity. The nth roots are evenly spaced around the circle of radius 1, starting with the first root at 1+0i. Putting this together with what we learned above, we see that the n nth roots of unity are given by
Exp[i 2kPi/n)], k=0, 1, 2, 3, . . ., n-1


  fifthroots=Table[N[Exp[I 2 k Pi/5]],{k,0,4}]


  points=Table[{Re[fifthroots[[i]]],Im[fifthroots[[i]]]},
      {i,1,5}]


  p5=ListPlot[points,DisplayFunction->Identity, 
    PlotStyle->{RGBColor[1,0,0],PointSize[.02]}];
  p6=PolarPlot[1,{t,0, 2 Pi},DisplayFunction->Identity];
  Show[p5,p6,DisplayFunction->$DisplayFunction, 
  AspectRatio->Automatic]

Another important aspect of the roots of unity is illustrated in the following:


  MatrixForm[fifthroots]


  MatrixForm[Table[fifthroots[[2]]^k,{k,1,4}]]

That is, if w is an nth root of unity, then so are w^2, w^3, . . . , w^(n-1).
This idea will be useful in working with the Fast Fourier Transform.

Up to Complex Numbers