Zech's logarithms
From Wikipedia, the free encyclopedia
Zech's logarithms are used with finite fields to reduce a high-degree polynomial that is not in the field to an element in the field (thus having a lower degree). Unlike the traditional logarithm, the Zech's logarithm of a polynomial provides an equivalence — it does not alter the value.
Let α be a primitive element of a finite field, then Z(n), the Zech logarithm of an integer n may be defined such that
- αZ(n) = 1 + αn
That is, Z(n) = log(1 + αn) where the logarithm is taken to the base α. Note that if αn is the minus one element of the field, then Z(n) is undefined (since that would involve the logarithm of zero).
[edit] Examples
[edit] Polynomial basis
Let α ∈ GF(23) be a root of the primitive polynomial x3 + x2 + 1. Thus all powers of α higher than 2 can be reduced.
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.
Now we can easily reduce the set
by the primitive polynomial as such:
- α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 + α
These polynomials are known as the Zech's logarithms for their corresponding powers of α. The representation of all elements of GF(23) is
[edit] Normal basis
The normal basis representation of elements in this set will only use the 3 elements β, β2, and β4. We can see by looking at the above example that if we set β = α then β2 = α2 and β4 = α2 + α + 1, and thus β, β2, and β4 are linearly independent and form a normal basis. So all elements in the field can be written as linear combinations of β, β2, and β4.
We find that, using similar calculations to those above, that the Zech's logarithms for
are equal to