ART

Zech logarithms are used to implement addition in finite fields when elements are represented as powers of a generator α {\displaystyle \alpha } \alpha .

Zech logarithms are named after Julius Zech,[1][2][3][4] and are also called Jacobi logarithms,[5] after Carl G. J. Jacobi who used them for number theoretic investigations.[6]

Definition

Given a primitive element \( \alpha \) of a finite field, the Zech logarithm relative to the base \( \alpha \) is defined by the equation

\( Z_{\alpha }(n)=\log _{\alpha }(1+\alpha ^{n}), \)

or equivalently by

\( \alpha ^{{Z_{\alpha }(n)}}=1+\alpha ^{n}. \)

The choice of base α {\displaystyle \alpha } \alpha is usually dropped from the notation when it is clear from the context.

To be more precise, \( Z_{\alpha } \) is a function on the integers modulo the multiplicative order of \( \alpha \) , and takes values in the same set. In order to describe every element, it is convenient to formally add a new symbol \( -\infty \), along with the definitions

\( \alpha ^{{-\infty }}=0 \)
\( n+(-\infty )=-\infty \)
\( Z_{\alpha }(-\infty )=0 \)
\( Z_{\alpha }(e)=-\infty \)

where e is an integer satisfying \( \alpha ^{e}=-1 \), that is e=0 for a field of characteristic 2, and \( e={\frac {q-1}{2}} \) for a field of odd characteristic with q elements.

Using the Zech logarithm, finite field arithmetic can be done in the exponential representation:

\( \alpha ^{m}+\alpha ^{n}=\alpha ^{m}\cdot (1+\alpha ^{{n-m}})=\alpha ^{m}\cdot \alpha ^{{Z(n-m)}}=\alpha ^{{m+Z(n-m)}} \)
\( -\alpha ^{n}=(-1)\cdot \alpha ^{n}=\alpha ^{e}\cdot \alpha ^{n}=\alpha ^{{e+n}} \)
\( \alpha ^{m}-\alpha ^{n}=\alpha ^{m}+(-\alpha ^{n})=\alpha ^{{m+Z(e+n-m)}} \)
\( \alpha ^{m}\cdot \alpha ^{n}=\alpha ^{{m+n}} \)
\( \left(\alpha ^{m}\right)^{{-1}}=\alpha ^{{-m}} \)
\( \alpha ^{m}/\alpha ^{n}=\alpha ^{m}\cdot \left(\alpha ^{n}\right)^{{-1}}=\alpha ^{{m-n}} \)

These formulas remain true with our conventions with the symbol \( -\infty \) , with the caveat that subtraction of \( -\infty \) is undefined. In particular, the addition and subtraction formulas need to treat \( m=-\infty \) as a special case.

This can be extended to arithmetic of the projective line by introducing another symbol \( +\infty \) satisfying \( \alpha ^{{+\infty }}=\infty \) and other rules as appropriate.

Notice that for fields of characteristic two,

\( Z_{\alpha }(n)=m \) ⇔ \( Z_{\alpha }(m)=n \).

Uses

For sufficiently small finite fields, a table of Zech logarithms allows an especially efficient implementation of all finite field arithmetic in terms of a small number of integer addition/subtractions and table look-ups.

The utility of this method diminishes for large fields where one cannot efficiently store the table. This method is also inefficient when doing very few operations in the finite field, because one spends more time computing the table than one does in actual calculation.

Examples

Let α ∈ GF(23) be a root of the primitive polynomial x3 + x2 + 1. The traditional representation of elements of this field is as polynomials in α of degree 2 or less.

A table of Zech logarithms for this field are Z(−∞) = 0, Z(0) = −∞, Z(1) = 5, Z(2) = 3, Z(3) = 2, Z(4) = 6, Z(5) = 1, and Z(6) = 4. The multiplicative order of α is 7, so the exponential representation works with integers modulo 7.

Since α is a root of x3 + x2 + 1 then that means α3 + α2 + 1 = 0, or if we recall that since all coefficients are in GF(2), subtraction is the same as addition, we obtain α3 = α2 + 1.

The conversion from exponential to polynomial representations is given by

\( \alpha ^{3}=\alpha ^{2}+1 (as shown above) \)
\( \alpha ^{4}=\alpha ^{3}\alpha =(\alpha ^{2}+1)\alpha =\alpha ^{3}+\alpha =\alpha ^{2}+\alpha +1 \)
\( \alpha ^{5}=\alpha ^{4}\alpha =(\alpha ^{2}+\alpha +1)\alpha =\alpha ^{3}+\alpha ^{2}+\alpha =\alpha ^{2}+1+\alpha ^{2}+\alpha =\alpha +1 \)
\( \alpha ^{6}=\alpha ^{5}\alpha =(\alpha +1)\alpha =\alpha ^{2}+\alpha \)

Using Zech logarithms to compute \( \alpha ^{6}+\alpha ^{3} \)

\( \alpha ^{6}+\alpha ^{3}=\alpha ^{{6+Z(-3)}}=\alpha ^{{6+Z(4)}}=\alpha ^{{6+6}}=\alpha ^{{12}}=\alpha ^{5}, \)

or, more efficiently,

\( \alpha ^{6}+\alpha ^{3}=\alpha ^{{3+Z(3)}}=\alpha ^{{3+2}}=\alpha ^{5}, \)

and verifying it in the polynomial representation:

\( \alpha ^{6}+\alpha ^{3}=(\alpha ^{2}+\alpha )+(\alpha ^{2}+1)=\alpha +1=\alpha ^{5}. \)

See also

Gaussian logarithm
Irish logarithm, a similar technique derived empirically by Percy Ludgate
Finite field arithmetic
Logarithm table

References

Zech, Julius August Christoph (1849). Tafeln der Additions- und Subtractions-Logarithmen für sieben Stellen (in German) (Specially reprinted (from Vega–Hülße collection) 1st ed.). Leipzig: Weidmann'sche Buchhandlung. Archived from the original on 2018-07-14. Retrieved 2018-07-14. Also part of: Freiherr von Vega, Georg (1849). Hülße, Julius Ambrosius; Zech, Julius August Christoph (eds.). Sammlung mathematischer Tafeln (in German) (Completely reworked ed.). Leipzig: Weidmann'sche Buchhandlung. Bibcode:1849smt..book.....V. Archived from the original on 2018-07-14. Retrieved 2018-07-14.
Zech, Julius August Christoph (1863) [1849]. Tafeln der Additions- und Subtractions-Logarithmen für sieben Stellen (in German) (Specially reprinted (from Vega–Hülße collection) 2nd ed.). Berlin: Weidmann'sche Buchhandlung. Archived from the original on 2018-07-14. Retrieved 2018-07-13.
Zech, Julius August Christoph (1892) [1849]. Tafeln der Additions- und Subtractions-Logarithmen für sieben Stellen (in German) (Specially reprinted (from Vega–Hülße collection) 3rd ed.). Berlin: Weidmann'sche Buchhandlung. Archived from the original on 2018-07-14. Retrieved 2018-07-13.
Zech, Julius August Christoph (1910) [1849]. Tafeln der Additions- und Subtractions-Logarithmen für sieben Stellen (in German) (Specially reprinted (from Vega–Hülße collection) 4th ed.). Berlin: Weidmann'sche Buchhandlung. Archived from the original on 2018-07-14. Retrieved 2018-07-13.
Lidl, Rudolf; Niederreiter, Harald (1997). Finite Fields (2nd ed.). Cambridge University Press. ISBN 978-0-521-39231-0.

Jacoby, Carl Gustav Jacob (1846). "Über die Kreistheilung und ihre Anwendung auf die Zahlentheorie". Journal für die reine und angewandte Mathematik (in German). 1846 (30): 166–182. doi:10.1515/crll.1846.30.166. ISSN 0075-4102. (NB. Also part of "Gesammelte Werke", Volume 6, pages 254–274.)

Further reading
Fletcher, Alan; Miller, Jeffrey Charles Percy; Rosenhead, Louis (1946) [1943]. An Index of Mathematical Tables (1 ed.). Blackwell Scientific Publications Ltd., Oxford / McGraw-Hill, New York.
Conway, John Horton (1968). Churchhouse, Robert F.; Herz, J.-C. (eds.). "A tabulation of some information concerning finite fields". Computers in Mathematical Research. Amsterdam: North-Holland Publishing Company: 37–50. MR 0237467.
Lam, Clement Wing Hong; McKay, John K. S. (1973-11-01). "Algorithm 469: Arithmetic over a finite field [A1]". Communications of the ACM. Collected Algorithms of the ACM (CALGO). Association for Computing Machinery (ACM). 16 (11): 699. doi:10.1145/355611.362544. ISSN 0001-0782. toms/469. [1] [2] [3]
Kühn, Klaus (2008). "C. F. Gauß und die Logarithmen" (PDF) (in German). Alling-Biburg, Germany. Archived (PDF) from the original on 2018-07-14. Retrieved 2018-07-14.

Undergraduate Texts in Mathematics

Graduate Texts in Mathematics

Graduate Studies in Mathematics

Mathematics Encyclopedia

World

Index

Hellenica World - Scientific Library

Retrieved from "http://en.wikipedia.org/"
All text is available under the terms of the GNU Free Documentation License