12.1 Units, associates and irreducibles
Every integer other than and is a product of primes and their negatives, in one way up to order and signs. Saying the same in , in or in needs meanings for “prime” and “the same factorization” that work in any integral domain, with the units of the ring in place of the signs .
Divisibility, associates and irreducible elements give those meanings in any integral domain, and in rings like the norm decides which elements can be split.
Divisibility and associates
In the factorizations and differ only by the signs , the units of . In another ring the units play the part of the signs.
Let be an integral domain and let . Then divides , written , if for some . And and are associates, written , if for some unit of .
In terms of principal ideals: exactly when , and exactly when .
The units are , so the associates of are and , and . Also and : the smaller number generates the bigger ideal.
The units are the non-zero constants (Theorem 11.1.2), so the associates of are the polynomials with . Exactly one of them is monic.
and are units, since . So and are associates of , though neither is .
1
Which polynomial is an associate of in ?
-
, but is not in . In the two would be associates; in they are not.
-
It is , and is a unit. The units of are those of , namely (Theorem 11.1.2), so the associates of are .
-
, so divides it, but is not a unit of , so is not a multiple of .
Why divisibility and associates can be read from ideals.¶
Idea. is the set of multiples of , so ” is a multiple of ” says "". Each of the two statements is then checked in both directions.
-
If , then .
Say . Then every multiple of is a multiple of .
-
If , then .
lies in , so for some .
-
If , then .
Say with a unit. Then , and gives , so and by the first step.
-
If , then .
By the second step, and for some . If , then . If , then gives , and since has no zero divisors, . So is a unit, and .
Since says , being associates behaves like equality of ideals: every element is an associate of itself, gives , and and give .
Irreducible elements
A prime of has divisors, but only dull ones: in every factorization , one factor is . The definition copies this, with units in place of .
Let be an integral domain. An element is irreducible if:
- (i) Not a unit: is not a unit of .
- (ii) No proper factorization: whenever with , one of and is a unit.
Irreducible elements play the part of the primes: they cannot be split except by pulling off a unit, which every element allows, as in .
- is not a unit, just as is not a prime.
- is not a product of two non-units.
in
- needs , which is not in .
- If , then , where is never . So one factor has , and it is .
The same holds for and , so is a product of two irreducible elements in two ways.
in
- The units of are .
- If , then , so or .
The irreducible elements of are the primes and their negatives: is irreducible too.
in
- The units of are the non-zero constants (Theorem 11.1.2), and has degree .
- If with neither factor a unit, both factors have degree , which Example in Definition 11.4.1 rules out.
An irreducible polynomial is an irreducible element of .
in
- .
- If , then and are non-zero rational numbers, and both are units.
The same number is irreducible in and a unit in : irreducibility depends on the ring.
in
- needs , which is not a Gaussian integer.
- . In , the only inverse of is , and that of is ; neither is a Gaussian integer, so neither factor is a unit of .
A prime of can split in a bigger ring.
1
Let be an irreducible element of an integral domain . Which elements of divide ?
-
Only and .
Every unit divides , since , and so does every associate . In , and divide .
-
Only the units.
divides itself, and is not a unit.
-
Exactly the units and the associates of .
If , say , then by (ii) is a unit or is; in the second case is an associate of . Conversely, units and associates of divide .
2
Is irreducible in ?
-
Yes: it has degree , and every polynomial of degree is irreducible.
That holds in for a field , where the non-zero constants are units. In the constant is not a unit.
-
No: , and neither nor is a unit of .
The units of are (Theorem 11.1.2), so this factorization has two non-unit factors, and (ii) fails.
-
No: it has the root .
In the polynomial has the same root and is irreducible: the factor that the root gives has the same degree. In the obstacle is the constant .
3
In , . Does this show that is not irreducible?
-
Yes: it writes as a product of two elements.
Condition (ii) forbids a product of two non-units. Here is a unit, since .
-
No: is a unit, so this factorization is one that (ii) allows.
One factor is the unit , and the other, , is an associate of . This is the kind of factorization every element has.
-
No: has no divisors other than itself and .
The equation shows that and divide . An irreducible element has divisors; they are only units and associates of it.
4
A prime number is irreducible in . Give the argument, and explain why the same argument does not show that is irreducible in .
In : is not , so it is not a unit. If with , then with and positive integers, and since is prime one of them is . So or is , a unit.
The argument uses that the factors are integers, so their sizes are positive integers dividing . In the factors need not be integers, and the argument says nothing about them. It really fails there: and are products of two non-units.
Builds on
- Definition 12.1.1: in an integral domain, divides when ; and are associates when for a unit , equivalently
Leads to
- Proposition 12.1.3: with , which is multiplicative, the units are the elements of norm , and an element whose norm is a prime (or has no proper factor among the norms) is irreducible
- Definition 12.2.1: an integral domain in which every non-zero non-unit is a product of irreducibles, uniquely up to order and associates
- Theorem 12.4.1: in any integral domain a prime element is irreducible, and in a PID the converse holds too; and is then a maximal ideal
Condition (ii) rules out , since and is not a unit. So an irreducible element is a non-zero non-unit that is not a product of two non-units.
For polynomials over a field this is the definition of Definition 11.4.1 again. In the units are the non-zero constants (Theorem 11.1.2). So for a non-zero , a factorization in which neither factor is a unit is one in which both factors are non-constant, that is, a factorization into polynomials of smaller degree than . A non-zero is therefore an irreducible element exactly when it is an irreducible polynomial.
An associate of an irreducible element is irreducible. It is not a unit, since otherwise would be one. And if , then , so or is a unit, and then or is one.
The norm
In , the size settles which numbers can be split. Rings of the form (Example 10.3.3) have a size of their own, and it turns each question about factors into a question about integers.
Let be an integer that is not a perfect square. For in , the norm of is the integer
For all :
- (i) , and only for .
- (ii) is a unit exactly when .
- (iii) Suppose is not a unit, and no element of has norm or for any divisor of with . Then is irreducible. In particular, is irreducible when for a prime number .
Proof.¶
Idea. Write the norm as a product, , where . Then (i) comes from the fact that this bar respects products, and (ii) and (iii) follow from (i).
-
The bar is well defined, and .
Each element of has only one form (Example 10.3.3), and .
-
, the first half of (i).
Let . By the product formula of Example 10.3.3, , and expanding gives , which is . So
-
only for . This proves (i).
If , then . If , this gives . That is impossible for , since a square is not negative; and for it makes rational, which it is not, since is not a perfect square. So , and then gives .
-
(ii) is a unit exactly when .
If , then by (i). Both are integers, so . Conversely, if , then , and lies in , so is a unit.
-
(iii) Under its hypothesis, is irreducible.
is not a unit by hypothesis. Suppose with neither nor a unit. By (i), . Neither factor is , since , and neither is , by (ii). So divides , , and is less than . Then has norm or , against the hypothesis. So no such factorization exists, and is irreducible.
-
If with a prime number, the hypothesis of (iii) holds.
is neither nor , so is non-zero and not a unit, by (i) and (ii). And no divisor of has .
The norm is an integer attached to each element of that multiplies, as does in , so questions about the factors of become questions about the factors of the integer .
1
In , where , is the prime number irreducible?
-
Yes: is prime in .
Irreducibility depends on the ring. In the number is a product of two non-units.
-
No: , and each factor has norm , so neither is a unit.
, and by (ii) an element of norm is not a unit. (Each factor is even irreducible, by (iii).)
-
No, because is not a prime.
A composite norm does not make an element reducible: , yet is irreducible in , since no element has norm .
2
In , where , the element has norm . Is it irreducible?
-
No, since its norm is not a prime.
(iii) asks for more than a composite norm: a factor that is not a unit would need norm or , and no element has either norm.
-
Yes: a factor that is not a unit would have norm or , and takes neither value.
For , is never or . For , would need ; for , would need ; and for , . So (iii) applies, with and the divisors of strictly between and .
-
No: .
The product is : the term was dropped. The norms show it too: the two factors have norms and , whose product is not .
For , , and is the square of the distance from to in the complex plane. Then (i) is the rule that absolute values of complex numbers multiply.
In the norm is .
- The units are the elements of norm , and only for or . So the units of are , , and .
- is irreducible. Its norm is , so a factor that is not a unit would have norm , and is impossible: the squares that are at most are and .
- is not irreducible: . Each factor has norm , a prime, so each is irreducible. Since , also : up to a unit, is the square of one irreducible.
- is not irreducible: , and each factor has norm , so each is irreducible.
In the norm is .
- forces and , so the only units are .
- and are irreducible. Their norms are and , so a factor that is not a unit would have norm or . But when , and is never or .
So the primes and of split in while does not, and in the norm takes none of the values and . Each of these facts came from asking which integers have the form .
12.2 Unique factorization domains, and a failure
Irreducible elements and associates make sense in every integral domain, and with them the property that makes special can be stated for any of them: every non-zero non-unit is a product of irreducibles, in one way up to order and unit factors. A ring as close to as does not have it.
Unique factorization domains
An integral domain is a unique factorization domain, or UFD, if:
- (i) Existence: every non-zero non-unit is a product of irreducible elements of , with .
- (ii) Uniqueness: if are two products of irreducible elements, then , and the can be renumbered so that for every .
In a UFD every non-zero non-unit is built from irreducible pieces, as an integer is built from primes, and the element decides what its pieces are: only their order, and unit factors on them, can change.
- Every non-zero non-unit can be split into irreducible pieces.
- Any two ways of splitting it use the same pieces, up to order and unit factors.
- Every integer other than and is a product of primes, and the sign can be put on one factor.
- Two factorizations of into irreducibles become, after taking absolute values, two factorizations of into primes, which agree up to order.
Both halves come from the fundamental theorem of arithmetic.
A field
- Every non-zero element of is a unit, so there is nothing to factor.
- With no non-zero non-units, there are no two factorizations to compare.
Both conditions hold because they ask nothing: a field is a UFD with no irreducible elements at all.
The polynomials in with no term
- The units are the non-zero constants, and the other non-zero elements have degree at least . An element that is not irreducible splits into two non-units of smaller degree, so induction on the degree gives a factorization.
- , and and are irreducible, since a product of two non-units has degree at least . Three factors cannot be matched with two.
This ring , of the polynomials , is a subring of : the coefficient of in a product is . So it is an integral domain in which existence is the easy half and uniqueness fails.
The polynomials in with integer constant term
- The units are : a unit and its inverse have degree , so both are integers. A non-zero with is , where lies in the ring and is not constant, so neither factor is a unit. So no irreducible element has constant term , a product of irreducibles has a non-zero constant term, and is not such a product.
- The irreducible elements are the primes of (a constant factors only into integers) and the elements with : any other non-constant with is if , and otherwise with and not constant, at a root of given by the fundamental theorem of algebra. In two factorizations of an element , the primes multiply to , so they match by the fundamental theorem of arithmetic, and a factor on one side vanishes at , so it matches a factor on the other side; cancel the two and repeat.
Constant terms add and multiply, so this is a subring of and an integral domain. In it splits off non-units forever without reaching irreducible pieces: existence fails, while uniqueness holds.
1
In , , and all four factors are irreducible, since each has norm . Does this break uniqueness?
-
Yes: and are neither nor .
Uniqueness asks for associates, not for equal factors.
-
No: and , so after swapping the order the factors are associates.
Each factor on the right is a unit times a factor on the left, which is all that (ii) asks.
-
No: is an associate of .
The associates of are , , and . is not among them; it is an associate of .
2
In the ring of polynomials in with no term, the irreducible powers of are and . Which of these elements has two factorizations into irreducibles with different numbers of factors?
-
The only way to write as a sum of s and s is , so is its only factorization into powers of .
-
is the only way, so in only one way.
-
, so : four factors against three.
-
only, so in one way.
3
In , . Why does this not contradict uniqueness?
-
and , since is a unit.
The two factorizations have the same number of factors, and matching with and with pairs associates, as (ii) asks.
-
and are not irreducible.
They are: only splits off the unit . An associate of an irreducible element is irreducible.
-
Uniqueness only concerns positive integers.
The definition speaks of every non-zero non-unit, negative ones included. Signs are absorbed by the words “up to associates”.
4
Two factorizations of the same element of a UFD agree up to order and associates. Say what changes this allows, and why the units that appear must multiply to . Give an example in and one in .
The factors may be put in a different order, and each factor may be replaced by for a unit . The product must not change, so ; canceling the non-zero element (an integral domain has cancellation) gives .
In the units are , so only signs change, an even number of them: . In the units are and , so for example , where and , and .
Builds on
- Definition 12.1.1: in an integral domain, divides when ; and are associates when for a unit , equivalently
- Definition 12.1.2: a non-zero non-unit that cannot be written as a product of two non-units
Leads to
- Theorem 12.2.3: in a UFD every irreducible element is prime, so in a UFD the two notions agree
- Theorem 12.2.4: in , are two factorizations into irreducibles that are not associates: is irreducible but not prime, and the ring is not a UFD
- Theorem 12.4.3: in a principal ideal domain every non-zero non-unit factors into irreducibles, and the factorization is unique up to order and associates
- Theorem 12.4.4: for a field , every non-constant polynomial in is a constant times a product of monic irreducibles, uniquely up to order
- Theorem 12.6.1: if is a UFD then so is ; so , and have unique factorization
History
- 1847. On 1 March, Gabriel Lamé announced to the Paris Academy a proof of Fermat’s Last Theorem that assumed unique factorization in rings of cyclotomic integers, the rings generated by a root of unity. Joseph Liouville at once questioned that assumption.
Prime elements
Euclid’s lemma (Theorem 2.3.3) gives the primes of a second property: a prime that divides a product divides one of the factors. In a general integral domain this property has its own name.
Let be an integral domain. An element is a prime element, or prime, if is non-zero and not a unit, and whenever with , then or .
Equivalently, and the principal ideal is a prime ideal.
in
By Euclid’s lemma, a prime dividing divides or .
The prime elements of are the primes and their negatives.
in
exactly when (Theorem 11.2.2); if , then , so or .
Divisibility by is a condition on one value, and a product of two non-zero numbers is non-zero.
in
, but and .
The two halves of can go into different factors.
Why prime elements are those generating prime ideals.¶
Idea. Translate each condition on the ideal into a condition on the element .
-
says .
The ideal consists of the multiples of .
-
The ideal is proper exactly when is not a unit.
If is a unit, every is , so . If , then for some , so is a unit.
-
is a prime ideal exactly when is not a unit and has the divisibility property.
With read as , the condition ” implies or ” says ” implies or ”, and properness is the second step.
In a unique factorization domain , every irreducible element is prime.
Proof.¶
Idea. means that appears, up to a unit, among the irreducible factors of ; and those are the factors of together with the factors of . Throughout, is irreducible, so non-zero and not a unit, and , say .
-
If or is or a unit, then divides or .
If or , then divides it, since . If is a unit, then , so ; likewise if is a unit.
-
Otherwise, is a factorization of into irreducibles.
Now and are non-zero non-units, so by existence and with all and irreducible.
-
is a second factorization into irreducibles.
Here , since in an integral domain. And is not a unit: otherwise would be a factorization into the single irreducible (an associate of ), against the factorization with factors, which uniqueness forbids. So by existence with each irreducible.
-
divides or .
By uniqueness, is an associate of one of the or one of the . If for a unit , then divides , and so divides . Likewise, if is an associate of some , then .
Euclid’s lemma survives in every UFD, and that makes it a test: an irreducible element that divides a product without dividing either factor proves that a ring is not a UFD.
The converse holds in every integral domain. If is prime and , then , so divides or , say . Then , and canceling the non-zero gives , so is a unit. So in a UFD the irreducible elements and the prime elements are the same.
The failure
In ,
- (i) The four elements , , and are irreducible.
- (ii) No two of them are associates.
So has two factorizations into irreducibles that do not agree up to order and associates, and is not a UFD. Moreover, is irreducible but not prime.
Proof.¶
Idea. Compute norms: , and . No element has norm or , so none of the four can be split; and associates have equal norms, while the units are only , so no factor on one side matches a factor on the other.
-
.
The product is .
-
and are irreducible, and the units are .
This is Example 12.1.4: a factor of or that is not a unit would have norm or , and never takes these values.
-
and are irreducible.
Each has norm , and the divisors of with are and . No element has norm or , so Proposition 12.1.3 (iii) applies. This proves (i).
-
No two of the four are associates.
If with a unit, then , since . So an associate of , or has norm , or respectively, which separates all pairs except and . Those are not associates either: the associates of are , and neither is . This proves (ii).
-
is not a UFD.
The factorizations and of are both into irreducibles, by (i). Uniqueness would match with an associate among , which (ii) rules out.
-
is not prime.
divides . But every multiple of has even coefficients, while has coefficients and . So divides neither factor.
Adding to creates no zero divisors and no units other than , and still breaks unique factorization, so neither of those is what makes factor uniquely.
The norms that occur
The values of up to are . A non-zero already gives at least , and the squares miss and . This short list is the whole reason the four factors cannot be split.
A second failure:
. The factors have norm , and a factor of norm does not exist, so they are irreducible; their norm also equals , but is neither of them, so again the two factorizations do not match.
The same failure in
With , the equation has three factors of norm . No element has norm , so all three are irreducible, and the units are , so is an associate of neither .
1
Part (ii) says that is not an associate of . Which of these is a correct reason?
-
and are different elements.
Associates need not be equal: is an associate of and differs from it. Being different settles nothing.
-
Associates have equal norms, and while .
If with a unit, then , because a unit has norm here.
-
Both are irreducible, and two different irreducible elements are never associates.
An associate of an irreducible element is irreducible, so associates can both be irreducible: and in , or and in .
2
Every field is a UFD, and lies inside the field . Why does that not make a UFD?
-
Being a UFD is about factorizations inside the ring; in every non-zero number is a unit, but in only are.
is a harmless factorization in and not even available in . Irreducibility and associates are decided by the units of the ring itself.
-
It does: the factorizations of agree in , so they agree in .
In every factor is a unit, so the factorizations say nothing there. In the four factors are irreducible and not associates.
-
is not an integral domain.
It is a subring of the field , so it is an integral domain (Example 10.3.3).
3
Is a prime element of ?
-
Yes: is irreducible.
Irreducible elements of a UFD are prime, but is not a UFD.
-
Yes: is prime in .
Being prime depends on the ring, through which elements divides.
-
No: divides , but neither factor.
Every multiple of is , with both coefficients divisible by , and has coefficients and .
4
In , . Show that these are two factorizations into irreducibles that do not agree up to order and associates.
The norms are , and , and the units are . First, .
Irreducible: is irreducible, by (i). A factor of that is not a unit would have norm , and has no solution ( gives , gives , and gives at least ). A factor of that is not a unit would have norm or , and neither occurs.
Not associates: associates have equal norms, and , and are different, so and match neither nor . (Also .) So uniqueness fails for .
Builds on
- Proposition 12.1.3: with , which is multiplicative, the units are the elements of norm , and an element whose norm is a prime (or has no proper factor among the norms) is irreducible
- Example 12.1.4: the units of are ; is irreducible in but and are not; and are irreducible in
- Definition 12.2.1: an integral domain in which every non-zero non-unit is a product of irreducibles, uniquely up to order and associates
- Definition 12.2.2: a non-zero non-unit such that forces or ; equivalently is a non-zero prime ideal
- Theorem 12.2.3: in a UFD every irreducible element is prime, so in a UFD the two notions agree
History
- 1844. Ernst Kummer finds that in some rings of cyclotomic integers a factorization into irreducible elements is not unique, three years before Lamé’s proof of Fermat’s Last Theorem relied on it.
Primality is what would match the factor with an associate in the second factorization. If were prime, it would divide or , since it divides their product , and an irreducible element divisible by the non-unit is an associate of .
12.3 Principal ideal domains and Euclidean domains
In , unique factorization rests on Euclid’s lemma, and Euclid’s lemma rests on Bézout’s identity: the combinations of two integers are the multiples of one number, (Theorem 2.3.2). In the language of ideals, every ideal of is principal (Theorem 10.5.2), and so is every ideal of (Theorem 11.3.1). has the same property, for the same reason: it too has a division with remainder.
Principal ideal domains
An integral domain is a principal ideal domain, or PID, if every ideal of is principal: each ideal is for some .
In a PID the combinations of two elements are the multiples of a single element , as they are the multiples of in : so does the job of a gcd.
Every ideal is for a polynomial of least degree in it, by Theorem 11.3.1.
The same proof as for , with the degree in place of the size of a number.
If , then divides , so is or ; but does not divide , and would put into , whose elements all have an even constant term.
is an integral domain (Theorem 11.1.2), so being an integral domain is not enough.
If , then divides and , so divides and (Proposition 12.1.3), so is or . No element has norm , so , is a unit, and the ideal contains . But every element of the ideal is some with even, and is not.
To check the last claim: with and , the element is , and the difference of its coefficients is .
1
In , the ideal is generated by two elements. Is it principal?
-
Yes: an ideal generated by finitely many elements is principal.
Principal means generated by one element. Many rings have ideals that need two generators and no fewer, and this is one of them.
-
Yes: it is .
lies in , but is not a multiple of in .
-
No.
A generator would divide , so is or . But does not divide , and would put into the ideal, while every element has a constant term divisible by .
2
Every ideal of , for a field , is principal: an element of least degree generates it, because dividing by leaves a remainder of smaller degree. What breaks in ?
-
is not an integral domain.
It is: a product of non-zero polynomials over is non-zero, with degree the sum of the degrees.
-
Division by a polynomial whose leading coefficient is not a unit, such as , can leave a remainder of degree no smaller.
Division with remainder needs the leading coefficient of the divisor to be a unit. Dividing by in , every remainder has degree at least , not less than .
-
Some ideals of have no element of least degree.
The degrees of the non-zero elements of a non-zero ideal are non-negative integers, so one of them is least. The problem is what happens after that.
3
Is the field a PID?
-
No: a field is not a ring of the kind the definition is about.
A field is a commutative ring with and no zero divisors, so it is an integral domain.
-
Yes: its only ideals are and .
An ideal of a field that contains a non-zero element contains a unit, and so is the whole field (Theorem 10.6.1). Both possible ideals are principal.
-
No: has no irreducible elements to generate its ideals.
Generators need not be irreducible: and are principal, and they are all the ideals of .
4
Every ideal of is principal. Explain why is nevertheless not a PID, and why its ideals are principal.
A PID must be an integral domain, and is not one: with and . So it is not a PID.
Its ideals are principal: an ideal is a subgroup of the additive group , which is cyclic, so is cyclic, generated by some class . Its elements are the multiples , so . (Listing them also works: the ideals are , , and .)
Builds on
- Definition 10.2.2: a commutative ring with and no zero divisors: forces or
- Definition 10.5.1: the ideal generated by , and more generally
Leads to
- Theorem 12.3.3: every Euclidean domain is a PID: a non-zero ideal is generated by any of its elements of least size
- Example 12.3.5: , for a field , and are PIDs, all three because they are Euclidean; is not, since is not principal
- Theorem 12.4.1: in any integral domain a prime element is irreducible, and in a PID the converse holds too; and is then a maximal ideal
- Lemma 12.4.2: in a PID every increasing chain of ideals is eventually constant: the union is an ideal, generated by one element that already lies in some
- Theorem 12.4.3: in a principal ideal domain every non-zero non-unit factors into irreducibles, and the factorization is unique up to order and associates
So in a PID, as in , any two elements and have a greatest common divisor: a common divisor of and that every common divisor of and divides. A generator of the ideal is one: and lie in , so divides both; and lies in , so Bézout’s identity holds for some , and every common divisor of and divides . Two greatest common divisors divide each other, so they are associates (Definition 12.1.1), and the greatest common divisor is unique only up to associates. One of the two non-examples, , is also the ring in which unique factorization failed.
Euclidean domains
The proofs for and for share one move: divide by an element of least size, and the remainder is too small to be anything but . Division with remainder in and in (Theorem 11.2.1) are the two cases of one definition.
An integral domain is a Euclidean domain if there is a function from the non-zero elements of to the integers , a size function, such that for all with there are with
, with
Division with remainder gives with .
for a field , with
Theorem 11.2.1 gives with or , since every non-zero has a unit as its leading coefficient.
✗ , with
Divide by : for every , the coefficient of in is minus an even number, so it is not , and .
Let be a Euclidean domain with size function , and let be a non-zero ideal of . Then for every non-zero with as small as possible. Since also , every Euclidean domain is a PID.
Proof.¶
The idea is to divide any element of by : the remainder lies in and is smaller than , so it is .
The sizes of the non-zero elements of are non-negative integers, so some non-zero has the least size. Since and absorbs multiplication, .
Conversely, let . As is Euclidean, with or . Here lies in , because and do. A non-zero would be an element of smaller than , so and . So . □
This is why , and behave alike: in each, division with a remainder that gets smaller forces every ideal to be the multiples of one element.
For this is the proof that every subgroup of is (Theorem 2.3.1), and for the proof of Theorem 11.3.1: both are this theorem for a particular size function.
The Gaussian integers
In there is no obvious remainder, but there is a size, the norm , the square of the distance from to .
For all with there are with
So is a Euclidean domain with size function the norm , and therefore a PID.
Proof.¶
Idea. Divide in and round the quotient to the nearest Gaussian integer.
-
Rounding gives with .
Divide in : for real numbers and . Choose integers and with and , and put and . Both lie in , and .
-
.
For a Gaussian integer, , and absolute values of complex numbers multiply. So
-
is a size function, and is a PID.
The norm takes non-negative integer values, and for (Proposition 12.1.3). So or , and is a PID by Theorem 12.3.3.
Gaussian integers can be divided with a smaller remainder, so the Euclidean algorithm runs in as it does in , and finds for any and a common divisor that every common divisor divides.
divided by
In , , which is . Rounding gives , and , of norm .
✗ The same rounding in
Divide by . For any , the remainder has norm , more than . The lattice of is stretched by in one direction, so a quotient can lie too far from every lattice point.
Each of these rings is Euclidean, and so a PID by Theorem 12.3.3:
- , with size ;
- for a field , with size ;
- , with size the norm (Theorem 12.3.4).
For and this recovers Theorem 10.5.2 and Theorem 11.3.1 as one theorem. Not every integral domain is a PID: is not, since is not principal, and neither is .
So any two elements of have a greatest common divisor, a common divisor that every common divisor divides, unique up to the units , . It is found by the Euclidean algorithm with rounded quotients, exactly as in .
12.4 Why principal ideals give unique factorization
factors uniquely and is a PID. does not factor uniquely (Theorem 12.2.4), and it is not a PID, since has no single generator. That is no accident: every PID is a UFD, and the proof is the proof of the fundamental theorem of arithmetic, with each step done by ideals.
Primes in a PID
In , a prime that does not divide has , so by Bézout’s identity, and that is why forces . In a PID the same argument runs on the ideal .
Let be an integral domain.
- (i) Every prime element of is irreducible.
- (ii) If is a PID, then for every irreducible element of the ideal is maximal, and is prime.
Proof.¶
Idea. For (ii), every ideal containing is generated by a single divisor of , and an irreducible has only two kinds of divisor: units and associates of . Part (i) needs only cancellation.
-
(i) Every prime element is irreducible.
Suppose . Then , so divides or ; say . Then , and canceling the non-zero (Theorem 10.2.4) gives , so is a unit. Since is also not a unit, is irreducible.
-
For irreducible , .
Otherwise for some , and would be a unit.
-
For irreducible , is maximal.
Let be an ideal with . As is a PID, for some (Definition 10.5.1), and , say . Since is irreducible, or is a unit. If is a unit, then , so . If is a unit, then contains a unit, so (Theorem 10.6.1). So no ideal lies strictly between and (Definition 10.6.3).
-
If is irreducible and , then .
The ideal is for some , and , say . As is irreducible, or is a unit, and if is, then is an associate of . So is a unit or an associate of . If were an associate of , then and , which is not the case. So is a unit and .
-
For irreducible , is prime. This proves (ii).
Suppose and . By the previous step, for some . Then , and divides both terms, the second because . So .
In a PID nothing like in can happen: an irreducible element that divides a product always divides one of the factors, as a prime of does.
in
is a PID and is irreducible over , so is maximal, and is a field, as Theorem 11.5.1 also says.
✗ in
is irreducible but not prime (Theorem 12.2.4), and is not maximal: , since is not a multiple of and the middle ideal does not contain (its elements all have even). Here has no single generator, and the argument has nothing to work with.
Chains of ideals
The other ingredient is a finiteness property. In an integer cannot be split into smaller and smaller factors forever, because the sizes go down. In a general PID there is no size, but the ideals do the same job.
Let be a PID, and let
be ideals of . Then there is an with .
Proof.¶
The idea is that the union of the chain is again an ideal, so it has a single generator, and that generator already lies in some .
Let be the union of all the . It is an ideal. It contains , which lies in . If , say and with , then both lie in , so and lie in . And if and , then .
As is a PID, for some , and lies in some . For every ,
so . □
A chain in
. Each step up is a step to a proper divisor, and has only four prime factors to remove, so this chain cannot have more than five different ideals.
Unique factorization
Let be a principal ideal domain. Then every non-zero non-unit of is a product of irreducible elements, and any two such products for the same element agree up to order and associates. So is a unique factorization domain.
Proof.¶
Idea. Existence: an element with no factorization could be split again and again, each time giving a strictly bigger principal ideal, and a chain of ideals in a PID cannot climb forever. Uniqueness: in a PID irreducible elements are prime, so an irreducible factor on one side divides a factor on the other and can be canceled, as in .
-
If with and not a unit, then .
Since , . If the ideals were equal, then for some , so and . As , , and would be a unit.
-
Every non-zero non-unit is a product of irreducible elements.
Suppose a non-zero non-unit is not such a product. Then is not irreducible, so with and non-units. If both and were products of irreducibles, so would be; so one of them is not. Call it : it is a non-zero non-unit, it is not a product of irreducibles, and by the first step, since the other factor is not a unit. Repeating with in place of , and so on, gives a chain that never stops, which Lemma 12.4.2 rules out.
-
An irreducible that divides a product of irreducibles is an associate of one of the .
By Theorem 12.4.1, is prime. Since , divides or ; repeating, for some . Write . As is irreducible and is not a unit, is a unit, so .
-
Two factorizations into irreducibles agree up to order and associates.
By induction on . By the previous step, is an associate of some ; renumber so that with a unit. Canceling gives .
If , the left side is , so : otherwise would divide and be a unit. If , then in the same way, since cannot divide the unit . Then , where is irreducible, and by the induction hypothesis and the remaining factors match up to order and associates ( means ). With , this proves uniqueness.
One condition on ideals, that each has a single generator, is enough to make factorization unique, so the fundamental theorem of arithmetic holds in and in for the same reason as in .
: the fundamental theorem of arithmetic
is a PID (Example 12.3.5), so every integer other than and is a product of primes and their negatives in one way up to order and signs. The uniqueness step is Euclid’s argument; the proof now works in every PID.
in
, a product of irreducibles: has no rational root. Writing it as changes each factor only by a unit.
in
looks like two factorizations, but the factors have norm and split further: , , and . Both become the same four irreducible factors, up to units.
1
The theorem says that every PID is a UFD. Does it follow that every UFD is a PID?
-
Yes, because a UFD’s irreducible elements are prime, and that is all the proof used.
The existence step used that every ideal is principal, through chains of ideals. Primes alone were not enough.
-
Not from this theorem: it proves one direction only, and the converse needs an argument of its own.
An implication says nothing about its converse. The converse can already be tested on : its ideal has no single generator (Definition 12.3.1), so is not a PID. If polynomials over do factor uniquely, the converse is therefore false.
-
Yes: PID and UFD are two names for the same rings.
The definitions ask for different things: one is about ideals, the other about factorizations. The theorem connects them in one direction.
2
is not a UFD. Which of these claims from the proof of the theorem is false in ?
-
If with and not a unit, then .
That claim holds in every integral domain: its proof uses only cancellation.
-
Every non-zero non-unit is a product of irreducible elements.
That claim still holds: in the norm of is smaller than that of , so a chain of principal ideals cannot climb forever.
-
An irreducible that divides a product of irreducibles is an associate of one of the .
is irreducible and divides , but it divides neither factor, so it is an associate of neither. The reason given for this claim, that irreducible elements are prime, is what fails.
3
In the ring of polynomials in with no term, every non-zero non-unit is a product of irreducibles, yet . What does the theorem tell you about ?
-
Nothing: the theorem is about PIDs, and nothing has been said about whether is one.
The theorem also speaks about rings that are not UFDs, through its contrapositive: a PID is a UFD, so a ring that is not a UFD is not a PID.
-
is not a PID: every PID is a UFD, and uniqueness fails in .
This is the contrapositive of the theorem. In the proof, what is missing is primality: is irreducible and divides , but not , since and .
-
is a PID in which uniqueness fails, so the theorem needs a further hypothesis.
A PID with two unmatched factorizations would contradict the theorem, which has no exceptions. Since uniqueness fails in , is not a PID.
4
The proof uses that is a PID twice, each time through an earlier result. For each use, name the ideal that must have a single generator, and say why one generator for that ideal makes the step work.
Existence: the ideal is the union of the chain built by splitting an element with no factorization again and again. The union is an ideal, so , and the one generator already lies in some . Then , so the chain stops at (Lemma 12.4.2), and the splitting cannot go on for ever.
Uniqueness: the ideal is , for an irreducible that does not divide . Its one generator divides , so it is a unit or an associate of , and it is not an associate since . So and , which turns into : is prime (Theorem 12.4.1). That lets an irreducible factor on one side be matched with a factor on the other and canceled. (Naming instead an ideal containing is also right: for one , which makes maximal, and a maximal ideal is prime.)
Builds on
- Definition 12.2.1: an integral domain in which every non-zero non-unit is a product of irreducibles, uniquely up to order and associates
- Definition 12.3.1: an integral domain in which every ideal is principal
- Theorem 12.4.1: in any integral domain a prime element is irreducible, and in a PID the converse holds too; and is then a maximal ideal
- Lemma 12.4.2: in a PID every increasing chain of ideals is eventually constant: the union is an ideal, generated by one element that already lies in some
Leads to
- Theorem 12.4.4: for a field , every non-constant polynomial in is a constant times a product of monic irreducibles, uniquely up to order
History
- c. 300 BC. Euclid’s Elements proves, in Book VII, that a prime dividing a product divides one of the factors (Proposition 30) and that every number has a prime factor; Book IX, Proposition 14, goes part of the way to uniqueness.
- 1801. Carl Friedrich Gauss, in article 16 of the Disquisitiones Arithmeticae, states and proves that a number can be resolved into prime factors in only one way.
The first PIDs (Example 12.3.5) are therefore UFDs: , , and for every field . For the factorization can be normalized so that it is unique on the nose.
Let be a field. Every non-constant can be written as
with non-zero and monic irreducible polynomials. This expression is unique up to the order of the , and is the leading coefficient of .
Proof.¶
Idea. Take the factorization that Theorem 12.4.3 provides and move the leading coefficient of each factor to the front.
-
with each irreducible.
is a PID (Theorem 11.3.1), so it is a UFD. Its units are the non-zero constants (Theorem 11.1.2), so a non-constant is a non-zero non-unit.
-
with each monic irreducible.
If is the leading coefficient of , then is monic, and irreducible as an associate of .
-
In any such expression , the constant is the leading coefficient of .
A product of monic polynomials is monic, since leading coefficients multiply (Theorem 11.1.2).
-
The monic factors are unique up to order.
Suppose with all and monic irreducible, the constant being the same by the previous step. Since is non-constant, , and are two factorizations into irreducibles. So , and after renumbering each is an associate of : for a non-zero constant . Comparing leading coefficients of these monic polynomials gives , so .
over three fields
Over , and , the factorizations into monic irreducibles are
The factorization is unique over each field, but which polynomials are the pieces depends on the field.
over
: the constant in front is the leading coefficient , and the monic factors are fixed.
12.5 Gauss's lemma
is not a PID (Example 12.3.5), so Theorem 12.4.3 says nothing about whether its factorizations are unique. A polynomial with integer coefficients can be factored in , where factorization is unique (Theorem 12.4.4), and the question is whether the factors can be brought back to . Two tools do this for any UFD in place of : a field containing , as contains , and Gauss’s lemma.
The field of fractions
The rational numbers are fractions of integers, with because . The same construction works over any integral domain.
Let be an integral domain. Call two pairs and of elements of , with and , equivalent when . This is an equivalence relation; write for the class of . The field of fractions is the set of these classes, with
These operations are well defined and make a field. The map is an injective ring homomorphism , and is identified with , so that is a subring of .
does for any integral domain what does for : it is a field containing , built from alone, in which every non-zero element of has an inverse.
The construction is the rule for fractions learned at school: because , and .
Sending to the complex number identifies with the complex numbers with and rational. One direction:
The other: is for a common denominator .
The fractions of polynomials, with : for example , which is not a polynomial, and , since .
Why the field of fractions is a field.¶
Idea. Every claim is an identity between elements of , after cross-multiplying. Two facts about integral domains do the work: a product of non-zero elements is non-zero, and a non-zero factor can be canceled.
-
The relation is an equivalence relation.
It is reflexive, since , and symmetric, since gives . For transitivity, suppose and , with non-zero. Then , so , and since , .
-
The operations are well defined.
They make sense: , since and are non-zero and has no zero divisors. The result must not depend on the pairs chosen, as for residue classes. Suppose . Then
so ; and , so . Changing the second pair is the same computation, since both formulas are symmetric in the two fractions.
-
The ring axioms hold.
One rule helps: whenever , since . Both operations are commutative, because the formulas are symmetric. Multiplication is associative, with both bracketings giving , and so is addition, with both giving . The zero is , the negative of is , since their sum equals , and the one is . For distributivity,
which is .
-
is a field.
, since . A fraction equals exactly when ; if , then is a fraction and .
-
The map is an injective ring homomorphism.
, , and ; and means .
For a field , the elements of are the rational functions over , and this field is written .
In a fraction is a quotient in the field: , and is the inverse of . So from now on means , and an element of can be given a common denominator: if the coefficients are , multiplying by gives a polynomial with coefficients in .
Primitive polynomials
Over a UFD, the common factor of the coefficients of a polynomial can be split off, as is .
Let be a UFD. A non-zero polynomial is primitive if no irreducible element of divides all of its coefficients.
Every non-zero can be written as with and primitive. Such an element is a content of , written .
in
A prime dividing , and would divide .
A polynomial with a coefficient is always primitive.
in
divides and .
Its content is (or ): , and is primitive.
in
A field has no irreducible elements, so no irreducible element divides the coefficients.
Over a field every non-zero polynomial is primitive, and the content is just a unit.
Why every polynomial has a content.¶
Idea. Divide out irreducible common factors one at a time; the leading coefficient loses an irreducible factor each time, so this stops. The argument is an induction on the number of irreducible factors of the leading coefficient of .
-
For a non-zero , the number of irreducible factors of is well defined.
It is if is a unit, and otherwise the in a factorization , which is the same for every factorization, by uniqueness.
-
If no irreducible divides all the coefficients of , then is the required form.
is then primitive, by the definition.
-
When , no irreducible divides all the coefficients of .
An irreducible dividing the unit , say , would itself be a unit, since .
-
If some irreducible divides every coefficient, then , and the leading coefficient of has .
Dividing each coefficient by gives with , and . Appending to a factorization of gives one of (and if is a unit, is irreducible).
-
So has a content.
By induction, with primitive, so .
Gauss’s lemma
Let be a UFD and .
- (i) A product of primitive polynomials in is primitive.
- (ii) If with non-zero and primitive, then . So any two contents of a polynomial are associates; and a content of divides every coefficient of , and every common divisor of the coefficients divides it.
- (iii) If a primitive is a product with , then with primitive, and for some non-zero . In particular and .
Proof.¶
Idea. An irreducible element of a UFD is prime (Theorem 12.2.3), so it can be followed through products of coefficients; (iii) then clears denominators and uses (i) and (ii) to show that nothing was lost.
-
(i) A product of primitive polynomials is primitive.
Let and be primitive, and let be irreducible, so prime. Let be the least index with , and the least with ; they exist because and are primitive. The coefficient of in is the sum of the with . Every term other than has or , so divides it. And , because is prime and divides neither factor (Definition 12.2.2). So does not divide this coefficient of . As was any irreducible, is primitive.
-
(ii) If as in (ii) and is a unit, then .
Part (ii) is proved by induction on , the number of irreducible factors of , as in the definition of content; this is the case . Write for the coefficients of and for those of . Suppose is not a unit; then it has an irreducible factor . Since divides every coefficient of , for every . Since is prime and does not divide the unit , divides every , which is impossible for a primitive . So is a unit, and .
-
(ii) If , then .
Let be an irreducible factor of . Then divides every coefficient of , so for every . Some is not divisible by , as is primitive, so . Write and . Then , and since is an integral domain (Theorem 11.1.2), . As , induction gives , and so .
-
(ii) A content of divides every coefficient of , and every common divisor of the coefficients divides .
If , then divides each coefficient of . If divides every coefficient, then with ; writing with primitive gives , so by the previous steps, and .
-
(iii) After clearing denominators, with primitive and a unit of .
Since , and are non-zero. Clearing denominators, choose non-zero with and in , and write and with primitive. Then
By (i), is primitive, and is primitive, so by (ii), for a unit of . Canceling gives .
-
(iii) is primitive, and with , and the degrees are unchanged.
An irreducible dividing every coefficient of would divide every coefficient of . Then , and with . Multiplying by a non-zero constant does not change the degree.
To factor over , you may factor over the field , where there is division: a factorization of a primitive over gives one over with factors of the same degrees.
In it factors as . Moving the factor from the second factor to the first, , gives , a factorization in into primitive factors of the same degrees.
✗ , which is not primitive
It is irreducible in , where is a unit, but in it is , a product of two non-units. The content is a factor that cannot see.
A polynomial is primitive exactly when its content is a unit: if is primitive, is a content, and by (ii) every content is an associate of . Conversely, if with a unit and primitive, then is primitive, since an irreducible dividing every coefficient of would divide every coefficient of . So (iii) says that a primitive polynomial which factors in into factors of smaller degree already factors that way in .
12.6 Polynomials over a unique factorization domain
is not a PID, yet its elements look as if they factor uniquely: split off the greatest common divisor of the coefficients, which factors in , and factor the rest in . Gauss’s lemma (Theorem 12.5.3) makes this work with any UFD in place of .
Let be a UFD and . Then is a UFD. Its irreducible elements are:
- (i) the irreducible elements of , as constant polynomials, and
- (ii) the primitive polynomials of degree at least that are irreducible in .
In particular is a UFD.
Proof.¶
Idea. Split a polynomial into a content and a primitive part. The content factors in . The primitive part factors in , where factorization is unique (Theorem 12.4.4), and Gauss’s lemma brings each factor back to as a primitive polynomial. Uniqueness is checked the same way: contents in , primitive parts in .
-
is an integral domain, and its units are the units of .
This is Theorem 11.1.2.
-
The elements in (i) and (ii) are irreducible in .
Let be irreducible in . It is not a unit of , by the first step. If in , the degrees add up to , so , and one of them is a unit.
Let be primitive of degree at least and irreducible in . It is not a unit, as it is not constant. If in , then one factor is constant, since otherwise this would be a factorization in into factors of smaller degree. Say . Then divides every coefficient of , so no irreducible element of divides ; as every non-zero non-unit of the UFD has an irreducible factor, is a unit.
-
Every irreducible element of is of kind (i) or (ii).
If is constant, a factorization of in is one in , with the same units, so is irreducible in . If , write with primitive. Then is not a unit, so is, and is primitive. If were a product of two factors of smaller degree in , Theorem 12.5.3 (iii) would give such a product in , of two non-constant factors, which are non-units. So is irreducible in .
-
Every non-zero non-unit of is a product of irreducibles.
Write with primitive. If is constant, it is a unit (no irreducible divides it), so is a non-unit of and factors into irreducibles of . If , Theorem 12.4.4 gives in with each irreducible in (put the constant into ). By Theorem 12.5.3 (iii), with and primitive in ; repeating with gives , each primitive and a non-zero constant multiple of , so irreducible in , and irreducible in by the second step. Finally, factor in if it is not a unit, or put it into if it is.
-
Two factorizations of into irreducibles agree up to order and associates.
Group each factorization into its constant factors, with product (or if there are none), and its non-constant factors, with product , so . Each non-constant factor is primitive, by the third step, so and are primitive by Theorem 12.5.3 (i) (or equal to , which is primitive, if there are no non-constant factors). So and are contents of , and for a unit by Theorem 12.5.3 (ii). A non-empty product of irreducibles is not a unit, so both products of constants are empty, or neither is; in the second case uniqueness in , applied to , matches the constant factors up to order and associates.
Canceling from gives . The non-constant factors are irreducible in by the third step, so Theorem 12.4.4, with each factor written as a constant times a monic polynomial, gives the same number of them and, after renumbering, with non-zero. Write with ; then with and primitive, so by Theorem 12.5.3 (ii), and is a unit of . So in .
Unique factorization passes from a ring to its polynomials, and from there to polynomials in any number of variables, so it reaches rings like in which not every ideal is principal.
in
The content is and the primitive part is , so the factorization into irreducibles is . In the constant is a unit and the factorization has only two factors.
Several variables
is , the polynomials in with coefficients in . A field is a UFD, so is, by the theorem, and then so is . Applying the theorem once per variable, by induction, and are UFDs. For example, is the only factorization in , up to constants.
: a UFD that is not a PID
By the theorem is a UFD, but the ideal is not principal (Example 12.3.5). So the converse of Theorem 12.4.3 is false: unique factorization does not need every ideal to be principal.
1
Which of these polynomials is irreducible in ?
-
It is , and is not a unit of . In it would be irreducible, but it is not primitive.
-
It is , a product of two non-constant polynomials.
-
It is primitive, since , and it has degree , so it is irreducible in . By (ii) it is irreducible in .
-
It is : its content is not a unit.
2
is a UFD, by the theorem applied twice, but it is not a PID. Which of these ideals of is not principal?
-
It contains , so it is the whole ring, .
-
is a multiple of , so the ideal is .
-
A generator would divide and . Comparing degrees in , makes a polynomial in alone; comparing degrees in , makes it a polynomial in alone. So is a non-zero constant, and would contain . But every has constant term .
-
is a multiple of , so the ideal is .
3
How many irreducible factors, counted with repetition, does have in ?
-
That is the count in , where is a unit and has the two irreducible factors . In the units are only .
-
is not irreducible in : it is , and constants factor as they do in .
-
: the content and the primitive part .
-
It is not irreducible: its content is not a unit of .
4
Factor into irreducible elements of , and say why each factor is irreducible.
.
The factor is irreducible in , so it is irreducible in , by (i). The factors and are primitive and have degree , so they are irreducible in , and by (ii) in . The factor is primitive. It is irreducible in : a factorization into two factors of smaller degree would have a factor of degree , and then would vanish at , while for every rational . So it is irreducible in , by (ii).
Builds on
- Theorem 11.1.2: over an integral domain, ; so is an integral domain, and its units are the units of
- Theorem 12.4.4: for a field , every non-constant polynomial in is a constant times a product of monic irreducibles, uniquely up to order
- Definition 12.5.1: every integral domain sits inside a field of fractions , with when
- Definition 12.5.2: over a UFD , a polynomial is primitive when no irreducible element of divides all its coefficients; every non-zero is with primitive, and is its content
- Theorem 12.5.3: over a UFD the product of primitive polynomials is primitive; so a primitive polynomial that factors over already factors over into factors of the same degrees
History
- 1801. In article 42 of the Disquisitiones Arithmeticae, Carl Friedrich Gauss proves that if two monic polynomials have rational coefficients, not all of them integers, then their product cannot have all its coefficients integers: the first form of Gauss’s lemma.
12.7 Sums of two squares
Which primes are sums of two squares? and are, while and are not. In the question becomes one about factors, since : a prime is a sum of two squares exactly when it splits in into two factors of norm . The Gaussian integers form a PID (Theorem 12.3.4), and that settles the question.
- (i) An odd prime is a sum of two squares of integers if and only if .
- (ii) Up to units, the irreducible elements of are: ; the elements for which is a prime congruent to mod ; and the primes of that are congruent to mod .
Proof.¶
Idea. For (i), find an integer with . Then divides but neither factor, so is not prime in ; in a PID that means it is not irreducible, and a factor of of norm is a sum of two squares.
-
(i), only if: an odd sum of two squares is mod .
A square is or mod , since and . So a sum of two squares is , or mod , and an odd one is mod .
-
Wilson’s theorem: .
In the field (Theorem 10.2.6) every non-zero class has an inverse. A class is its own inverse exactly when , and has at most two roots in (Theorem 11.2.3), namely and , which differ because is odd. So the other non-zero classes fall into pairs with product , and the product of all non-zero classes, , is .
-
If , then has .
Pair each in with :
So by Wilson’s theorem , that is, .
-
Such a is not irreducible in .
In , . But divides neither factor: would need . So is not a prime element of , and since is a PID (Theorem 12.3.4), is not irreducible (Theorem 12.4.1).
-
(i), if: for some integers .
Since is neither nor , is a non-zero non-unit (Proposition 12.1.3). As it is not irreducible, with non-units. Then with neither factor , so , and gives .
-
(ii) The listed elements are irreducible.
has norm , and with has norm ; both norms are prime, so both elements are irreducible by Proposition 12.1.3 (iii). A prime has norm , so a factor that is not a unit would have norm , making a sum of two squares, which the first step rules out.
-
(ii) An irreducible of divides a prime of , and is or .
Its norm is an integer greater than , so it is a product of primes of , and divides this product in . Since is prime (Theorem 12.4.1), it divides one of these primes, . From , , so is or .
-
If , then is an associate of , and .
Then , is a unit, and is an associate of , so is irreducible in . Then , since , and , since otherwise by (i). So .
-
If , then is an associate of or one of the listed . This proves (ii).
Write , so . For , and are , and the four elements are the associates of . For odd , by (i), and is one of the listed elements .
, found from Wilson’s theorem
Here and , and indeed . The Euclidean algorithm in finds the common factor of and : dividing, , and then . So divides , with norm , and .
, which stays irreducible
, and the sums of two squares below are , so is not one. In the prime has no factor of norm , so it stays irreducible.
, the one even prime
: up to a unit, is the square of the irreducible . Since , the two conjugate factors of are associates.
Pierre de Fermat stated (i) in a letter to Marin Mersenne dated 25 December 1640, without proof. Leonhard Euler sent a proof to Christian Goldbach in 1749, and published it in two papers of the St Petersburg Academy, in its volumes for 1752–1755 (printed in 1758 and 1760).
Unique factorization: Exercises
In :
- (a) Write as a product of irreducible elements, and prove that each factor is irreducible.
- (b) Also . Factor and into irreducibles, and check that the result agrees with (a) up to order and associates.
Solution.¶
(a) , since and . The norms (Proposition 12.1.3) are and , both prime, so all four factors are irreducible by part (iii) of that proposition.
(b) and . So : the same four irreducible factors as in (a), in a different order. (Since , the factors and are themselves associates, and .) □
Let , so that has norm . Show that are two factorizations into irreducible elements that do not agree up to order and associates, so that is not a UFD.
Hint.¶
Compute the norms of , and , and ask which values can take.
Solution.¶
The plan is the one used for (Theorem 12.2.4): show by norms that no factor can be split, and that factors on different sides have different norms.
First, .
The units are : by Proposition 12.1.3 (ii) a unit has norm , and forces and .
The values of never include or : if the value is at least , and if it is a square.
Now , and . A factor that is not a unit would have norm (for ), (for ) or or (for ), and none exists. So all of , , and are irreducible, by Proposition 12.1.3 (iii).
Associates have equal norms, since units have norm . The norms and of and differ from the norm of , so neither nor is an associate of or of . The two factorizations of cannot be matched up to associates, so uniqueness fails and is not a UFD. □
In , use division with remainder to show that the ideal is all of , and find with .
Solution.¶
Divide as in Theorem 12.3.4. In ,
which is . Rounding gives , and
So lies in the ideal. It is a unit, so the ideal is all of (Theorem 10.6.1). Multiplying by gives
so and . □
Factor into irreducible elements of , and prove that each factor is irreducible.
Solution.¶
First split off the content: , and is primitive. By Example in Proposition 11.4.2,
So .
is irreducible in , so in by Theorem 12.6.1 (i). The quadratic is at least for every real , so it has no rational root, and since it has degree it is irreducible in (Proposition 11.4.2). It is primitive, its leading coefficient being , so it is irreducible in by Theorem 12.6.1 (ii). The same argument works for . □
Show that is a field with elements.
Hint.¶
Decide first whether is irreducible in , and what that says about the ideal in a PID. For the count, compare with the element whose coefficients are the remainders of and mod .
Solution.¶
The plan is to show that is a maximal ideal, and then count cosets.
is irreducible in (Example 12.1.4). is a PID (Theorem 12.3.4), so is a maximal ideal (Theorem 12.4.1), and is a field (Theorem 10.6.4 (ii)).
The multiples of in are the elements : those whose two coefficients are both divisible by . So and lie in the same coset of exactly when and . Every is therefore in the coset of , where and are the remainders of and on division by ; and two elements and with lie in the same coset only if and . So the cosets are the nine classes of with . □
Let be a PID, and let , not both . Show that and have no irreducible factor in common if and only if , that is, if and only if for some .
Hint.¶
For the harder direction, write : a non-unit has an irreducible factor.
Solution.¶
Suppose , so . An irreducible dividing and would divide , and so be a unit, which an irreducible element is not. So and have no irreducible factor in common.
Conversely, suppose . As is a PID, for some . Then is not a unit, since an ideal containing a unit is (Theorem 10.6.1), and , since and are not both . As is a UFD (Theorem 12.4.3), is a product of irreducibles; let be one of them. Then , and divides and , since and lie in . So is a common irreducible factor. □
Let be monic, and suppose with monic. Show that and lie in .
Hint.¶
A monic polynomial is primitive. Compare leading coefficients in the factorization that Gauss’s lemma provides.
Solution.¶
The leading coefficient of is , which no irreducible element of divides, so is primitive. By Theorem 12.5.3 (iii), with and , there is a non-zero with and in . The leading coefficients of these two polynomials are and , since and are monic. Both are integers and their product is , so . Then and lie in . □
Let be the set of polynomials whose constant term is an integer.
- (a) Show that is a subring of , and so an integral domain.
- (b) Show that in , where is the principal ideal of generated by .
- (c) Deduce that is not a PID.
Hint.¶
For (b), write as a multiple of .
Solution.¶
(a) The constant term of a sum, negative or product is the sum, negative or product of the constant terms, and . So contains and is closed under sums, negatives and products: it is a subring of . A subring of an integral domain is an integral domain, and is one (Theorem 11.1.2).
(b) Each lies in , its constant term being . Since and , every multiple of is a multiple of , so . The inclusion is strict: if with , then canceling in the integral domain gives , whose constant term is not an integer.
(c) The chain in (b) never stops. In a PID every ascending chain of ideals stops (Lemma 12.4.2), so is not a PID. □
Let on . Show that is a Euclidean domain with size function , and deduce that it is a UFD.
Hint.¶
Copy the proof for : divide in the real numbers, write the quotient as with rational, and round and . You need for such numbers too.
Solution.¶
The approach is the one that worked for (Theorem 12.3.4): divide exactly, round to the nearest element of the ring, and show by the norm that the remainder is smaller.
Extend the norm to the numbers with rational, by . Since is irrational, each such number has only one such form, and the computation of Proposition 12.1.3 (i), which used nothing about but the rules of arithmetic, shows that for these numbers too. Also is a positive integer for every non-zero , by part (i) of that proposition.
Let with . With for ,
with and rational. Choose integers with and , put , and . Then . Put and , so that , , and . Since for ,
So or , and is a size function.
By Theorem 12.3.3, is a PID, and by Theorem 12.4.3 it is a UFD. □
Let be a positive integer such that every prime divides an even number of times (possibly zero). Show that is a sum of two squares of integers. Use your method to write as a sum of two squares.
Hint.¶
is the norm of , and norms multiply. Which primes, and which prime powers, are norms?
Solution.¶
The norm of turns products into products (Proposition 12.1.3), so it is enough to write each prime power in as a norm.
is a product of primes , primes , and squares of primes , since each such occurs an even number of times. Each of these is a norm: ; for some integers , by Theorem 12.7.1 (i); and . So , and if , then . (For , .)
For : , and . Now , so . □