Roots of Unity
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