Romyar SharifiLECTURE NOTES
READING EDITIONPDF

LECTURE NOTES / Chapter 5

Abstract Algebra

Romyar Sharifi

Chapter 5 Advanced ring theory

Book contents

Chapter 5
Advanced ring theory

5.1. Unique factorization domains

In this section, we investigate the role that prime numbers play in the integers in greater generality. Recall that every nonzero integer can be written as plus or minus a product of distinct prime powers, and these prime powers are unique. Note that the units in are ±1, so we can say that every nonzero integer can be written as a product of prime powers times a unit. In this section, we investigate this property for a larger class of integral domains.

First, we introduce an analogue of prime numbers.

Definition 5.1.1.

Let R be an integral domain. A nonunit and nonzero element p R is said to be an irreducible element if for every a,b R with p = 𝑎𝑏, either a or b is a unit.

Definition 5.1.2.

Two elements a and b of a nonzero commutative ring R are said to associates if a = 𝑢𝑏 with u R×.

Of course, the property of being associate is an equivalence relation on an integral domain R. The equivalence class of 0 is {0}and that of 1 is R×. We have the following simple lemma, which tells us that the equivalence class of an irreducible element consists of irreducible elements.

Lemma 5.1.3.

If R is an integral domain, and p R is irreducible, then so is every associate of p.

Proof.

That is, if u R× and 𝑢𝑝 = 𝑎𝑏 for a,b R, then p = (u1a)b. As p is irreducible, either u1a R× or b R×. Finally, if u1a R×, then a R×.

Examples 5.1.4.

a.

The irreducible elements of are ±p for prime numbers p. The elements p and p are associates.

b.

The irreducible elements of F [x], for a field F, are the irreducible polynomials of F, since the units of F [x] are the nonzero constant polynomials. Every nonzero polynomial has a unique associate with leading coefficient equal to 1.

c.

In the subring of that is

[2] = {a+b2a,b },

a number of prime integers are no longer irreducible. For instance 2 = (2)2, and 2 is not a unit. Also, 3 = (1+2)(12), and neither 1+2 nor 12 is a unit, for if, e.g., u [2] with u(1+2) = 1, then 3u = 12, which is clearly impossible. On the other hand, it turns out that 5 is irreducible, though we do not prove this now.

Definition 5.1.5.

An integral domain R is a unique factorization domain, or a UFD, if every nonzero, nonunit element a R can be written as a product

a = p1p2pr

with p1,p2,,pr irreducible elements of R for some r 1, and moreover, this expression is unique in the sense that if

a = q1q2qs

with q1,q2,,qs irreducible for some s 1, then s = r and there exists a permutation σ Sr such that qσ(i) and pi are associates for all 1 i r.

Remark 5.1.6.

If one wants to allow units, one can rephrase Definition 5.1.5 to read that every nonzero element a R can be written as a = up1pr with u R× and p1,p2,,pr irreducible in R for some r = 0 in a unique manner such that any such decomposition of a = vq1qs has s = r and, after a reordering of the irreducibles, each qi is an associate of pi.

Example 5.1.7.

The ring is a unique factorization domain.

As we shall see later, F [x] for a field F is a unique factorization domain as well.

Example 5.1.8.

Consider the subring F [x2,𝑥𝑦,y2] of F [x,y]. It consists exactly of the polynomials in F [x,y] that can be written as polynomials in x2, 𝑥𝑦, and y2. These latter three elements are irreducible in F [x2,𝑥𝑦,y2], but we have

x2 y2 = 𝑥𝑦𝑥𝑦,

so factorization is not unique.

A more standard example is the following.

Example 5.1.9.

Consider the subring [5] of . We have

6 = 23 = (1+5)(15).

The element 2 divides only elements of the form a+b5 with a,b even, so it does not divide 1+5 or 15. On the other hand, 2 is irreducible since if a+b5 divides 2, then so does its complex conjugate, and then

(a+b5)(ab5) = a2 +5b2

divides 2, which happens only if a = ±1 and b = 0. Therefore, [5] is not a unique factorization domain.

One advantage of unique factorization domains is that they allow us to define a concept of greatest common divisor.

Definition 5.1.10.

Let R be a UFD. Let a1,a2,,ar R be nonzero. A principal ideal (d) for d R is said to be the greatest common divisor, or GCD, of a1,a2,,ar if d divides ai for each 1 i r and if d also divides each ai, then d divides d.

The element d in the definition of GCD, if it exists, is only defined up to unit. On the other hand, (d) is independent of this choice.

Lemma 5.1.11.

Let R be a UFD. Then every collection a1,a2,,ar of nonzero elements of R has a GCD.

Proof.

We sketch the proof. Factor each ai into a unit times a product of irreducibles. If there exists an irreducible element p1 that divides each ai, an associate of it is one of the irreducibles appearing in the factorization of ai. We then have bi R with ai = pbi for each i, and the factorization of bi has one fewer irreducible element than that of ai. We repeat this process until the collection no longer has a common irreducible divisors, obtaining irreducibles p1,p2,,pk such that d = p1p2pk divides every ai.

We claim that (d) is the GCD of a1,a2,,ak. If not, then there exists d that does not divide d which divides every ai. This means that there exists an irreducible element q R and some n 1 such that qn divides d but not d. Then qn divides every ai, which means since qn does not divide d that q actually divides each ci such that ai = dci, in contradiction to the definition of d.

One advantage of having the notion of a GCD is that in quotient fields, it allows us to talk about fractions being in lowest terms.

Definition 5.1.12.

Let R be a UFD, and let a,b R with b0. We say that the fraction ab is reduced, or in lowest terms, if the GCD of a and b is (1).

Lemma 5.1.13.

Let R be a UFD. Every fraction in Q(R) may be written in lowest terms.

Proof.

Let a,b R with b0. Let (d) be the GCD of a and b. Then there exist a,b R with a = da and b = db, and we have that the GCD of a and b is (1). We therefore have that a b = a b, and the former form of the fraction is in lowest terms.

Let us study factorization in principal ideal domains.

Definition 5.1.14.

Let X be a set, and let be a partial ordering on X.

a.

An ascending chain in X is a sequence (ai)i1 of elements of X such that ai ai+1 for all i 1.

b.

We say that X satisfies the ascending chain condition, or ACC, if every ascending chain (ai)i1 in X is eventually constant: i.e., there exists j 1 such that ai = aj for all i j.

The following is an equivalent characterization of the ACC.

Proposition 5.1.15.

A nonempty set X with a partial ordering satisfies the ACC if and only if every nonempty subset of X contains a maximal element.

Proof.

If every nonempty subset of X contains a maximal element, then clearly ascending chains are eventually constant: i.e., their underlying sets are finite. For the other direction, it suffices to show that if X satisfies the ACC, then it contains a maximal element. Let C be a nonempty chain in X, and suppose it does not have an upper bound. For each x C, there exists y C with y > x, as otherwise x would be an upper bound. We may therefore recursively pick ai X with ai < ai+1 for each i, but this is impossible. Thus C has an upper bound, and therefore X has a maximal element by Zorn’s lemma.

Definition 5.1.16.

We say that a commutative ring R is noetherian if the set of its ideals satisfies the ascending chain condition with respect to containment of ideals.

Remark 5.1.17.

We may rephrase the condition that R be noetherian by saying that if (In)n1 is an ascending chain of ideals, then there exists m 1 such that the union I of the In with n 1 equals Ii for all i m.

Remark 5.1.18.

One may define a noncommutative ring to be left noetherian (resp., right noetherian rings) if it satisfies the ACC on left ideals (resp., right ideals). In general, a noetherian ring is taken to be one that is both left and right noetherian.

Theorem 5.1.19.

A commutative ring R is noetherian if and only if every ideal of R is finitely generated.

Proof.

Suppose that every ideal of R is finitely generated. Let (In)n1 be a chain of ideals of R. Let I be the union of the In for n 1, which is an ideal by Lemma 3.10.10. Since I is finitely generated, I = (a1,a2,,ar), with ak I with 1 k r for some r 1. For each k, there exists mk 1 with ak Imk, and if we let m be the maximum of the mk, then ak Im for every ak. Since I is the smallest ideal of R containing each ak, we have I Im, which forces I = Im.

Conversely, suppose R is noetherian, and let I be an ideal of R. Let x1 I, and suppose inductively that we have constructed x1,x2,,xn R with the property that if we set Ik = (x1,x2,,xk) for every 1 k n, then Ik Ik+1 for every 1 k n1. If InI, then let xn+1 I with xn+1In. Then In+1 = (x1,x2,,xn+1) properly contains In. If this process repeats indefinitely, then we have constructed an ascending chain (In)n1 that is not eventually constant, which would contradict the assumption that R is noetherian. Therefore, there exists m 1 such that Im = I, and so I = (a1,a2,,am) is finitely generated.

Corollary 5.1.20.

Every principal ideal domain is noetherian.

Proposition 5.1.21.

Let R be a noetherian domain. Then every nonzero, nonunit a R may be written as a = p1p2pr with the pi R irreducible for all 1 i r and some r 1.

Proof.

Let

X = {(a)a R(R×{0}) is not a product of irreducible elements}.

which we order by inclusion of ideals. If X, then X contains a maximal element (a) by Proposition 5.1.15. Since a is not irreducible, we may write a = 𝑏𝑐 for some b,cR×. Then (b) and (c) properly contain (a) as R is a domain. By maximality of (a), we may write both b and c as products of irreducible elements. Since a = 𝑏𝑐, we have that a is product of irreducible elements as well, which is a contradiction. Thus X is empty, as required.

Lemma 5.1.22.

Let R be a PID, and let a R be nonzero. Then (a) is maximal if and only if a is an irreducible element.

Proof.

Clearly, a cannot be a unit for either condition to hold. If a = 𝑏𝑐 with b and c non-units, then (a) (b) R, so (a) is not maximal. And if (a) is not maximal, then there exists an proper ideal I = (c) of R properly containing (a), so we may write a = 𝑏𝑐 with b R. Since the containment is proper, b is not a unit, and c is not a unit by definition. Therefore, a is reducible.

Definition 5.1.23.

An element p of a domain R is prime if for every a,b R such that p𝑎𝑏, either pa or pb.

Lemma 5.1.24.

In a domain, prime elements are irreducible.

Proof.

Let R be a domain. Let p R be prime and suppose p = 𝑎𝑏 for a,b R. Then pa or pb as p is prime. Suppose then without loss of generality that a = 𝑝𝑐 for some c R. We then have p = 𝑝𝑏𝑐, and by cancellation this forces 𝑏𝑐 = 1, so b R×. Thus, p is irreducible.

Lemma 5.1.25.

In a UFD, irreducible elements are prime.

Proof.

Let R be a UFD, and let π R be irreducible. Suppose that a,b R with π𝑎𝑏. Write 𝑎𝑏 = 𝜋𝑐 for c R. Write a, b, and c as products of irreducible elements times a unit. Since R is a UFD, we must then have that π is associate to one of the irreducible elements of which a and b are products. That is, π divides a or b.

Example 5.1.26.

In Example 5.1.9, we showed that 2 is irreducible in [5], and 6 = (1+5)(15), but 2 (1±5). Thus, 2 is not prime.

Proposition 5.1.27.

Let R be a domain in which every nonzero, non-unit element a has a factorization a = p1p2pr with pi prime for 1 i r and r 1. Then R is a UFD.

Proof.

Let a R be a nonzero, nonunit element, and write a = p1p2pr with p1,p2,,pr prime. By Lemma 5.1.24, this is also a factorization of a into irreducible elements. Suppose that

a = q1q2qs

with q1,q2,,qs irreducible. If s = 1, then a is irreducible, so r = 1 and p1 = q1. Suppose by induction we have proven uniqueness whenever there is a decomposition of a with fewer than s 2 irreducibles.

As pr is prime, we have that pr divides some qi for some 1 i s. Since qi is irreducible, this means that qi = wpr with w R×. Since R is an integral domain, we then have

p1p2pr1 = wq1q2qi1qi+1qs.

As s 2 by assumption, note that wq1 is an associate to q1 and the expression on the right is a product of s1 irreducible elements. By induction, we have r = s, and there exists a bijective function

σ : {1,2,,r1}{1,2,,i1,i+1,,r}

with qσ(i) and pi associates for each 1 i r1. We may extend σ to an element of Sr by setting σ(r) = i, and then qσ(r) = qi is an associate of pr as well, proving uniqueness.

In a principal ideal domain, irreducible elements are in fact prime.

Lemma 5.1.28.

Let R be a PID. If p R is irreducible, then p is prime.

Proof.

Let a,b R with p𝑎𝑏. Then 𝑎𝑏 (p), and (p) is maximal by Lemma 5.1.22. Since every maximal ideal of R is prime, we have that (p) is prime, and therefore either a (p) or b (p).

The following key theorem is now a consequence of results we have already proven.

Theorem 5.1.29.

Every principal ideal domain is a unique factorization domain.

Proof.

Suppose that R is a PID. As R is noetherian, Proposition 5.1.21 states that we may factor every nonzero, nonunit element in R as a product of irreducible elements. As irreducible elements of a PID are prime, Proposition 5.1.27 tells us that R is a UFD.

Given that every polynomial ring over a field is a PID, we have the following corollary. It is an interesting exercise to prove it directly.

Corollary 5.1.30.

For any field F, the ring F [x] is a unique factorization domain.

Corollary 3.9.2 tells us what we may already have known from experience, that we can factor one-variable polynomials into irreducible factors over a field, and there is only one way to do this.

5.2. Polynomial rings over commutative rings

Now that we know that every PID is a UFD, the question arises: is every UFD also a PID? The answer, in fact, is no. For this, let us examine polynomial rings over integral domains in a bit more detail.

Definition 5.2.1.

Let R be an integral domain. A polynomial f R[x] is said to be primitive if the only elements of R that divide all of the coefficients of f are units.

In a UFD, we can actually talk about the GCD of the coefficients of a polynomial.

Definition 5.2.2.

Let R be a UFD. The content of the a polynomial in R[x] is the GCD of its coefficients.

Remark 5.2.3.

If R is a UFD, then a polynomial in R[x] is primitive if and only if the GCD of its coefficients is (1).

Definition 5.2.4.

A polynomial in R[x] for a nonzero ring R is said to be monic is its leading coefficient is 1.

Remark 5.2.5.

Monic polynomials in R[x], where R is a UFD, are primitive.

Lemma 5.2.6.

Let R be a UFD. If (c) is the content of f R[x] for, then there exists a primitive polynomial g R[x] with f = 𝑐𝑔.

Proof.

By definition, c divides each coefficient of f, so f = 𝑐𝑔 for some g R[x]. Let d R be such that (d) is the content of g. Then g = 𝑑h for some h R[x], so we have f = 𝑐𝑑h. But this implies that 𝑐𝑑 divides every coefficient of f, so 𝑐𝑑 divides the content c, forcing d to be a unit as R is a domain. Therefore, g is primitive.

Example 5.2.7.

The polynomial f = 25x2 +10x15 in [x] has content 5, and so it is not primitive. In fact, f = 5g, where g = 5x2 +2x3, and g is primitive.

Lemma 5.2.8 (Gauss’s Lemma).

Let R be a UFD. Then the product of any two primitive polynomials in R[x] is primitive.

Proof.

Let

f =i=0na ixi and g = j=0mb jxj

be primitive polynomials in R[x]. The kth coefficient of 𝑓𝑔 is ck = i=0kaibki. If p is an irreducible element of R, then since f and g are primitive, there exist minimal nonnegative integers r and s such that p ar and p bs. Since pai for i < r and pbj for j < s, which is to say that pbr+si for r < i r+s, we have that p divides every term of cr+s except arbs, which it does not divide. Therefore, p does not divides cr+s. Since p was arbitrary, 𝑓𝑔 is primitive.

Note that we can speak about polynomials being irreducible in R[x] for any integral domain R, since we have a notion of irreducible element in such a ring. For a field F, this coincides with the usual notion of an irreducible polynomial.

Proposition 5.2.9.

Let R be an integral domain, and let F = Q(R).

a.

If f R[x] is a primitive polynomial that is irreducible as an element of F [x], then f is irreducible in R[x]. In particular, if f is primitive and cannot be written as a product of two nonconstant polynomials in R[x], then it is irreducible in R[x].

b.

Suppose that R is a UFD. If f R[x] is irreducible, then it is irreducible as an element of F [x] as well. In fact, if f R[x] and f = 𝑔h for nonconstant g,h F [x], then there exists α F× such that g = 𝛼𝑔 and h = α1h are in R[x] and therefore f = gh in R[x].

Proof.

First, we treat part a. If f R[x] is primitive and reducible (which is to say, not irreducible and not a unit or zero), then we can write f = 𝑔h for nonunits g,h R[x]. If g or h is constant, then f is not primitive, so neither is constant, and therefore f is reducible in F [x].

Next, we turn to part b. Suppose that f R[x] can be written as f = 𝑔h with g,h F [x] nonconstant. Let (d) (resp., (e)) be a multiple of all of the denominators of the coefficients of g (resp., h), written in lowest terms. Then 𝑑𝑒𝑓 = gh, where g,h R[x] are nonconstant. The content of 𝑑𝑒𝑓 is contained in (𝑑𝑒), so the content of gh is as well. By unique factorization in R, we may write 𝑑𝑒 = de, where d R divides the content of g and e divides the content of h, and we may then divide g by d and h by e to obtain g and h in R[x] such that f = gh. Therefore, f is reducible in R[x], and the remaining statement of the lemma holds as well.

We are now ready to prove the following.

Theorem 5.2.10.

If R is a UFD, then R[x] is a UFD as well.

Proof.

Let f R[x] be a nonzero element that is not a unit. Write

f = f1f2fr

with fi R[x] nonconstant, where r is maximal such that this can be done. Note that such a maximal r exists as the degree of f is finite. For 1 i r, let (ci) be the content of fi, and define gi R[x] by fi = cigi. Set c = c1c2cr, and set g = g1g2gr. Now, if any gi were not irreducible in F [x] for F = Q(R), then it would not be irreducible in R[x] by Proposition 5.2.9b. Moreover, since gi is primitive, it would then be written as a product of two nonconstant polynomials in R[x], which would contradict the maximality of r. Therefore, each gi is irreducible. Since R is a UFD, we may also write c = p1p2pk with pi R irreducible for 1 i k and some k 0, and so

f = p1p2pkg1g2gr

is a factorization of f into irreducibles in R[x].

Now, if

f = q1q2qlh1h2hs

with qi R irreducible and hi R[x] irreducible and nonconstant, then (q1q2ql) is the content of f by Gauss’s lemma, and so q1q2ql agrees with c up to unit in R. Since R is a UFD, it follows that l = k and there exists σ Sk such that each qσ(i) is an associate of pi. Next, we have

g1g2gr = uh1h2hs

for some unit u R×, and by uniqueness of factorization in F [x], we have that s = r, and there exists τ Sr such that hτ(i) = vigi for some vi F× for each 1 i r. But the content of each gi and each hj is (1), since these elements are irreducible in R[x], and therefore writing vi = ai bi with ai,bi R, the fact that bihτ(i) = aigi implies that (ai) = (bi), since both sides must have the same content. In other words, vi R×, and so hτ(i) and gi are associates in R[x], finishing the proof of uniqueness.

Examples 5.2.11.

a.

Since is a UFD, so is [x]. However, [x] is not a PID, since (p,x) is not principal.

b.

Since [x] is a UFD, so is [x,y]. Again, [x,y] is not a PID, since (x,y) is not principal.

c.

If R is any UFD, then R[x1,x2,xn] is a UFD for any n 1.

We next prove that a polynomial ring over a noetherian commutative ring is noetherian.

Theorem 5.2.12 (Hilbert’s basis theorem).

The polynomial ring R[x] over a commutative noetherian ring R is noetherian.

Proof.

Let I be an ideal of R[x]. We must show that I is finitely generated. Let L be the set the leading coefficients of the elements of I. Then L is clearly an ideal: if a L is the leading coefficient of f I and r R, then 𝑟𝑎 is the leading coefficient of 𝑟𝑓 I, and if a,b L are the leading coefficients of f and g, respectively, then xdeggf +xdegfg I has leading coefficient a+b. Since R is noetherian, there exist a1,a2,,ak L such that L = (a1,a2,,ak). Let fi I of degree ni 0 have leading coefficient ai for 1 i k. Let n = max{ni1 i k}.

Next, for m 0, let Lm be the set of all leading coefficients of polynomials in I of degree m. This, again, is clearly an ideal of R, so we have Lm = (bm,1,bm,2,,bm,lm) for some lm 1 and bm,i Lm for 1 i lm. For each such i, let gm,i I be a polynomial of degree m with leading coefficient bm,i. We claim that I is generated by

X = {fi1 i k} m=0n{g m,i1 i lm}.

Let J be the ideal of R[x] generated by X, which is contained in I. Let h I, and let c L be its leading coefficient. We want to show that h J. Write c = i=1kriai with ri R. If d n, then c is the leading coefficient of

h = i=1kr ixdnif i J,

so hh has degree less than d. We can then replace h by hh and repeat the process until d < n.

We are reduced to showing that if h I has degree d < n and leading coefficient c, then h J. In this case, we have c = i=1ldsibd,i with si S, and c is the leading coefficient of

h = i=1lds igd,i J

Then hh J has degree less than d. Replacing hh by h and repeating the process, we see that h J.

Corollary 5.2.13.

Let R be a noetherian ring. Then R[x1,x2,,xn] is noetherian for every n 1.

5.3. Irreducibility of polynomials

In this section, we investigate criteria for determining if a polynomial is irreducible or not.

Definition 5.3.1.

Let R be an integral domain, and let 𝔭 be a prime ideal of R. We say that a nonconstant polynomial f = i=0naixi in R[x] is an Eisenstein polynomial (with respect to 𝔭) if an𝔭, ai 𝔭 for all 0 i n1, and a0𝔭2.

Theorem 5.3.2 (Eistenstein criterion).

Let R be an integral domain, and let f R[x] be an Eiseinstein polynomial.

a.

If R is a UFD, then f is irreducible in Q(R)[x].

b.

If f is primitive, then it is irreducible in R[x].

Proof.

Suppose f = i=0naixi is of degree n and Eisenstein with respect to a prime ideal 𝔭 of R. By Proposition 5.2.9, it suffices for each part to show that f is not a product of two nonconstant polynomials in R[x]. So, let g = i=0sbixi and h = j=0tcjxj be polynomials in R[x] with f = 𝑔h, where s+t = n. We then have

ak =i=0kb icki

for all 0 k n. In particular, a0 = b0c0 is an element of 𝔭 but not 𝔭2. Since 𝔭 is prime, at least one of b0 and c0 lies in 𝔭, but as a0𝔭2, at least one does not lie in 𝔭 as well.

Without loss of generality, suppose that b0 𝔭 and c0𝔭. As an = bsct𝔭, we have bs𝔭. Let k 1 be minimal such that bk𝔭. If k < n, then ak 𝔭 and bi 𝔭 for i < k, so we have bkc0 𝔭, which therefore forces c0 𝔭 by the primality of 𝔭. Therefore, k = n, which means that h is constant, proving the result.

We will most commonly be concerned with the Eisenstein criterion in the case that R = .

Example 5.3.3.

For any prime number p and integer n 1, the polynomial xnp is irreducible by the Eisenstein criterion. That is, we take our prime ideal to be (p) in the ring .

Example 5.3.4.

For a prime number p, set

Φp = xp1 x1 = xp1 +xp2 ++1.

This polynomial has as its roots in the distinct pth roots of unity that are not equal to 1. Over , we claim it is irreducible. For this, consider the polynomial

Φp(x+1) = (x+1)p1 x =i=0p1( p i+1)xi,

which has coefficents divisible by p but not p2 except for its leading coefficient ap1, which is 1. Therefore, Φp(x+1) is Eisenstein, hence irreducible. But if Φp were to factor into g and h, then Φp(x+1) would factor into g(x+1) and h(x+1), which have the same leading coefficients as g and h, and hence are nonconstant if and only if g and h are. In other words, Φp is irreducible as well.

Remark 5.3.5.

The condition in the Eisenstein criterion that the constant coefficient not lie in the square of the prime ideal is in general necessary. For instance, x2 p2 [x] is never irreducible for a prime p.

Often, we can tell if a polynomial is irreducible by considering its reductions modulo ideals.

Proposition 5.3.6.

Let R be an integral domain, and let 𝔭 be a prime ideal of R. Let f R[x] with leading coefficient not in 𝔭. Let f¯ denote the image of f in (R𝔭)[x] given by reducing its coefficients modulo 𝔭.

a.

If R is a UFD and f¯ is irreducible in Q(R𝔭)[x], then f is irreducible in Q(R)[x].

b.

If f is primitive and f¯ is irreducible in R𝔭[x], then f is irreducible in R[x].

Proof.

If R is a UFD and f is reducible in Q(R)[x], then by Proposition 5.2.9, we have that f = 𝑔h for some nonconstant g,h R[x]. Similarly, if f is primitive and reducible in R[x], then f = 𝑔h for nonconstant g,h R[x]. In either case, since the leading coefficient of f is not in 𝔭 and 𝔭 is prime, we have that the leading coefficients of g and h are not in 𝔭 as well. That is, the images of g and h in (R𝔭)[x] are nonconstant, which means that f¯ is a product of two nonconstant polynomials, hence reducible in Q(R𝔭)[x].

Remark 5.3.7.

For R = , Proposition 5.3.6 tells us in particular that if f [x] is monic and its reduction f¯ 𝔽p[x] modulo p is irreducible for any prime p, then f is irreducible.

Example 5.3.8.

Let f = x4 +x3 +1001 [x]. We claim that f is irreducible in [x]. For this, consider its reduction modulo 2. The polynomial f¯ = x4 +x3 +1 (2)[x] is either irreducible, has a root in (2)[x], or is a product of two irreducible polynomials of degree 2. But f¯(0) = f¯(1) = 1, and x2 +x+1 is the only irreducible polynomial of degree 2 in (2)[x], and (x2 +x+1)2 = x4 +x2 +1f¯, so f¯ is irreducible. By Proposition 5.3.6, f is irreducible in [x].

Example 5.3.9.

The converse to Proposition 5.3.6 does not hold. For instance, x2 +x+1 is irreducible in [x], but it has a root in (3)[x].

We also have the following simple test for the existence of roots of polynomials over UFDs.

Proposition 5.3.10.

Let R be a UFD and f = i=0naixi R[x] with a0,an0. Suppose that α Q(R) is a root of f, and write α in reduced form as α = cd for some c,d R. Then c divides a0 and d divides an in R.

Proof.

Since xc d divides f in Q(R)[x] and cd is in reduced form, it follows from Proposition 5.2.9 that f = (𝑑𝑥c)g for some g R[x]. Writing g = i=0n1bixi, we see that a0 = cb0 and an = dbn1.

Example 5.3.11.

Let f = 2x3 3x+5 [x]. We check that f(1) = 4, f(1) = 6, f(5) 10mod25, f(5) 20mod25, and f(12), f(12), f(52), and f(52) are all represented by reduced fractions with denominators equal to 4. Proposition 5.3.10 therefore tells us that f has no roots in , hence is irreducible, being of degree 3.

5.4. Euclidean domains

Definition 5.4.1.

A norm f on an ring R is a function f : R 0 with f(0) = 0. We say that f is positive if the only a R for which f(a) = 0 is a = 0.

Definition 5.4.2.

Let R be an integral domain. A Euclidean norm ν on R is a norm on R such that for all nonzero a,b R, one has

i.

ν(a) ν(𝑎𝑏), and

ii.

there exist q,r R with a = 𝑞𝑏+r and either ν(r) < ν(b) or r = 0.

Remark 5.4.3.

Property (ii) of Definition 5.4.2 is known as the division algorithm.

Definition 5.4.4.

A Euclidean domain R is an integral domain such that there exists a Euclidean norm on R.

Examples 5.4.5.

a.

The integers are a Euclidean domain with Euclidean norm ν(a) = |a| for any nonzero a .

b.

Every polynomial ring F [x] over a field F is a Euclidean domain, the degree function providing a Euclidean norm on F [x] (if we take the degree of 0 to be 0). Note that this is not a positive norm.

Lemma 5.4.6.

In a Euclidean domain R with Euclidean norm ν, the minimal value of ν on all nonzero elements of R is ν(1), and ν(u) = ν(1) for u R if and only if u R×.

Proof.

By the definition of a Euclidean norm, we have ν(1) ν(a1) = ν(a) for all nonzero a R. If u R×, then ν(u) ν(uu1) = ν(1), so ν(u) = ν(1). Conversely, if b R with ν(b) = ν(1), then we may write 1 = 𝑞𝑏+r for some q,r R with either ν(r) < ν(1) or r = 0. By what we have shown, the latter holds, so 𝑞𝑏 = 1, and b is a unit.

Example 5.4.7.

In F [x], the units are exactly the nonzero constant polynomials, i.e., those with degree 0.

While we will explain below that not every PID is a Euclidean domain, it is the case that every Euclidean domain is a PID.

Theorem 5.4.8.

Every Euclidean domain is a PID.

Proof.

Let I be a nonzero ideal in a Euclidean domain R with Euclidean norm ν. We must show that I is principal. Let b I be a nonzero element with minimal norm among all elements of I. For any a I, we may write a = 𝑞𝑏+r with q,r R and either ν(r) < ν(b) or r = 0. Note that a,b I, so r I as well, which precludes the possibility of ν(r) < ν(b), since ν(r) is minimal among norms of elements of I. Therefore, we have r = 0, so a (b). As a was arbitrary and b I, we have I = (b).

The key property of Euclidean domains is the ability to perform the Euclidean algorithm, which we see in the following.

Theorem 5.4.9 (Euclidean algorithm).

Let R be a Euclidean domain with Euclidean norm ν, and let a,b R be nonzero elements. Let r1 = a and r0 = b. Suppose recursively that we are given elements rj R for 1 j i and some i 0. If ri0, write

ri1 = qi+1ri+ri+1 (5.4.1)

with qi+1,ri+1 R and either ν(ri+1) < ν(ri) or ri+1 = 0. If ri+10, repeat the process with i replaced by i+1. The process terminates with d = rn0 and rn+1 = 0 for some n 1, and (d) is the GCD of a and b. Moreover, we may use the formulas in (5.4.1) and recursion to write d as d = 𝑥𝑎+𝑦𝑏 for some x,y R.

Proof.

We note that the process must terminate, as the values of the ν(ri) for i 0 are decreasing. Moreover, the result d = rn satisfies rn1 = qn+1rn, so it divides rn1 by definition, and then we see by downward recursion using (5.4.1) that d divides every ri1. Finally, if c is any common divisor of a and b, then it again recursively divides each ri (this time by upwards recursion and (5.4.1)), so c divides d. Therefore, (d) is the GCD of a and b.

Note that d = rn2 qnrn1, and suppose that we may write d = zrj+wrj+1 for some 1 j n2. If j = 1, we are done. Otherwise, note that rj+1 = rj1 qj+1rj, so

d = zrj+w(rj1 qj+1rj) = wrj1 +(zqj+1w)rj,

and we have written d as an R-linear combination of rj1 and rj. Repeat the process for j1. The final result is the desired R-linear combintation of a and b.

Example 5.4.10.

Take and its usual Euclidean norm. We take a = 550 and b = 154. Then 550 = 3154+88, so we set r1 = 88. Then 154 = 88+66, so we set r2 = 66, and 88 = 66+22, so we set r3 = 22, and 66 = 322, so we stop at d = r3 = 22, which is therefore the greatest common divisor of a and b. Working backwards, we obtain

22 = 8866 = 88(15488) = 288154 = 2(5503154)154 = 25507154.

That is, we have written d as 2a7b.

Often Euclidean norms come in the form of multiplicative norms.

Definition 5.4.11.

A multiplicative norm N : R 0 on a commutative ring R is a positive norm such that for all N(𝑎𝑏) = N(a)N(b) for all a,b R.

Remark 5.4.12.

Note that the existence of a multiplicative norm N on a commutative ring R forces R to be an integral domain, for if 𝑎𝑏 = 0, then N(a)N(b) = N(𝑎𝑏) = 0, so either N(a) = 0 or N(b) = 0, and therefore either a = 0 or b = 0.

Example 5.4.13.

The absolute value on is a multiplicative norm, as well as a Euclidean norm.

Example 5.4.14.

The function N on the Gaussian integers [i] given by N(a+𝑏𝑖) = a2 +b2 is a multiplicative norm. Clearly, a2 +b2 = 0 if and only if a+𝑏𝑖 = 0. Given a,b,c,d , we have

N((a+𝑏𝑖)(c+𝑑𝑖)) = (𝑎𝑐𝑏𝑑)2 +(𝑎𝑑 +𝑏𝑐)2 = (𝑎𝑐)2 +(𝑏𝑑)2 +(𝑎𝑑)2 +(𝑏𝑐)2 = (a2 +b2)(c2 +d2) = N(a+𝑏𝑖)N(c+𝑑𝑖).

Proposition 5.4.15.

The ring [i] of Gaussian integers is a Euclidean domain with respect to the Euclidean norm N(a+𝑏𝑖) = a2 +b2 for a,b .

Proof.

Since N is a multiplicative norm, we need only check the division algorithm. Extend N to a function on by defining N(a+𝑏𝑖) = a2 +b2 for a,b . Let a,b,c,d with (c,d)(0,0). Then we have

a+𝑏𝑖 c+𝑑𝑖 = s+𝑡𝑖

for some s,t , and let e,f be integers with |se| 12 and |t f| 12. Then we have

N(a+𝑏𝑖(e+𝑓𝑖)(c+𝑑𝑖)) = N(c+𝑑𝑖)N((se)+(t f)i) N(c+𝑑𝑖) ((1 2 )2 + (1 2 )2) = N(c+𝑑𝑖)2 < N(c+𝑑𝑖),

so the division algorithm is satisfied: a+𝑏𝑖 = q(c+𝑑𝑖)+r with q = e+𝑓𝑖 and N(r) < N(c+𝑑𝑖).

Corollary 5.4.16.

The units in [i] are exactly 1,1,i,i.

Proof.

Since N is a Euclidean norm on [i], the units are exactly those nonzero elements of norm N(1) = 1. We have a2 +b2 = 1 if and only if (a,b) = (±1,0) or (a,b) = (0,±1).

Lemma 5.4.17.

If a,b,c,d and c+𝑑𝑖 divides a+𝑏𝑖 in [i], then c𝑑𝑖 divides a𝑏𝑖 in [i].

Proof.

Write a+𝑏𝑖 = (c+𝑑𝑖)(e+𝑓𝑖) for some e,f . Then a = 𝑐𝑒𝑑𝑓 and b = 𝑐𝑑 +𝑑𝑒, so

(c𝑑𝑖)(e𝑓𝑖) = (𝑐𝑒𝑑𝑓)(𝑐𝑓 +𝑑𝑒)i = a𝑏𝑖.

We can completely determine the irreducible elements in [i] as follows.

Proposition 5.4.18.

The irreducible elements in [i] are, up to multiplication by a unit, 1+i, primes p with p 3mod4, and a+𝑏𝑖 for a,b such that p = a2 +b2 1mod4 is a prime in . Moreover, the primes in that can be written in the form a2 +b2 are exactly 2 and those that are 1 modulo 4.

Proof.

First, note that if a+𝑏𝑖 divides c+𝑑𝑖 in [i] for integers a,b,c,d, then N(a+𝑏𝑖) divides N(c+𝑑𝑖), since N is multiplicative. So, 1+i is irreducible since N(1+i) = 2.

Let p be an odd prime in . If p is divisible by some irreducible element π = a+𝑏𝑖 with a,b , then since p is prime, only one of two things can happen. Either 𝑎𝑏 = 0, or a and b are relatively prime in , noting Corollary 5.4.16. Suppose 𝑎𝑏0. By Lemma 5.4.17, we have that a𝑏𝑖 divides p, and π¯ = a𝑏𝑖 is irreducible. If π¯ were associate to π, then π would divide 2a = (a+𝑏𝑖)+(a𝑏𝑖) and 2b = i((a+𝑏𝑖)(a𝑏𝑖)). Then π divides 2, but that is impossible. Thus, π and π¯ both dividing p implies that p is divisible by N(π) = a2 +b2. As p is prime, we have p = a2 +b2.

So, we have shown that either our odd prime p is irreducible in [i] or p = a2 +b2 for some a,b . Note that the squares in 4 are 0 and 1, so any integer of the form a2 +b2 is 0, 1, or 2 modulo 4. In particular, if p 3mod4, then p is irreducible in [i].

If p 1mod4 is prime in , then (𝑝ℤ)× has order divisible by 4. As 𝑝ℤ contains only two roots of x2 1, which are 1 and 1, so (𝑝ℤ)× contains an element of order 4. In particular, there exists n such that n2 1modp, which is to say that p divides n2 +1. If p were irreducible in [i], then p would divide either n+i or ni, but then it would divide both, being an integer. Thus p would divide 2i, which it does not. So, p is reducible, which means equals a2 +b2 for some a,b .

Lemma 5.4.19.

Let N be a multiplicative norm on an integral domain R. Then N(u) = 1 for all u R×.

Proof.

We have N(1) = N(1)2, and R is an integral domain, so N(1) = 1. Moreover, since

N(u1)N(u) = N(1) = 1,

we have that N(u1) = N(u)1, and therefore N(u) = 1.

Example 5.4.20.

Consider the multiplicative norm N on [5] given by

N(a+b5) = a2 +5b2.

We have a2 +5b2 = 1 if and only if a = ±1 and b = 0, so the only units in [5] are ±1. Now, if 2 = 𝛼𝛽 for some nonunits α,β [5], then 4 = N(2) = N(α)N(β), so N(α) = 2, but 2 is clearly not a value of N. Therefore, 2 is irreducible, and so is 3. Also, we have that N(1±5) = 6, and since 2 and 3 are not values of N, we have that 1±5 is irreducible as well. As these elements are all non-associates, the existence of the two factorizations

6 = 23 = (1+5)(15)

proves that [5] is not a UFD.

Not all principal ideal domains are Euclidean. We give most of the outline of how one produces an example.

Definition 5.4.21.

An nonzero, non-unit element b of an integral domain R is called a universal side divisor if every element a R may be written in the form a = 𝑞𝑏+r for some q,r R with r = 0 or r R×.

Lemma 5.4.22.

Let R be a Euclidean domain with Euclidean norm ν. Let b R be a nonzero, non-unit element such that ν(b) is minimal among nonzero, non-unit elements of R. Then b is a universal side divisor of R.

Proof.

Let a R. By definition of ν, we may write a = 𝑞𝑏+r with ν(r) < ν(b) or r = 0. By the minimality of ν(b), we must have that r is a unit or 0.

Example 5.4.23.

We claim that the ring R = [(1+19)2] is not Euclidean. Suppose by contradiction that it is a Euclidean domain, and let ν be a Euclidean norm on R. We also have the multiplicative norm N on R given by

N(a+b1+19 2 ) = (a+b1+19 2 )(a+b119 2 ) = a2 +𝑎𝑏+5b2. (5.4.2)

Note that if α R, then N(α) 5, so the only units in R are ±1.

Let β R be a universal side divisor, which exists as R is Euclidean, and write 2 = 𝑞𝛽 +r for q R and r {0,1,1}. We then have that N(β) divides N(2r) as N is multiplicative, so N(β) divides 4 or 9, and this implies β {±2,±3}by the formula for N. Now take α = (1+19)2, and set α = qβ +r with q R and r{0,1,1}. We have N(α) = N(α 1) = 5 and N(α +1) = 7, which are not multiples of N(β) {4,9}, so we obtain a contradiction.

Definition 5.4.24.

A Dedekind-Hasse norm on an integral domain R is a positive norm μ on R such that for every a,b R, either a (b) or there exists a nonzero element c (a,b) such that μ(c) < μ(b).

Proposition 5.4.25.

An integral domain R is a PID if and only if there exists a Dedekind-Hasse norm on R.

Proof.

Suppose first that μ is a Dedekind-Hasse norm on R. Let I be a nonzero ideal of R, and let b I {0} with minimal norm under μ. If a I, then since there does not exist a nonzero element c (a,b) I with μ(c) < μ(b) by the minimality of μ(b), we have by definition of a Dedekind-Hasse norm that a (b). Thus I = (b).

Suppose on the other hand the R is a PID. Define μ : R 0 by μ(0) = 0, μ(u) = 1 for u R×, and μ(p1p2pk) = 2k if p1,,pk are irreducible elements of R. This is well-defined as R is a UFD. Given a,b R, we have (a,b) = (d) for some d R, since R is a PID. Since d divides b, we have μ(d) μ(b). If μ(d) = μ(b), then a and b have the same number of divisors as d and therefore are associates, so a (b). Thus, μ is a Dedekind-Hasse norm.

Example 5.4.26.

We have already seen that R = [(1+19)2] is not a Euclidean domain. To see that R is a PID, it suffices to show that the multiplicative norm N on R given by (5.4.2) is a Dedekind-Hasse norm on R. We outline the standard unenlightening verification.

Let α,β R with α(β). We claim that there exist s,t R with 0 < N(𝑠𝛼 𝑡𝛽) < N(β). Note that we can extend N to a map N : Q(R) 0 by the formula (5.4.2), allowing a,b . Our condition that N on R be a Dedekind-Hasse norm is then that 0 < N(sαβ t) < 1. We will find s and t. For this, write

α β = a+b19 c

for a,b,c with no common divisor and c > 1.

First one considers the cases with c 4. If c = 2, then either a or b is odd, then take s = 1 and t = ((a1)+b19)2. If c = 3, then a2 +19b20mod3, so a2 +19b2 = 3q+r with r {1,2}. Take s = ab19 and t = q. If c = 4, then again either a or b is odd. If only one is, then write a2 +19b2 = 4q+r with 1 r 4, and take s = ab19 and t = q. If both are, write a2 +19b2 = 8q+4, and take s = 1 2(ab19) and t = q.

Now suppose that c 5. Since (a,b,c) = (1), we have x,y,z such that 𝑥𝑎+𝑦𝑏+𝑧𝑐 = 1. Write 𝑎𝑦19𝑏𝑥 = 𝑞𝑐+r, with q and |r| c2. Take s = y+x19 and t = qz19. The reader will check that

N (sα β t) = c2N (s(a+b19)𝑡𝑐) = r2 +19 c2 ,

which is at most 14 + 19 36 = 7 9 if c 6 and at most 425 + 19 25 = 23 25 if c = 5.

5.5. Vector spaces over fields

In this section, we give a very brief discussion of the theory of vector spaces over fields, as it shall be subsumed by the sections that follow it.

Definition 5.5.1.

Let F be a field. A vector space V over F is an abelian group under addition that is endowed with an operation : F ×V V of scalar multiplication such that for all a,b F and v,w V, one has

i.

1v = v,

ii.

a(bv) = (𝑎𝑏)v,

iii.

(a+b)v = av+bv,

iv.

a(v+w) = av+aw.

Remark 5.5.2.

In a vector space V over a field F, we typically write 𝑎𝑣 for av, where a F and v V.

Example 5.5.3.

If F is a field, then Fn is a vector space over F under the operation

a(α1,α2,,αn) = (aα1,aα2,,aαn)

for a,α1,α2,,αn F.

Definition 5.5.4.

An element of a vector space V over a field F is called a vector, and the elements of F under in the operation are referred to as scalars.

Example 5.5.5.

In every vector space V, there is an element 0, and it is called the zero vector.

Definition 5.5.6.

The zero vector space 0 is the vector space over any field F that is the set {0} with the operation a0 = 0 for all a F.

Example 5.5.7.

If F is a field, then F [x] is a vector space over F with af for a F and f F [x] defined to be the usual product of polynomials in F [x]. I.e., the operation of scalar multiplication is just multiplication by a constant polynomial.

Example 5.5.8.

The field is an -vector space, as well as a -vector space. The field is a -vector space. The operations of scalar multiplication are just restrictions of the usual multiplication map on .

The reader will easily check the following.

Lemma 5.5.9.

If V is a vector space over a field F, then for a F and v V, we have

a.

0v = 0,

b.

a0 = 0,

c.

(𝑎𝑣) = (a)v = a(v).

Definition 5.5.10.

Let V be a vector space over a field F. A subspace W of V is a subset that is closed under the operations of addition and scalar multiplication to W (i.e., to maps W ×W V and F ×W V, respectively) and is a vector space with respect to these operations.

The following is easily proven.

Lemma 5.5.11.

A subset W of a vector space V is a subspace if and only if it is a subgroup under addition and closed under scalar multiplication.

Examples 5.5.12.

a.

The zero subspace {0} and V are both subspaces of any vector space V.

b.

The field F is a subspace of F [x].

Definition 5.5.13.

Let V be a vector space over a field F, and let S be a subset of V. A linear combination of elements of S is any sum

i=1na ivi

with v1,v2,,vn distinct vectors in S and a1,a2,,an F for some n 0. We say that such a linear combination is nontrivial if there exists a j with 1 j n and aj0.

Definition 5.5.14.

Let V be a vector space over a field F and S be a set of vectors in V. The subspace spanned by S, also known as the span of V, is the set of all linear combinations of elements of S, or simply the zero subspace if S is empty.

Example 5.5.15.

For any vector space V, the set V spans V.

Definition 5.5.16.

We say that a set S of vectors in a vector space V over a field F spans V if V equals the subspace spanned by S.

That is, S spans an F-vector space V if, for every v V, there exist n 0, vi V, and ai F for 1 i n such that

v =i=1na ivi.

Definition 5.5.17.

We say that a set of S of vectors in a vector space V over a field F is linearly independent if every nontrivial linear combination of vectors in S is nonzero. Otherwise, S is said to be linearly dependent.

That is, a set S of vectors in an F-vector space V is linearly independent if whenever n 1, vi V and ai F for 1 i n and

i=1na ivi = 0,

then ai = 0 for all 1 i n.

Lemma 5.5.18.

Let S be a linearly independent subset of a vector space V over a field F, and let W be the span of F. If v0 V W, then S{v0} is also linearly independent.

Proof.

Let v1,v2,,vn S and c0,c1,,cn F for some n 1, and suppose that

i=0nc ivi = 0.

We cannot have c00, as then

v0 = c01 i=1nc ivi W.

On the other hand, the fact that c0 = 0 implies that ci = 0 for all 1 i n by the linear independence of V. Thus, S{v0} is linearly independent.

Example 5.5.19.

In any vector space V, the empty set is linearly independent. If v V is nonzero, then {v} is also a linearly independent set.

Definition 5.5.20.

A subset B of a vector space V over a field F is said to be a basis of V over F if it is linearly independent and spans V.

Example 5.5.21.

The set {e1,e2,,en} of Fn, where ei is the element of Fn that has a 1 in its ith coordinate and 0 in all others, is a basis of Fn.

Example 5.5.22.

The set {xii 0} is a basis of F [x]. That is, every polynomial can be written as a finite sum of distinct monomials in a unique way.

Remark 5.5.23.

For a field F, it is very hard to write down a basis of i=0F. In fact, the proof that it has a basis uses the axiom of choice.

Definition 5.5.24.

A vector space V is said to be finite dimensional if it has a finite basis (i.e., a basis with finitely many elements). Otherwise V is said to be infinite dimensional.

The following theorem employs Zorn’s lemma.

Theorem 5.5.25.

Let V be a vector space over a field F. Every linearly independent subset of V is contained in a basis of V.

Proof.

Let S be a linearly independent subset of V, and let X denote the set of linearly independent subsets of V that contain S. We order X by containment of subsets. If 𝒞 is a chain in X, then its union U = T 𝒞T is linearly independent since if v1,v2,,vn U for some n 1, then each vi is contained in some T i X for each 1 i n, and one of the sets T j contains the others, since 𝒞 is a chain. Since T j is linearly independent, any nontrivial linear combination of the elements vi with 1 i n is nonzero. Therefore, U is linearly independent as well, so is contained in X.

By Zorn’s Lemma, X now contains a maximal element B, and we want to show that B spans V, so is a basis of V containing S. Let W denote the span of B. If v V W, then B = B{v} is linearly independent by Lemma 5.5.18, so an element of X, which contradicts the maximality of B. That is, V = W, which is to say that B spans V.

In particular, the empty set is contained in a basis of any vector space, so we have the following:

Corollary 5.5.26.

Every vector space over a field contains a basis.

A similar argument yields the following.

Theorem 5.5.27.

Let V be a vector space over a field F. Every subset of V that spans V contains a basis of V.

Proof.

Let S be a spanning subset of V. Let X denote the set of linearly independent subsets of S, and order X by containment. As seen in the proof of Theorem 5.5.25, any union of a chain of linearly independent subsets is linearly independent, so has an upper bound. Thus, Zorn’s lemma tells us that X contains a maximal element B. Again, we want to show that B spans V, so is a basis. If it were not, then there would exist some element of V which is not in the span of B, but is in the span of S. In particular, there exists an element v S that is not in the span of B. The set B{v} is linearly independent, contradicting the maximality of B.

We also have the following, which can be generalized to a statement on cardinality.

Theorem 5.5.28.

Let V be a vector space over a field F. If V is finite dimensional, then every basis of V contains the same number of elements, and otherwise every basis of V is infinite.

Proof.

Let B1 = {v1,v2,,vn} be a basis of V with a minimal number n of elements, and let B = {w1,w2,,wm} be another basis of V with m n. Then B1 spans V, so w1 is a nontrivial linear combination of the vi for 1 i n:

w1 =i=1na ivi (5.5.1)

for some ai F. Letting j be such that aj0, we may write vj as a linear combination of w1 and the vi with ij. In other words, B2 = (B1 {vj}){w1} spans V. Suppose

cjw1+i=1 ij nc ivi = 0 (5.5.2)

for some ci F. Using (5.5.1), we may rewrite the sum in (5.5.2) as a linear combination of the vi, the coefficient of vj in which is ajcj, which forces cj = 0 as B1 is a linearly independent set. But then we see from (5.5.2) that all ci = 0 as B{vj} is linearly independent. So, B2 is a basis of V.

Suppose by recursion that, for k m, we have found a basis Bk of order n of V that contains only w1,,wk1 and elements of B. Then wk is a nontrivial linear combination of the elements of Bk, and the coefficient of some vl is nonzero in this linear combination by the linear independence of B. We therefore have that Bk+1 = (Bk{vl}){wk} spans V, and a similar argument to the above shows that it is a basis. Finally, we remark that the basis Bm+1 must be B1 itself, since it contains B1, so we have m = n, as desired.

Definition 5.5.29.

The dimension of a finite-dimensional vector space V over a field F is the number of elements in a basis of V over F. We write dimF (V ) for this dimension.

Example 5.5.30.

The space Fn is of dimension n over F.

The maps between vector spaces that respect the natural operations on the spaces are called linear transformations.

Definition 5.5.31.

A linear transformation T : V W of F-vector spaces is a function from V to W satisfying

T (v+v) = T (v)+T (v) and T (𝑎𝑣) = 𝑎𝑇 (v)

for all a F and v,v V

Remark 5.5.32.

In other words, a linear transformation is a homomorphism of the underlying groups that “respects scalar multiplication.”

Definition 5.5.33.

A linear transformation T : V W of F-vector spaces is an isomorphism of F-vector spaces if it is there exists an linear transformation T 1: W V that is inverse to it.

Much as with group and ring homomorphisms, we have the following:

Lemma 5.5.34.

A linear transformation is an isomorphism if and only if it is a bijection.

Examples 5.5.35.

Let V and W be F-vector spaces.

a.

The identity map idV : V V is an F-linear transformation (in fact, isomorphism).

b.

The zero map 0: V W is an F-linear transformation.

5.6. Modules over rings

Definition 5.6.1.

Let R be a ring. A left R-module, or left module over R, is an abelian group M together with an operation : R×M M such that for all a,b R and m,n M, one has

i.

1m = m,

ii.

(ab)m = (𝑎𝑏)m,

iii.

(a+b)m = am+bn,

iv.

a(m+n) = am+an.

Definition 5.6.2.

Let R be a commutative ring. We refer more simply to a left R-module as a R-module, or module over R.

Remark 5.6.3.

When one speaks simply of a module over a ring R, one means by default a left R-module.

Notation 5.6.4.

When an abelian group M is seen as a left module over a ring R via the extra data of some operation R×M M, we say that this operation endows M with the additional structure of a left R-module.

Example 5.6.5.

The definition of a module over a field coincides with the definition of a vector space over a field. In other words, to say that M a module over a field F is exactly to say that M is a vector space over F.

Example 5.6.6.

The modules over are exactly the abelian groups. That is, suppose that A is a -module, which by definition is an abelian group with an additional operation : ×A A. We show that this additional operation satisfies na = 𝑛𝑎 for n and a A, where 𝑛𝑎 is the usual element of the abelian group A. So, let a A. By axiom (i), we have 1a = a, and then the distributivity of axiom (iii) allows us to see that na = 𝑛𝑎 for all n 1. Using axioms (iv) and (ii), we have

0a = 0(2aa) = 02a0a = (02)a0a = 0a0a = 0,

and then finally we have

(n)a+na = (nn)a = 0a = 0,

so (n)a = 𝑛𝑎 for n 1.

Example 5.6.7.

For a ring R and n 1, the direct product Rn is a left Mn(R)-module via matrix multiplication (A,v)Av for A Mn(R) and v Rn,viewing elements of Rn as column vectors.

We also have the notion of a right R-module.

Definition 5.6.8.

Let R be a ring. A right R-module, or right module over R, is an abelian group M together with an operation : M ×R R such that for all a,b R and m,n M, one has

i.

m1 = m,

ii.

m(ab) = m(𝑎𝑏),

iii.

m(a+b) = ma+nb,

iv.

(m+n)a = ma+na.

Example 5.6.9.

Every left ideal I over a ring R is a left R-module with respect to the restriction R×I I of the multiplication on R. Every right ideal over R is a right module with respect to the restriction I ×R I of the multiplication on R.

Definition 5.6.10.

Let R be a ring. The opposite ring Rop to R is the ring that is the abelian group R together with the multiplication op: R×R R given by aopb = 𝑏𝑎, where the latter product is taken in R.

Remark 5.6.11.

The identity map induces an isomorphism R (Rop)op of rings.

The reader will easily check the following.

Lemma 5.6.12.

A right module M over R also has the structure of a left module over Rop, where the latter operation op: Rop: M M is given by aopm = 𝑚𝑎, where the latter product is that given by the right R-module structure of M.

Example 5.6.13.

For a field F, the map T : Mn(F ) Mn(F ) given by transpose (that is, AAT for A Mn(F )) is a ring isomorphism between Mn(F ) and Mn(F )op.

We also have the notion of a bimodule.

Definition 5.6.14.

Let R and S be rings. An abelian group M that is a left R-module and a right S-module is called an R-S-bimodule if

(rm)s = r(ms)

for all r R, s S, and m M.

Examples 5.6.15.

a.

Any left R-module M over a commutative ring R is an R-R-bimodule with respect to given left operation and the (same) right operation mr = 𝑟𝑚 for m M and r R.

b.

A two-sided ideal of a ring R is an R-R-bimodule with respect to the operations given by the usual multiplication on R.

c.

For m,n 1, the abelian group M𝑚𝑛(R) of m-by-n matrices with entries in R is an Mm(R)-Mn(R)-bimodule for the operations of matrix multiplication.

Let us return our focus to R-modules, focusing on the case of left modules, as right modules are just left modules over the opposite ring by Lemma 5.6.12.

Definition 5.6.16.

An R-submodule (or, submodule) N of a left module M over a ring R is a subset of N that is closed under addition and the operation of left R-multiplication and is an R-module with respect to their restrictions +: N ×N N and : R×N N to N.

Lemma 5.6.17.

Let R be a ring, M be a left R-module, and N be a subset of M. Then N is an R-submodule of M if and only if it is nonempty, closed under addition, and closed under left R-multiplication.

Proof.

Clearly, it suffices to check that if N is nonempty and closed under addition and left R-multiplication, then it is an R-submodule. The condition of being closed under left R-multiplication assures that 0 and inverses of elements of N lies in N, so N is an abelian group under + on M. The axioms for N to be an R-module under are clearly satisfied as they are satisfied by elements of the larger set M.

Examples 5.6.18.

a.

The subspaces of a vector space V over a field F are exactly the F-submodules of V.

b.

The subgroups of an abelian group are the -submodules of that group.

c.

Any left ideal I of R is a left R-submodule of R viewed as a left R-module.

d.

Any intersection of R-submodules is an R-submodule as well.

e.

For an R-module M and a left ideal I, the abelian group

𝐼𝑀 ={i=1na imiai I,mi M for 1 i n}

is an R-submodule of M.

We also have the following construction.

Definition 5.6.19.

Let M be an R-module and {Nii I} be a collection of submodules for an indexing set I. The sum of the submodules Ni is the submodule iINi of M with elements iIni for ni Ni and all but finitely many ni equal to 0.

If M is an R-module and N is a submodule, we may speak of the quotient abelian group MN. It is an R-module under the action r(m+N) = 𝑟𝑚+N for r R and m M. This is well-defined, as a different representative m+n of the coset m+N for n N will satisfy r(m+n)+N = 𝑟𝑚+𝑟𝑛+N = 𝑟𝑚+N.

Definition 5.6.20.

Let M be a left R-module and N be an R-submodule of M. The quotient module MN of M by N is the abelian group of cosets together with the multiplication R×MN MN given by r(𝑛𝑁) = (𝑟𝑛)N.

Example 5.6.21.

For an R-module M and a left ideal I, we have the quotient module M𝐼𝑀. In particular, note that RI is a left R-module with respect to r(s+I) = 𝑟𝑠+I, even if it is not a ring (i.e., if I is not two-sided).

We can also speak of homomorphisms of R-modules.

Definition 5.6.22.

Let M and N be left modules over a ring R. A left R-module homomorphism ϕ : M N is a function such that ϕ(rm) = 𝑟𝜙(m) and ϕ(m+n) = ϕ(m)+ϕ(n) for all r R and m,n M.

Notation 5.6.23.

If R is commutative (or it is understood that we are working with left modules), we omit the word “left” and speak simply of R-module homomorphisms.

Remark 5.6.24.

A right R-module homomorphism ϕ : M N is just a left Rop-module homomorphism.

Definition 5.6.25.

Let M and N be left modules over a ring R.

a.

An isomorphism f : M N of left R-modules is a bijective homomorphism.

b.

An endomorphism of a left R-module M is a homomorphism f : M M of left R-modules.

c.

An automorphism of a left R-modules M is an isomorphism f : M M of left R-modules.

Notation 5.6.26.

Sometimes, we refer to an R-module homomorphism as an R-linear map, and an endomorphism of R-modules as an R-linear endomorphism.

Examples 5.6.27.

a.

The zero map 0: M M and the identity map id: M M are endomorphisms of an R-module M, with id being an automorphism.

b.

Let V and W be vector spaces over a field F. A left F-module homomorphism ϕ : V W is just an F-linear transformation.

c.

Let N be an R-submodule of a left R-module M. The inclusion map ιN: N M is an R-module homomorphism, as is the quotient map πN: M MN.

d.

If M is an R-S-bimodule, then right multiplication ψs: M M by an element s S defines a left R-module endomorphism. In particular, if R is a commutative ring, then multiplication by r R defines an R-module endomorphism. Note that if R is noncommutative, then the condition that left multiplication by r R be a left module homomorphism M M is that r(𝑠𝑚) = s(𝑟𝑚) for all r,s R and m M, which need not hold.

e.

The identity map Fn Fn provides an isomorphism between Fn viewed as a left Mn(F )-module via (A,v)𝐴𝑣 for A Mn(F ) and v Fn (viewing Fn as column vectors) and Fn viewed as a left Mn(F )-module via (A,v)vT AT (viewing Fn as row vectors).

Note that we may speak of the kernel and the image of a left R-module, as an R-module homomorphism is in particular a group homomorphism. The reader will easily verify the following.

Lemma 5.6.28.

Let ϕ : M N be a left R-module homomorphism. Then kerϕ and imϕ are R-submodules of M and N, respectively.

We also have analogues of all of the isomorphism theorems for groups. Actually, these are virtually immediate consequences of said isomorphism theorems, as the fact that one has isomorphisms of groups follows immediately from them, and then one need only note that these isomorphisms are actually homomorphisms of R-modules.

Theorem 5.6.29.

Let R be a ring. Let ϕ : M N be an homomorphism of left R-modules. Then there is an isomorphism ϕ¯: Mkerϕ imϕ given by ϕ¯(m+kerϕ) = ϕ(m).

Theorem 5.6.30.

Let R be a ring, and let N be left R-submodules of an R-module M. Then there is an isomorphism of R-modules

M(M N) (M +N)N,m+(M N)m+N.

Theorem 5.6.31.

Let R be a ring, let M be an R-module, and let Q N be R-submodules of M. Then there is an isomorphism

MN (MQ)(NQ),m+N(m+Q)+(NQ).

We also have the following analogue of Theorems 2.13.10 and 3.7.24.

Theorem 5.6.32.

Let R be a ring, let M be an R-module, and let N be an R-submodule of M. Then the map PPN gives a bijection between submodules P of M containing N and submodules of MN. This bijection has inverse QπN1(Q) on submodules Q of MN, where πN: M MN is the quotient map.

5.7. Free modules and generators

Definition 5.7.1.

Let S be a subset of an R-module M.

a.

The submodule of M generated by S is the intersection of all submodules of M containing S.

b.

We say that S generates M, or is a set of generators or generating set of M, if no proper R-submodule of M contains S.

Remark 5.7.2.

The R-submodule of M generated by S consists of the elements i=1naimi with mi S and ai R for 1 i n and some n 1. The proof is much as before.

Remark 5.7.3.

The sum iINi of submodules Ni of M is the submodule generated by iINi.

Notation 5.7.4.

The R-submodule of an R-module M generated by for a single element m M (or, more precisely, by {m}) is denoted Rm.

Definition 5.7.5.

We say that an R-module is finitely generated if it has a finite set of generators.

Definition 5.7.6.

We say that an R-module is cyclic if it can be generated by a single element.

Example 5.7.7.

A cyclic R-submodule of R is just a principal left ideal.

Lemma 5.7.8.

An R-module is cyclic if and only if it is isomorphic to RI for some left ideal I of R.

Proof.

Let M be a cyclic R-module, generated by an element m. Let I = {r R𝑟𝑚 = 0}. The surjective R-module homomorphism R M sending r R to 𝑟𝑚 has kernel the left ideal I, so by the first isomorphism theorem for modules, we have R𝐼≅𝑀. Conversely, if I is an left ideal of R, then the quotient R-module RI is generated by the coset of 1.

We can define direct sums and direct products of modules.

Definition 5.7.9.

Let (Mi)iI be a collection of left modules over a ring R.

a.

The direct product iIMi is the R-module that is the direct product of the abelian groups Mi together with the left R-multiplication r(mi)iI = (rmi)iI for r R and mi Mi for all i I.

b.

The direct sum iIMi is the R-module that is the direct sum of the abelian groups Mi together with the left R-multiplication r(mi)iI = (rmi)iI for r R and mi Mi for all i I with all but finitely many mi = 0.

Remark 5.7.10.

If I is a finite set, then the canonical injection

iIMi iIMi

is an isomorphism. In this case, the two concepts are often used interchangeably.

Notation 5.7.11.

A direct sum (resp., product) of two R-modules M and N is denoted M N.

Definition 5.7.12.

We say that an R-submodule A of an R-module B is a direct summand of C if there exists an R-module C such that B = AC. In this case, C is called a complement to A in B.

Definition 5.7.13.

Let R be a ring.

a.

An R-module M is free on a subset X of M if for any R-module N and function ϕ¯: X N of elements of N, there exists a unique R-module homomorphism ϕ : M N such that ϕ(x) = ϕ¯(x) for all x X.

b.

A basis of an R-module M is a subset of M on which it is free.

Remark 5.7.14.

An abelian group A is free on a set X if and only if it is a free -module on X, as follows from Proposition 4.4.11.

In fact, we have the following alternative definition of a free R-module. The proof is nearly identical to Proposition 4.4.11, so omitted.

Proposition 5.7.15.

An R-module M is free on a basis X if and only if the set X generates M and, for every n 1 and x1,x2,,xn X, the equality

i=1nc ixi = 0

for some c1,c2,,cn R implies that ci = 0 for all i.

Remark 5.7.16.

We might refer to the property that a set X generates an R-module M as saying that M is the R-span of X. The property that i=1ncixi = 0 implies ci = 0, where ci R and xi X for 1 i n and some n 1 can be referred to as saying that the set X is R-linearly independent.

Corollary 5.7.17.

For any set X, the R-module xXR is free on the standard basis {exx X}, where ex for x X is the element which is nonzero only in its x-coordinate, in which it is 1.

Proof.

The ex span xXR by its definition and are clearly R-linearly independent.

Corollary 5.7.18.

Every R-module is a quotient of a free R-module.

Proof.

Let M be an R-module, and choose a generating set X of M (e.g., M itself). Take the unique R-module homomorphism

ψ : xXR M

which satisfies ψ(ex) = x for all x X. It is onto as X generates M.

Noting Corollary 5.5.26, we also have the following.

Corollary 5.7.19.

Every vector space over a field F is a free F-module.

The following is also a consequence of the universal property.

Theorem 5.7.20.

Let R be a commutative ring. A free module M on a set X is isomorphic to a free module N on a set Y if and only if X and Y have the same cardinality.

Proof.

If X and Y have the same cardinality, then any bijection f : X Y gives an injection X N which extends uniquely to a homomorphism ϕ : M N. Similarly, the inverse of f extends uniquely to a homomorphism ψ : N M, and ψ ϕ (resp., ϕ ψ) is then the unique extension to a homomorphism of the inclusion X M (resp., Y N), therefore the identity. That is, ϕ and ψ are inverse isomorphisms.

For the converse, we first suppose that Y is infinite and that there is an isomorphism M N. Let B denote the image of X in N, which is then necessarily an R-basis of N. Each element y Y is contained in the span of a finite subset By of B. The union B of these sets By spans N. For any v BB, the set B{v} is R-linearly dependent, which cannot happen as B is a basis. Thus, B = B. Now, the cardinality |B| of B is at most the cardinality of the disjoint union of the sets By for y Y, each of which is finite. In particular, we have

|X| = |B||Y ×| = |Y|,

the latter equality holding as Y is infinite. If X is also infinite, then by reversing the roles of X and Y, this forces |X| = |Y|.

Finally, suppose that Y is finite, without loss of generality. Let 𝔪 be a maximal ideal of R. Consider the field F = R𝔪, and observe that

M𝔪𝑀≅ ( xXR)𝔪 ( xXR) xXF,

and similarly for Y. An isomorphism M N induces an isomorphism of F-vector spaces M𝔪𝑀 N𝔪𝑁, which by the above isomorphisms have bases of cardinality |X| and |Y| respectively. Since Y is finite, Theorem 5.5.28 tells us that X must be finite of order |Y|.

The following is immediate.

Corollary 5.7.21.

Let R be a commutative ring, and let M be a free R-module on a set of n elements. Then every basis of M has n elements.

By Theorem 5.7.23, we may make the following definition.

Definition 5.7.22.

The rank of a free module M over a commutative ring R is the unique n 0 such that 𝑀≅Rn if it exists. Otherwise, M is said to have infinite rank.

For an integral domain, we can do somewhat better with a bit of work. In fact, the following result does not require this assumption, but the proof we give does.

Theorem 5.7.23.

Let R be an integral domain. Let M be a free R-module on a set of n elements, and let Y be a subset of M. Then:

i.

if Y generates M, then Y has at least n elements,

ii.

if Y is R-linearly independent, then Y has at most n elements, and

iii.

Y is a basis if and only if it generates M and has exactly n elements.

Moreover, a free module on an infinite set cannot be generated by a finite set of elements.

Proof.

Suppose that M is free on n elements. A choice of basis defines an isomorphism M Rn of R-modules, so we may assume that M = Rn. Note that Rn is contained in the Q(R)-module Q(R)n via the canonical inclusion, and any generating set Y of Rn spans Q(R)n. But by Theorems 5.5.28 and 5.5.27, this forces Y to have at least n elements. If Y has n elements, then Y would similarly be a basis of Q(R)n. So, if we had i=1nciyi = 0 for some ci R and distinct yi Y, then each ci = 0, which means that Y is an R-basis of Rn.

On the other hand, if Y has more than n elements, then by Theorem 5.5.25, the set Y cannot be linearly independent in Q(R)n. That is, there exist αi Q(R)n and distinct yi Y for 1 i m and m 1 with i=1mαiyi = 0 and not all αi = 0. For each i, write αi = cidi1 with ci,di R and di0. Taking d to be the product of the di, we then have ai = dαi R and not all ai = 0. Since i=1maiyi = 0, it follows that Y is not a basis.

Finally, if N is a free module on an infinite set X, then 𝑁≅ xXR, and so we take N to be the latter module. We then have that xXQ(R) is a Q(R)-vector space with an infinite basis. But then Theorem 5.5.28 tells us that every basis is infinite, which by Theorem 5.5.27 tells us that a finite set cannot span.

Remark 5.7.24.

The full analogues of Theorems 5.5.25 and 5.5.27 do not hold for modules over arbitrary rings, over even abelian groups. That is, take the free -module . The set {2} does not span it and is not contained in a basis of , and the set {2,3} does span it and does not contain a basis.

Example 5.7.25.

The polynomial ring R[x] is a free R-module on the basis {xii 0}.

Remark 5.7.26.

Consider the ideal I = (2,x) of [x]. It is not a free [x]-module. To see this, first note that it is not a principal ideal so cannot be generated by a single element. As I can be generated by the two elements 2 and x, if I were free, then it would follow from Theorem 5.7.23 that {2,x} would be a basis for I. On the other hand, x22x = 0, which would contradict Proposition 5.7.15.

Proposition 5.7.27.

Let M be an R-module, and let π : M F be a surjective R-module homomorphism, where F is R-free. Then there exists an injective R-module homomorphism ι : F M such that π ι = idF . Moreover, we have M = ker(π)ι(F ).

Proof.

Let X be an R-basis of F, and for each x X, choose mx M with π(mx) = x. We take ι : F M to be the unique R-module homomorphism with ι(x) = mx for all x X, which exists as F is free. Then π ι(x) = x for all x X, so π ι = idF by uniqueness, and ι must be injective.

Finally, let A = kerπ. Note that any m M satisfies mι π(m) A, so M = A+ι(F ). If m Aι(F ), then m = ι(n) for some n F and n = π ι(n) = π(m) = 0, so m = 0. In other words, we have M = Aι(F ).

In particular, every free quotient of an R-module M is isomorphic to a direct summand of M.

5.8. Matrix representations

We work in this section with (nonzero) homomorphisms of free modules over a ring R. Most of the time, the case of interest is that of linear transformations of vector spaces over fields, but there is no additional restriction caused by working is full generality.

Lemma 5.8.1.

Let R be a ring. Let A M𝑚𝑛(R) be a matrix for some m,n 1. Then there is a unique R-module homomorphism T : Rn Rm satisfying T (v) = 𝐴𝑣 for all v Rn, where 𝐴𝑣 is matrix multiplication, viewing elements of Rm and Rn as column vectors.

Proof.

Define T (ej) = i=1ma𝑖𝑗fi, where ej (resp., fi) is the jth (resp., ith) standard basis element of Rn (resp., Rm). If v = j=1ncjej for some cj F with 1 j n, then

T (v) =j=1nc jT (ej) =i=1m( j=1na 𝑖𝑗cj)fi = 𝐴𝑣.

The uniqueness follows from the fact that Rn is free, so any R-module homomorphism from it is determined by its values on a basis

Definition 5.8.2.

An ordered basis is a basis of a free R-module together with a total ordering on the basis.

Remark 5.8.3.

We refer to a finite (ordered) basis on a free R-module as a set {v1,v2,,vn} and take this implicitly to mean that the set has cardinality n and that the basis is ordered in the listed order (i.e., by the ordering vi vi+1 for all 1 i < n).

Example 5.8.4.

The standard basis {e1,e2,,en} on Rn is ordered in the order of positions of the nonzero coordinate of its elements.

Notation 5.8.5.

If B = {v1,v2,,vn} is an ordered basis of a free R-module V, then we let φB: Rn V denote the R-module isomorphism satisfying φB(ei) = vi for all i.

Given ordered bases of free R-modules V and W, an R-module homomorphism T : V W can be described by a matrix.

Definition 5.8.6.

Let V and W be free modules over a ring R with ordered bases B = {v1,v2,,vn} and C = {w1,w2,,wm}, respectively. Let T : V W be an R-module homomorphism. We say that a matrix A = (a𝑖𝑗) M𝑛𝑚(R) represents T with respect to the bases B and C if

T (vj) =i=1ma 𝑖𝑗wi

for all 1 j n.

Remark 5.8.7.

Given ordered bases B = {v1,,vn} of a free module V and C = {w1,,wm} of a free module W, the composition

φC1 T φ B: Rn φ BV T W φC1Rm,

is given by multiplication by a matrix A by Lemma 5.8.1. This A is the matrix representing T with respect to B and C.

Terminology 5.8.8.

Let V be a free R-module with finite basis B, and let T : V V be an R-module homomorphism. We say say that a matrix A represents T with respect to B if A represents T with respect to B and B. If V = Rn and B is the standard basis, we simply say that A represents T .

Lemma 5.8.9.

Let T : U V and T : V W be homomorphisms of finite rank free R-modules. Let B, C, and D be bases of U, V, and W, respectively. Suppose that A represents T with respect to B and C and that A represents T with respect to C and D. Then AA represents T T : U W with respect to B and D.

Proof.

We have that A represents φD1 T φC and A represents φC1 T φB. In other words, the maps are left multiplication by the corresponding matrices. The map

φD1 T T φ B = (φD1 T φ C)(φC1 T φ B),

is then left multiplication by AA, which is to say that it is represented by AA.

Definition 5.8.10.

Let B = {v1,,vn} and B = {v1,,vn} be ordered bases of a free R-module V. The change-of-basis matrix from B to B is the matrix QB,B = (q𝑖𝑗) that represents the R-module homomorphism T B,B: V V with T B,B(vi) = vi for 1 i n with respect to B.

Remark 5.8.11.

If vj = i=1nq𝑖𝑗vi for all i, then the change-of-basis matrix QB,B of Definition 5.8.10 is the matrix (q𝑖𝑗). It is invertible, and QB,B = QB,B1.

Remark 5.8.12.

Let V be free of rank n with bases B and B. By definition, the change-of-basis matrix QB,B represents φB1 T B,BφB. On the other hand, we also have that that φB = T B,BφB. Thus, see that

φB1 φ B = φB1 T B,BφB,

is represented by QB,B.

Theorem 5.8.13 (Change of basis theorem).

Let T : V W be a linear transformation of free R-modules of finite rank. Let B and B be ordered bases of V and C and C be ordered bases of W. If A is the matrix representing T with respect to B and C, then QC,C1AQB,B is the matrix representing T with respect to B and C.

Proof.

We have that A represents φC1 T φB, and we wish to compute the matrix representing φC1 T φB. We have

φC1 T φ B = (φC1 φ C)(φC1 T φ B)(φB1 φ B),

and these three matrices are represented by QC,C1, A, and QB,B, respectively.

5.9. Associative algebras

Much as with groups, we may speaker of the center of a ring.

Definition 5.9.1.

The center Z(R) of a ring R is the subring of R given by the subset

Z(R) = {a R𝑎𝑏 = 𝑏𝑎 for all b R}.

We now define the notion of an algebra over a commutative ring.

Definition 5.9.2.

Let R be a commutative ring. An (associative) R-algebra A is the pair of an R-module A and a binary operation on A which, together with the addition on A, makes A into a ring, and which satisfies

r(ab) = (𝑟𝑎)b = a(𝑟𝑏)

for all r R and a,b A.

Remark 5.9.3.

An R-algebra A comes endowed with a homomorphism ϕ : R Z(A), given by ϕ(r) = r1 for r R and the element 1 A. In fact, to give an R-algebra A is to give a ring A and a ring homomorphism ϕ : R Z(A) with ϕ(1) = 1, for then this provides an R-module structure on A given by ra = ϕ(r)a, which makes A into an R-algebra.

Remark 5.9.4.

Often, it is supposed that the map ϕ : R Z(A) that defines the R-algebra structure on A is injective. This is automatically the case if R is a field.

Examples 5.9.5.

i.

The polynomial ring R[x1,,xn] over a commutative ring R is an R-algebra for any n 1.

ii.

The matrix ring Mn(R) over a commutative ring R is an R-algebra for any n 1.

iii.

If F is a field and E is a field containing F as a subring, then F is an E-algebra.

iv.

Every ring R is a -algebra.

Example 5.9.6.

The ring = {a+𝑏𝑖+𝑐𝑗+𝑑𝑘a,b,c,d } of quaternions has center Z() = , hence is an algebra over . Note that = {a+𝑏𝑖a,b } is contained in , but is not a -algebra, as is not contained in the center of .

Definition 5.9.7.

An R-algebra homomorphism f : A B is a ring homomorphism of R-algebras A and B that is also a homomorphism of R-modules.

Example 5.9.8.

For any R-algebra A, the structure homomorphism ϕ : R A with image in Z(A) is a homomorphism of R-algebras.

We provide three other classes of examples.

Definition 5.9.9.

Let R be a commutative ring and M an R-module. Then endomorphism ring EndR(M) of M over R is the R-algebra of R-linear endomorphisms of M. It is a ring under addition and composition of endomorphisms, and has the R-module structure given by multiplication of scalars: that is,

(rf)(m) = rf(m)

for all f EndR(M), r R, and m M.

Remark 5.9.10.

The map ϕ : R Z(EndR(M)) defining the R-algebra structure on EndR(M) takes r R to left multiplication by r on M.

Definition 5.9.11.

The automorphism group AutR(M) of an R-module M is the group of R-automorphisms of M under composition.

Remark 5.9.12.

The unit group of EndR(M) is AutR(M).

Example 5.9.13.

We have an isomorphism of R-algebras EndR(Rn) Mn(R) by taking T EndR(Rn) to the matrix A representing it with respect to the standard basis of Rn. We have that T AutR(Rn) if and only if A is invertible.

Proposition 5.9.14.

Let M be an R-module and A be an R-algebra with structure map ϕ : R Z(A). There is a bijection between operations : A×M M which make M into a left A-module such that ϕ(r)m = rm for all r R and m M and R-algebra homomorphisms ψ : A EndR(M) determined by ψ(a)(m) = am for all a A and m M.

We mention another class of algebras known as group rings. The reader will easily check the following.

Lemma 5.9.15.

Let R be a commutative ring an G be a group. The set R[G] of elements gGagg with ag R for all g G and almost all ag = 0 and addition and multiplication of multiplication are given respectively by the formulas

gGagg+gGbgg =gG(ag+bg)g and (gGagg)(gGbgg) =gG(hGahbh1g)g

is an R-algebra with R-module structure given by the scalar multiplication

rgGagg =gG(rag)g.

Remark 5.9.16.

As an R-module, R[G] is in bijection with the free R-module gGRg with basis G. The multiplication on R[G] is the unique multiplication that restricts to the multiplication on G and makes R[G] into an R-algebra. The identity element 1 in R[G] is the identity of G.

Definition 5.9.17.

The group ring R[G] of a group G with coefficients in a commutative ring R is the unique R-algebra that is free as an R-module with basis G and has multiplication that restricts to the multiplication on G.

Example 5.9.18.

For n 1, there is an isomorphism

R[x](xn1) R[𝑛ℤ], i=0n1a ixi i=0n1a i[i],

of R-modules, where [i] denotes the group element corresponding to i 𝑛ℤ. Similarly, one has R[x,x1]≅𝑅[].

We also have the notion of a free R-algebra over a commutative ring R.

Definition 5.9.19.

Let R be a commutative ring, and let X be a set. The free R-algebra RX on X is the R-algebra with underlying additive group the free R-module on the words in X and multiplication the unique R-bilinear map given on words in X by concatenation.

Remark 5.9.20.

Another way of describing the free R-algebra on a set X is that it’s a noncommutative polynomial ring with variables in X.

Notation 5.9.21.

If X = {x1,,xn} has n elements, then we write Rx1,,xn for RX.

Find in the notes