Mathematics · Book 3 · Bachelor Year 1

University Mathematics — Year 1

University Mathematics — Year 1 · Bachelor Year 1

7Algebraic Structures

The same computation rules keep reappearing: integers, real numbers, complex numbers, congruence classes, and soon polynomials (Chapter 8), vectors and matrices (Chapters 18 and 21). Algebra extracts the common patterns and names them: group, ring, field. Proving a fact once, at the level of the structure, proves it for every example at once.

7.1 Laws of composition

Definition 7.1

A law of composition on a set EE is a map E×EEE \times E \to E, written (x,y)xy(x, y) \mapsto x * y. It is associative when (xy)z=x(yz)(x*y)*z = x*(y*z) always, commutative when xy=yxx * y = y * x always. An element ee is an identity when ex=xe=xe * x = x * e = x for all xx; then xx' is an inverse of xx when xx=xx=ex * x' = x' * x = e.

Proposition 7.2 (Uniqueness)

A law has at most one identity; for an associative law with identity, each element has at most one inverse.

Proof. If ee and ee' are identities: e=ee=ee = e * e' = e'. If xx' and xx'' invert xx: x=xe=x(xx)=(xx)x=ex=xx' = x' * e = x' * (x * x'') = (x' * x) * x'' = e * x'' = x''.

7.2 Groups

Definition 7.3 (Group)

A group (G,)(G, *) is a set with an associative law admitting an identity and in which every element has an inverse. The group is abelian when the law is commutative.

Example 7.4

(Z,+)(\Z, +), (Q,+)(\Q, +), (R,+)(\R, +), (C,+)(\C, +); (Q,×)(\Q^*, \times), (R,×)(\R^*, \times), (C,×)(\C^*, \times), (Un,×)(\mathbb{U}_n, \times) (roots of unity, Definition 3.17); the set S(E)\mathfrak{S}(E) of bijections of a set EE onto itself, under composition — the symmetric group of EE, non-abelian as soon as E3\abs E \geq 3. Not groups: (N,+)(\N, +) (no inverses), (Z,×)(\Z, \times) (only ±1\pm 1 invertible).

Proposition 7.5 (Computation rules)

In a group GG (written multiplicatively, identity ee):

  1. cancellation: ax=ay    x=yax = ay \implies x = y and xa=ya    x=yxa = ya \implies x = y;
  2. (ab)1=b1a1(ab)^{-1} = b^{-1} a^{-1} and (a1)1=a(a^{-1})^{-1} = a;
  3. for a,bGa, b \in G, each equation ax=bax = b and xa=bxa = b has a unique solution (x=a1bx = a^{-1}b, resp. x=ba1x = b a^{-1}).

Proof. (1) Multiply by a1a^{-1} on the appropriate side, using associativity. (2) (b1a1)(ab)=b1(a1a)b=b1b=e(b^{-1}a^{-1})(ab) = b^{-1}(a^{-1}a)b = b^{-1}b = e and symmetrically; uniqueness of the inverse concludes; the second point is Proposition 7.2 applied to a1a^{-1}. (3) Substitute and use (1) for uniqueness.

Example 7.6 (The symmetries of a rectangle)

A (non-square) rectangle admits exactly four isometries onto itself: the identity ee, the horizontal-axis reflection hh, the vertical-axis reflection vv, and the half-turn rr about the center. Composition makes this four-element set a group: each element is its own inverse (h2=v2=r2=eh^2 = v^2 = r^2 = e), and the product of any two distinct non-identity elements is the third (hv=vh=rhv = vh = r: reflecting in both axes is the half-turn). The full table is symmetric, so the group is abelian — yet it is not the same group as the rotations U4\mathbb U_4 of Example 7.15: there, i\iu has order 44, while here every element has order 2\leq 2. Two groups of the same size can thus have genuinely different multiplication structures — the figure below displays both tables side by side. This four-element group returns as {±1}×{±1}\{\pm1\} \times \{\pm1\}, and Exercise 7.7 explains why any group with all squares trivial must, like this one, be abelian.

Two groups with four elements: U_4 = \e, , -1, - \ (left) and the rectangle group (right), with the identity’s positions shaded. On the left the identity meanders (one element of order 4 generates everything); on the right it fills the diagonal (every element squares to e). No relabeling can turn one table into the other: the groups are not isomorphic.
Two groups with four elements: U4={e,i,1,i}\mathbb U_4 = \{e, \iu, -1, -\iu\} (left) and the rectangle group (right), with the identity’s positions shaded. On the left the identity meanders (one element of order 44 generates everything); on the right it fills the diagonal (every element squares to ee). No relabeling can turn one table into the other: the groups are not isomorphic.

Definition 7.7 (Subgroup)

A subset HH of a group GG is a subgroup (written HGH \leq G) when it contains ee, is stable under the law and under inversion. Then HH is itself a group.

Criterion: a nonempty HGH \subseteq G is a subgroup if and only if

x,yH,xy1H.\forall x, y \in H, \quad x y^{-1} \in H .

Proof of the criterion. A subgroup obviously satisfies it. Conversely, let HH \neq \emptyset satisfy it, and pick x0Hx_0 \in H. Then e=x0x01He = x_0 x_0^{-1} \in H; for yHy \in H, y1=ey1Hy^{-1} = e\,y^{-1} \in H; and for x,yHx, y \in H, xy=x(y1)1Hxy = x (y^{-1})^{-1} \in H.

Example 7.8

Un(C,×)\mathbb{U}_n \leq (\C^*, \times): nonempty, and for z,wUnz, w \in \mathbb{U}_n, (zw1)n=zn(wn)1=1(zw^{-1})^n = z^n (w^n)^{-1} = 1. The subgroups of (Z,+)(\Z, +) are exactly the nZn\Z (proved in Theorem 6.4). An intersection of subgroups is always a subgroup, but a union almost never is (Exercise 7.6).

Remark 7.9 (Common pitfalls with structures)

  1. Stability under the law is not enough. N\N is stable under addition inside Z\Z, contains 00, yet is no subgroup: inverses are missing. The criterion xy1Hxy^{-1} \in H tests everything at once — but only after checking HH \neq \emptyset.
  2. Nonabelian reflexes. In a general group, (ab)2=abab(ab)^2 = abab, which is a2b2a^2b^2 only when aa and bb commute; likewise (ab)1=b1a1(ab)^{-1} = b^{-1}a^{-1}, order reversed. Every identity imported from school algebra must be re-derived from the axioms or flagged as commutative.
  3. Kernel versus image. kerf\ker f lives in the source, imf\operatorname{im} f in the target; “ff injective iff kerf\ker f trivial” (Proposition 7.11) has no analogue with the image (imf=G\operatorname{im} f = G' is surjectivity).
  4. Rings are not groups for ×\times. In a ring, most elements need not be invertible, and cancellation by aa requires aa to be a unit or the ring to be an integral domain: in Z/12Z\Z/12\Z, 32=36\overline3\,\overline2 = \overline3\,\overline6 yet 26\overline2 \neq \overline6 (Example 7.27).

Definition 7.10 (Group morphism)

Let (G,)(G, *) and (G,)(G', \star) be groups. A map f ⁣:GGf \colon G \to G' is a morphism when

x,yG,f(xy)=f(x)f(y).\forall x, y \in G, \qquad f(x * y) = f(x) \star f(y).

Then f(eG)=eGf(e_G) = e_{G'} and f(x1)=f(x)1f(x^{-1}) = f(x)^{-1}. The kernel and image of ff are

kerf=f1({eG})G,imf=f(G)G.\ker f = f^{-1}(\{e_{G'}\}) \leq G, \qquad \operatorname{im} f = f(G) \leq G' .

A bijective morphism is an isomorphism; its inverse map is then automatically a morphism.

Proof of the assertions. f(e)=f(ee)=f(e)f(e)f(e) = f(e * e) = f(e)\star f(e), and cancelling f(e)f(e) gives eG=f(e)e_{G'} = f(e). Then f(x)f(x1)=f(xx1)=eGf(x)\star f(x^{-1}) = f(x x^{-1}) = e_{G'} identifies f(x1)f(x^{-1}) as the inverse. Kernel: ekerfe \in \ker f; if x,ykerfx, y \in \ker f, f(xy1)=f(x)f(y)1=ef(xy^{-1}) = f(x)f(y)^{-1} = e; the criterion applies. Image: same criterion with f(x)f(y)1=f(xy1)f(x)f(y)^{-1} = f(xy^{-1}). Inverse of an isomorphism: for u,vGu, v \in G', write u=f(x)u = f(x), v=f(y)v = f(y); then f1(uv)=f1(f(xy))=xy=f1(u)f1(v)f^{-1}(u \star v) = f^{-1}(f(xy)) = xy = f^{-1}(u) f^{-1}(v).

Proposition 7.11 (Injectivity via the kernel)

A group morphism ff is injective if and only if kerf={e}\ker f = \{e\}.

Proof. If ff is injective, kerf\ker f can only contain the one preimage of eGe_{G'}, which is ee. Conversely, if kerf={e}\ker f = \{e\} and f(x)=f(y)f(x) = f(y), then f(xy1)=f(x)f(y)1=eGf(xy^{-1}) = f(x) f(y)^{-1} = e_{G'}, so xy1=exy^{-1} = e, i.e. x=yx = y.

Example 7.12

exp ⁣:(R,+)(R+,×)\exp \colon (\R, +) \to (\R_+^*, \times) is a morphism (ex+y=exey\eu^{x+y} = \eu^x \eu^y), bijective (Proposition 4.1): the additive and multiplicative structures are isomorphic — the historical raison d’être of logarithms. Another morphism: θeiθ\theta \mapsto \eu^{\iu\theta} from (R,+)(\R, +) onto the unit circle (U,×)(\mathbb{U}, \times), with kernel 2πZ2\pi\Z.

Example 7.13 (The sign morphism)

The map s ⁣:(R,×)({±1},×)s \colon (\R^*, \times) \to (\{\pm1\}, \times) sending xx to its sign is a morphism: the sign of a product is the product of the signs. Its kernel is (0,+)\intoo0{+\infty} (a subgroup, as Definition 7.10 promises), its image all of {±1}\{\pm1\}: surjective, massively non-injective. Two general lessons in miniature. First, a morphism may crush information: ss remembers nothing of xx but one bit, and that is its virtue — sign arguments are exactly the computations that factor through ss. Second, morphisms to {±1}\{\pm1\} are the simplest “invariants”: the signature of permutations, built in this chapter’s weekend problem, is the same phenomenon on the group Sn\mathfrak S_n, and the parity arguments it powers all descend through such a two-valued morphism.

Definition 7.14 (Powers, order of an element)

In a group GG (multiplicative notation), set x0=ex^0 = e, xk+1=xkxx^{k+1} = x^k x and xk=(xk)1x^{-k} = (x^k)^{-1} for kNk \in \N; then xk+l=xkxlx^{k+l} = x^k x^l for all k,lZk, l \in \Z, so kxkk \mapsto x^k is a morphism (Z,+)G(\Z, +) \to G whose image x={xk:kZ}\langle x \rangle = \{x^k : k \in \Z\} is a subgroup, the subgroup generated by xx. The order of xx is the least m1m \geq 1 with xm=ex^m = e if one exists (then x={e,x,,xm1}\langle x\rangle = \{e, x, \dots, x^{m-1}\} has exactly mm elements, and xk=e    mkx^k = e \iff m \mid k), and \infty otherwise.

Example 7.15

In (C,×)(\C^*, \times): i\iu has order 44, with i={1,i,1,i}=U4\langle \iu \rangle = \{1, \iu, -1, -\iu\} = \mathbb{U}_4; more generally ω=e2iπ/n\omega = \eu^{2\iu\pi/n} has order nn and ω=Un\langle\omega\rangle = \mathbb{U}_n. In (Z,+)(\Z, +), every x0x \neq 0 has infinite order. Why the claims in the definition hold: if xx has order mm, divide any kk by mm (k=mq+rk = mq + r, 0r<m0 \leq r < m, Theorem 6.2): xk=(xm)qxr=xrx^k = (x^m)^q x^r = x^r, so the powers cycle with period mm, the listed elements are pairwise distinct by minimality of mm, and xk=ex^k = e forces r=0r = 0. Orders of permutations are computed in the weekend problem below.

Example 7.16 (Orders inside U12\mathbb U_{12})

What is the order of ωk\omega^k in Un\mathbb U_n, for ω=e2iπ/n\omega = \eu^{2\iu\pi/n}? One has (ωk)m=1(\omega^k)^m = 1 iff nkmn \mid km, and writing d=gcd(n,k)d = \gcd(n, k), n=dnn = dn', k=dkk = dk' with gcd(n,k)=1\gcd(n', k') = 1: nkm    nkm    nmn \mid km \iff n' \mid k'm \iff n' \mid m (Gauss’s lemma, Theorem 6.8). The least such m1m \geq 1 is n=ngcd(n,k)n' = \frac{n}{\gcd(n,k)}. In U12\mathbb U_{12} for instance, ω8\omega^8 has order 12gcd(12,8)=3\frac{12}{\gcd(12,8)} = 3 (indeed ω8=e4iπ/3U3\omega^8 = \eu^{4\iu\pi/3} \in \mathbb U_3), while ω5\omega^5 has order 1212: it generates the whole group, though it is not the “standard” generator. Counting the generators — the kk with gcd(k,n)=1\gcd(k, n) = 1 — recovers the coprime counts of Example 2.25: group theory and counting meet.

7.3 Rings and fields

Definition 7.17 (Ring)

A ring (A,+,×)(A, +, \times) is a set with two laws such that: (A,+)(A, +) is an abelian group (identity 00); ×\times is associative with an identity 11; and ×\times distributes over ++ on both sides. The ring is commutative when ×\times is. An element aa is invertible (a unit) when ab=ba=1ab = ba = 1 for some bb; the units form a group (A×,×)(A^\times, \times).

Proof that the units form a group. Stability: if a,aa, a' are units with inverses b,bb, b', then

(aa)(bb)=a(ab)b=a1b=ab=1,(bb)(aa)=1(aa')(b'b) = a(a'b')b = a\,1\,b = ab = 1, \qquad (b'b)(aa') = 1

symmetrically, so aaaa' is a unit. The element 11 is a unit (its own inverse), associativity is inherited from AA, and the inverse bb of a unit aa is itself a unit (with inverse aa). So (A×,×)(A^\times, \times) satisfies all group axioms. Every group in this book that is not built from permutations arises this way: Q=Q×\Q^* = \Q^\times, R\R^*, C\C^*, the units of Z/nZ\Z/n\Z below, and later the invertible matrices (Chapter 21).

Example 7.18

Z,Q,R,C\Z, \Q, \R, \C are commutative rings; Z×={1,1}\Z^\times = \{1, -1\}, Q×=Q\Q^\times = \Q^*. Later: polynomial rings K[X]K[X] (Chapter 8), matrix rings (non-commutative, Chapter 21), and Z/nZ\Z/n\Z below. In every ring, 0×a=00 \times a = 0 (from distributivity: 0a=(0+0)a=0a+0a0a = (0+0)a = 0a + 0a), and (1)a=a(-1)a = -a.

Example 7.19 (Idempotents: new phenomena in new rings)

In Z\Z, the equation x2=xx^2 = x, i.e. x(x1)=0x(x - 1) = 0, has only the solutions 00 and 11. In Z/6Z\Z/6\Z, testing all classes: 02=0\overline0^2 = \overline0, 12=1\overline1^2 = \overline1, 32=9=3\overline3^2 = \overline9 = \overline3 and 42=16=4\overline4^2 = \overline{16} = \overline4four idempotents. The two exotic ones come from zero divisors: 3(31)=3×2=6=0\overline3\,(\overline3 - \overline1) = \overline3 \times \overline2 = \overline6 = \overline0 with neither factor zero. Such computations calibrate one’s instincts: familiar facts about equations survive in integral domains and fields, but a general ring can and does behave differently — see also the Boolean rings of Exercise 7.10, where every element is idempotent.

Proposition 7.20 (Binomial theorem in a commutative ring)

If a,ba, b are elements of a commutative ring (more generally, if ab=baab = ba), then for nNn \in \N:

(a+b)n=k=0n(nk)akbnk,anbn=(ab)k=0n1akbn1k.(a+b)^n = \sum_{k=0}^n \binom nk a^k b^{n-k}, \qquad a^n - b^n = (a - b) \sum_{k=0}^{n-1} a^k b^{\,n-1-k} .

Proof. The proofs of Theorem 2.16 and of the geometric identity use only associativity, commutativity of the two elements, and distributivity — they apply verbatim.

Example 7.21 (The binomial theorem in an unfamiliar ring)

Two quick payoffs of the generality. In Z/pZ\Z/p\Z (pp prime), the middle binomial coefficients vanish (Theorem 6.23’s first step), so the theorem collapses to the freshman’s dream

(a+b)p=ap+bpin Z/pZ,(a + b)^p = a^p + b^p \qquad \text{in } \Z/p\Z ,

a genuine identity there, however criminal it looks over R\R. And in any commutative ring containing an element ε\varepsilon with ε2=0\varepsilon^2 = 0, the theorem truncates: (a+ε)n=an+nan1ε(a + \varepsilon)^n = a^n + n\,a^{n-1}\varepsilon, all higher terms carrying a factor ε2=0\varepsilon^2 = 0. The coefficient nan1n\,a^{n-1} of ε\varepsilon is the derivative of xnx^n — no accident, and a first hint that derivatives are algebra as much as analysis (compare the formal derivative of Chapter 8).

Definition 7.22 (Integral domain, field)

A commutative ring A{0}A \neq \{0\} is an integral domain when it has no zero divisors: ab=0    a=0ab = 0 \implies a = 0 or b=0b = 0. It is a field when every nonzero element is invertible. Every field is an integral domain (ab=0ab = 0 and a0a \neq 0 give b=a1ab=0b = a^{-1}ab = 0).

Example 7.23

Q\Q, R\R, C\C are fields; Z\Z is an integral domain but not a field. In an integral domain, cancellation holds for ×\times: ab=acab = ac and a0a \neq 0 imply b=cb = c.

7.4 The ring Z/nZ\Z/n\Z

Definition 7.24

Fix nNn \in \N^*. The congruence classes mod nn (Example 1.32) form a set Z/nZ\Z/n\Z of nn elements, written 0,1,,n1\overline 0, \overline 1, \dots, \overline{n-1}. The operations

a+b=a+b,a×b=ab\overline a + \overline b = \overline{a + b}, \qquad \overline a \times \overline b = \overline{ab}

are well defined — the classes of the results do not depend on the representatives, precisely because congruence is compatible with ++ and ×\times (Definition 6.18) — and make Z/nZ\Z/n\Z a commutative ring.

Theorem 7.25 (Units of Z/nZ\Z/n\Z; the fields Z/pZ\Z/p\Z)

  1. a\overline a is invertible in Z/nZ\Z/n\Z if and only if gcd(a,n)=1\gcd(a, n) = 1.
  2. Z/nZ\Z/n\Z is a field if and only if nn is prime.

Proof. (1) is Proposition 6.20 rewritten with classes.

(2) If n=pn = p is prime, every a0\overline a \neq \overline 0 has pap \nmid a, so gcd(a,p)=1\gcd(a, p) = 1: invertible by (1) — a field. If n=abn = ab with 1<a,b<n1 < a, b < n, then ab=n=0\overline a\, \overline b = \overline n = \overline 0 with a,b0\overline a, \overline b \neq \overline 0: zero divisors, so not even an integral domain; and n=1n = 1 gives the zero ring, excluded.

Example 7.26 (How many square roots of 11?)

Solve x2=1x^2 = \overline 1 in Z/8Z\Z/8\Z and in Z/7Z\Z/7\Z. Testing the eight classes mod 88: 12=11^2 = 1, 32=913^2 = 9 \equiv 1, 52=2515^2 = 25 \equiv 1, 72=4917^2 = 49 \equiv 1four solutions {1,3,5,7}\{\overline1, \overline3, \overline5, \overline7\}, even though the polynomial X21X^2 - 1 has degree 22. In the field Z/7Z\Z/7\Z, by contrast, x2=1x^2 = \overline1 means (x1)(x+1)=0(x - \overline1)(x + \overline1) = \overline0, and a field has no zero divisors: x=±1x = \pm\overline1, two solutions only. The failure mod 88 is traceable: (31)(3+1)=2×4=80(3-1)(3+1) = 2 \times 4 = 8 \equiv 0 without either factor vanishing. Moral: the familiar rule “a degree-dd equation has at most dd roots” is a theorem about integral domains (Corollary 8.8 proves it over fields); in rings with zero divisors it silently fails — which is exactly why the pairing proof of Wilson’s theorem (Exercise 6.11) needed pp prime.

Example 7.27 (Computing in Z/nZ\Z/n\Z)

In Z/12Z\Z/12\Z: the units are 1,5,7,11\overline 1, \overline 5, \overline 7, \overline{11} (the classes coprime to 1212), and each is its own inverse (52=2515^2 = 25 \equiv 1, 72=4917^2 = 49 \equiv 1, 112=121111^2 = 121 \equiv 1). The equation 3x=6\overline 3\, x = \overline 6 has three solutions (x{2,6,10}x \in \{\overline 2, \overline 6, \overline{10}\}): without invertibility, no cancellation. In Z/11Z\Z/11\Z by contrast, every equation ax=b\overline a x = \overline b with a0\overline a \neq \overline 0 has exactly one solution.

Example 7.28 (Group axioms as a solving license)

In the group ((Z/7Z),×)\bigl((\Z/7\Z)^*, \times\bigr), solve 3x=5\overline 3\,x = \overline 5. By Proposition 7.5 (3) the solution exists, is unique, and equals 315\overline3^{-1}\, \overline5; since 3×5=15=1\overline3 \times \overline5 = \overline{15} = \overline1, the inverse of 3\overline 3 is 5\overline 5, so

x=5×5=25=4,check: 3×4=12=5.x = \overline5 \times \overline5 = \overline{25} = \overline4, \qquad\text{check: } \overline3 \times \overline4 = \overline{12} = \overline5 .

The point is less the answer than the guarantee: in a group, every such equation is solvable uniquely before any computation, so a solving procedure can never run into “no solution” or “several”. Compare 3x=6\overline3\,x = \overline6 in Z/12Z\Z/12\Z above, where the guarantee fails — knowing which structure one is in is knowing what one may take for granted.

Example 7.29 (Direct products)

If GG and HH are groups, the product set G×HG \times H with the componentwise law (g,h)(g,h)=(gg,hh)(g, h)(g', h') = (gg', hh') is a group: axioms are checked coordinate by coordinate, with identity (eG,eH)(e_G, e_H) and inverses (g1,h1)(g^{-1}, h^{-1}). Orders combine by the lcm: (g,h)m=(gm,hm)(g, h)^m = (g^m, h^m) is the identity iff the order of gg and the order of hh both divide mm. Thus in Z/2Z×Z/2Z\Z/2\Z \times \Z/2\Z (additive) every nonzero element has order 22 — this is exactly the rectangle group of Example 7.6 in coordinates — while Z/4Z\Z/4\Z has an element of order 44: a second, computation-free proof that the two groups of size 44 are not isomorphic (an isomorphism preserves orders). Products are the easiest way to manufacture new groups from old, and the plane R2=R×R\R^2 = \R \times \R of Chapter 18 is the construction’s most important instance.

Remark 7.30 (Fermat, structurally)

In the field Z/pZ\Z/p\Z, the nonzero classes form a multiplicative group with p1p - 1 elements, and Fermat’s little theorem (Theorem 6.23) says: every element xx of this group satisfies xp1=1x^{p-1} = \overline 1. This is an instance of a general fact about finite groups (Lagrange’s theorem), proved in the second year; the pairing proof of Wilson’s theorem (Exercise 6.11) already had this group-theoretic flavor.

Remark 7.31 (Interlude: what abstraction buys)

It is fair to ask what was gained by proving, say, Proposition 7.2 for an abstract law rather than for numbers. The answer is leverage. That two-line argument now covers, at once: inverses of functions under composition (Theorem 1.24, whose uniqueness proof it repeats word for word), inverses mod nn (Proposition 6.20), inverses of nonzero reals, of units in any ring, and — sight unseen — of the invertible matrices of Chapter 21, where uniqueness of A1A^{-1} will not need a single line of proof. The same economy holds for Proposition 7.11 (one injectivity criterion, reused for linear maps in Chapter 20) and for the subgroup criterion. Abstraction here is not generality for its own sake: it is the refusal to prove the same lemma five times under five names. The price — keeping track of which axioms each statement really used — is exactly what the exercises of this chapter train.

Remark 7.32 (Where this chapter is used)

The vocabulary of this chapter is the grammar of the rest of the volume. Rings and fields organize Chapter 8 (K[X]K[X] is a ring imitating Z\Z) and Chapter 9 (K(X)K(X) is its field of fractions); vector spaces (Chapter 18) are abelian groups with a field acting on them; matrices (Chapter 21) form the volume’s first seriously non-commutative ring, and their invertible elements a group whose study is linear algebra itself. Morphisms and kernels return as linear maps and null spaces in Chapter 20Proposition 7.11 is the injectivity criterion of that chapter, proved once and for all here. The symmetric group, star of the weekend problem below, supplies the signature on which determinants are built in Chapter 22.

7.5 Exercises

Exercise 7.1

On E=R{1}E = \R \setminus \{1\}, define xy=x+yxyx * y = x + y - xy. Prove that (E,)(E, *) is an abelian group. (Identify the identity and the inverse of xx; check stability: why is xy1x * y \neq 1?)

Solution

Solution of Exercise 7.1.

Stability: xy=1    x+yxy=1    (1x)(1y)=0x * y = 1 \iff x + y - xy = 1 \iff (1-x)(1-y) = 0, impossible for x,y1x, y \neq 1. Indeed the key identity is

1xy=(1x)(1y):1 - x * y = (1 - x)(1 - y):

the map φ(x)=1x\varphi(x) = 1 - x sends (E,)(E, *) to (R,×)(\R^*, \times) with φ(xy)=φ(x)φ(y)\varphi(x * y) = \varphi(x)\varphi(y) — a bijective morphism. All axioms now transport: associativity and commutativity follow from those of ×\times; the identity is φ1(1)=0\varphi^{-1}(1) = 0 (check: x0=xx * 0 = x); the inverse of xx is φ1((1x)1)=111x=xx1\varphi^{-1}\bigl((1-x)^{-1}\bigr) = 1 - \frac{1}{1-x} = \frac{x}{x - 1} (which is 1\neq 1). So (E,)(E, *) is an abelian group.

Exercise 7.2

Which of the following are groups?

  1. ((0,+),×)(\intoo{0}{+\infty}, \times);
  2. ({1,0,1},+)(\{-1, 0, 1\}, +);
  3. (Q,×)(\Q^*, \times);
  4. the set of odd integers under addition.
Solution

Solution of Exercise 7.2.

  1. Yes: product of positives is positive, identity 11, inverse 1x\frac 1x, associativity inherited from R\R^*.
  2. No: not stable (1+1=2{1,0,1}1 + 1 = 2 \notin \{-1,0,1\}).
  3. Yes: the standard example.
  4. No: not stable (odd ++ odd == even), and no identity (00 is even).

Exercise 7.3

Write the composition table of the symmetric group S3\mathfrak{S}_3 of {1,2,3}\{1,2,3\} (six bijections: identity, three transpositions, two 33-cycles), and exhibit two elements that do not commute.

Solution

Solution of Exercise 7.3.

Write id\mathrm{id}, the transpositions τ12,τ13,τ23\tau_{12}, \tau_{13}, \tau_{23} (swapping the two named points), and the cycles c=(123)c = (1\,2\,3) (i.e. 12311 \mapsto 2 \mapsto 3 \mapsto 1) and c2=(132)c^2 = (1\,3\,2). The table of σρ\sigma\rho (row σ\sigma, column ρ\rho, apply ρ\rho first):

σ\ρ\sigma\backslash\rhoid\mathrm{id}ccc2c^2τ12\tau_{12}τ13\tau_{13}τ23\tau_{23}
id\mathrm{id}id\mathrm{id}ccc2c^2τ12\tau_{12}τ13\tau_{13}τ23\tau_{23}
ccccc2c^2id\mathrm{id}τ13\tau_{13}τ23\tau_{23}τ12\tau_{12}
c2c^2c2c^2id\mathrm{id}ccτ23\tau_{23}τ12\tau_{12}τ13\tau_{13}
τ12\tau_{12}τ12\tau_{12}τ23\tau_{23}τ13\tau_{13}id\mathrm{id}c2c^2cc
τ13\tau_{13}τ13\tau_{13}τ12\tau_{12}τ23\tau_{23}ccid\mathrm{id}c2c^2
τ23\tau_{23}τ23\tau_{23}τ13\tau_{13}τ12\tau_{12}c2c^2ccid\mathrm{id}

Non-commuting pair: τ12τ13=c2\tau_{12}\tau_{13} = c^2 while τ13τ12=c\tau_{13}\tau_{12} = c. (To check one entry: τ12τ13\tau_{12}\tau_{13} sends 1τ133τ1231 \xmapsto{\tau_{13}} 3 \xmapsto{\tau_{12}} 3, 3123 \mapsto 1 \mapsto 2, 2212 \mapsto 2 \mapsto 1: that is 13211 \mapsto 3 \mapsto 2 \mapsto 1, the cycle c2=(132)c^2 = (1\,3\,2).)

Exercise 7.4

Prove that H={zC:z=1}H = \{z \in \C^* : \abs z = 1\} is a subgroup of (C,×)(\C^*, \times), and that R+\R_+^* is another; is HR+H \cup \R_+^* a subgroup?

Solution

Solution of Exercise 7.4.

HH: 1H1 \in H; for z,wHz, w \in H, zw1=z/w=1\abs{zw^{-1}} = \abs z / \abs w = 1: the criterion applies. R+\R_+^*: same, xy1\abs{xy^{-1}} replaced by positivity. Union: iH\iu \in H and 2R+2 \in \R_+^*, but 2i2\iu has modulus 212 \neq 1 and is not a positive real: 2iHR+2\iu \notin H \cup \R_+^*, so the union is not stable — not a subgroup (as predicted by Exercise 7.6, neither subgroup contains the other).

Exercise 7.5 ★★

Let f ⁣:(R,+)(C,×)f \colon (\R, +) \to (\C^*, \times), θeiθ\theta \mapsto \eu^{\iu\theta}. Prove that ff is a morphism, compute kerf\ker f and imf\operatorname{im} f, and deduce from Proposition 7.11 that ff is not injective. Restrict the domain to make it injective on an interval as large as possible.

Solution

Solution of Exercise 7.5.

Morphism: ei(θ+φ)=eiθeiφ\eu^{\iu(\theta + \varphi)} = \eu^{\iu\theta}\eu^{\iu\varphi} (Theorem 3.7). Kernel: eiθ=1    θ2πZ\eu^{\iu\theta} = 1 \iff \theta \in 2\pi\Z, so kerf=2πZ{0}\ker f = 2\pi\Z \neq \{0\}: not injective. Image: every unit complex number is eiθ\eu^{\iu\theta} for some θ\theta (polar form), so imf=U\operatorname{im} f = \mathbb{U}, the unit circle. The restriction of ff to a half-open interval of length 2π2\pi, such as [0,2π)\intco{0}{2\pi} or (π,π]\intoc{-\pi}{\pi}, is injective (two angles with the same image differ by a multiple of 2π2\pi, and only one representative of each class fits in the interval); no interval of greater length works, since it contains two points at distance 2π2\pi.

Exercise 7.6 ★★

Let H,KH, K be subgroups of GG. Prove that HKH \cap K is a subgroup, and that HKH \cup K is a subgroup only when HKH \subseteq K or KHK \subseteq H. (If hHKh \in H \setminus K and kKHk \in K \setminus H, where can hkhk live?)

Solution

Solution of Exercise 7.6.

Intersection: eHKe \in H \cap K, and x,yHKx, y \in H \cap K gives xy1xy^{-1} in both HH and KK. Union: if HKH \subseteq K the union is KK, a subgroup (and symmetrically). Conversely, suppose neither inclusion holds: pick hHKh \in H \setminus K and kKHk \in K \setminus H, and suppose HKH \cup K were a subgroup; then hkHKhk \in H \cup K. If hkHhk \in H, then k=h1(hk)Hk = h^{-1}(hk) \in H: contradiction. If hkKhk \in K, then h=(hk)k1Kh = (hk)k^{-1} \in K: contradiction. So HKH \cup K is not a subgroup.

Exercise 7.7 ★★

A group GG satisfies x2=ex^2 = e for all xGx \in G. Prove that GG is abelian. (Expand (xy)2(xy)^2.)

Solution

Solution of Exercise 7.7.

Note first that x2=ex^2 = e means x1=xx^{-1} = x for every xx. Then for x,yGx, y \in G:

xy=(xy)1=y1x1=yx,xy = (xy)^{-1} = y^{-1} x^{-1} = yx ,

using Proposition 7.5 (2). So GG is abelian.

Exercise 7.8 ★★

In Z/18Z\Z/18\Z: list the units and find the inverse of 5\overline 5; solve 5x=7\overline 5\, x = \overline 7; solve 6x=3\overline 6\, x = \overline 3 and 6x=12\overline 6\, x = \overline{12}.

Solution

Solution of Exercise 7.8.

Units of Z/18Z\Z/18\Z: classes coprime to 18=2×3218 = 2 \times 3^2: 1,5,7,11,13,17\overline 1, \overline 5, \overline 7, \overline{11}, \overline{13}, \overline{17}. Inverse of 5\overline 5: 5×11=55=3×18+15 \times 11 = 55 = 3\times 18 + 1, so 51=11\overline 5^{-1} = \overline{11}.

5x=7\overline 5 x = \overline 7: multiply by 11\overline{11}: x=77=5x = \overline{77} = \overline 5 (since 77=4×18+577 = 4\times 18 + 5). Unique solution.

6x=3\overline 6 x = \overline 3: the equation 6x3(mod18)6x \equiv 3 \pmod{18} means 186x318 \mid 6x - 3. But 6x3=3(2x1)6x - 3 = 3(2x - 1) is odd, while 1818 is even: an even number cannot divide an odd one. No solution.

6x=12\overline 6 x = \overline{12}: 6x12(mod18)    x2(mod3)6x \equiv 12 \pmod{18} \iff x \equiv 2 \pmod 3: solutions x{2,5,8,11,14,17}x \in \{\overline 2, \overline 5, \overline 8, \overline{11}, \overline{14}, \overline{17}\} — six of them.

Exercise 7.9 ★★

Prove that the set Z[2]={a+b2:a,bZ}\Z[\sqrt 2] = \{a + b\sqrt 2 : a, b \in \Z\} is a ring (a subring of R\R), and that 1+21 + \sqrt 2 is a unit of it with infinitely many distinct powers — so Z[2]×\Z[\sqrt 2]^\times is infinite, unlike Z×\Z^\times.

Solution

Solution of Exercise 7.9.

Z[2]\Z[\sqrt 2] contains 00 and 11, and is stable under subtraction and product:

(a+b2)(c+d2)=(ac+2bd)+(ad+bc)2,(a + b\sqrt 2)(c + d\sqrt 2) = (ac + 2bd) + (ad + bc)\sqrt 2 ,

so it is a subring of R\R (commutativity, associativity, distributivity are inherited). Unit: (1+2)(1+2)=21=1(1 + \sqrt 2)(-1 + \sqrt 2) = 2 - 1 = 1, so 1+21 + \sqrt 2 is invertible with inverse 21Z[2]\sqrt 2 - 1 \in \Z[\sqrt 2]. Its powers (1+2)n(1 + \sqrt 2)^n are strictly increasing (the base is >1> 1), hence pairwise distinct, and each is a unit (((1+2)n)1=(21)n\bigl((1+\sqrt2)^n\bigr)^{-1} = (\sqrt 2 - 1)^n): the group of units is infinite.

Exercise 7.10 ★★★

(Boolean rings) Let AA be a ring in which x2=xx^2 = x for every xx. Prove that x+x=0x + x = 0 for all xx, and that AA is commutative. (Expand (x+x)2(x+x)^2 and (x+y)2(x+y)^2.) Give an example of such a ring with P(E)\mathcal{P}(E), taking the symmetric difference as addition and intersection as multiplication.

Solution

Solution of Exercise 7.10.

x+x=(x+x)2=x2+x2+x2+x2=4x2=4xx + x = (x + x)^2 = x^2 + x^2 + x^2 + x^2 = 4x^2 = 4x — so 2x=4x2x = 4x, giving 2x=02x = 0, i.e. x+x=0x + x = 0 (each element is its own additive inverse). Then

x+y=(x+y)2=x2+xy+yx+y2=x+xy+yx+y,x + y = (x+y)^2 = x^2 + xy + yx + y^2 = x + xy + yx + y ,

so xy+yx=0xy + yx = 0, i.e. xy=yx=yxxy = -yx = yx (using z=z-z = z). Hence AA is commutative.

Example: on P(E)\mathcal{P}(E), define A+B=(AB)(AB)A + B = (A \cup B) \setminus (A \cap B) (symmetric difference) and A×B=ABA \times B = A \cap B. One checks: (P(E),+)(\mathcal{P}(E), +) is an abelian group with identity \emptyset and each set its own inverse; \cap is associative, commutative, with identity EE; distributivity A(B+C)=(AB)+(AC)A \cap (B + C) = (A \cap B) + (A \cap C) holds (an element lies in the left side iff it is in AA and in exactly one of B,CB, C). And AA=AA \cap A = A: every element is idempotent, as required.

Exercise 7.11 ★★★

Let GG be a group in which, for some fixed n1n \geq 1, (xy)n=xnyn(xy)^n = x^n y^n, (xy)n+1=xn+1yn+1(xy)^{n+1} = x^{n+1}y^{n+1} and (xy)n+2=xn+2yn+2(xy)^{n+2} = x^{n+2}y^{n+2} for all x,yx, y. Prove that GG is abelian. (From the three identities, derive first ynx=xyny^n x = x y^n, then yn+1x=xyn+1y^{n+1} x = x y^{n+1}, and conclude.)

Solution

Solution of Exercise 7.11.

Write the hypothesis for nn and n+1n+1:

(xy)n+1=xn+1yn+1and(xy)n+1=(xy)(xy)n=xyxnyn.(xy)^{n+1} = x^{n+1} y^{n+1} \quad\text{and}\quad (xy)^{n+1} = (xy)(xy)^n = xy\,x^n y^n .

Equating: xn+1yn+1=xyxnynx^{n+1} y^{n+1} = x\,y\,x^n\,y^n; cancel xx on the left and yny^n on the right: xny=yxnx^n y = y x^n. The same computation one degree higher (n+1n+1 and n+2n+2) gives xn+1y=yxn+1x^{n+1} y = y x^{n+1}. Then

yxn+1=xn+1y=x(xny)=xyxn,y\,x^{n+1} = x^{n+1} y = x\,(x^n y) = x\,y\,x^n ,

and cancelling xnx^n on the right of yxxn=xyxny x \cdot x^n = x y \cdot x^n: yx=xyyx = xy. So GG is abelian.

Exercise 7.12 ★★

  1. Determine all group morphisms from (Z,+)(\Z, +) to (Z,+)(\Z, +).
  2. Prove that the only group morphism from (Q,+)(\Q, +) to (Z,+)(\Z, +) is the zero morphism. (For xQx \in \Q and nNn \in \N^*, compare f(x)f(x) and nf(x/n)n\,f(x/n).)
Solution

Solution of Exercise 7.12.

  1. Let f ⁣:ZZf \colon \Z \to \Z be additive and a=f(1)a = f(1). By induction f(k)=kaf(k) = ka for kNk \in \N, and f(k)=f(k)=kaf(-k) = -f(k) = -ka: so ff is the multiplication by aa. Conversely every map kakk \mapsto ak is a morphism: the morphisms (Z,+)(Z,+)(\Z,+) \to (\Z,+) are exactly the multiplications by a fixed integer.
  2. Let f ⁣:QZf \colon \Q \to \Z be a morphism, xQx \in \Q and nNn \in \N^*. Then

    f(x)=f(xn++xnn)=nf(xn),f(x) = f\Bigl(\underbrace{\tfrac xn + \dots + \tfrac xn}_{n}\Bigr) = n\,f\Bigl(\frac xn\Bigr) ,

    so the integer f(x)f(x) is divisible by every n1n \geq 1. The only such integer is 00: f0f \equiv 0.

7.6 Problem: The symmetric group and the 8-puzzle

Problem 7.1

The group Sn\mathfrak S_n of permutations of [ ⁣[1,n] ⁣]\intint1n is the oldest group in mathematics and still the most instructive. This problem builds its structure theory from scratch — cycles, generation by transpositions, the signature morphism ε ⁣:Sn{±1}\varepsilon \colon \mathfrak S_n \to \{\pm1\} (whose existence is genuinely nontrivial), and the alternating group An\mathfrak A_n generated by 33-cycles — then cashes it in on a classical puzzle: in the 3×33 \times 3 sliding-tile game, no sequence of moves can swap two tiles and leave everything else in place. Permutations act on [ ⁣[1,n] ⁣]\intint1n; products στ\sigma\tau mean “apply τ\tau first”; [v1,,vn][\,v_1, \dots, v_n] denotes the permutation sending ii to viv_i.

Part I — Cycles and transpositions.

  1. Justify Sn=n!\abs{\mathfrak S_n} = n! (Theorem 2.12). In S3\mathfrak S_3, compute both products of σ=[2,3,1]\sigma = [2, 3, 1] and τ=[1,3,2]\tau = [1, 3, 2], and conclude that S3\mathfrak S_3 is not abelian.
  2. A kk-cycle (a1 a2  ak)(a_1\ a_2\ \dots\ a_k) (k2k \geq 2, the aia_i pairwise distinct) sends a1a2aka1a_1 \mapsto a_2 \mapsto \dots \mapsto a_k \mapsto a_1 and fixes everything else; its support is {a1,,ak}\{a_1, \dots, a_k\}. Prove that two cycles with disjoint supports commute.
  3. Prove that every σSn\sigma \in \mathfrak S_n is a product of cycles with pairwise disjoint supports, and that this decomposition is unique up to the order of the factors. (Consider, for each ii, the sequence i,σ(i),σ2(i),i, \sigma(i), \sigma^2(i), \dots: it must return to ii; the resulting orbits partition [ ⁣[1,n] ⁣]\intint1n, and σ\sigma acts on each as a cycle.)
  4. Decompose σ=[4,1,5,2,3,7,8,6]S8\sigma = [4, 1, 5, 2, 3, 7, 8, 6] \in \mathfrak S_8 into disjoint cycles. Defining the order of σ\sigma as in Definition 7.14, prove that the order of a product of disjoint cycles is the lcm of their lengths, and compute the order of this σ\sigma.
  5. Prove the telescoping identity

    (a1 a2  ak)=(a1 ak)(a1 ak1)(a1 a2),(a_1\ a_2\ \dots\ a_k) = (a_1\ a_k)(a_1\ a_{k-1})\cdots(a_1\ a_2) ,

    and conclude that every permutation is a product of transpositions. Write the σ\sigma of question 4 as such a product.

  6. Show further that the adjacent transpositions (i  i+1)(i\ \ i{+}1) suffice: for a<ba < b,

    (a b)=(a  a+1)(a+1  a+2)(b1  b)(a+1  a+2)(a  a+1),(a\ b) = (a\ \ a{+}1)(a{+}1\ \ a{+}2)\cdots(b{-}1\ \ b) \cdots(a{+}1\ \ a{+}2)(a\ \ a{+}1),

    a product of 2(ba)12(b - a) - 1 adjacent transpositions — an odd number (this parity will matter twice below).

Part II — The signature exists. For σSn\sigma \in \mathfrak S_n, let

N(σ)=#{(i,j):i<j, σ(i)>σ(j)}N(\sigma) = \#\bigl\{(i, j) : i < j,\ \sigma(i) > \sigma(j)\bigr\}

be its number of inversions, and set ε(σ)=(1)N(σ)\varepsilon(\sigma) = (-1)^{N(\sigma)}.

  1. Compute NN and ε\varepsilon for the identity, for a transposition (i  i+1)(i\ \ i{+}1), and for [2,3,1][2, 3, 1].
  2. Prove that for every σ\sigma and every adjacent transposition τ=(i  i+1)\tau = (i\ \ i{+}1): N(στ)=N(σ)±1N(\sigma\tau) = N(\sigma) \pm 1. (Composing with τ\tau on the right swaps the values in positions ii and i+1i + 1; exactly one pair changes its inversion status.)
  3. Deduce, using question 6, that for any transposition τ\tau, ε(στ)=ε(σ)\varepsilon(\sigma\tau) = -\varepsilon(\sigma); conclude that if σ\sigma is a product of pp transpositions, then ε(σ)=(1)p\varepsilon(\sigma) = (-1)^p — in particular the parity of pp depends only on σ\sigma, not on the chosen factorization — and that ε ⁣:Sn{±1}\varepsilon \colon \mathfrak S_n \to \{\pm 1\} is a group morphism.
  4. Show that a kk-cycle has signature (1)k1(-1)^{k-1}, and that in general ε(σ)=(1)nc(σ)\varepsilon(\sigma) = (-1)^{n - c(\sigma)}, where c(σ)c(\sigma) is the number of orbits of σ\sigma (fixed points included).
  5. The alternating group is An=kerε\mathfrak A_n = \ker\varepsilon. Justify that it is a subgroup, and prove An=n!2\abs{\mathfrak A_n} = \frac{n!}2 for n2n \geq 2. (Fix a transposition τ0\tau_0 and consider σστ0\sigma \mapsto \sigma\tau_0.)
  6. Consistency check on σ=[4,1,5,2,3,7,8,6]\sigma = [4, 1, 5, 2, 3, 7, 8, 6]: compute ε(σ)\varepsilon(\sigma) three ways — by counting inversions, from the cycle type via question 10, and from your transposition count in question 5.

Part III — An\mathfrak A_n is generated by 33-cycles.

  1. Let a,b,c,da, b, c, d be pairwise distinct. Verify the two identities

    (a b)(a c)=(a c b),(a b)(c d)=(a c b)(a c d).(a\ b)(a\ c) = (a\ c\ b), \qquad (a\ b)(c\ d) = (a\ c\ b)(a\ c\ d) .
  2. Prove that for n3n \geq 3, every element of An\mathfrak A_n is a product of 33-cycles. (An even permutation is a product of an even number of transpositions; absorb them two at a time.)
  3. Write (1 2)(3 4)(1\ 2)(3\ 4) and the 55-cycle (1 2 3 4 5)(1\ 2\ 3\ 4\ 5) explicitly as products of 33-cycles.
  4. Prove the conjugation formula: for every σSn\sigma \in \mathfrak S_n,

    σ(a1  ak)σ1=(σ(a1)  σ(ak)).\sigma\,(a_1\ \dots\ a_k)\,\sigma^{-1} = \bigl(\sigma(a_1)\ \dots\ \sigma(a_k)\bigr) .

Part IV — The 8-puzzle. Tiles 1,,81, \dots, 8 slide in a 3×33 \times 3 frame with one empty cell; a move slides a tile adjacent to the empty cell into it. Number the cells 1,,91, \dots, 9 (row by row; the solved position has tile ii in cell ii and the empty cell at cell 99). Treat the empty cell as a ninth tile, so a position is a permutation σS9\sigma \in \mathfrak S_9 (tile σ(i)\sigma(i) sits in cell ii).

  1. Show that a move replaces σ\sigma by στ\sigma \circ \tau where τ\tau is the transposition of the two cells involved; deduce that each move flips ε(σ)\varepsilon(\sigma).
  2. Let d(σ)d(\sigma) be the taxicab distance (rows plus columns) between the empty cell’s current cell and its home cell 99. Show that each move changes dd by ±1\pm1, so each move also flips (1)d(σ)(-1)^{d(\sigma)}. Conclude that

    I(σ)=ε(σ)(1)d(σ)I(\sigma) = \varepsilon(\sigma)\cdot(-1)^{d(\sigma)}

    is invariant under every move.

  3. Prove the puzzle’s classical impossibility: the position that swaps tiles 77 and 88 and leaves everything else (including the empty cell) in place cannot be reached from the solved position.
  4. We admit the converse (its proof is an instructive but lengthy induction): every position with I=+1I = +1 is reachable. Deduce that exactly half of the 8!8! positions with the empty cell at home are solvable, i.e. 8!2=20160\frac{8!}2 = 20\,160.
  5. Deduce from question 20 that the reachable tile arrangements with the empty cell at home form exactly the subgroup A8S8\mathfrak A_8 \leq \mathfrak S_8.
  6. Applications of the invariant: can one reach (a) the position where tiles 1,2,31, 2, 3 are cyclically permuted and everything else, empty cell included, is at home? (b) the position where tile 55 and the empty cell have exchanged places and all other tiles are at home? Justify both answers with II.

Part V — Synthesis.

  1. Prove that for n3n \geq 3 the only group morphisms f ⁣:Sn{±1}f \colon \mathfrak S_n \to \{\pm 1\} are the constant morphism and ε\varepsilon. (Using question 16 and commutativity of {±1}\{\pm1\}, show ff takes the same value on all transpositions.)
  2. Where exactly did the problem use: (i) the morphism concept and Proposition 7.11; (ii) the counting principles of Chapter 2; (iii) the well-definedness issue that questions 8–9 resolve? One sentence each.
  3. Synthesis, in a short paragraph: one parity function, proved well defined once, simultaneously organizes the internal structure of Sn\mathfrak S_n (the subgroup An\mathfrak A_n), decides a physical puzzle, and — through the formula det=σε(σ)\det = \sum_\sigma \varepsilon(\sigma)\cdots — will define determinants in Chapter 22. Comment on the recurring pattern: invariants turn “try all sequences of moves” into one computation.
Solution

Solution of Problem 7.1.

1. A permutation is a bijection of [ ⁣[1,n] ⁣]\intint1n, i.e. an nn-arrangement of nn objects: there are n!n! of them (Theorem 2.12). With σ=[2,3,1]\sigma = [2,3,1], τ=[1,3,2]\tau = [1,3,2]: στ\sigma\tau sends 1121 \mapsto 1 \mapsto 2, 2312 \mapsto 3 \mapsto 1, 3233 \mapsto 2 \mapsto 3: στ=[2,1,3]\sigma\tau = [2,1,3]; and τσ\tau\sigma sends 1231 \mapsto 2 \mapsto 3, 2322 \mapsto 3 \mapsto 2, 3113 \mapsto 1 \mapsto 1: τσ=[3,2,1]στ\tau\sigma = [3,2,1] \neq \sigma\tau.

2. Let γ,γ\gamma, \gamma' have disjoint supports S,SS, S'. For xSx \in S: γ(x)=x\gamma'(x) = x and γ(x)S\gamma(x) \in S, so γγ(x)=γ(x)=γγ(x)\gamma\gamma'(x) = \gamma(x) = \gamma'\gamma(x). Symmetrically for xSx \in S'; and both sides fix every xSSx \notin S \cup S'. So γγ=γγ\gamma\gamma' = \gamma'\gamma.

3. For i[ ⁣[1,n] ⁣]i \in \intint1n, the values i,σ(i),σ2(i),i, \sigma(i), \sigma^2(i), \dots live in a finite set, so σa(i)=σb(i)\sigma^a(i) = \sigma^b(i) for some a<ba < b; injectivity gives σba(i)=i\sigma^{b-a}(i) = i: the sequence returns to ii. Call orbit of ii the set {i,σ(i),,σk1(i)}\{i, \sigma(i), \dots, \sigma^{k-1}(i)\} with k1k \geq 1 minimal such that σk(i)=i\sigma^k(i) = i. Two orbits meeting in one point coincide (both are the forward σ\sigma-images of that point), so the orbits partition [ ⁣[1,n] ⁣]\intint1n; σ\sigma acts on each orbit of size k2k \geq 2 as the kk-cycle (i σ(i)  σk1(i))(i\ \sigma(i)\ \cdots\ \sigma^{k-1}(i)) and fixes the singletons. The product of these disjoint cycles agrees with σ\sigma everywhere. Uniqueness: in any decomposition into disjoint cycles, the cycle through ii must be (i σ(i) )(i\ \sigma(i)\ \cdots) — the cycles are forced to be the orbits with their induced action.

4. Following the orbits: 14211 \to 4 \to 2 \to 1, 3533 \to 5 \to 3, 67866 \to 7 \to 8 \to 6:

σ=(1 4 2)(3 5)(6 7 8).\sigma = (1\ 4\ 2)(3\ 5)(6\ 7\ 8) .

If σ=γ1γr\sigma = \gamma_1\cdots\gamma_r with disjoint cycles of lengths k1,,krk_1, \dots, k_r, commutation (question 2) gives σm=γ1mγrm\sigma^m = \gamma_1^m\cdots\gamma_r^m, and since the supports are disjoint, σm=id\sigma^m = \mathrm{id} iff each γim=id\gamma_i^m = \mathrm{id} iff kimk_i \mid m for all ii (a kk-cycle has order kk: γm\gamma^m sends a1a_1 to a1+(mmodk)a_{1 + (m \bmod k)}). The least such mm is lcm(k1,,kr)\operatorname{lcm}(k_1, \dots, k_r). Here: lcm(3,2,3)=6\operatorname{lcm}(3, 2, 3) = 6.

5. Apply the right-hand side to each point, rightmost factor first. a1a2a_1 \mapsto a_2 by (a1 a2)(a_1\ a_2), then every later factor fixes a2a_2: net a1a2a_1 \mapsto a_2. For 2i<k2 \leq i < k: aia_i is untouched until (a1 ai)(a_1\ a_i) sends it to a1a_1, and the very next factor (a1 ai+1)(a_1\ a_{i+1}) sends a1a_1 to ai+1a_{i+1}, after which nothing moves it: net aiai+1a_i \mapsto a_{i+1}. Finally aka_k is fixed by all factors but the leftmost, which sends it to a1a_1. This is exactly the cycle. Since every permutation is a product of cycles (question 3), it is a product of transpositions. For question 4’s σ\sigma:

σ=(1 2)(1 4)  (3 5)  (6 8)(6 7),\sigma = (1\ 2)(1\ 4)\;(3\ 5)\;(6\ 8)(6\ 7),

five transpositions.

6. Induction on bab - a. For b=a+1b = a + 1 the identity is trivial (1=2111 = 2\cdot1 - 1 factor). For b>a+1b > a + 1, verify directly that (a b)=(a  a+1)(a+1  b)(a  a+1)(a\ b) = (a\ \ a{+}1)\,(a{+}1\ \ b)\,(a\ \ a{+}1): the right side sends aa+1bba \mapsto a{+}1 \mapsto b \mapsto b, bba+1ab \mapsto b \mapsto a{+}1 \mapsto a, a+1aaa+1a{+}1 \mapsto a \mapsto a \mapsto a{+}1, and fixes the rest. By induction (a+1  b)(a{+}1\ \ b) is a palindromic product of 2(ba1)12(b - a - 1) - 1 adjacent transpositions, so (a b)(a\ b) is one of 2(ba)12(b - a) - 1: an odd number.

7. N(id)=0N(\mathrm{id}) = 0, ε=+1\varepsilon = +1. For (i  i+1)(i\ \ i{+}1), the only inverted pair is (i,i+1)(i, i+1): N=1N = 1, ε=1\varepsilon = -1. For [2,3,1][2, 3, 1]: the inverted pairs are (1,3)(1, 3) (values 2>12 > 1) and (2,3)(2, 3) (values 3>13 > 1): N=2N = 2, ε=+1\varepsilon = +1.

8. The value lists of σ\sigma and στ\sigma\tau differ only by the swap of positions ii and i+1i + 1. For a pair of positions not involving i,i+1i, i+1, nothing changes. For k<ik < i, the two pairs (k,i)(k, i) and (k,i+1)(k, i+1) exchange their inversion statuses (the same two values are compared with σ(k)\sigma(k), in the other order of positions): their total contribution is unchanged; likewise for k>i+1k > i + 1. The one remaining pair (i,i+1)(i, i+1) flips its status. Hence N(στ)=N(σ)±1N(\sigma\tau) = N(\sigma) \pm 1.

9. Let τ=(a b)\tau = (a\ b) be any transposition: by question 6 it is a product of an odd number of adjacent transpositions, so right-multiplying by τ\tau changes NN by an odd total (question 8, applied repeatedly): ε(στ)=ε(σ)\varepsilon(\sigma \tau) = -\varepsilon(\sigma). Now if σ=τ1τp\sigma = \tau_1\cdots \tau_p (transpositions), build it up from the identity by pp right-multiplications: ε(σ)=(1)pε(id)=(1)p\varepsilon(\sigma) = (-1)^p\varepsilon(\mathrm{id}) = (-1)^p. Since ε(σ)\varepsilon(\sigma) is defined by inversions — independently of any factorization — the parity of pp is an invariant of σ\sigma. Morphism: writing σ\sigma with pp and σ\sigma' with qq transpositions, σσ\sigma\sigma' uses p+qp + q of them: ε(σσ)=(1)p+q=ε(σ)ε(σ)\varepsilon(\sigma\sigma') = (-1)^{p+q} = \varepsilon(\sigma)\varepsilon(\sigma').

10. A kk-cycle is a product of k1k - 1 transpositions (question 5): ε=(1)k1\varepsilon = (-1)^{k-1}. For general σ\sigma with orbits of sizes k1,,krk_1, \dots, k_r (ki2k_i \geq 2) plus ff fixed points, c(σ)=r+fc(\sigma) = r + f and n=k1++kr+fn = k_1 + \dots + k_r + f, so

ε(σ)=i=1r(1)ki1=(1)ikir=(1)nfr=(1)nc(σ).\varepsilon(\sigma) = \prod_{i=1}^r (-1)^{k_i - 1} = (-1)^{\sum_i k_i - r} = (-1)^{n - f - r} = (-1)^{n - c(\sigma)} .

11. An=kerε\mathfrak A_n = \ker\varepsilon is a subgroup as the kernel of a morphism (Definition 7.10). Fix a transposition τ0\tau_0 (exists for n2n \geq 2). The map σστ0\sigma \mapsto \sigma\tau_0 is a bijection of Sn\mathfrak S_n (its own inverse) exchanging An\mathfrak A_n with the set of odd permutations (question 9). The two sets partition Sn\mathfrak S_n and have equal size: An=n!2\abs{\mathfrak A_n} = \frac{n!}2.

12. Inversions of [4,1,5,2,3,7,8,6][4, 1, 5, 2, 3, 7, 8, 6]: from value 44: over 1,2,31, 2, 3: three; from 55: over 2,32, 3: two; from 77: over 66: one; from 88: over 66: one. N=7N = 7, ε=1\varepsilon = -1. Cycle type: c=3c = 3 orbits, n=8n = 8: ε=(1)83=1\varepsilon = (-1)^{8-3} = -1. Transposition count: five transpositions in question 5: (1)5=1(-1)^5 = -1. All three agree.

13. (a b)(a c)(a\ b)(a\ c) (rightmost first): acca \mapsto c \mapsto c; cabc \mapsto a \mapsto b; bbab \mapsto b \mapsto a: the 33-cycle (a c b)(a\ c\ b). And (a c b)(a c d)(a\ c\ b)(a\ c\ d): acba \mapsto c \mapsto b; bbab \mapsto b \mapsto a; cddc \mapsto d \mapsto d; dacd \mapsto a \mapsto c: that is (a b)(c d)(a\ b)(c\ d), as claimed.

14. Let σAn\sigma \in \mathfrak A_n: by question 9, σ=τ1τ2m\sigma = \tau_1\cdots\tau_{2m} with an even number of transpositions. Group them in consecutive pairs τ2i1τ2i\tau_{2i-1}\tau_{2i}: if the two are equal, the pair is the identity and disappears; if they share exactly one point, the first identity of question 13 writes the pair as one 33-cycle; if they are disjoint, the second identity writes it as two 33-cycles. Hence σ\sigma is a product of 33-cycles (or the identity, an empty product — and for n3n \geq 3 also (1 2 3)3(1\ 2\ 3)^3).

15. (1 2)(3 4)=(1 3 2)(1 3 4)(1\ 2)(3\ 4) = (1\ 3\ 2)(1\ 3\ 4) (question 13 with a=1,b=2,c=3,d=4a{=}1, b{=}2, c{=}3, d{=}4). For the 55-cycle: by question 5, (1 2 3 4 5)=(1 5)(1 4)(1 3)(1 2)(1\ 2\ 3\ 4\ 5) = (1\ 5)(1\ 4)(1\ 3)(1\ 2), and pairing: (1 5)(1 4)=(1 4 5)(1\ 5)(1\ 4) = (1\ 4\ 5), (1 3)(1 2)=(1 2 3)(1\ 3)(1\ 2) = (1\ 2\ 3):

(1 2 3 4 5)=(1 4 5)(1 2 3).(1\ 2\ 3\ 4\ 5) = (1\ 4\ 5)(1\ 2\ 3) .

(Check on 33: (1 2 3)(1\ 2\ 3) sends 313 \to 1, then (1 4 5)(1\ 4\ 5) sends 141 \to 4: net 343 \to 4, correct.)

16. Apply both sides to an arbitrary point. For i=σ(aj)i = \sigma(a_j): the left side gives σ((a1  ak)(aj))=σ(aj+1)\sigma\bigl((a_1\ \dots\ a_k)(a_j)\bigr) = \sigma(a_{j+1}) (indices mod kk), which is what the right side does to σ(aj)\sigma(a_j). For ii not of this form: σ1(i)\sigma^{-1}(i) is outside the support, so the left side fixes ii, and so does the right side. Equal everywhere.

17. Sliding the tile of cell cc' into the empty cell cc swaps the contents of cells cc and cc' (tile 99, the blank, moves to cc'). If tile σ(i)\sigma(i) sat in cell ii, the new position is σ=σ(c c)\sigma' = \sigma \circ (c\ c'): same contents except that cells c,cc, c' read each other’s former contents. By question 9, ε(σ)=ε(σ)\varepsilon(\sigma') = -\varepsilon(\sigma).

18. A move sends the empty cell to an adjacent cell: its row or its column changes by exactly 11, so the taxicab distance dd to cell 99 changes by ±1\pm1, and (1)d(-1)^d flips. Since each move flips both ε(σ)\varepsilon(\sigma) and (1)d(σ)(-1)^{d(\sigma)}, their product I(σ)I(\sigma) is unchanged by every move: an invariant.

19. The solved position has ε=+1\varepsilon = +1, d=0d = 0: I=+1I = +1. The target (tiles 7,87, 8 swapped, blank home) is the transposition of the contents of cells 77 and 88: ε=1\varepsilon = -1, d=0d = 0: I=1I = -1. Since II is invariant and the two values differ, no sequence of moves joins them.

20. A position with the blank at home is a permutation of the 88 tiles among cells 1,,81, \dots, 8, i.e. an element of S8\mathfrak S_8; it has d=0d = 0, so I=ε(σ)I = \varepsilon(\sigma). Reachable forces I=+1I = +1, i.e. σA8\sigma \in \mathfrak A_8; the admitted converse says all of A8\mathfrak A_8 is reached. Count: A8=8!2=20160\abs{\mathfrak A_8} = \frac{8!}2 = 20\,160 (question 11).

21. By question 20 the reachable blank-at-home arrangements form exactly A8\mathfrak A_8 — in particular a subgroup of S8\mathfrak S_8: composing two solvable scrambles, or inverting one, stays solvable, which is far from obvious by pure puzzle reasoning.

22. (a) A 33-cycle of tiles with blank home: ε=+1\varepsilon = +1 (question 10), d=0d = 0, so I=+1I = +1: reachable (by the admitted converse) — one can cycle three tiles. (b) Tile 55 and the blank exchanged: the position is the transposition of the contents of cells 55 and 99, so ε=1\varepsilon = -1; the blank sits at the center, at taxicab distance d=2d = 2 from home, so (1)d=+1(-1)^d = +1 and I=1I = -1: unreachable. One cannot simply “park the blank in the middle” leaving the tiles otherwise sorted.

23. Let f ⁣:Sn{±1}f \colon \mathfrak S_n \to \{\pm1\} be a morphism. For any two transpositions τ,τ\tau, \tau', question 16 provides σ\sigma with στσ1=τ\sigma\tau\sigma^{-1} = \tau' (map the two moved points onto the two others; n3n \geq 3 guarantees room to do so, though even n=2n = 2 is trivial here). Then f(τ)=f(σ)f(τ)f(σ)1=f(τ)f(\tau') = f(\sigma)f(\tau)f(\sigma)^{-1} = f(\tau) since {±1}\{\pm1\} is abelian: ff is constant on transpositions. If that constant is +1+1, then f=1f = 1 on all products of transpositions, i.e. everywhere (question 5). If it is 1-1, then f(σ)=(1)p=ε(σ)f(\sigma) = (-1)^p = \varepsilon(\sigma) on a product of pp transpositions. So f{1,ε}f \in \{1, \varepsilon\}.

24. (i) The morphism property of ε\varepsilon and the kernel machinery gave An\mathfrak A_n its subgroup structure and its size, and Proposition 7.11-style reasoning runs through questions 11 and 21. (ii) Counting: Sn=n!\abs{\mathfrak S_n} = n!, the halving argument of question 11, and the count 2016020\,160 of question 20 are Chapter 2 at work. (iii) Questions 8–9 resolve a genuine well-definedness problem — “the parity of the number of transpositions” presupposes that this parity does not depend on the factorization, exactly as Z/nZ\Z/n\Z’s operations required representative-independence in Definition 7.24.

25. The signature is a single {±1}\{\pm1\}-valued computation, proved once to be well defined, and it does three jobs at once: internally, it cuts Sn\mathfrak S_n in half and isolates An\mathfrak A_n with its 33-cycle generators; externally, it decides in one line a question (“can these two tiles be swapped?”) that naive search could never settle, since no finite list of failed move sequences proves impossibility; and structurally, it is the alternating-sign engine inside the formula detA=σε(σ)a1σ(1)anσ(n)\det A = \sum_\sigma \varepsilon(\sigma)\, a_{1\sigma(1)}\cdots a_{n\sigma(n)} of Chapter 22. The pattern — find a quantity conserved by every elementary move, compute it at the start and at the target — is the mathematician’s standard weapon against “is it possible?” questions, and it will return whenever a group acts on a set of states.