Contents / Abstract Algebra / Rings
Chapter 4
Rings
The ring axioms and the arithmetic they force; the units as a group and why a unit is never a zero divisor; finite rings where every non-zero-divisor is a unit; the subring criterion and the centre; characteristic, forced to 0 or prime in a domain; and the binomial theorem with the freshman's dream giving the Frobenius map. Unit groups computed for Z/nZ, matrix rings, polynomial rings, the Gaussian integers and the quaternions.
Introduction
A group, as built in Groups, has one operation. That is enough to describe symmetry, but not enough to describe arithmetic: the integers carry an addition and a multiplication, and every interesting fact about them — that , that is an integer combination of and , that a polynomial of degree has at most roots — is a fact about how the two operations interact. A ring is the axiomatisation of that interaction, and the interaction is carried by exactly one axiom: distributivity.
It is worth being clear about how little is assumed. Addition is required to be an abelian group, so subtraction always works. Multiplication is required only to be associative. It need not be commutative, it need not have an identity, and it certainly need not have inverses. Everything else in this chapter is a consequence of that short list, and the surprise is how much follows. From the axioms alone we shall prove that multiplying by gives — a fact so familiar it looks like an axiom but is not — that the sign rules and are theorems rather than conventions, and that the invertible elements of any ring form a group, which is the bridge back to Groups and the single most reusable result here.
The chapter runs in five movements. The first extracts the arithmetic that the axioms force. The second builds a catalogue of examples wide enough that no false generalisation survives it: , the modular rings , matrix rings, polynomial rings, the Gaussian integers, rings of functions, and Hamilton's quaternions. The third isolates the two extremes of multiplicative behaviour — units, which you can divide by, and zero divisors, which annihilate something nonzero — and proves they never coincide. The fourth is the substructure theory: the subring criterion, intersections, and centres. The fifth is the characteristic, which measures how many times you must add to itself to get back to , and which culminates in the freshman's dream — an identity that is false in every ring you met before this chapter and true in a great many of the ones you will meet after it.
Two conventions, fixed here and used throughout. First, ring will mean ring with identity: we assume an element with . Structures satisfying the other axioms but lacking a (the even integers, for instance) are common enough to need a name, and the standard joke-name is a rng — a ring with the "i" of identity removed. Second, we write for , and for .
4.1The axioms and what they force
Definition 4.1 (Ring). A ring is a triple consisting of a set with two binary operations satisfying:
- is an abelian group. Addition is associative and commutative, there is an element with for all , and each has an additive inverse with .
- Multiplication is associative. for all .
- Multiplication has an identity. There is with for all .
- The distributive laws hold. For all ,
The two distributive laws are stated separately because multiplication is not assumed commutative, and neither one implies the other. Axioms 1 and 2 say nothing about how the operations relate; axiom 4 is the entire relationship. Delete it and you are left with an abelian group and a monoid sharing a set by accident, and not one theorem below survives.
Definition 4.2 (Commutative ring, division ring, field). A ring is commutative if for all . A ring in which and every nonzero element has a multiplicative inverse is a division ring; a commutative division ring is a field.
Intuition. A ring is a number system in which you may always add, subtract and multiply, but not necessarily divide. Everything that can go wrong with division is the subject of this chapter and the next two: an element may fail to be invertible ( in ), or may be worse than non-invertible and actually destroy information ( in , since ). Fields are the rings where nothing goes wrong, and they are studied in Integral Domains and Fields.
Before any examples, we ask what the axioms alone give. The answer is more than one expects, and the proofs are short exercises in using distributivity as the only link between the two operations.
Theorem 4.3 (Arithmetic forced by the axioms). Let be a ring and . Then
- ;
- ;
- ;
- and ;
- .
Proof. (1). Since , distributivity gives
Now has an additive inverse, because is a group. Adding to both sides yields . The identical argument on the other side, using , gives . Note what was used: distributivity to split the product, and the existence of additive inverses to cancel. Nothing else.
(2). We must show is the additive inverse of , i.e. that the two sum to . Indeed
by distributivity and part (1). Since inverses in an abelian group are unique, . Symmetrically , so .
(3). Apply (2) twice:
the last step because in any group.
(4). by distributivity and (2); likewise on the right.
(5). Take in (2): .∎
Part (3) deserves a second look, because "minus times minus is plus" is usually taught as a rule to memorise. It is not a rule; it is forced. Any system in which you can add, subtract and multiply, and in which multiplication distributes over addition, must satisfy . There is no consistent alternative arithmetic in which two negatives multiply to a negative — such a system would violate distributivity, and hence could not be a ring at all.
Example 4.4 (Deriving from nothing). Using only the ring axioms and no properties of , show in every ring.
Solution.
- By Theorem Arithmetic forced by the axioms part (5), for every . Put :
- In the abelian group , the inverse of is , since and inverses are unique. Hence .
- Combining, .
- The argument used distributivity (inside part 5), the uniqueness of additive inverses, and nothing about numbers. So it holds in , in , in and in every other ring alike.
Identities, once they exist, are unique — a fact inherited from monoid theory but worth recording because it licenses the notation and as if they named single objects, which is exactly what we have been doing.
Proposition 4.5 (Uniqueness of the identities and of inverses). In any ring :
- the additive identity is unique, and the multiplicative identity is unique;
- each has exactly one additive inverse;
- if has a multiplicative inverse, it has exactly one, written .
Proof. (1). Suppose and both satisfy the identity axiom. Then because is an identity, and because is an identity. Hence . The same two-line argument with in place of gives .
(2). If and are both additive inverses of , then
using associativity of addition.
(3). Suppose and . Then
using associativity of multiplication. Note that the argument needs to be a left inverse and a right inverse; a two-sided inverse is therefore unique even in a noncommutative ring.∎
There is one degenerate ring, and it is degenerate for a reason the axioms make precise.
Proposition 4.6 (The trivial ring, and why is a real hypothesis). Let be a ring. Then in if and only if .
Proof. If then is the only candidate for either identity, and indeed makes a multiplicative identity, so .
Conversely suppose and let be arbitrary. Then
the last equality by Theorem Arithmetic forced by the axioms. So every element is and .∎
The one-element ring is called the zero ring or trivial ring. It is a perfectly legitimate ring; it is simply useless, because it has no room for a distinction between "true" and "false" statements about its elements. That is why definitions of integral domain, division ring and field all carry the clause : without it the trivial ring would qualify as a field, and the theorem "a field has no zero divisors" would be vacuously misleading rather than informative.
Pitfall. The hypothesis is not cosmetic. When you construct a quotient ring in Ideals and Quotient Rings and find that it is trivial, the correct conclusion is that — and Proposition The trivial ring, and why is a real hypothesis is the reason the two statements are equivalent.
Example 4.7 (Verifying the axioms for ). Check that is a commutative ring, naming which axiom each familiar property supplies.
Solution.
- Additive group. is closed under , addition is associative and commutative, is neutral, and for every . So is an abelian group — in fact the infinite cyclic group generated by , as in Groups.
- Multiplicative associativity. holds for integers.
- Identity. .
- Distributivity. ; commutativity of multiplication then gives the right-hand law for free.
- Hence is a commutative ring with . It is not a field: has no inverse in , since has no integer solution.
- Sanity check on the theorem above. , as Theorem Arithmetic forced by the axioms part (3) predicts.
Example 4.8 (A rng: the even integers). Show that satisfies every ring axiom except the existence of a multiplicative identity.
Solution.
- Additive group. , so is a subgroup of , abelian because is.
- Closure under multiplication. .
- Associativity, commutativity and distributivity are inherited: they are identities holding for all integers, hence in particular for the even ones.
- No identity. Suppose satisfied for all . Taking gives , so , which is not even. Contradiction.
- So is a rng and not a ring under our convention. It reappears in Ideals and Quotient Rings as the ideal , which is the context in which it is genuinely useful.
4.2A catalogue of rings
A definition is only as informative as the examples that separate it from its neighbours. The list below is chosen so that every plausible false generalisation about rings dies against at least one entry: some are commutative and some are not, some have zero divisors and some do not, some are finite, some are infinite, and one of them is a division ring that is not a field.
Example 4.9 (The modular rings ). Describe the ring structure on residue classes modulo , and locate its zero divisors for .
Solution.
- The set. For , , where is the class of integers congruent to modulo .
- The operations. and . These are well defined: if and then and , so divides and also .
- The axioms. Every axiom is inherited from by pushing it through the bars: associativity, commutativity and distributivity are identities in , hence identities among classes. So is a commutative ring with , of order .
- Zero divisors at . , yet neither factor is . Likewise . So are zero divisors and only are not.
- Contrast. In no such collapse occurs, because is prime: forces or . Reducing modulo a composite manufactures zero divisors; reducing modulo a prime does not.
Proposition 4.10 (Matrix rings). Let be a ring and . The set of matrices with entries in , under entrywise addition and the usual matrix product, is a ring with identity the matrix . For it is noncommutative and has zero divisors, even when is a field.
Proof. is an abelian group because addition is entrywise and is one; the zero matrix is the identity and . Associativity of the product is the computation
where rearranging the double sum is legitimate because addition in is associative and commutative and each is finite. Distributivity follows from distributivity in entry by entry, and is immediate.
For the last claim it suffices to work in the top-left corner, padding with zeros. Put
Then while , so the ring is noncommutative, and the second product exhibits two nonzero matrices with product zero, so it has zero divisors. Moreover , so is a nonzero nilpotent.∎
Matrix rings are the standard antidote to the belief that multiplication "should" commute. They are also the reason ring theory bothers to state left and right versions of everything: tells you nothing about , as the proof just showed.
Proposition 4.11 (Polynomial rings). Let be a commutative ring. The set of formal expressions with , added coefficientwise and multiplied by
is a commutative ring with . If is an integral domain then so is , and for nonzero .
Proof. The additive group is a direct sum of copies of , hence abelian. Associativity of the product reduces to the identity being computable in either grouping, which holds because is associative and commutative; commutativity of the product follows from . Distributivity is coefficientwise. The constant polynomial is the identity.
For the degree claim, let have degree with leading coefficient and degree with leading coefficient . The coefficient of in is , and every higher coefficient vanishes because it is a sum of products with or . If is a domain then , so and in particular ; hence has no zero divisors, and it is commutative with , so it is a domain.∎
Pitfall. The degree formula needs to be a domain. In we have , a product of two degree-one polynomials of degree zero — and, incidentally, a nonconstant unit, which Proposition Units of a polynomial ring below rules out precisely when is a domain.
Example 4.12 (The Gaussian integers). Show that is a commutative ring, and that the norm satisfies .
Solution.
- Closure. and
and all four of , , , are integers. So is closed under the operations of . 2. Axioms. Associativity, commutativity and distributivity hold in , hence in any closed subset; and lie in and additive inverses stay inside. So is a commutative ring with , and being a subset of it has no zero divisors: it is an integral domain. 3. Multiplicativity of the norm. , and conjugation is multiplicative, so
Directly: , an identity worth recognising — it is the two-squares identity of Diophantus. 4. Check. , , and with . ✓□
The norm converts a question about invertibility in into a question about integers, which is the whole reason it is introduced; we cash that in when we compute below. The same device drives the theory of quadratic fields and reappears in Polynomial Rings and Unique Factorization.
Example 4.14 (Functions under pointwise operations). Let be any nonempty set and a ring. Show that , the set of all functions with
is a ring, and determine when it has zero divisors.
Solution.
- Axioms. Every axiom is checked pointwise and therefore reduces to the corresponding axiom in . For instance , and since two functions agreeing at every point are equal, .
- Identities. The zero of is the constant function ; the one is the constant function . Note is commutative exactly when is.
- Zero divisors. Suppose has at least two points and . Let be at and elsewhere, and be at and elsewhere. Both are nonzero, and for every , so .
- Conclusion. has zero divisors whenever , no matter how well behaved is. Taking and : the continuous functions and are nonzero with product identically zero. Rings of functions are never domains unless is a single point.
Example 4.15 (Hamilton's quaternions: a division ring that is not a field). The quaternions are with multiplication determined by
Show that is a noncommutative division ring.
Solution.
- The multiplication table. From and one gets ; then , and cyclically , , , . In particular , so is noncommutative.
- Ring axioms. Addition is componentwise on , hence an abelian group; multiplication is defined by extending the table bilinearly, which builds distributivity in by construction, and associativity is checked on the basis .
- Conjugate and norm. Write . Then
since all the cross terms cancel in pairs. 4. Inverses. If then , and
So every nonzero quaternion is invertible and is a division ring, but not a field because multiplication does not commute. 5. Check. has and ; indeed . ✓□
Remark. shows that "division ring" is strictly weaker than "field". Wedderburn's theorem says the gap closes in the finite case: every finite division ring is commutative, hence a field. So has to be infinite, and indeed it is.
Proposition 4.16 (Products of rings). For rings and , the set with componentwise operations is a ring with zero and identity . If and are both nontrivial, has zero divisors; in particular it is never an integral domain.
Proof. Each axiom is a statement about a pair of components and holds because it holds in each factor: is the direct product of two abelian groups, multiplication is associative componentwise, is a two-sided identity, and both distributive laws are checked coordinate by coordinate.
For the second claim put and . Since in and in , both and are nonzero, yet
by Theorem Arithmetic forced by the axioms. So and are zero divisors.∎
Note also that : the element is a nontrivial idempotent. Idempotents other than and are exactly the fingerprints of a product decomposition, which is what the Chinese Remainder Theorem exploits when it writes .
The catalogue sorts itself into a chain of ever stronger conditions, and it is worth seeing the whole hierarchy at once before the next section starts proving things about it.
4.3Units, zero divisors, and the group of units
Multiplication in a ring can behave in two opposite ways. At best an element is invertible, so multiplying by it is a reversible operation and no information is lost. At worst it annihilates something nonzero, so multiplying by it destroys information irretrievably. These are the two notions that organise everything that follows, and the first theorem of the section is that they are mutually exclusive.
Definition 4.18 (Unit, zero divisor, nilpotent). Let be a ring.
- is a unit if there exists with . The set of units is written .
- is a left zero divisor if and for some ; right zero divisor is defined symmetrically, and in a commutative ring the two coincide and we simply say zero divisor.
- is nilpotent if for some integer , and idempotent if .
Definition 4.19 (Integral domain). An integral domain is a commutative ring with and no zero divisors: implies or .
Theorem 4.20 (The units of a ring form a group). Let be a ring. Then is a group under the multiplication of , with identity . If is commutative, is abelian.
Proof. We verify the group axioms of Groups one at a time.
Closure. Let with inverses . Then
and symmetrically . So is a unit with — note the reversal of order, which matters in a noncommutative ring.
Associativity. Inherited from the associativity of multiplication in .
Identity. , so , and for every .
Inverses. If with inverse , then the equations read symmetrically in and , so is itself a unit with . Hence .
That is all four axioms, so is a group; and by Proposition Uniqueness of the identities and of inverses the inverse of each unit is unique, so is a well-defined map. If is commutative then so is the restricted multiplication, so is abelian.∎
This is the load-bearing result of the chapter. It says that inside every ring, however badly behaved, there sits a group — and every theorem of Groups and Subgroups, Cosets, and Quotient Groups immediately applies to it. Lagrange's theorem applied to is Euler's theorem ; the same theorem applied to is the starting point of the representation theory of finite groups. The construction is also the reason the definition of a unit insists on a two-sided inverse: one-sided inverses need not compose into a group.
Proposition 4.21 (A unit is never a zero divisor). Let be a ring and . Then is neither a left nor a right zero divisor. Consequently and the set of zero divisors are disjoint, and in a field the zero divisors are absent entirely.
Proof. Suppose for some . Multiply on the left by :
using associativity and Theorem Arithmetic forced by the axioms for the last step. So forces , and is not a left zero divisor. Multiplying on the right by handles the same way.
For the consequence, note that in a field every nonzero element is a unit, so no nonzero element can be a zero divisor; a field is therefore an integral domain.∎
Proposition 4.22 (Cancellation in a domain). Let be an integral domain and . If then .
Proof. From we get , and by Theorem Arithmetic forced by the axioms part (4) this is . Since is a domain and , the other factor must vanish: , i.e. .∎
Cancellation is exactly what fails in : there but . Notice that cancellation does not require to be invertible — only that it be a non-zero-divisor. That distinction disappears in the finite case, which is the next theorem and is genuinely surprising.
Theorem 4.23 (In a finite ring, non-zero-divisors are units). Let be a finite ring and let be neither nor a left zero divisor. Then . Consequently every finite integral domain is a field.
Proof. Consider the map given by .
is injective. If then , and since is not a left zero divisor this forces .
is surjective. An injective map from a finite set to itself is surjective, by the pigeonhole principle.
So there is with . It remains to show as well. Compute
using distributivity and part (1) of Theorem Arithmetic forced by the axioms. Since is not a left zero divisor, , i.e. . Hence is a unit.
For the consequence: a finite integral domain is commutative with and has no zero divisors, so every nonzero element satisfies the hypothesis and is therefore a unit. That is precisely the definition of a field.∎
Intuition. Finiteness turns "does not destroy information" into "can be undone". Multiplication by a non-zero-divisor is an injective self-map of ; on a finite set injective and bijective are the same thing, and a bijection has an inverse. On an infinite set they are not: multiplication by on is injective and very far from surjective, which is why is a non-zero-divisor that is not a unit.
Proposition 4.24 (The units of ). Let . Then
and every class that is neither nor a unit is a zero divisor. In particular is a field if and only if is prime.
Proof. Coprime implies unit. If then by Bézout there are integers with . Reducing modulo gives , so is a unit.
Unit implies coprime. If then for some integer , so and any common divisor of and divides . Hence .
The count is the definition of Euler's totient: is the number of coprime to .
Non-units are zero divisors. Let with . Put , so and . Then
since is an integer. So is a zero divisor.
The field criterion. If is prime then every with is coprime to , so all nonzero classes are units and is a field. If is composite, with , then exhibits a zero divisor, and by Proposition A unit is never a zero divisor the ring is not a field.∎
Example 4.26 (The unit group of , and its zero divisors). List , identify it as an abstract group, and count the zero divisors.
Solution.
- Units. The classes coprime to are those divisible by neither nor : . So .
- Orders. , , . Every non-identity element has order .
- Identification. A group of order with no element of order is the Klein four-group , not . So .
- Zero divisors. The remaining nonzero classes are — seven of them — and by Proposition The units of each is a zero divisor. In general the count is , here . ✓
- Check closure. , and is in the list, as Theorem The units of a ring form a group requires.
Example 4.27 (Units of versus ). Both groups have order . Show they are not isomorphic.
Solution.
- and , , . Every element squares to , so the group is .
- and , , . So has order and the group is cyclic, .
- A cyclic group of order has an element of order ; the Klein group has none. Order of an element is an isomorphism invariant, so the two groups are not isomorphic even though .
- The moral: determines the size of the unit group, never its structure.
Proposition 4.28 (Units of a matrix ring). Let be a field and . Then is a unit if and only if , and . More generally, over a commutative ring , if and only if .
Proof. The adjugate matrix satisfies , an identity of polynomials in the entries and therefore valid over any commutative ring.
If , set ; then , so is a unit. Conversely if then multiplicativity of the determinant gives , so is a unit in .
Over a field, , so the criterion reads .∎
Example 4.29 (Counting the units of ). How many invertible matrices are there over the field of three elements?
Solution.
- By Proposition Units of a matrix ring, the units are the invertible matrices, i.e. those whose two rows are linearly independent over .
- First row. Any nonzero vector: choices.
- Second row. Any vector not in the line spanned by the first row. That line has elements, so choices.
- Hence .
- Check against the general formula. ; for this is . ✓ Out of matrices, are units and the other are zero divisors or zero.
Proposition 4.30 (Units of a polynomial ring). Let be an integral domain. Then : the only units of are the constant polynomials that are units in .
Proof. Every unit of is clearly a unit of . Conversely suppose in with . By Proposition Polynomial rings, , and degrees are non-negative, so . Thus and are constants with , i.e. .∎
In particular and . The hypothesis cannot be dropped: in the polynomial is its own inverse, because kills the leading term.
Example 4.31 (The units of the Gaussian integers). Determine .
Solution.
- Suppose with . Apply the norm, which is multiplicative by the example The Gaussian integers:
- Both and are non-negative integers, so .
- Writing , the equation over the integers has exactly four solutions: and .
- Conversely each of is invertible: and . Hence
a cyclic group of order generated by , since , , , . 5. These are exactly the lattice points on the unit circle in the figure The Gaussian integers form a square lattice in the complex plane.□
Proposition 4.32 (Nilpotents in a commutative ring). Let be commutative and nilpotent with . Then , and itself is a zero divisor whenever . In an integral domain the only nilpotent is .
Proof. is a unit. The finite geometric sum telescopes:
since . The second factor is therefore a two-sided inverse ( being commutative).
is a zero divisor. Take minimal with and suppose , so . Then by minimality, and .
Domains. A domain has no zero divisors, so the previous paragraph forces .∎
Example 4.33 (Nilpotents in ). Find every nilpotent element of and count them.
Solution.
- is nilpotent iff for some . Since , this happens iff every prime dividing also divides — that is, iff .
- Why. If then is divisible by , which is a multiple of , so . If some prime fails to divide , then never divides , so for any .
- The list. : the multiples of , of which there are .
- General rule. The nilpotents of are the multiples of , and there are of them. Here and . ✓
- Check the proposition. is nilpotent, and should be a unit: . ✓
4.4Subrings
Every algebraic structure comes with a notion of substructure, and in each case the point is the same: checking that a subset is again a structure ought not to require re-verifying the identities, because identities are inherited. What genuinely has to be checked is closure.
Definition 4.34 (Subring). A subset of a ring is a subring if is itself a ring under the operations of , with the same . Explicitly: is an additive subgroup of , closed under multiplication, and .
Theorem 4.35 (Subring criterion). A subset is a subring if and only if
- ;
- for all ;
- for all .
Proof. () A subring is an additive subgroup containing and closed under multiplication, which is exactly (1)–(3).
() Assume (1)–(3). By (1), . Taking in (2) gives ; taking gives for every ; and then . So is closed under addition, contains , and contains additive inverses: it is a subgroup of , abelian because is.
Multiplication restricted to lands in by (3), and is associative and distributive over addition because those are identities holding for all elements of , hence in particular for elements of . The element acts as a multiplicative identity for the same reason. Therefore satisfies every ring axiom.∎
The criterion replaces eight axioms by three conditions, and the mechanism deserves naming: identities are inherited, existence statements are not. Associativity, commutativity and distributivity are universally quantified equations, so they pass to any subset for free. The existence of , of negatives and of are existence statements, and those must be checked — which is precisely what conditions (1) and (2) do.
Pitfall. Condition (1) is a genuine convention and not every textbook adopts it. Under our convention is not a subring of , because ; under the no-identity convention it is. Worse, a subset can contain an identity of its own that is not : in the subset is closed under subtraction and multiplication and has identity . It is a ring, but not a subring of .
Example 4.36 (The Gaussian integers as a subring of ). Use the criterion to confirm that is a subring of , and decide whether is a subring of .
Solution.
- : take .
- Differences: , with integer components.
- Products: , with integer components.
- All three conditions hold, so is a subring of by Theorem Subring criterion.
- : is in it; differences are componentwise; and
with integer components because . So it is a subring of . 6. Contrast: is not a subring, since is not of that form — closure under multiplication fails, and one has to enlarge to .□
Proposition 4.37 (Intersections of subrings). Let be any nonempty family of subrings of . Then is a subring of . The union of two subrings, by contrast, is a subring only when one contains the other.
Proof. Write and check the three conditions of Theorem Subring criterion.
. Each is a subring, so for every , hence .
Differences. Let . For each we have , so . As this holds for every , .
Products. Identically: for every , so .
For the second claim, suppose is a subring with and . Choose and . Then , so either — whence , a contradiction — or , whence , also a contradiction.∎
The intersection property is what makes "the subring generated by a set" well defined: given , the intersection of all subrings containing is the smallest subring containing , written when is commutative. Concretely it consists of all integer-coefficient polynomial expressions in the elements of , and and above are exactly this construction for and .
Proposition 4.38 (The centre of a ring). Let be a ring. The centre
is a commutative subring of .
Proof. because for every .
Closed under differences. If and then, using Theorem Arithmetic forced by the axioms part (4),
Closed under products. , moving leftwards past and then past .
So is a subring by Theorem Subring criterion, and it is commutative because any two of its elements commute with everything, in particular with each other.∎
Example 4.39 (The centre of ). Show that the centre of the matrix ring over a field consists exactly of the scalar matrices .
Solution.
- Scalar matrices are central: .
- Conversely let be central and let be the matrix with in position and elsewhere. Direct computation gives
- Equating the two for all : comparing entry gives , so all diagonal entries agree; comparing any off-diagonal entry gives for .
- Hence with , and .
- Interpretation. A noncommutative ring can have a large commutative subring — but the centre measures how close to commutative the whole ring is, and for with the answer is "as far as possible short of having a trivial centre".
Example 4.40 (Every subring of ). Determine all subrings of , and all additive subgroups.
Solution.
- Additive subgroups. is cyclic, so by the classification of subgroups of a cyclic group in Subgroups, Cosets, and Quotient Groups, every subgroup is for a unique .
- Which are closed under multiplication? All of them: .
- Which contain ? Only , since forces .
- So has exactly one subring, namely itself. Every other with is a rng, and these are exactly the ideals of — the objects of Ideals and Quotient Rings.
- This is the cleanest illustration of the difference the convention makes: one subring under our convention, infinitely many under the other.
4.5The characteristic
Adding to itself repeatedly either runs forever through distinct elements or eventually returns to . Which of the two happens is the single most important coarse invariant of a ring, and it is the one place where the additive and multiplicative structures visibly constrain each other.
Notation. For and write for the -fold sum when , for when , and for when . This is not a product in — need not be an element of — but it obeys and , both by repeated distributivity.
Definition 4.41 (Characteristic). The characteristic of a ring , written , is the least integer such that , if such an exists, and otherwise.
Proposition 4.42 (Characteristic as an additive order). Let be a ring with . Then is the order of in the group , and for every . If is finite then divides and is in particular nonzero.
Proof. The first statement is the definition of order restated: is the least positive integer with .
For the second, let . Then by repeated distributivity
using Theorem Arithmetic forced by the axioms at the last step. So the additive order of every element divides .
If is finite, then has finite order in the finite group , so , and by Lagrange's theorem that order divides .∎
Example 4.43 (Characteristics of the standard rings). Compute the characteristic of , , , , , and .
Solution.
- and : no positive multiple of is , so the characteristic is .
- : the least with is . So the characteristic is .
- : the identity is , and iff . Characteristic — note the ring has elements, and as Proposition Characteristic as an additive order requires.
- : the identity is the constant , of additive order . Characteristic , in an infinite ring — so finiteness is sufficient but not necessary for positive characteristic.
- : here iff and , so the least such is . Characteristic , while the ring has elements.
- The last two show that the characteristic is not the number of elements; it is the additive order of , nothing more.
Theorem 4.44 (The characteristic of an integral domain). Let be an integral domain. Then is either or a prime number.
Proof. Suppose and is not prime. Since in a domain we have , so is composite: write with .
Using the notational identity , we get
Because is a domain, one of the factors vanishes: or . But and , and was the least positive integer with . That is a contradiction.
Hence is prime.∎
Corollary 4.45 (Prime subrings). Every ring contains a smallest subring, namely . It is isomorphic to if and to if . In particular a field has prime subfield or .
Proof. Let . It contains ; it is closed under differences since ; and it is closed under products since . So is a subring by Theorem Subring criterion, and any subring contains and is closed under differences, hence contains every : is the smallest one.
The map , , respects both operations by the identities just used, and its image is . Its kernel is the set of with , which is a subgroup of , hence where . The first isomorphism theorem of Group Homomorphisms and Isomorphisms, applied to the additive groups and checked to respect multiplication, gives , read as when .
If is a field it is a domain, so by Theorem The characteristic of an integral domain is or prime; in the first case and the smallest subfield containing it is , in the second is already a field.∎
4.6The binomial theorem and the freshman's dream
Expanding requires moving past , so the familiar formula is a theorem about commutative rings — or, more precisely, about pairs of commuting elements. Once it is available, characteristic produces an identity that looks like a student's error and is in fact one of the most useful facts in algebra.
Theorem 4.46 (Binomial theorem in a commutative ring). Let be a ring and let commute, . Then for every integer
where denotes the -fold sum of with itself, as in the notation above.
Proof. Induction on . For the right-hand side is . ✓
Assume the formula for . Then, using distributivity on both sides,
Here the step used the hypothesis repeatedly — this is the only place commutativity enters, and it is indispensable. Re-indexing the first sum with and combining the coefficient of gives
Pascal's rule, valid as an identity of integers and therefore valid after applying it to the integer multiples. The extreme terms and have coefficient on both sides. Hence the formula holds for , and by induction for all .∎
Pitfall. In the formula fails outright. With and one has , whereas . The correct general expansion of is , and no amount of care recovers the binomial coefficients without commutativity.
Lemma 4.47 (Prime divisibility of binomial coefficients). Let be prime and . Then .
Proof. Start from the identity
The right-hand side is divisible by , since is one of the factors of . So divides the product .
Now is prime, so by Euclid's lemma it must divide one of the factors. It does not divide : that is a product of integers , all strictly between and , and a prime dividing a product must divide one of them. For the same reason , because .
Therefore .∎
The hypothesis is exactly right: are the two coefficients that survive, and they are the two terms that appear in the theorem below. Primality is also essential — is not divisible by — which is why the next result is a statement about characteristic and not about characteristic .
Theorem 4.48 (The freshman's dream). Let be a commutative ring with prime. Then for all and all ,
Proof. By Theorem Binomial theorem in a commutative ring,
Fix with . By Lemma Prime divisibility of binomial coefficients we may write for some integer . Then, for any ,
because for every by Proposition Characteristic as an additive order. So every middle term of the sum vanishes, leaving .
For the second identity, induct on . The case is done. If , then applying the case to the elements and gives
Intuition. The identity is startling because it is the one algebraic error every student is trained out of. What makes it true here is not that squaring has become linear, but that all the cross terms carry a coefficient divisible by , and in characteristic such a coefficient annihilates whatever it multiplies. The middle terms of the expansion are still there; they are all zero.
Corollary 4.49 (The Frobenius endomorphism, and Fermat's little theorem). Let be a commutative ring of prime characteristic . The map , , satisfies
If then is the identity map, which is to say for every integer .
Proof. Additivity is Theorem The freshman's dream. Multiplicativity is , valid because is commutative, and . So preserves both operations and the identity — it is a ring homomorphism, in the sense given in Ideals and Quotient Rings.
Now take . Its unit group has order by Proposition The units of , so by Lagrange's theorem applied to that group, for every . Multiplying by gives , and the identity also holds trivially for . Hence , which is Fermat's little theorem.∎
Fermat's little theorem has just been deduced from two structural facts — that the units of a ring form a group, and that Lagrange's theorem applies to any finite group. That is the payoff of Theorem The units of a ring form a group: an arithmetic statement proved without any arithmetic.
Example 4.50 (The freshman's dream in ). Expand and in .
Solution.
- The ring is commutative with characteristic , by the example Characteristics of the standard rings, so Theorem The freshman's dream applies with .
- Therefore .
- Verification the long way. , and kills the two middle terms, leaving . ✓
- For the second, , so the iterated form gives .
- Reduce the constant: , so . Alternatively, Fermat gives , hence . So .
Example 4.51 (A binomial coefficient modulo a prime). Compute and , and say which one Lemma Prime divisibility of binomial coefficients predicts.
Solution.
- , so . This is exactly the lemma at work: and .
- , and , so as well — but not because of the lemma, whose hypothesis requires the upper index to be the prime itself.
- That the lemma does not extend blindly is shown by : here the upper index is a multiple of and the coefficient is not divisible by .
- The correct general statement is Lucas' theorem: is the product of over the base- digits. For and this gives . ✓
- Assuming multiplication commutes. It does not in or , and the binomial theorem, the formula and the phrase "the inverse" all have to be stated with the order kept straight.
- Treating or as axioms. They are theorems, proved from distributivity and the additive group structure alone, and knowing that is what lets you use them in an unfamiliar ring without apology.
- Confusing a non-unit with a zero divisor. In the element is not invertible, yet it is not a zero divisor either. Only in a finite ring do the two notions become complementary, by Theorem In a finite ring, non-zero-divisors are units.
- Cancelling in a ring with zero divisors. From in you may not conclude : . Cancellation is a property of domains, not of rings.
- Forgetting the clause in the subring test. is closed under subtraction and multiplication but is not a subring under our convention; even has an identity of its own, just not the right one.
- Confusing the characteristic with the number of elements. has elements and characteristic ; is infinite and has characteristic .
- Applying the freshman's dream outside characteristic . is false in , false in , and false in any commutative ring where is not . It also fails for in characteristic only in the sense that the exponent must be a power of — is fine, is not.
- Assuming every ring has a , or that . Both are conventions with content: the trivial ring satisfies , and by Proposition The trivial ring, and why is a real hypothesis that single equation collapses the whole ring to one point.