Skip to main content
Engineering LibreTexts

2.5: Roots of Unity and Related Topics

  • Page ID
    9958
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    The complex number \(z=e^{j2π/N}\) is illustrated in Figure \(\PageIndex{1}\). It lies on the unit circle at angle \(θ=2π/N\). When this number is raised to the nth power, the result is \(z^n=e^{j2πn/N}\). This number is also illustrated in Figure \(\PageIndex{1}\). When one of the complex numbers \(e^{j2πn/N}\) is raised to the Nth power, the result is

    \[(e^{j2πn/N})^N=e^{j2πn}=1 \nonumber \]

    ComplexNumber4.5.PNG
    Figure \(\PageIndex{1}\): The Complex Numbers \(e^{j2π/N}\) and \(e^{j2πn/N}\)

    We say that \(e^{j2πn/N}\) is one of the \(N\)th roots of unity, meaning that \(e^{j2πn/N}\) is one of the values of \(z\) for which

    \[z^N−1=0 \nonumber \]

    There are \(N\) such roots, namely,

    \[e^{j2πn/N},n=0,1,...,N−1 \nonumber \]

    As illustrated in the Figure \(\PageIndex{2}\), the 12th roots of unity are uniformly distributed around the unit circle at angles \(2πn/12\). The sum of all of the \(N\)th roots of unity is zero:

    \[S_N=\sum_{n=0}^{N−1}e^{j2πn/N}=0 \nonumber \]

    This property, which is obvious from the Figure, is illustrated in Figure, where the partial sums \(S_k=\sum_{n=0}^{k−1} e^{j2πn/N}\) are plotted for \(k=1,2,...,N\).

    RootsOfUnity.PNG
    Figure \(\PageIndex{2}\): Roots of Unity

    These partial sums will become important to us in our study of phasors and light diffraction in "Phasors" and in our discussion of filters in "Filtering".

    UnityRootsPartialSums.PNG
    Figure \(\PageIndex{3}\): Partial Sums of the Roots of Unity

    Geometric Sum Formula

    It is natural to ask whether there is an analytical expression for the partial sums of roots of unity:

    \[S_k=\sum_{n=0}^{k−1}e^{j2πn/N} \nonumber \]

    We can imbed this question in the more general question, is there an analytical solution for the “geometric sum”

    \[S_k=\sum_{n=0}^{k−1}z^n? \nonumber \]

    The answer is yes, and here is how we find it. If \(z=1\), the answer is \(S_k=k\). If \(z≠1\), we can premultiply \(S_k\) by \(z\) and proceed as follows:

    \[\begin{align*} zS_k &=\sum^{k−1}_{n=0}z^{n+1}=\sum^k_{m=1}z^m \\[4pt] &=\sum^{k−1}_{m=0}z^m+z^k−1 \\[4pt] &=S_k+z^k−1 \end{align*} \nonumber \]

    From this formula we solve for the geometric sum:

    \[S_k=\begin{matrix}\frac {1−z^k} {1−z} & z≠1\\k & z=1\end{matrix} \nonumber \]

    This basic formula for the geometric sum \(S_k\) is used throughout electromagnetic theory and system theory to solve problems in antenna design and spectrum analysis. Never forget it.

    Exercise \(\PageIndex{1}\)

    Find formulas for \(S_k=\sum_{n=0}^{k−1}e^{jnθ}\) and for \(S_k=\sum_{n=0}^{k−1}e^{j2π/Nn}\).

    Exercise \(\PageIndex{2}\)

    Prove \(\sum_{n=0}^{N−1}e^{j2πn/N}=0\).

    Exercise \(\PageIndex{3}\)

    Find formulas for the magnitude and phase of the partial sum \(S_k=\sum_{n=0}^{k−1}e^{j2πn/N}\).

    Exercise \(\PageIndex{4}\)

    (MATLAB) Write a MATLAB program to compute and plot the partial sum \(S_k=\sum_{n=0}^{k−1}e^{j2πn/N}\) for \(k=1,2,...,N\). You should observe the last Figure.

    Exercise \(\PageIndex{5}\)

    Find all roots of the equation \(z^3+z^2+3z−15=0\).

    Exercise \(\PageIndex{6}\)

    Find \(c\) so that \((1+j)\) is a root of the equation \(z^{17}+2z^{15}−c=0\).


    This page titled 2.5: Roots of Unity and Related Topics is shared under a CC BY 3.0 license and was authored, remixed, and/or curated by Louis Scharf (OpenStax CNX) via source content that was edited to the style and standards of the LibreTexts platform.