Counting Separable Polynomials in $\mathbb{Z}/n[x]$
Jason K.C. Polak

TL;DR
This paper derives formulas to count separable polynomials over the ring rac{n}{x}, extending previous results, and provides explicit counts based on the prime factorization of n.
Contribution
It introduces explicit formulas for counting separable polynomials over rac{n}{x}, generalizing earlier work by Carlitz.
Findings
Number of separable polynomials is rac{(n)n^d}{(n)} rac{(n)n^d}{(n)} rac{(n)n^d}{(n)}
Formulas depend on the prime factorization of n and Euler's totient function.
Extends previous results to more general rings and polynomial degrees.
Abstract
For a commutative ring , a polynomial is called separable if is a separable -algebra. We derive formulae for the number of separable polynomials when , extending a result of L. Carlitz. For instance, we show that the number of separable polynomials in that are separable is where is the prime factorisation of and is Euler's totient function.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Topics in Algebra · Rings, Modules, and Algebras · Algebraic structures and combinatorial models
subsection]Theorem
Counting Separable Polynomials in
Jason K.C. Polak
School of Mathematics and Statistics
The University of Melbourne
Parkville, Victoria 3010
Australia
Abstract.
For a commutative ring , a polynomial is called separable if is a separable -algebra. We derive formulae for the number of separable polynomials when , extending a result of L. Carlitz. For instance, we show that the number of separable polynomials in that are separable is where is the prime factorisation of and is Euler’s totient function.
Key words and phrases:
Separable algebras, separable polynomials
2010 Mathematics Subject Classification:
Primary: 16H05. Secondary: 13B25,13M10
This research was made possible by ARC Grant DP150103525.
1. Introduction
Suppose are independently, uniformly randomly chosen elements of . What is the probability that the element is nonzero in ? Answer: . This peculiar fact follows from a theorem of Carlitz [Car32, §6], who proved that the number of monic separable polynomials in of degree where is . Our aim is to extend his result to separable polynomials in . Now, most people are familiar with separable polynomials over fields, but just what is a separable polynomial over an arbitrary commutative ring? To understand separable polynomials, we will have to first look at separable algebras.
Let be a commutative ring. If is an -algebra, we define to be the ring with the same underlying abelian group as and whose multiplication is given by . Then can be made into a left -module via the action . An -algebra is called separable if is projective as an -module, the basic theory of which is contained in [AG60]. Examples include separable field extensions, full matrix rings over a commutative ring , and group rings when is a field and is a finite group whose order is invertible in . On the other hand is not a separable -algebra.
A polynomial is called separable if is separable as an -algebra. A monic polynomial is separable if and only if the ideal is all of [Mag14, §1.4, Proposition 1.1], and so for fields coincides with the usual definition. For example, for is always separable. To state our results, recall Euler’s totient function: for a positive integer , the number is the number of elements of the set relatively prime to . In other words, . For example, . Our first theorem is on the number of monic separable polynomials in :
{thm}
Let be a prime and be an integer. The number of monic separable polynomials of degree with in is . Equivalently, the proportion of monic polynomials of degree with that are separable in is .
When this result is Carlitz’s theorem. For example, when and , this result is easily computable. There are monic quadratic polynomials. Since is a perfect field, every irreducible quadratic is separable. Therefore, the only quadratic polynomials that are not separable are of the form for . Therefore, there are separable quadratics. We note that in general, one must be careful with factorisation when since then is not a unique factorisation domain: for example, in , we have .
1.1 Example*.*
If , then is a field, and every irreducible polynomial is also separable. This is not true if . For example, in , the polynomial is irreducible, but not separable. On the other hand, is separable and irreducible.
Next, we consider the general case of .
{thm}
Let be an integer with and let be the prime factorisation of . Then, the number of monic separable polynomials of degree with in the ring is . Equivalently, the proportion of monic polynomials of degree with that are separable in is equal to
[TABLE]
Since there exists separable polynomials in that are not monic and whose leading coefficient is not a unit, our ultimate aim is to count all separable polynomials in : {thm} Let be a positive integer with prime factorisation and let . Then the number of separable polynomials with in is
[TABLE]
2. Monic Separable Polynomials in
Let be a commutative ring. If is a finitely generated projective -module, then there exists elements and such that for all ,
[TABLE]
The elements are called a dual basis for . If is additionally an -algebra, one can define the trace map to be
[TABLE]
It is easy to see that the trace map is independent of the chosen dual basis. If is a monic polynomial in , then the algebra is a finitely generated free -module. One possible dual basis for is with being the coefficient of in , where with . We can use part of Theorem 4.4 in Chapter III of [DI71] to decide when a polynomial is separable:
2.1 Proposition**.**
Let be a commutative ring with no nontrivial idempotents and let be a degree monic polynomial. Let be the matrix whose -entry is . Then is separable if and only if is a unit.
2.2 Example*.*
Consider . Then the matrix in Theorem 2.1 is
[TABLE]
Its determinant is the familiar . If then
[TABLE]
and its determinant is the less familiar . This explains the relation of separable polynomials to the opening paragraph’s bizarre question.
We now prove:
{thm}
Let be a prime and be an integer. The number of monic separable polynomials of degree with in is . Equivalently, the proportion of monic polynomials of degree with that are separable in is .
Proof.
From Proposition 2.1, is separable if and only if its discriminant is invertible in . Since is obtained from the coefficients of through basic arithmetic operations of addition and multiplication, we see that is separable if and only if its image in is separable. Hence we have reduced the problem to Carlitz’s theorem. ∎
Now that we have determined the number of separable polynomials in , we move on to the general case of for any integer with . We will need the following result.
2.3 Proposition** ([DI71, Proposition II.2.1.13]).**
Let and be commutative rings and let be a commutative algebra for . Then is a separable -algebra if and only if is a separable algebra for .
{thm}
Let be an integer with and let be the prime factorisation of . Then, the number of monic separable polynomials of degree with in the ring is . Equivalently, the proportion of monic polynomials of degree with that are separable in is equal to
[TABLE]
Proof.
Factor where the are the prime factors of so that . Then we have
[TABLE]
An element corresponds to an element . From Proposition 2.3, we see that is separable if and only if is a separable polynomial in . Therefore, the number of monic polynomials over that are separable of degree is equal to the number of tuples such that is a separable monic polynomial over for each and . The result now follows from Theorem 1 and the fact that is multiplicative. ∎
2.4 Example*.*
For (the product of the first fifteen primes) the proportion of monic polynomials over that are separable is , or about . The formula shows that as the number of prime factors of increases to infinity, the proportion of separable polynomials goes to zero.
3. Arbitrary Polynomials and Separability
In the case of fields, it suffices to look at monic polynomials since one can always multiply such a polynomial by a unit to make it monic, and this does not change the ideal it generates. For general rings, this is not so. And, it is clear from the isomorphism in (1) that there are many polynomials that are separable are not monic and whose leading coefficient is not invertible.
3.1 Example*.*
In the ring , the polynomial is separable and irreducible, but its leading coefficient is not a unit in .
In this section we calculate the number of separable polynomials of at most degree where , and whose leading coefficient is arbitrary. As before, this result depends on the result for polynomials in . We have already observed that a monic polynomial is separable in if and only if its reduction modulo is reducible in . To handle arbitrary polynomials, we use the following theorem.
3.2 Proposition** ([DI71, II.7.1]).**
Let be a commutative ring. For a finitely generated -algebra , the following are equivalent:
- (1)
* is a separable -algebra,* 2. (2)
* is a separable algebra for every maximal ideal of , and* 3. (3)
* is a separable -algebra for every maximal ideal of *
Since is a local ring with unique maximal ideal :
3.3 Corollary**.**
A polynomial is separable if and only if its reduction in modulo is separable.
3.4 Example*.*
Let be a constant polynomial. In , the zero polynomial is not separable since is not a separable -algebra; indeed, a separable algebra over field must be finite-dimensional over that field [DI71, II.2.2.1]. Therefore is separable if and only if is a unit in . Thus, there are separable polynomials in of degree zero.
We can proceed inductively to calculate the number of separable polynomials of degree one. They are one of two types, according to Corollary 3.3:
- (1)
where is a unit. 2. (2)
where is not a unit and is a unit.
In the first case, we already know there are monic separable linear polynomials, so there are polynomials whose leading coefficient is a unit. In the second case there are polynomials of the form where is not a unit but is a unit. Adding these two together, we see that there linear separable polynomials in , and hence separable polynomials of degree at most one.
Now we will derive a formula for the number of separable polynomials with arbitrary leading coefficient and degree at most . But first, we will need the following elementary geometric sum:
3.5 Lemma**.**
Let and . Then
[TABLE]
Proof.
We sum a geometric series
[TABLE]
∎
{thm}
For , number of separable polynomials such that in is
[TABLE]
Proof.
Let be the number of separable polynomials in with arbitrary leading coefficient and such that . We follow the calculation method in Example 3.4 A separable polynomial of degree must be either have unit leading coefficient, or else it must be of the form where is not a unit and is a separable polynomial of . We have already shown that the number of monic polynomials of degree in that are also separable is . Therefore, the number of separable polynomials with unit leading coefficient and of degree exactly for is
[TABLE]
With our notation, the number is the number of separable polynomials of degree exactly , and our reasoning shows that we have the recurrence relation
[TABLE]
which simplifies to
[TABLE]
as long as . To simplify notation for intermediate computations, let us set and . Then . It is easy to see that
[TABLE]
Example 3.4 shows that so that . Now, using Lemma 3.5, we get
[TABLE]
This takes care of . Putting into this last line shows that it is equal to , so the formula is also valid for . ∎
{thm}
Let be a positive integer with prime factorisation and let . Then the number of separable polynomials with in is
[TABLE]
Proof.
This follows from Theorem 3 and the fact that Euler’s totient function is a multiplicative arithmetic function in the sense that whenever and are relatively prime. ∎
3.6 Example*.*
There are separable polynomials in of degree at most three. There are separable polynomials of degree exactly two in .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[AG 60] Maurice Auslander and Oscar Goldman. The Brauer group of a commutative ring. Trans. Amer. Math. Soc. , 97(3):367–409, December 1960.
- 2[Car 32] Leonard Carlitz. The arithmetic of polynomials in a Galois field. Amer. J. Math. , 54(1):39–50, January 1932.
- 3[DI 71] Frank De Meyer and Edward Ingraham. Separable Algebras over Commutative Rings , volume 181 of Lecture Notes in Mathematics . Springer-Verlag, 1971.
- 4[Mag 14] Andy Magid. The Separable Galois Theory of Commutative Rings . CRC Press, 2nd edition, 2014.
