ArticleslgStudy

mathematics

Zech's logarithm

Zech's logarithm is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Zech's logarithm rather than just read about it. In short: Zech logarithms are used to implement addition in finite fields when elements are represented as powers of a generator α. Zech logarithms are named after Julius Zech, and are also called Jacobi logarithms, after Carl G.

Zech's logarithm — main illustration
Zech's logarithm — illustration

Key takeaways

  • Zech's logarithm belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Zech's logarithm to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Zech's logarithm from memory before moving on to harder problems.

Reference excerpt

Zech logarithms are used to implement addition in finite fields when elements are represented as powers of a generator α. Zech logarithms are named after Julius Zech, and are also called Jacobi logarithms, after Carl G. J. Jacobi who used them for number theoretic investigations.

Definition Given a primitive element α of a finite field, the Zech logarithm relative to the base α is defined by the equation αZα(n)=1+αn, which is often rewritten as Zα(n)=logα(1+αn). The choice of base α is usually dropped from the notation when it is clear from the context. To be more precise, Zα is a function on the integers modulo the multiplicative order of α, and takes values in the same set. In order to describe every element, it is convenient to formally add a new symbol −∞, along with the definitions α−∞=0 n+(−∞)=−∞ Zα(−∞)=0 Zα(e)=−∞ where e is an integer satisfying αe=−1, that is e=0 for a field of characteristic 2, and e=q−12 for a field of odd characteristic with q elements. Using the Zech logarithm, finite field arithmetic can be done in the exponential representation: αm+αn=αm⋅(1+αn−m)=αm⋅αZ(n−m)=αm+Z(n−m) −αn=(−1)⋅αn=αe⋅αn=αe+n αm−αn=αm+(−αn)=αm+Z(e+n−m) αm⋅αn=αm+n (αm)−1=α−m αm/αn=αm⋅(αn)−1=αm−n These formulas remain true with our conventions with the symbol −∞, with the caveat that subtraction of −∞ is undefined. In particular, the addition and subtraction formulas need to treat m=−∞ as a special case. This can be extended to arithmetic of the projective line by introducing another symbol +∞ satisfying α+∞=∞ and other rules as appropriate. For fields of characteristic 2, Zα(n)=m⟺Zα(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. Here is a table of Zech logarithms for this field. Zα(−∞)=0 Zα(0)=−∞ Zα(1)=5 Zα(2)=3 Zα(3)=2 Zα(4)=6 Zα(5)=1 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 α3=α2+1 (as shown above) α4=α3α=(α2+1)α=α3+α=α2+α+1 α5=α4α=(α2+α+1)α=α3+α2+α=α2+1+α2+α=α+1 α6=α5α=(α+1)α=α2+α Using Zech logarithms to compute α6+α3: α6+α3=α6+Z(−3)=α6+Z(4)=α6+6=α12=α5, or, more efficiently, α6+α3=α3+Z(3)=α3+2=α5, and verifying it in the polynomial representation: α6+α3=(α2+α)+(α2+1)=α+1=α5.

Visualization Given a prime power q=pn and a primitive element α of GF(q), one can visualize the Zech logarithm Zα by plotting all elements of GF(q) in a directed graph, Gα(q):

Place the element 0 at the center. Arrange the non-zero elements α,α2,…,αq−1=1 sequentially as equally spaced nodes around a circle, with 1 at the top. Draw a directed edge x→x+1 for every x in GF(q). The edges in Gα(q) correspond to the mappings in the Zech logarithm function: since αZ(n)=αn+1, an edge connecting node αn to αn+1 effectively connects the exponent n to the exponent Z(n). Here is Gα(8), where α is a root of x3+x2+1=0, and the powers of α are placed in counterclockwise order:

If one draws an edge x→x+c instead of x→x+1 for every x in GF(q), where c is any fixed element, one obtains a graph Gα(q;c). The standard graph corresponds to c=1. The graph Gα(q;0) consists of q self-loops. For any c≠0, the graph Gα(q;c) appears identical to Gα(q), except that all edges are rotated by logα(c)q−1×360∘ around the center node. Here is Gα(8;α2), which differs from Gα(8) by a rotation of 27×360∘:

Each graph Gα(q;c) visualizes the permutation σc(x)=x+c. The set of these q permutations {σc∣c∈GF(q)} forms an Elementary abelian group of order q (isomorphic to the additive group of the field). The rotational symmetry of the graphs Gα(q;c) for c≠0 elegantly captures the algebraic indistinguishability of the non-zero elements in an elementary abelian group. If α and β are both primitive elements of GF(q), then the graphs Gα(q) and Gβ(q) are identical if and only if α and β are roots of the same primitive polynomial in GF(p)[X]. Therefore, the number of distinct graphs Gα(q) equals ϕ(q−1)n, where ϕ is Euler's totient function. Equivalently, there exist ϕ(q−1)n distinct Zech logarithm tables for a given field size. If α and β are multiplicative inverses of each other, then Gα(q) and Gβ(q) are reflections of each other. When q is odd, Gα(q) contains a "diagonal" edge that connects the node −1/2 to 1/2 (where 2−1 denotes the multiplicative inverse of 1+1). Here are the graphs Gα(q) for all q such that the graph remains invariant (up to reflection) across all primitive elements α:

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

References

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). 16 (11). Association for Computing Machinery (ACM): 699. doi:10.1145/355611.362544. ISSN 0001-0782. S2CID 62794130. 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.

Illustrations

Zech's logarithm: Visualization of x→x+α2 for every x in GF(8). α is a root of x3+x2+1=0. A rotation of Zech's logarithm for GF(8).
Visualization of x→x+α2 for every x in GF(8). α is a root of x3+x2+1=0. A rotation of Zech's logarithm for GF(8).
Zech's logarithm: Finite fields with unique visualization graph of Zech's logarithm up to reflection. Node labels omitted. Diagonal edges in fields of odd order omitted. Row 1: fields of order 2, 3, 4 and 5. Row 2: fields of order 7, 8 and 9. Row 3: field of order 16.
Finite fields with unique visualization graph of Zech's logarithm up to reflection. Node labels omitted. Diagonal edges in fields of odd order omitted. Row 1: fields of order 2, 3, 4 and 5. Row 2: fields of order 7, 8 and 9. Row 3: field of order 16.

Worked examples

Example 1 — a first encounter with Zech's logarithm

Start with the simplest possible case. Write down what Zech's logarithm claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Zech's logarithm before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Zech's logarithm ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Zech's logarithm

In research
Zech's logarithm appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Zech's logarithm in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Zech's logarithm is common in secondary-school and first-year university syllabi. It links to neighbouring topics Finite fields, Linear algebra, so understanding it makes those chapters shorter.
In everyday life
Look for Zech's logarithm outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Zech's logarithm” →

How to study Zech's logarithm in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Zech's logarithm means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Zech's logarithm out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Zech's logarithm in simple terms?

Zech logarithms are used to implement addition in finite fields when elements are represented as powers of a generator α. Zech logarithms are named after Julius Zech, and are also called Jacobi logarithms, after Carl G.

Why does Zech's logarithm matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Zech's logarithm?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Zech's logarithm.

Tags

  • Finite fields
  • Linear algebra

Keep exploring