0.7  Fields

Linear algebra is about equations like 2x+3y=7, and so far we have met several number systems in which such equations make sense: Q, R, C, and the arithmetic of remainders Z/nZ. Which of them can serve as the numbers of linear algebra? This section answers by isolating the rules that solving linear equations actually uses. A number system obeying those rules is called a field, and fields are the scalars of every later chapter.

0.7.1. What solving linear equations needs

Here is a small system, solved the way you learned at school: 2x+3y=7,x−y=1. Subtracting twice the second equation from the first gives 5y=5. Dividing by 5 gives y=1, and then x=1+y=2. Check: 2⋅2+3⋅1=7 and 2−1=1.

Look at what we used. We added and subtracted equations, multiplied an equation by a number, and divided by a non-zero number. Silently we also rearranged terms, regrouped them and expanded brackets. Every step of Gaussian elimination is of this kind, and every one of them works in Q, R and C.

Now try the integers. The equation 2x=1 involves only integers, yet it has no integer solution, because the step “divide by 2” leaves Z. Elimination stalls as soon as a pivot has no inverse. So what separates Z from Q is division, and division is exactly what we must demand.

A field is a number system where you can add, subtract, multiply, and divide by anything non-zero, with the usual rules.

0.7.2. The definition

Definition 0.7.1 (Field)

A field is a set F together with two functions, addition +:F×F→F, (a,b)↦a+b, and multiplication ⋅:F×F→F, (a,b)↦a⋅b=ab, satisfying the following axioms.

  • (F1) a+b=b+a for all a,b∈F.
  • (F2) (a+b)+c=a+(b+c) for all a,b,c∈F.
  • (F3) There exists an element 0∈F such that a+0=a for every a∈F.
  • (F4) For every a∈F there exists an element −a∈F such that a+(−a)=0.
  • (F5) (ab)c=a(bc) for all a,b,c∈F.
  • (F6) ab=ba for all a,b∈F.
  • (F7) There exists an element 1∈F with 1≠0 such that a⋅1=a for every a∈F.
  • (F8) For every non-zero a∈F there exists an element a−1∈F such that aa−1=1.
  • (F9) a(b+c)=ab+ac for all a,b,c∈F.

Read the axioms in groups.

  • (F1)–(F4) are about addition alone. It is commutative and associative, it has a neutral element 0, and every element has a negative. Subtraction is then defined by a−b:=a+(−b).
  • (F5)–(F8) say the same things about multiplication, with one change: only non-zero elements are required to have inverses. Division is defined by a/b:=ab−1 for b≠0. We never divide by 0, and the axioms never ask us to.
  • (F7) also insists that 1≠0: the two neutral elements are different.
  • (F9) is the one rule linking the two operations. It is what lets us expand brackets.

Note the order of quantifiers in (F3): one element 0 works for every a. This is stronger than “for every a there is some element za with a+za=a”. In (F4) the order is reversed, as it must be: the negative −a depends on a.

We often say “F is a field” when the operations are clear, and write (F,+,⋅) when they need to be named. Since addition and multiplication are functions into F, sums and products of elements of F stay in F; when we build a field inside a bigger number system, this “closure” is the first thing to check.

0.7.3. First consequences of the axioms

The notation in the definition hides a question. We wrote “0”, “−a” and “a−1” as if each were a single well-defined element. The axioms only say that such elements exist. If a field could contain two different elements behaving like 0, the symbol 0 would be ambiguous, and so would a−b and a/b. The next theorem removes this worry and proves the familiar rules of algebra from the nine axioms.

Theorem 0.7.1 (Basic Properties of Fields)

Let F be a field and let a,b,c∈F.

  • (a) The element 0 in (F3) is unique, and the element 1 in (F7) is unique.
  • (b) (Cancellation) If a+b=a+c, then b=c. If ab=ac and a≠0, then b=c.
  • (c) The negative −a in (F4) is unique, and for a≠0 the inverse a−1 in (F8) is unique.
  • (d) 0⋅a=0.
  • (e) (−1)a=−a.
  • (f) If ab=0, then a=0 or b=0.

Idea. Each part is a short chain of axioms, and the chain is found backwards from the goal. For uniqueness we use the standard move: suppose two elements both have the property, and show they are equal. For (d) there is no axiom about 0⋅a at all, so we must create a situation where one applies. The trick is to rewrite 0 in a fancy way as 0+0, expand with (F9), and cancel. For (f), the hypothesis a≠0 is there to be spent on (F8).

We prove the uniqueness of 0, additive cancellation, the uniqueness of negatives, (d) and (f). The remaining statements are Exercise (B1: The Remaining Basic Properties).

Proof.

  • (a) Suppose 0 and 0′ both satisfy (F3). Applying (F3) for 0′ to the element 0, and (F3) for 0 to the element 0′, and using (F1), 0=0+0′=0′+0=0′. So the zero element is unique.

  • (b) Suppose a+b=a+c. Adding −a on the left of both sides and using (F2), ((−a)+a)+b=((−a)+a)+c. By (F1) and (F4), (−a)+a=a+(−a)=0. Hence 0+b=0+c, and by (F1) and (F3) this says b=c.

  • (c) Suppose b and c both satisfy (F4) for a, that is, a+b=0 and a+c=0. Then a+b=a+c, so b=c by additive cancellation in (b).

  • (d) By (F3), 0+0=0. Therefore, by (F9), a⋅0=a(0+0)=a⋅0+a⋅0. By (F3), also a⋅0=a⋅0+0. Comparing, a⋅0+0=a⋅0+a⋅0, and additive cancellation (b) gives 0=a⋅0. Finally 0⋅a=a⋅0 by (F6), so 0⋅a=0.

  • (e) Suppose ab=0. If a=0 there is nothing to prove, so suppose a≠0. By (F8), a−1 exists. Then, by (F7), (F8), (F6) and (F5), b=b⋅1=b(aa−1)=(ba)a−1=(ab)a−1=0⋅a−1=0, where the last equality is (d). This shows that a=0 or b=0.

Two small consequences are used without comment from now on: 0+a=a and 1⋅a=a, by (F1), (F3), (F6) and (F7). More importantly, every identity of school algebra that is proved from these rules, such as (a+b)2=a2+2ab+b2 or (−a)(−b)=ab, now holds in every field. Part (f) is the property we will use most: a product of non-zero elements is non-zero.

0.7.4. Examples

We check the standard examples first, then an exotic one, then a degenerate case.

Example (The Fields Q, R and C)

Explain why Q, R and C, with their usual addition and multiplication, are fields.

Solution. For R, the axioms (F1)–(F9) are the rules of arithmetic for real numbers that we take as familiar, and 1≠0.

For Q, the sum, product and negative of fractions are fractions, and so is the inverse qp of a non-zero fraction pq. So the operations of R restrict to functions Q×Q→Q, and 0,1,−a,a−1 lie in Q whenever a does. The identities in (F1), (F2), (F5), (F6) and (F9) hold for all real numbers, so in particular for rational ones. Hence Q is a field.

For C, the axioms (F1)–(F6) and (F9), together with the existence of 1=1+0i, are Proposition 0.6.1. We have 1=(1,0)≠(0,0)=0. Finally (F8) is Proposition 0.6.3: a non-zero z has the inverse z―/|z|2. Hence C is a field.

The next example is a field strictly between Q and R. It shows that the inverse axiom (F8) can take real work to check.

Example (Q(2) Is a Field)

Let Q(2):={a+b2:a,b∈Q}⊆R, with the addition and multiplication of R. Show that Q(2) is a field, and find the inverse of 1+22.

Solution. Let x=a+b2 and y=c+d2 with a,b,c,d∈Q.

Closure. We have x+y=(a+c)+(b+d)2 and xy=(ac+2bd)+(ad+bc)2, using 2⋅2=2. The coefficients are rational, so x+y,xy∈Q(2).

Axioms that are identities. (F1), (F2), (F5), (F6) and (F9) hold for all real numbers, hence for the elements of Q(2).

Neutral elements and negatives. 0=0+02 and 1=1+02 lie in Q(2), and 1≠0. The negative −x=(−a)+(−b)2 lies in Q(2).

Inverses. Suppose x≠0. We first claim a−b2≠0. If b≠0 and a−b2=0, then 2=a/b would be rational, contradicting Theorem 0.2.3. If b=0, then a=x≠0, so a−b2=a≠0. Therefore a−b2≠0, and by Theorem 0.7.1 (f) in R, N:=(a+b2)(a−b2)=a2−2b2≠0. Since N is a non-zero rational number, the element x′:=aN+−bN2∈Q(2) satisfies xx′=1N(a+b2)(a−b2)=1. So (F8) holds, and Q(2) is a field.

For x=1+22 we get N=1−8=−7, so x−1=−17+272=−1+227. Check: (1+22)(−1+22)=−1+22−22+8=7.

The method is “rationalize the denominator”, the same move as multiplying by the conjugate in C. The irrationality of 2 is exactly what guarantees the new denominator is not zero.

Quick check. Is {a+b3:a,b∈Q}, with the operations of R, a field?

Solution. Yes, by the same argument as Example (Q(2) Is a Field). Products stay in the set because 3⋅3=3 is rational. For inverses, the number a2−3b2 is non-zero whenever a+b3≠0, because 3 is irrational (Exercise (B3: 3 is irrational)). The inverse is a−b3a2−3b2.

The degenerate case. Let F={0} with 0+0=0 and 0⋅0=0. Every axiom except one holds: (F1), (F2), (F5), (F6) and (F9) are identities between elements that all equal 0, (F3) and (F4) hold with −0=0, and (F8) holds vacuously because there is no non-zero element. The only failure is (F7): the one element that could serve as 1 is 0, and the axiom demands 1≠0. So {0} is not a field, and every field has at least the two elements 0 and 1. This one-element system is the reason the clause 1≠0 is there.

0.7.5. Finite fields

Every field so far is infinite. The arithmetic of remainders gives finite ones, and they are genuinely useful: computer science and coding theory do linear algebra over them all the time.

Recall from Definition 0.5.2 and Definition 0.5.5 that for an integer n≥1, congruence modulo n is an equivalence relation on Z. We write [a] for the class of a and Z/nZ for the quotient set. By division with remainder (Exercise (C2: Division with remainder)), Z/nZ={[0],[1],…,[n−1]}, and these n classes are distinct. Also [a]=[b] exactly when n divides a−b.

Example (Arithmetic on Z/nZ and the Field F2)

Let n≥1. Define [a]+[b]:=[a+b] and [a][b]:=[ab]. Show that these operations are well defined, that they satisfy every field axiom except possibly (F8) and the clause 1≠0, and that 1≠0 holds exactly when n≥2. Write out the tables for n=2.

Solution. Well-definedness. The formulas use representatives, so we must check that the answer does not depend on which representatives we pick. For addition this is Example (Addition modulo n is well defined). For multiplication, suppose [a]=[a′] and [b]=[b′], so n divides a−a′ and b−b′. Then ab−a′b′=a(b−b′)+(a−a′)b′ is divisible by n, so [ab]=[a′b′].

Axioms. Every identity in (F1), (F2), (F5), (F6), (F9) transfers from Z, because both sides can be computed on representatives. For instance, for (F9), [a]([b]+[c])=[a][b+c]=[a(b+c)]=[ab+ac]=[ab]+[ac]=[a][b]+[a][c]. The same one-line computation works for the other four. The class [0] satisfies (F3) since [a]+[0]=[a], the class [−a] is a negative of [a] as in (F4), and [1] satisfies [a][1]=[a].

The clause 1≠0. We have [1]=[0] exactly when n divides 1, that is, when n=1. So [1]≠[0] exactly when n≥2.

Tables for n=2. Writing 0,1 for [0],[1], the set F2:=Z/2Z={0,1} has the tables +01001110⋅01000101 The only surprise is 1+1=0, since 2 is even. Here (F8) holds as well, since the only non-zero element is 1 and 1⋅1=1. Hence F2 is a field.

So for n≥2, whether Z/nZ is a field comes down to one question: does every non-zero class have an inverse? To find an inverse of [a] we need an integer x with [ax]=[1], that is, ax+ny=1 for some integer y. The following lemma produces such x and y.

Lemma 0.7.2 (Bézout’s Lemma for Integers)

Let a,n∈Z with n≥1, and suppose that the only positive integer dividing both a and n is 1. Then there exist x,y∈Z with ax+ny=1.

Idea. Consider all positive integers of the form ax+ny. There is a smallest one, d, by well-ordering. The plan: ① show d divides a and n; ② conclude d=1 from the hypothesis. For ①, divide a by d: the remainder is again of the form ax+ny and is smaller than d, so minimality forces it to be 0.

Proof. Let S={ax+ny:x,y∈Z}∩{1,2,3,…}. Since n=a⋅0+n⋅1≥1, we have n∈S, so S is a non-empty subset of N. By the well-ordering principle (Theorem 0.2.11), S has a smallest element d=ax0+ny0.

Next we divide a by d, using well-ordering a second time. Let R be the collection of non-negative integers of the form a−qd with q∈Z. Taking q=−|a| gives a+|a|d, which is non-negative because d≥1 forces |a|d≥|a|≥−a; so R is non-empty, and by Theorem 0.2.11 it has a least element r=a−qd≥0. If r≥d, then r−d=a−(q+1)d would lie in R and be smaller than r, contradicting minimality. Hence 0≤r<d, and a=qd+r; this is the division with remainder of Exercise (C2: Division with remainder), repeated here in the one case the proof needs. Now r=a−q(ax0+ny0)=a(1−qx0)+n(−qy0) has the form ax+ny. If r≥1, then r∈S and r<d, contradicting the minimality of d. Hence r=0, and d divides a. The same argument with n in place of a shows that d divides n.

Therefore d is a positive integer dividing both a and n. By hypothesis d=1, so ax0+ny0=1, as claimed.

Now we can decide exactly when Z/nZ is a field.

Theorem 0.7.3 (Z/nZ Is a Field Exactly for Prime n)

Let n≥2 be an integer. Then Z/nZ is a field if and only if n is prime.

Idea. By Example (Arithmetic on Z/nZ and the Field F2), only (F8) is in question. If n is prime, a non-zero class [a] has a not divisible by n, so a and n share no factor, and Bézout hands us the inverse. If n=rs factors, then [r][s]=[n]=[0] with both factors non-zero, which no field allows.

Proof. By Example (Arithmetic on Z/nZ and the Field F2), Z/nZ satisfies all field axioms except possibly (F8), including [1]≠[0] since n≥2.

(⇐) Suppose n=p is prime, and let [a]≠[0]. Then p does not divide a. A positive integer dividing p is 1 or p, and p does not divide a, so the only positive common divisor of a and p is 1. By Lemma 0.7.2 there are x,y∈Z with ax+py=1. Since ax−1=−py is divisible by p, [a][x]=[ax]=[1]. So [x] is an inverse of [a], and (F8) holds. Hence Z/pZ is a field.

(⇒) We prove the contrapositive. Suppose n≥2 is not prime. Then n=rs for some integers r,s with 1<r<n and 1<s<n. Since 0<r<n, n does not divide r, so [r]≠[0]; likewise [s]≠[0]. But [r][s]=[rs]=[n]=[0]. By Theorem 0.7.1 (f), this cannot happen in a field. Hence Z/nZ is not a field. This proves the theorem.

For a prime p we write Fp:=Z/pZ, and usually drop the brackets, writing its elements as 0,1,…,p−1 and computing “mod p”. So F2,F3,F5,F7,… are fields, while Z/4Z, Z/6Z and Z/9Z are not.

Quick check. Find the inverse of 3 in F7.

Solution. We need x with 3x leaving remainder 1 on division by 7. Trying x=1,2,…: 3⋅5=15=2⋅7+1. So 3−1=5 in F7. (By Theorem 0.7.1 (c) this is the only inverse.)

Because Fp is a field, the elimination from the start of the section runs unchanged in it. Only the arithmetic is new.

Example (Elimination over F5)

Solve the system 2x+y=3, 3x+2y=4 over F5.

Solution. In F5 the inverses are 1−1=1, 2−1=3, 3−1=2, 4−1=4, since 2⋅3=6=5+1 and 4⋅4=16=15+1. Multiply the first equation by 2−1=3: since 3⋅2=1, 3⋅1=3 and 3⋅3=9=4, it becomes x+3y=4. Subtract 3 times this from the second equation: the x-terms cancel, and we get (2−9)y=4−12,that is,3y=2, since −7=−10+3 and −8=−10+2. Multiply by 3−1=2: y=4. Then x=4−3y=4−12=−8=2. Check: 2⋅2+4=8=3 and 3⋅2+2⋅4=14=4 in F5. Hence (x,y)=(2,4) is the unique solution.

0.7.6. Non-examples

Each of these fails some part of the slogan, and it pays to name the exact clause that fails.

  • Z. Everything but (F8) holds: Z is closed under + and ⋅, contains 0, 1 and negatives, and inherits the identities from R. But 2≠0 has no inverse in Z, since 2m is even and never equals 1. Changing Z to Q is the minimal change that repairs it.
  • Z/6Z. This is F5 with the modulus changed from 5 to 6. All axioms but (F8) still hold (Example (Arithmetic on Z/nZ and the Field F2)), but [2][3]=[0] with [2],[3]≠[0]. By Theorem 0.7.1 (f), [2] cannot have an inverse; indeed [2][x] is always one of [0],[2],[4].
  • 2×2 real matrices, with the matrix operations you know from school (they are treated properly later in this chapter). The identity matrix plays the role of 1. Two axioms fail. (F6) fails: (0100)(0010)=(1000),(0010)(0100)=(0001). (F8) fails too: E=(1000) is not the zero matrix, but every product EX has second row zero, so EX is never the identity.

Warning. “[a]≠[0]” does not mean [a] can be divided by in Z/nZ. In Z/6Z the equation [2]x=[1] has no solution, and [2]x=[4] has two, x=[2] and x=[5]. Before dividing modulo n, check that n is prime, or at least that a and n share no factor.

0.7.7. Why these axioms

Each clause is there because something we rely on breaks without it.

  • Without (F8), elimination stalls, as 2x=1 over Z showed. Worse, the theorems of the next chapters fail: over Z, the analogues of vector spaces (called modules) need not have bases, and “a set of n independent vectors in an n-dimensional space spans it” becomes false. This book always works over a field.
  • Without (F6), scalars would not commute with each other. The matrices above show such systems exist, and there are even systems with division but without commutativity. Linear algebra constantly swaps scalars, as in a(bv)=b(av) for a vector v (Chapter 1), so we keep commutativity.
  • Without 1≠0, the one-element system {0} would count, and every statement of the form “a field has a non-zero element” would fail. Keeping it costs nothing.
  • The name “field” is historical and carries no extra meaning.

Remark. Many identities we are used to are consequences of the axioms and hold in every field, including F2. But properties that involve order or size, such as “squares are non-negative” or “1+1+⋯+1≠0”, are not among the axioms. The first already fails in C, where i2=−1, as the warning on ordering in the previous section explains. The second fails in Fp, which is the subject of the last part of this section.

0.7.8. The characteristic of a field

In Q we can add 1 to itself as often as we like without reaching 0. In F2 two copies already give 0, and in Fp it takes p copies. This number is the most basic invariant of a field, and it decides whether familiar arguments such as “2x=0 implies x=0” are valid.

First some notation. For a∈F and m∈N, define the integer multiple m⋅a by 0⋅a:=0 and (m+1)⋅a:=m⋅a+a. So m⋅a=a+a+⋯+a with m terms. This agrees with the field product when m=0, by Theorem 0.7.1 (d).

Lemma 0.7.4 (Integer Multiples)

Let F be a field, a∈F and m,k∈N. Then (m⋅1)+(k⋅1)=(m+k)⋅1,(m⋅1)(k⋅1)=(mk)⋅1,(m⋅1)a=m⋅a.

Proof. All three follow by induction on one variable (Theorem 0.2.7). For the first, induct on k: the case k=0 is m⋅1+0=m⋅1 by (F3), and if it holds for k, then by (F2) and the definition, m⋅1+(k+1)⋅1=(m⋅1+k⋅1)+1=(m+k)⋅1+1=(m+k+1)⋅1. For the third, induct on m: the case m=0 is 0⋅a=0 by Theorem 0.7.1 (d), and if it holds for m, then by (F6), (F9) and (F7), ((m+1)⋅1)a=(m⋅1+1)a=(m⋅1)a+1⋅a=m⋅a+a=(m+1)⋅a. The second is the third with a=k⋅1, combined with m⋅(k⋅1)=(mk)⋅1, which follows from the first by induction on m.

Definition 0.7.2 (Characteristic)

Let F be a field. If there is a positive integer n with n⋅1=0, the characteristic of F is the smallest such n. If there is no such n, the characteristic of F is 0.

In words: count how many copies of 1 must be added to reach 0. If it never happens, the convention is to say “characteristic 0”, not “characteristic ∞”: in that case the only integer m≥0 with m⋅1=0 is m=0.

  • Q, R, C have characteristic 0, because n⋅1=n≠0 for every positive integer n.
  • Fp has characteristic p: n⋅[1]=[n], which is [0] exactly when p divides n, and the smallest positive such n is p.
  • F2 is the smallest case: characteristic 2, because 1+1=0.

Can a field have characteristic 6? In Z/6Z, six copies of [1] give [0], but Z/6Z is not a field. This is no accident.

Theorem 0.7.5 (The Characteristic Is 0 or Prime)

The characteristic of a field is either 0 or a prime number.

Idea. Suppose the characteristic n factors as rs with smaller factors. Then the elements r⋅1 and s⋅1 are non-zero, by minimality of n, but their product is n⋅1=0. A field has no such pairs. This is the same argument as in Theorem 0.7.3, run inside an arbitrary field.

Proof. Let F be a field of characteristic n≠0. Since the integer multiple 1⋅1=0+1=1 is non-zero by (F7), we have n≠1, so n≥2. Suppose, for a contradiction, that n is not prime. Then n=rs with integers 1<r<n and 1<s<n. By Lemma 0.7.4, (r⋅1)(s⋅1)=(rs)⋅1=n⋅1=0. By Theorem 0.7.1 (f), r⋅1=0 or s⋅1=0. Either way we have a positive integer smaller than n whose multiple of 1 is 0, contradicting the minimality of n. Hence n is prime.

So the characteristic is 0, 2, 3, 5, 7, and so on. Together with Exercise (C2: Finite Fields Have Prime Characteristic), this says a finite field always has prime characteristic.

Warning. In a field of characteristic 2, such as F2, we have 1+1=0, so −1=1 and x=−x for every x. The familiar argument “x=−x, so 2x=0, so x=0” divides by 2=1+1, which is 0 there. For example, in F2 the element 1 satisfies 1=−1 but is not 0. This is why later results, notably on symmetric bilinear forms in Chapter 14, carry the hypothesis “characteristic ≠2”.

With fields in hand, the stage for linear algebra is set: in Chapter 1, a vector space is defined over a field F, and every result proved there holds at once for Q, R, C, Q(2) and Fp.

0.7.9. Exercises

A. Check your understanding

Exercise (A1)
  • (a) Define what it means for a set F with two operations to be a field.
  • (b) True or false: in every field, a2=0 implies a=0. Justify your answer.
  • (c) True or false: Z/8Z is a field. Justify your answer.
  • (d) True or false: in every field, 1+1≠0. Justify your answer.
  • (e) What are the characteristics of C and of F7?
  • (f) The set N with the usual addition and multiplication is not a field. Name two axioms that fail, each with a witness.

Solution.

  • (a) See Definition 0.7.1: two operations satisfying (F1)–(F9), including 1≠0.

  • (b) True. If a⋅a=0, then a=0 or a=0 by Theorem 0.7.1 (f).

  • (c) False. Since 8=2⋅4 is not prime, Z/8Z is not a field by Theorem 0.7.3; concretely [2][4]=[0] with [2],[4]≠[0].

  • (d) False. In F2, 1+1=0.

  • (e) C has characteristic 0, and F7 has characteristic 7 (see the examples after Definition 0.7.2).

  • (f) (F4) fails: 1∈N, but no b∈N has 1+b=0. (F8) fails: 2≠0, but no b∈N has 2b=1.

B. Practice

Exercise (B1: The Remaining Basic Properties)

Let F be a field and a,b,c∈F. Using only the axioms and the parts of Theorem 0.7.1 proved in the text, prove:

  • (a) the element 1 in (F7) is unique;
  • (b) if ab=ac and a≠0, then b=c;
  • (c) for a≠0, the inverse a−1 is unique;
  • (d) (−1)a=−a.

Hint: for (d), show that a+(−1)a=0.

Solution.

  • (a) Suppose 1 and 1′ both satisfy (F7). Then, by (F7) for 1′, (F6), and (F7) for 1, 1=1⋅1′=1′⋅1=1′.

  • (b) Suppose ab=ac and a≠0. By (F8), a−1 exists, and multiplying both sides by it gives (ab)a−1=(ac)a−1. By (F6) and (F5), (ab)a−1=(ba)a−1=b(aa−1)=b⋅1=b, using (F8) and (F7) at the end. In the same way (ac)a−1=c. Hence b=c.

  • (c) Suppose b and c both satisfy (F8) for a≠0: ab=1=ac. By (b), b=c.

  • (d) By (F7) and (F6), a=1⋅a. Therefore, using (F6) and (F9), a+(−1)a=1⋅a+(−1)a=a⋅1+a(−1)=a(1+(−1))=a⋅0=0, where the last two equalities use (F4) and Theorem 0.7.1 (d). So (−1)a satisfies (F4) for a. By uniqueness of negatives (Theorem 0.7.1 (c)), (−1)a=−a.

Exercise (B2: Solving Equations in F7)
  • (a) Solve 3x+5=2 in F7.
  • (b) Solve the system x+2y=3, 3x+y=1 over F7.

Solution.

  • (a) Adding −5 to both sides gives 3x=2−5=−3=4 in F7. Since 3⋅5=15=1 in F7, we have 3−1=5. Multiplying by 5, x=20=6. Check: 3⋅6+5=23=2 in F7. Hence x=6.

  • (b) Subtract 3 times the first equation from the second: (1−6)y=1−9, that is, −5y=−8, or 2y=6 in F7. Since 2⋅4=8=1, 2−1=4, so y=24=3. Then x=3−2y=3−6=−3=4. Check: 4+2⋅3=10=3 and 3⋅4+3=15=1 in F7. Hence (x,y)=(4,3).

Exercise (B3: Which Are Fields?)

Determine which of the following are fields, with the stated operations. Justify your answer.

Solution.

  • (a) Not a field. Since 9=3⋅3 is not prime, Theorem 0.7.3 applies; concretely [3][3]=[0] with [3]≠[0], which is impossible in a field by Theorem 0.7.1 (f).

  • (b) A field. Let x=a+bi and y=c+di with a,b,c,d∈Q. Then x+y=(a+c)+(b+d)i, xy=(ac−bd)+(ad+bc)i and −x=−a−bi have rational parts, and 0,1∈Q(i) with 1≠0. The identities (F1), (F2), (F5), (F6), (F9) hold because they hold in C (Example (The Fields Q, R and C)). If x≠0, then a2+b2 is a non-zero rational number, and by Proposition 0.6.3 x−1=aa2+b2−ba2+b2i, which lies in Q(i). So (F8) holds.

  • (c) Not a field: (F8) fails for 2. Suppose u=a+bi with a,b∈Z satisfied 2u=1. This is also an equation in the field C, where 12 is an inverse of 2; by uniqueness of inverses in C (Theorem 0.7.1 (c)), u=12. But 12 has real part 12∉Z, a contradiction.

  • (d) A field, by Theorem 0.7.3, since 5 is prime.

C. Going deeper

Exercise (C1: A Field with Four Elements)

Let F={a+bα:a,b∈F2}, a set of four formal symbols 0,1,α,β, where β:=1+α. Define (a+bα)+(c+dα):=(a+c)+(b+d)α,(a+bα)(c+dα):=(ac+bd)+(ad+bc+bd)α, with all coefficient arithmetic in F2. (The product is what expanding gives if we replace α2 by α+1.)

  • (a) Write out the addition and multiplication tables of F.
  • (b) Prove that F is a field.
  • (c) Explain why there is no bijection φ:F→Z/4Z with φ(x+y)=φ(x)+φ(y) and φ(xy)=φ(x)φ(y) for all x,y∈F. So this four-element field is not “Z/4Z in disguise”.

Hint: for (c), look for a non-zero element of Z/4Z whose square is zero.

Solution.

  • (a) Using the formulas, with 1+1=0 in F2: +01αβ001αβ110βαααβ01ββα10⋅01αβ00000101αβα0αβ1β0β1α For instance, α⋅α=(0+1α)(0+1α)=(0+1)+(0+0+1)α=1+α=β, and αβ=(0+1α)(1+1α)=(0+1)+(0+1+1)α=1.

  • (b) Let x=a+bα, y=c+dα, z=e+fα with a,…,f∈F2. Since F2 is a field (Example (Arithmetic on Z/nZ and the Field F2)), we may compute with the coefficients using the rules of algebra.

    Addition. It acts coordinate by coordinate, so (F1) and (F2) follow from the same laws in F2, the element 0=0+0α satisfies (F3), and −x=x satisfies (F4) because a+a=0 and b+b=0 in F2.

    (F6). The formula for xy is unchanged when (a,b) and (c,d) are swapped: ac+bd=ca+db and ad+bc+bd=cb+da+db.

    (F7). With 1=1+0α, x⋅1=(a+0)+(0+b+0)α=x, and 1≠0 since the coefficients differ.

    (F9). Since y+z=(c+e)+(d+f)α, x(y+z)=(a(c+e)+b(d+f))+(a(d+f)+b(c+e)+b(d+f))α, and expanding the coefficients shows this is ((ac+bd)+(ae+bf))+((ad+bc+bd)+(af+be+bf))α=xy+xz.

    (F5). Write xy=g+hα with g=ac+bd, h=ad+bc+bd. Then (xy)z=(ge+hf)+(gf+he+hf)α. Expanding, ge+hf=ace+adf+bcf+bde+bdf,gf+he+hf=acf+ade+adf+bce+bcf+bde, where in the second we used bdf+bdf=0 in F2. Similarly yz=k+lα with k=ce+df, l=cf+de+df, and x(yz)=(ak+bl)+(al+bk+bl)α. Expanding gives ak+bl=ace+adf+bcf+bde+bdf and al+bk+bl=acf+ade+adf+bce+bcf+bde, again using bdf+bdf=0. Hence (xy)z=x(yz).

    (F8). From the table, 1⋅1=1, αβ=1 and βα=1, so every non-zero element has an inverse.

    This proves that F is a field.

  • (c) Suppose such a bijection φ existed. First, φ(0)=φ(0+0)=φ(0)+φ(0), so additive cancellation in Z/4Z (adding −φ(0), which only uses (F1)–(F4), valid there by Example (Arithmetic on Z/nZ and the Field F2)) gives φ(0)=[0]. Since φ is surjective, there is x∈F with φ(x)=[2]. As [2]≠[0]=φ(0), we have x≠0. But φ(x⋅x)=φ(x)φ(x)=[2][2]=[4]=[0]=φ(0), so x⋅x=0 because φ is injective. This contradicts Theorem 0.7.1 (f) in the field F (from (b)). Hence no such φ exists.
Exercise (C2: Finite Fields Have Prime Characteristic)
  • (a) Let F be a finite field. Prove that the characteristic of F is a prime p.
  • (b) Let F be a field of characteristic p>0. Prove that p⋅a=0 for every a∈F.

Hint: for (a), the elements 1⋅1,2⋅1,3⋅1,… cannot all be different.

Solution.

  • (a) The elements m⋅1 for m=1,2,3,… all lie in the finite set F, so they cannot all be distinct. Hence there are positive integers k<m with m⋅1=k⋅1. By Lemma 0.7.4, m⋅1=k⋅1+(m−k)⋅1, so k⋅1+(m−k)⋅1=k⋅1+0, and additive cancellation (Theorem 0.7.1 (b)) gives (m−k)⋅1=0 with m−k≥1. Therefore the characteristic of F is not 0. By Theorem 0.7.5, it is a prime p.

  • (b) Let a∈F. By Lemma 0.7.4 and the definition of characteristic, p⋅a=(p⋅1)a=0⋅a=0, where the last step is Theorem 0.7.1 (d).

Exercise (C3: The Frobenius Identity)

Let p be a prime.

  • (a) Let a,b∈Z with p dividing ab. Prove that p divides a or p divides b.
  • (b) Deduce that p divides the binomial coefficient (pk) for 0<k<p.
  • (c) Let F be a field of characteristic p. Prove that (x+y)p=xp+yp for all x,y∈F.

You may use the binomial theorem (x+y)n=∑k=0n(nk)⋅(xkyn−k) in any field, with integer multiples as in Lemma 0.7.4; its inductive proof uses only the field axioms.

Hint: for (a), use Lemma 0.7.2. For (b), use p!=(pk)k!(p−k)!.

Solution.

  • (a) Suppose p does not divide a. A positive integer dividing p is 1 or p, so the only positive common divisor of a and p is 1. By Lemma 0.7.2 there are x,y∈Z with ax+py=1. Multiplying by b, b=(ab)x+p(by). Both terms on the right are divisible by p, the first because p divides ab. Hence p divides b.

  • (b) First, by (a) and induction on the number of factors, if p divides a product of integers then it divides one of the factors. The integers 1,2,…,p−1 are not divisible by p, so p divides neither k! nor (p−k)! for 0<k<p, and hence, by (a) once more, not their product. Now p divides p!=(pk)⋅(k!(p−k)!). By (a), p divides (pk).

  • (c) Let x,y∈F. By the binomial theorem, (x+y)p=xp+yp+∑k=1p−1(pk)⋅(xkyp−k), since (p0)=(pp)=1. Fix 0<k<p. By (b), (pk)=pm for some m∈N. By Lemma 0.7.4, (pk)⋅(xkyp−k)=((pm)⋅1)(xkyp−k)=(p⋅1)(m⋅1)(xkyp−k)=0, because p⋅1=0 in characteristic p and 0 times anything is 0 (Theorem 0.7.1 (d)). So every middle term vanishes, and (x+y)p=xp+yp, as claimed.

Found a typo or a mistake? Report it, or read this page’s source

The text of this book is licensed under CC BY-NC-SA 4.0.