next up previous
Next: The Discrete Fourier Transform Up: Fast Polynomial Multiplication based on Previous: Fast Polynomial Multiplication based on

Primitive roots of unity

Let us recall that an element a $ \in$ R is a zero divisor if a $ \neq$ 0 and there exists b $ \in$ R such that a b = 0 and b $ \neq$ 0.

Let us recall also that because the ring R has a unit 1 then there is a map

$\displaystyle \mbox{${\mathbb Z}$}$ $\displaystyle \longmapsto$ R
n $\displaystyle \longmapsto$ n 1R
(1)

which allows to talk of an integer as an element of R. However a nonzero integer n may become 0R. For instance every multiple of p becomes 0 in $ \mbox{${\mathbb Z}$}$/p$ \mbox{${\mathbb Z}$}$.

Observe also the ring R may contain nonzero elements that are neither zero divisor, nor units. For instance in the ring of square matrices of order 2 with integer coefficients the matrix $ \left(\vphantom{ \begin{array}{cc} 1 & 2 \\  0 & 3 \end{array} }\right.$$ \begin{array}{cc} 1 & 2 \\  0 & 3 \end{array}$$ \left.\vphantom{ \begin{array}{cc} 1 & 2 \\  0 & 3 \end{array} }\right)$ is nonsingular but has no inverse (right or left). But this is not a good example since we limit ourselves to commutative rings. So consider instead the following example.

Example 1   Let R = $ \mbox{${\mathbb Z}$}$/6$ \mbox{${\mathbb Z}$}$ and let U = R[x] be the ring of univariate polynomials over R. The ring U has units (for instance the constant polynomial 5), it has zero divisors (for instance the polynomial 2x + 4 since 3(2x + 4) = 0) and also elements like x + 1 which is not a unit nor a zero divisor.

Why do we need to take such exotic examples? Because among the rings you are familiar with, this is the simplest example of ring having zero divisors, units and nonzero elements that are not zero divisors or units. Indeed our usual rings are $ \bf k$[x] where $ \bf k$ is a field and the residue class ring $ \mbox{${\mathbb Z}$}$/m$ \mbox{${\mathbb Z}$}$ (with m > 1 not necessarily prime). The ring $ \bf k$[x] has no zero divisors whereas $ \mbox{${\mathbb Z}$}$/m$ \mbox{${\mathbb Z}$}$ has zero divisors iff m is not prime. But for every non prime m the ring $ \mbox{${\mathbb Z}$}$/m$ \mbox{${\mathbb Z}$}$ consists only of zero, units and zero divisors. This follows from the proposition below. This is why we were led to the $ \mbox{${\mathbb Z}$}$/6$ \mbox{${\mathbb Z}$}$[x] example.

Proposition 1   Let E be an Euclidean domain and m an element of E with m $ \neq$ 0 and m $ \neq$ 1. Consider the residue class ring R = E/$ \langle$m$ \rangle$ where $ \langle$m$ \rangle$ denotes the ideal generated by m. Then every element of R is either zero, a zero divisor or a unit.

Proof. Studying the elements of R (for deciding if they are null, zero divisors or units) can be done by studying the a mod m for every a $ \in$ E. So let a be in E. If a is a multiple of m then a $ \equiv$ 0 mod m. Assume from now on that a is not a a multiple of m. Consider g the gcd of a and m together with the Bezout relation

u a + v m  =  g (2)

Observe that u mod m cannot be zero (otherwise g mod m would be zero and m would divide g and thus a). If g = 1 then u a $ \equiv$ 1 mod m and this shows a mod m is a unit of R. The same result holds if g is a unit. Assume from now on that g is not a unit. Since g divides a and m let a' and m' be such that

a  =  g a'    and    m  =  g m' (3)

Observe that m'mod m is not zero (otheriwse m' would write m' = m''m leading to the contradiction g m'' = 1). We have

m' a  =  m' g a'  =  m a' $\displaystyle \equiv$ 0 mod m (4)

This shows that a mod m is a zero divisor of R. Yes, this was that simple! $ \qedsymbol$

Definition 1   Let n be a positive integer and $ \omega$ $ \in$ R.
  1. $ \omega$ is a n-th root of unity if $ \omega^{{n}}_{{}}$ = 1.
  2. $ \omega$ is a primitive n-th root of unity if
    1. $ \omega^{{n}}_{{}}$ = 1,
    2. n is a unit in R,
    3. for every prime divisor t of n the element $ \omega^{{{n/t}}}_{{}}$ - 1 is neither zero nor a zero divisor.

Remark 1   When R is an integral domain the last condition of Definition 1 becomes: for every prime divisor t of n the element $ \omega^{{{n/t}}}_{{}}$ $ \neq$ 1. Observe also that a n-th root of unity is necessarily a unit.

Example 2   Consider that R is the field $ \mbox{${\mathbb C}$}$ of complex numbers. The number $ \omega$ = e$\scriptstyle \imath$$\scriptstyle \pi$/8 is a a primitive 8-th root of unity.

Example 3   In R = $ \mbox{${\mathbb Z}$}$/8$ \mbox{${\mathbb Z}$}$ we have 32 $ \equiv$ 1. However 3 is not a primitive 2-th of unity, since n = 2 is not a unit in R.

Example 4   In R = $ \mbox{${\mathbb Z}$}$/17$ \mbox{${\mathbb Z}$}$ we have the following computation in AXIOM
(1) -> R := PF(17)

   (1)  PrimeField 17
                                                Type: Domain
(2) -> w: R := 3

   (2)  3
                                          Type: PrimeField 17
(3) -> [w^i for i in 0..16]

   (3)  [1,3,9,10,13,5,15,11,16,14,8,7,4,12,2,6,1]
                                       Type: List PrimeField 17
(4) -> u: R := 2

   (4)  2
                                            Type: PrimeField 17
(5) -> [u^i for i in 0..16]

   (5)  [1,2,4,8,16,15,13,9,1,2,4,8,16,15,13,9,1]
                                        Type: List PrimeField 17
The first list shows that 3 is a primitive 16-th root of unity. However with $ \omega$ = 2 we have $ \omega^{{8}}_{{}}$ - 1 = 0 since (24 - 1)(24 + 1) = 15×17 $ \equiv$ 0.

Lemma 1   Let 1 < $ \ell$ < n be integers and let $ \omega$ be a primitive n-th root of unity. Then we have
  1. $ \omega^{{{\ell}}}_{{}}$ - 1 is neither zero nor a zero divisor in R,
  2. $ \Sigma_{{{0 \, \leq \, j \, < \, n}}}^{{}}$ $ \omega^{{{j \, {\ell}}}}_{{}}$ = 0.

Proof. It relies on the formula

(c - 1) $\displaystyle \Sigma_{{{0 \, \leq \, j \, < \, m}}}^{{}}$ cj  =   cm - 1 (5)

which holds for every c $ \in$ R and every positive integer m.

Let us prove the first statement of the lemma. Let g be the gcd of $ \ell$ and n. Let u, v $ \in$ $ \mbox{${\mathbb Z}$}$ be such that

u $\displaystyle \ell$ + v n  =  g (6)

Since $ \ell$  <  n we have $ \leq$  g  <  n. Hence we can cancel a prime factor t of n such that

g  |  (n/t) (7)

Let

c  =  $\displaystyle \omega^{{g}}_{{}}$  and  m = n/(tg) (8)

in Relation (5) leading to

($\displaystyle \omega^{{g}}_{{}}$ - 1) a  =   ($\displaystyle \omega^{{{n/t}}}_{{}}$ - 1) (9)

for some a $ \in$ R. Hence if ($ \omega^{{g}}_{{}}$ - 1) would be zero or a zero divisor then so would be ($ \omega^{{{n/t}}}_{{}}$ - 1) which is false. Now applying Relation (5) with c = $ \omega^{{{\ell}}}_{{}}$ and m = u implies that ($ \omega^{{{\ell}}}_{{}}$ - 1) divides ($ \omega^{{{u \, {\ell}}}}_{{}}$ - 1). But with Relation (6) we obtain

($\displaystyle \omega^{{{u \, {\ell}}}}_{{}}$ - 1)  =  ($\displaystyle \omega^{{{u \, {\ell}}}}_{{}}$ $\displaystyle \omega^{{{v \, n}}}_{{}}$ - 1)  =  ($\displaystyle \omega^{{g}}_{{}}$ - 1) (10)

Hence

($\displaystyle \omega^{{{\ell}}}_{{}}$ - 1)  |  ($\displaystyle \omega^{{g}}_{{}}$ - 1) (11)

Therefore ($ \omega^{{{\ell}}}_{{}}$ - 1) cannot be zero or a zero divisor.

Now let us prove the second statement of the lemma. By applying Relation (5) with c = $ \omega^{{{\ell}}}_{{}}$ and m = n we have

($\displaystyle \omega^{{{\ell}}}_{{}}$ - 1) $\displaystyle \Sigma_{{{0 \, \leq \, j \, < \, n}}}^{{}}$ $\displaystyle \omega^{{{{\ell} \, j}}}_{{}}$  =   $\displaystyle \omega^{{{{\ell} \, n}}}_{{}}$ - 1  = 0 (12)

Since ($ \omega^{{{\ell}}}_{{}}$ - 1) is neither zero nor a zero divisor we otain the desired formula. $ \qedsymbol$


next up previous
Next: The Discrete Fourier Transform Up: Fast Polynomial Multiplication based on Previous: Fast Polynomial Multiplication based on
Marc Moreno Maza
2004-04-27