Lesson 9
Groups
Taught
Operations and Semigroups
The last chapter produced a set with a multiplication on it. The permutations of a set compose, the composite is again a permutation, the composition is associative, there is an identity, and every element has an inverse. None of those five facts mentions what a permutation is. This chapter keeps the five facts and drops the permutations. Many other sets with an operation satisfy the same five facts, so a result proved from them holds for all of these at once.
Operations
Let be a non-empty set. An operation on is a function
One writes for the value of at the ordered pair . The pair is a set equipped with an operation.
Two things are asked for. The first is that a value is named for every ordered pair of elements, which is what makes a function on all of . The second is that the value lands back in , and one says that is closed under . Writing instead of is only notation; the object underneath is still a function, and two operations are equal exactly when they agree at every pair.
Example 9.2 (Operations already in hand).
- and , with addition as built in the chapter on the natural numbers and multiplication as defined in its problems. So are and , since a sum or product of positive numbers is positive.
- For a non-empty set , the Cartesian power , the set of all functions , carries composition, . Its subset of permutations is closed under the same operation, since composition sends bijections to bijections; that closure is what let us write at all.
- For any set , the power set carries both and .
- On a totally ordered set , the rule sending to whichever of and is the larger is an operation, since comparability names one of them and antisymmetry makes the choice unambiguous when they are equal.
- On any non-empty , the rule (keep the left factor) is an operation.
Example 9.3 (Two failures of closure).
Call prime if and the only dividing are and , in the sense of divisibility. The primes are closed under neither addition nor multiplication: and , and neither is prime. Restricting or to the primes therefore does not produce an operation on them, and the restricted function is not a function into the primes at all.
The odd numbers show that the two can differ. They are closed under multiplication, since the remainder classes write two odd numbers as and , whose product is ; they are not closed under addition, since .
Definition 9.4 (Closed subsets).
Let be an operation on and let be non-empty. Then is closed under if for all . In that case the restriction of to is an operation on , and is a substructure of .
Closure is all that must be checked. Every named structure below (semigroup, group, subgroup) is this definition with further conditions added, and each further condition is either always inherited or always needs checking.
Example 9.5 (A substructure of the natural numbers).
Fix and let be the multiples of . If and then by distributivity and , so is closed under both operations and is a substructure of and of .
Associativity and Commutativity
Definition 9.6 (Associative and commutative operations).
Let be an operation on .
- The operation is associative if for all . In that case is a semigroup.
- The operation is commutative if for all . A commutative semigroup is also called abelian.
Both conditions are equalities required to hold identically, so both are inherited by every substructure: a law true of all elements of is in particular true of all elements of a subset. We note this once here rather than re-checking it in each example.
Example 9.7 (Which of them associate).
Addition and multiplication on are associative and commutative by the laws of addition and the corresponding laws of multiplication. Composition on is associative by the theorem on associativity of composition, so and are semigroups under . Union and intersection on are associative and commutative by the basic properties of unions and by the algebra of intersection. Taking the larger of two elements of a totally ordered set is associative and commutative, both sides of each law naming the largest of the elements involved.
Keeping the left factor, , is associative, since both and are , and is not commutative as soon as has two distinct points.
Composition shows that the two conditions are independent. It is associative on every , and already in there are permutations with , as the worked product of the last chapter showed in . Associativity is the more useful of the two, because of the next theorem.
Products of Many Factors
Definition 9.8 (Left-associated product).
Let be a set with an operation and let with . The left-associated product is defined by the recursion
A full bracketing of is either the single term , when , or an expression in which is a full bracketing of and is a full bracketing of , for some .
Theorem 9.9 (General associativity).
Let be a semigroup, let and let .
- For every ,
- Every full bracketing of equals .
- If is commutative and is obtained from by exchanging two neighbouring entries, then .
Discussion.
This is the theorem on general associativity and neighbour swaps with replaced by , and the earlier proof never mentioned : it used the associativity of for the first two parts and its commutativity for the third, and nothing else. So the argument transfers unchanged. We repeat the main step, which is the first part, the splitting identity, which says a left-associated product may be cut anywhere; it is an induction on the length of the second block, with the recursion clause as the base and a single application of associativity in the step. The second part is then an induction on in which a bracketing is split at its own top-level cut and the two halves identified by the inductive hypothesis. The third puts the exchanged pair in the middle by two applications of the first part, exchanges it by commutativity, and reassembles.
Proof.
For the first part, fix and induct on the length of the second block, so that . If the assertion is , which is the recursion clause. Suppose it holds at . Then
by the recursion clause, the inductive hypothesis, associativity, and the recursion clause again.
The second and third parts are the two parts of the earlier theorem, whose proof used only the binary laws just used here; substituting for throughout gives the argument verbatim, with the first part standing in for the splitting identity recorded there.
The second part allows us to write with no brackets at all in a semigroup, and we do so from here on. The third part allows exchanging neighbours when the operation commutes, and neighbours are enough, because the last chapter proved that every rearrangement is a string of neighbour exchanges.
Corollary 9.10 (Rearranging a product).
Let be an abelian semigroup, let and let . Then
Proof.
The proposition that neighbour swaps suffice writes as a product of transpositions of neighbouring points. Applying the third part of the theorem once for each carries the list to without changing the left-associated product, and the second part identifies that product with the bracket-free expression on either side.
Remark.
The corollary uses results from three chapters. The bracketing was settled for sums in the chapter on sequences, the reduction of an arbitrary rearrangement to neighbour exchanges was set as a problem there and proved in the chapter on permutations, and the assembly is one line. Nothing about was used, so the statement holds for unions, for intersections, for the larger-of-two operation, and for every abelian semigroup yet to be met.
On define an operation by the table
the entry in row and column being . Decide whether is associative and whether it is commutative.
Let be non-empty and define , keeping the right factor. Decide whether is associative and whether it is commutative, and compare with the left-factor rule.
Let be an abelian semigroup and let for and . Show that forming the products along the rows and then combining, and forming them along the columns and then combining, give the same element of .
Identity, Inverses and Groups
A semigroup asks one law of its operation. Two further conditions, an identity element and an inverse for each element, give a group. We look at each condition separately first.
The Identity
Definition 9.11 (Identity element).
Let be a set with an operation. An element is an identity for if
A semigroup with an identity is called a monoid.
An operation written additively usually has its identity written , and one written multiplicatively usually has it written . The choice is only notation. The definition asks for the law on both sides, and the next section shows why one side alone is weaker.
Proposition 9.12 (Uniqueness of the identity).
An operation has at most one identity.
Discussion.
The claim is a uniqueness statement, so we suppose two identities and and derive . We evaluate one product in two ways: reading with the left factor as the identity gives , reading it with the right factor as the identity gives , so the two are equal. No associativity is needed, which is why the proposition is stated for an operation and not for a semigroup.
Proof.
Let and be identities for . Since is an identity, . Since is an identity, . Hence .
Example 9.13 (Identities in the running examples).
The identity for on is , and the identity for on and on is . Composition on has the identity map as its identity, by the identity laws, and the same map serves for . On the identity for is and the identity for is . Taking the larger of two elements of a totally ordered set has an identity exactly when the set has a minimum, which is then the identity.
Two of the examples have none. Keeping the left factor has no identity once has two distinct points: an identity would satisfy for every , whereas , forcing every to equal . And has no identity, not because no element behaves like one but because the element that would, namely , is not in the set.
Inverses
Definition 9.14 (Inverse element).
Let be a set with an operation and with identity , and let . An element is an inverse of if
If has an inverse, is invertible.
Multiplicative notation writes for the inverse and additive notation writes . The two-sided demand is the same shape as the one made of inverse functions, and for the same reason: a one-sided inverse is weaker unless associativity lets us combine the two sides, as in the next proposition.
Proposition 9.15 (Uniqueness of inverses).
Let be a monoid and let be invertible. Then has exactly one inverse.
Discussion.
Uniqueness again, so we take two inverses and of the same and show they agree. We form one expression that can be read as either: put between them, as , and bracket it the two available ways. Bracketing to the right uses that is an inverse and leaves ; bracketing to the left uses that is one and leaves . The re-bracketing uses associativity, and without it the argument fails.
Proof.
Let and be inverses of . Then
So one may speak of the inverse of an invertible element, and write for it. Two consequences follow at once. First, is invertible with , since . Second, : the defining equations are unchanged when and are exchanged, so is an inverse of , and uniqueness makes it the inverse.
Proposition 9.16 (Inverse of a product).
Let be a monoid and let be invertible. Then is invertible and
Discussion.
There are two assertions, an existence claim and a formula, and one calculation settles both: if the element named on the right multiplies with to give on both sides, then is invertible and, by the uniqueness just proved, that element is the inverse. The check is a product of four factors, which general associativity lets us write without brackets; cancelling the inner pair leaves , and cancelling that leaves . The order is reversed so that the inner pair is adjacent.
Proof.
Using general associativity to drop brackets,
and in the same way . So is an inverse of , and by uniqueness it is the inverse.
The reversal is not new. It is the inverse of a composition met for functions, and the rule used without comment for permutations. The proof here covers both, and every other monoid as well.
Proposition 9.17 (The invertible elements).
Let be a monoid with identity and let
Then ; if then ; and if then . So is a monoid with identity , in which every element is invertible.
Discussion.
Three closure claims and then a summary that follows from them. That was noted above, being its own inverse. That is closed under is the previous proposition, which not only says is invertible but names the inverse, so nothing further is needed. That is closed under inversion is the remark that , which exhibits an inverse for . The summary then needs only that associativity and the identity laws are inherited by a subset, which they are, being laws required of all elements.
Proof.
From we get with . If then is invertible by the previous proposition, so , and is closed under . If then exhibits as an inverse of , so .
Hence is a closed subset containing , and it inherits associativity and the identity laws from . Each of its elements is invertible, and its inverse lies in , so is a monoid in which every element is invertible.
Example 9.18 (Who is invertible).
In only is invertible, since forces by the corollary on sums that vanish. In only is invertible. In under only is invertible, and under only .
The main example is composition. In the monoid the invertible elements are exactly the bijections , by the theorem on invertibility and bijections; that is to say, they are exactly the permutations, and the set they form is . The previous proposition, applied to , is therefore the statement that is closed under composition and under inversion. We proved this twice already, once for functions and once for permutations; here it follows from a proposition about monoids.
Let be an operation on with a left identity , meaning for every , and a right identity , meaning for every . Show that , and that it is then an identity. No associativity is needed.
Show that under the left-factor rule every element of is a right identity, and that under the right-factor rule every element is a left identity. So a one-sided identity need be neither unique nor accompanied by one on the other side, and neither rule has an identity once has two distinct points.
Let be a monoid and let satisfy and . Show that , so that is a two-sided inverse of . Which hypothesis fails if is only a set with an operation?
Groups
A group is a monoid in which every element is invertible: a set with an associative operation, an identity , and an inverse for each of its elements. A group whose operation is commutative is abelian, in the sense already fixed for semigroups.
The proposition on invertible elements now reads: the invertible elements of any monoid form a group. Applied to under composition it says that is a group, without using anything about permutations.
Example 9.20 (Groups already met).
- For any non-empty set , the symmetric group under composition. For this is , with by the count of bijections.
- The dihedral group . That it is closed under products and inverses was a problem of the last chapter, and the identity permutation is a symmetry of every polygon, so is a group with .
- The even permutations in , closed under products and inverses by another problem there. For this group is written and called the alternating group on letters.
- The one-element set with the only operation available to it. It is a group, called the trivial group, and it is the smallest group, since a group must contain an identity.
- , the smallest group with more than one element. Its whole multiplication is , which is the proposition that a transposition is its own inverse.
None of , and is a group. The first is a monoid in which only is invertible; the second has no identity at all; the third is a monoid in which only is invertible.
Remark (The groups not yet available).
The familiar first examples of groups are the integers under addition and the non-zero rationals or reals under multiplication. We do not have them: the integers are the subject of the next chapter, and they are built by adding to the inverses it lacks. The examples above are the ones already constructed, and they are enough to prove everything in this chapter; the arithmetic ones become further examples once they are built.
The definition asks for a two-sided identity and two-sided inverses, four conditions in all. The two left-handed ones already imply the others.
Theorem 9.21 (A left identity with left inverses is enough).
Let be a semigroup. Suppose there is with for every , and suppose that for every there is with . Then is an identity, every such is an inverse of , and is a group.
Discussion.
The statement is an implication from a shortened list of axioms to the full one, so we assume the two left-handed conditions and must produce the two right-handed ones. We apply the hypotheses repeatedly and re-bracket, in a particular order: the right-inverse law must come first, because the right-identity law is proved from it.
To get , take a left inverse of and then a left inverse of . Insert in front of using the left identity, replace that by , and re-bracket so that becomes adjacent; that inner pair becomes , which the left identity removes, leaving . Once is known, can be written as , re-bracketed to , which is the right-identity law. No appeal to uniqueness is needed anywhere; the calculation gives the two-sided laws directly.
Proof.
Fix , choose with , and choose with . Then
using the left identity, the choice of , associativity, the choice of , and the left identity again. So is a right inverse of as well as a left one.
Consequently
so is a right identity as well as a left one. Hence is an identity, each has the two-sided inverse , and is a group.
Remark (Right axioms, mixed axioms).
The same argument with left and right exchanged shows that a right identity together with right inverses is equally sufficient. A left identity paired with right inverses is not enough, and a counterexample with two elements exists; producing one is a problem below. So the two halves of the definition may be dropped in matching pairs but not in mismatched ones.
Proposition 9.22 (Cancellation in a group).
Let be a group and let . If then ; and if then .
Discussion.
Two implications of the same shape, and the second is the mirror image of the first, so only one need be written out. In each the hypothesis is an equation with a common factor on one side, and the way to remove a factor is to introduce its inverse on that same side and re-bracket: the inverse then meets and the pair becomes , which the identity law removes. Both the associativity and the existence of are used, and each once.
Proof.
Suppose . Then
The second implication is the same computation with applied on the right.
Cancellation says exactly that, for each fixed , the maps and are injective. When is finite they are therefore bijective, so each of the equations and has exactly one solution. In fact they are bijective whether or not is finite, since undoes the first; the finite case is worth noting separately, because it uses nothing about inverses and so applies to semigroups that are not groups.
Definition 9.23 (Regular semigroup).
A monoid in which cancellation holds on both sides (that is, implies , and implies ) is called regular.
Every group is regular, by the proposition. The converse fails, and our standard examples show it.
Example 9.24 (The natural numbers cancel).
is regular, since implies by the cancellation problem of the chapter on the natural numbers. It is not a group. Multiplication on is regular too: if with positive and, say, , write and cancel to get , whence because a product of positive numbers is positive. It is not a group either.
So regularity is strictly weaker than being a group, and it is the condition we need of a monoid we want to enlarge into a group. That is what the next chapter does to .
Construct a semigroup with a left identity in which every element has a right inverse, but which is not a group. Two elements suffice.
Let be a finite group and write out its multiplication table, the entry in row and column being . Show that every element of occurs exactly once in each row and exactly once in each column.
Show that is not regular, and that under is not regular once is non-empty.
The symmetric difference , the set of objects lying in exactly one of and , was met in the exercises of the chapter on sets. Show that is an abelian group, and identify its identity and the inverse of each element.
Subgroups
Let be a group with identity and let be non-empty. Then is a subgroup of if , if for all , and if for all . A subgroup other than and is called proper.
The three conditions say precisely that is itself a group under the restricted operation, and nothing extra is assumed. Suppose is a closed subset that happens to be a group in its own right, with identity . Then holds in , and cancelling there gives : a subset cannot have an identity of its own. Likewise the inverse of computed inside is an inverse of inside , so uniqueness of inverses makes it . The conditions listed are therefore necessary as well as sufficient, and they may be checked by computing in .
Proposition 9.26 (One-step subgroup criterion).
Let be a group and let be non-empty. Then is a subgroup of if and only if for all .
Discussion.
A biconditional between the three conditions of the definition and a single one, and one direction is much easier than the other. Forwards is immediate: a subgroup contains and is closed, so it contains . Backwards, we get the three conditions from the one by choosing and suitably. Non-emptiness supplies some to start from; taking produces ; taking then produces for every ; and once inverses are available, the product is , which the hypothesis covers. Each step uses the hypothesis once, and the steps must come in this order.
Proof.
Suppose is a subgroup and let . Then , so .
Conversely suppose whenever . Since is non-empty, choose ; taking gives . Now let ; taking the pair gives , so is closed under inverses. Finally let ; then , so taking the pair gives . Hence satisfies the three conditions.
Example 9.27 (Subgroups already met).
is a subgroup of , and for the alternating group is a subgroup of . Inside , the permutations fixing a chosen point form a subgroup: the identity fixes , a composite of two maps fixing fixes , and if then . Every group has the two subgroups and .
For each the multiples of form a subgroup of the integers under addition, an example we can state properly once the integers are built.
Show that a non-empty finite subset of a group that is closed under the operation is already a subgroup. For fixed the map sends into ; use finiteness to make it surjective, and read off and .
Show that an intersection of subgroups of is a subgroup of , for any non-empty indexed family of them. Show by example that a union of two subgroups need not be one.
List every subgroup of , and check each against the one-step criterion.
Homomorphisms and Quotients
A subgroup cuts a group into pieces of equal size, and sometimes the pieces form a group themselves. The last notion of this chapter is a map that respects the operation.
Cosets
Let be a subgroup of a group and let . The right coset and the left coset of by are
Proposition 9.29 (The right cosets partition the group).
Let be a subgroup of a group and define to mean . Then is an equivalence relation on whose classes are exactly the right cosets of . Moreover for every , when is finite.
Discussion.
Three assertions. The first asks for the three defining properties of an equivalence relation, and each comes from one of the three subgroup conditions: reflexivity is , symmetry is closure under inverses applied to , and transitivity is closure under the operation applied to a product that telescopes. The second is an equality of sets, so it is two inclusions, and both come from writing an element of one side in the form the other side demands. The third is a counting claim, and since cardinality classifies finite sets it is enough to produce a bijection ; the map is one, being surjective by the definition of the coset and injective by cancellation.
Proof.
For reflexivity, , so . For symmetry, if then its inverse lies in , so . For transitivity, if and then their product
lies in , so .
For the classes, fix . If then and . Conversely if with then , so . Hence .
For the count, the map from to is surjective by the definition of and injective by cancellation, hence a bijection, so the two sets have the same cardinality.
Since the classes of an equivalence relation partition the set, the right cosets partition into pieces all of the same size as . The left cosets do the same, by the mirror argument with .
Let be a finite group and a subgroup. Show that is the product of with the number of right cosets of . Deduce that divides .
Show that the left cosets of partition as the right cosets do, and that the two partitions have the same number of pieces, by checking that is a well-defined bijection between them.
Homomorphisms
Definition 9.30 (Homomorphism).
Let and be groups. A function is a homomorphism if
Its kernel is , the preimage of the identity of , and its image is . A bijective homomorphism is an isomorphism; groups with an isomorphism between them are isomorphic, written . An isomorphism from a group to itself is an automorphism. Throughout, and are the identities of and of .
The same symbol denotes two different operations, one on each side of the equation, and that is deliberate: the condition says that computing in and then transporting gives the same answer as transporting and then computing in .
Proposition 9.31 (Homomorphisms respect the identity and inverses).
Let be a homomorphism. Then and for every .
Discussion.
Neither conclusion is assumed by the definition, which mentions only products, so both must be derived from the product condition. For the first, is characterised inside by ; applying turns that into an equation about alone, and cancellation in finishes it. For the second, apply to the defining equation and use the first part: the result says is an inverse of , and inverses are unique.
Proof.
From we get , and cancelling on the left gives .
Then , and likewise . So is an inverse of , hence is by uniqueness.
Proposition 9.32 (Kernel and image).
Let be a homomorphism.
- is a subgroup of and is a subgroup of .
- is injective if and only if .
- If is an isomorphism then so is .
Discussion.
Three separate claims. The first two subgroup checks are the one-step criterion, and each is a short computation using the previous proposition to convert of an inverse into an inverse of ; non-emptiness comes from in both cases. The second claim is a biconditional: forwards, an injective map sends at most one point to and is already one; backwards, the way to turn an equality into a statement about the kernel is to move everything to one side, forming , which the hypothesis then forces to be . The third is again a matter of transporting a condition: given , name their preimages, apply the homomorphism condition to those, and read the resulting equation backwards through ; that is bijective is the theorem that the inverse of a bijection is a bijection.
Proof.
For the first, puts and , so both are non-empty. If then
so and the one-step criterion applies. If then , and the criterion applies again.
For the second, suppose is injective and . Then , so . Conversely suppose and . Then
so and hence .
For the third, let be an isomorphism and let have preimages . Then , so . And is a bijection, so it is an isomorphism.
Example 9.33 (The sign is a homomorphism).
The sign of a permutation takes two values, and the group with two elements is . Define by sending an even permutation to and an odd one to . The theorem on the properties of the sign says the sign of a product is the product of the signs, which is exactly the statement that is a homomorphism: the four cases of “even or odd times even or odd” are the four products in .
Its kernel is the set of even permutations, which is . So the fact that the alternating group is a subgroup, checked by hand last chapter, now follows from the proposition on kernels. For the map is surjective, since a transposition is odd, so its image is all of .
Theorem 9.34 (Cayley's theorem).
Every group is isomorphic to a subgroup of a symmetric group. Precisely: if is a group then , where , is an injective homomorphism , so is isomorphic to a subgroup of .
Discussion.
There are three things to check. First, the proposed values must lie where the theorem says: must be a permutation of , and it is, because undoes it on both sides, so it is invertible and hence a bijection. Second, the map must be a homomorphism, and since both sides are functions on the check is an equality of functions, settled by evaluating at an arbitrary ; associativity is the only thing used, and it is used once. Third, injectivity, which by the previous proposition is the triviality of the kernel: if is the identity permutation then it fixes in particular, and . The isomorphism onto a subgroup is then the image, which the previous proposition already knows to be a subgroup.
Proof.
For each the maps and satisfy
and likewise in the other order, so is invertible and hence a permutation of ; that is, .
Let be . For and any ,
so and is a homomorphism.
If then , so . Hence and is injective. Its image is a subgroup of , and restricted to that image is a bijective homomorphism, hence an isomorphism.
Remark.
Cayley’s theorem says that every group is a group of permutations, so in that sense the last chapter already covered all groups. The statement is weak, though: has elements when is finite, so the copy of inside it is a very small part of a very large group, and locating it is no easier than knowing already.
Show that of the example above is the only homomorphism that is not constant, for . Every transposition must go to the same place; say why.
Show that a homomorphism carries a subgroup of to a subgroup of , and that the preimage of a subgroup of is a subgroup of .
Show that and are isomorphic, and that and are not.
Normal Subgroups and Quotients
Kernels satisfy a condition that not every subgroup does, and it is exactly the condition needed to make the cosets into a group.
Definition 9.35 (Normal subgroup).
A subgroup of a group is normal if for all and .
In an abelian group , so every subgroup is normal, and the condition only matters in the non-commutative case.
Proposition 9.36 (Kernels are normal).
The kernel of a homomorphism is a normal subgroup of .
Discussion.
That the kernel is a subgroup is already proved, so only the normality condition is left, and it is a membership claim: we must show sends to . Applying the homomorphism condition twice turns that element into a product of three values of , the middle one being because lies in the kernel; the outer two are inverse to each other by the proposition on how homomorphisms treat inverses, so the product is .
Proof.
Let and . Then
so . With the subgroup property already established, is normal.
Theorem 9.37 (Normal subgroups are those whose cosets agree).
Let be a subgroup of a group . Then is normal if and only if for every .
Discussion.
A biconditional, and each direction converts one membership statement into another by moving a factor across. Forwards: an element of is , and to exhibit it in we must write it as times something in ; inserting gives , and normality is precisely the statement that the bracketed factor lies in . The reverse inclusion is the same move with in place of , which normality also covers. Backwards: given the equality of the two cosets, an element with is a member of , which the hypothesis rewrites as .
Proof.
Suppose is normal and let . If then and , so . If then , and by normality applied with , so . Hence the two cosets are equal.
Conversely suppose for every , and let and . Then , so for some , and . So is normal.
When is normal the two partitions of coincide and there is just one collection of cosets, which we write — the quotient of by the equivalence relation of the coset proposition.
Theorem 9.38 (The quotient group).
Let be a normal subgroup of a group . Then
is a well-defined operation on , making a group with identity and with . The map sending to is a surjective homomorphism with .
Discussion.
The main difficulty is showing that the operation is well defined. The proposed rule names the answer using and , but the arguments of the operation are the cosets, and a coset has many names; so we must show that replacing by any with , and likewise, leaves unchanged. Written in terms of the equivalence relation, that means and should force , and this calculation uses normality: the two known members of are separated by , and normality lets us move it past.
The rest follows from the laws in . Associativity, the identity law and the inverse law each reduce, through the definition of the operation, to the corresponding law in applied to representatives. That is a homomorphism is the definition of the operation read backwards, surjectivity is the definition of , and the kernel is the set of with , which is .
Proof.
For well-definedness, suppose and , so that and lie in . Then and , so
and by normality. So the displayed element is a product of two members of and lies in , giving . The operation is therefore well defined.
Associativity follows from associativity in :
Also , so is an identity, and , so is an inverse of . Hence is a group.
Finally , so is a homomorphism; it is surjective because every coset is for some ; and holds exactly when , so .
Remark.
So normal subgroups and kernels are the same thing: every kernel is normal, by the proposition, and every normal subgroup is the kernel of the map onto its own quotient. So the question “which subgroups can be quotiented by?” and the question “which subgroups arise as kernels?” have one answer.
Theorem 9.39 (First isomorphism theorem).
Let be a homomorphism. Then
by the isomorphism sending the coset to .
Discussion.
The statement claims an isomorphism between two groups both of which are already known to exist: the quotient by the previous theorem, since the kernel is normal, and the image by the proposition on kernels and images. So we only need to check four things about the named map. That it is well defined is the same issue as before, since a coset has many names, and it holds because two representatives differ by a member of the kernel, which sends to the identity. That it is a homomorphism is the definition of the quotient operation together with the homomorphism property of . Surjectivity onto the image is immediate. Injectivity is the triviality of the kernel of the new map, and it comes out as the statement that puts in , so the coset is the identity of the quotient.
Proof.
Write , a normal subgroup by the proposition, so that is a group. Define .
Well defined. If then , so and hence .
Homomorphism. .
Surjective onto . Every element of the image is for some .
Injective. If then , so and , the identity of . So the kernel of is trivial and is injective.
Hence is a bijective homomorphism from onto .
Example 9.40 (The sign again).
Take with . Its kernel is and its image is all of , so the theorem gives
The quotient has two elements, the even permutations and the odd ones, and its multiplication is the arithmetic of parity: even times even is even, even times odd is odd, odd times odd is even. Counting the cosets recovers the problem that is twice the number of even permutations, this time as a consequence rather than a construction.
Show that a subgroup with exactly two right cosets is normal, without computing anything about itself.
Show that is a subgroup of that is not normal, and that is a normal subgroup of . Which of the two has a quotient group, and what is it?
Let be a homomorphism and let be a normal subgroup of contained in . Show that there is exactly one homomorphism with , where is the quotient map. The first isomorphism theorem is the case .
Exercises
Answers are checked in your browser, as often as you like. Nothing is sent anywhere and
nothing is kept but your own work. A formula may be written with the symbols themselves or
with ~ & | -> <-> ^, and \and, \or, \to expand as you type.
The symmetries of the square form , with .
The number of with is:
The number of with is:
Let be a finite group and write for the product of copies of .
For , the set is:
There is a single with for every at once:
Let be a finite group with even. The number of with is:
Let , with a subgroup of the finite group and a subgroup of . Suppose has exactly right cosets in , and exactly right cosets in .
The number of right cosets of in is:
Let be a subgroup of with .
If contains an odd permutation, the number of odd permutations in is:
If contains no odd permutation, that number is:
Let be an infinite group and let and be subgroups with exactly and exactly right cosets. The number of right cosets of in is:
Let be a non-empty subset of a group and suppose the sets , for , partition . Then is:
For a group put .
Then is:
Let with be a normal subgroup of . Then:
Let be a normal subgroup of and let be a normal subgroup of .
Then :
The smallest symmetric group holding a pair that witnesses this is:
Let be a subgroup of . The largest normal subgroup of contained in is:
Exercises in Lean
The proofs below are checked in your browser. Nothing is sent anywhere, and nothing is
stored but your own work. Type \to for →,
\and for ∧, \< and
\> for ⟨ ⟩.
Every statement of this chapter is made of one group, so the checker is given one and the sheet works inside it. The objects are its elements, and three new pieces of notation carry the structure:
a ∗ b the product, typed \ast
e the identity
a⁻¹ the inverse of a, typed \-1The operation binds like a product, so a ∗ b ∗ c is (a ∗ b) ∗ c and brackets are written where the other reading is wanted. A subgroup is a set, hence an object like any other, and a ∈ H is the membership of the sets chapter.
Five entries carry Definition 9.19 and nothing else is given away:
mul_assoc (a ∗ b) ∗ c = a ∗ (b ∗ c)
e_mul e ∗ a = a
mul_e a ∗ e = a
inv_mul_cancel a⁻¹ ∗ a = e
mul_inv_cancel a ∗ a⁻¹ = eEverything else in the chapter is a consequence, and the sheet asks for the consequences.
Multiplying an equation through
The axioms are equations, so the work is rewriting. What the paper proofs do in one line (multiply both sides by ) the checker needs spelled out, and congrArg says it: from h : x = y it builds f x = f y for any f written out as fun t => …. Once the equation has the factor on it, rw [...] at h cancels.
Example.
The observation that settled the identity of a subgroup, in the discussion after Definition 9.25 . Multiplying by on the left is the whole of it.
Example.
The left half of Proposition 9.22 . It is listed below as mul_left_cancel, so the exercises may lean on it.
Example.
Inverting twice returns the element, noted after Proposition 9.15 . It is listed below as inv_inv.
The identity is its own inverse.
Proposition 9.12 , with only the left-hand law assumed.
The right half of Proposition 9.22 .
Proposition 9.15 , in the form Problem 9.6 puts it.
The equation has no second solution, as the remark after Proposition 9.22 observes.
Proposition 9.16 . Show first that multiplies with to give .
The rearrangement that carries a right coset onto a left one in Theorem 9.37 .
The first step of the backward direction of Proposition 9.26 .
Its second step.
And its third, which is where inv_inv earns its place.
The first half of Proposition 9.31 . A homomorphism is a map with the one property, so it arrives as an arrow together with the equation it satisfies.
Its second half, with the first half to hand.
The kernel is closed under the operation, part of Proposition 9.32 . The kernel arrives as a set together with its membership criterion.
Proposition 9.36 : the kernel is normal. (Harder.)
What the checker understands
Tactics
| intro h | assume the hypothesis of an implication, naming it h |
| exact e | give the proof outright |
| apply f | reduce the goal to the hypotheses of f |
| assumption | close the goal with a hypothesis already present |
| trivial | close the goal True |
| exfalso | replace the goal with False |
| by_contra h | assume the negation of the goal |
| constructor | split ∧ into both halves, or ↔ into both directions |
| left / right | choose which half of a ∨ to prove |
| rcases h with a | b | argue by cases on a disjunction |
| obtain ⟨a, b⟩ := h | take a conjunction or an existential apart |
| cases h | as above, keeping the name |
| refine e | give the proof with holes left in it |
| have h : p := … | record an intermediate result |
| show p | restate the goal in an equal form |
| use w | give a witness for ∃ |
| specialize h a | instantiate a ∀ hypothesis |
| rw [h] | rewrite with an equation, ← to go backwards |
| rfl | both sides compute to the same thing |
| decide / norm_num | settle a closed computation |
| tauto | close a goal that is true by pure logic |
| induction n with k ih | the fifth Peano condition: prove the goal at 0, then at succ k from ih |
Results you may cite
| Classical.em | ∀ (a : Prop), a ∨ ¬a — the law of excluded middle |
| Classical.byContradiction | ∀ {a : Prop}, (¬a → False) → a — proof by contradiction; the tactic by_contra does this for you |
| Classical.byCases | ∀ {a b : Prop}, (a → b) → (¬a → b) → b — split on whether a holds |
| not_not | ∀ {a : Prop}, ¬¬a ↔ a — double negation |
| not_and_or | ∀ {a b : Prop}, ¬(a ∧ b) ↔ ¬a ∨ ¬b — De Morgan |
| not_or | ∀ {a b : Prop}, ¬(a ∨ b) ↔ ¬a ∧ ¬b — De Morgan |
| not_imp | ∀ {a b : Prop}, ¬(a → b) ↔ a ∧ ¬b |
| and_comm | ∀ {a b : Prop}, a ∧ b ↔ b ∧ a |
| or_comm | ∀ {a b : Prop}, a ∨ b ↔ b ∨ a |
| Set.ext | ∀ {A B : Obj}, (∀ x : Obj, x ∈ A ↔ x ∈ B) → A = B — extensionality: sets with the same elements are equal |
| Set.ext_iff | ∀ {A B : Obj}, A = B ↔ (∀ x : Obj, x ∈ A ↔ x ∈ B) — extensionality and substitution, in one biconditional |
| Set.subset_antisymm | ∀ {A B : Obj}, A ⊆ B → B ⊆ A → A = B — mutual inclusion is equality |
| Set.empty_subset | ∀ {A : Obj}, ∅ ⊆ A — the empty set is a subset of every set |
| Set.pair_eq | ∀ {a b c d : Obj}, ((a, b) = (c, d)) ↔ (a = c ∧ b = d) — two ordered pairs are equal exactly when their coordinates are |
| Nat.succ_inj | ∀ {m n : ℕ}, succ m = succ n → m = n — the third Peano condition: the successor is injective |
| Nat.succ_ne_zero | ∀ (n : ℕ), succ n ≠ 0 — the fourth: zero is nobody's successor |
| Nat.pred | ∀ {n : ℕ}, n ≠ 0 → ∃ m : ℕ, n = succ m — predecessors: everything but zero is a successor |
| Nat.add_zero | ∀ (m : ℕ), m + 0 = m — the first clause of addition |
| Nat.add_succ | ∀ (m n : ℕ), m + succ n = succ (m + n) — the second clause of addition |
| Nat.zero_add | ∀ (n : ℕ), 0 + n = n — addition from the left |
| Nat.succ_add | ∀ (m n : ℕ), succ m + n = succ (m + n) — addition from the left, at a successor |
| Nat.add_assoc | ∀ (m n p : ℕ), (m + n) + p = m + (n + p) — addition is associative |
| Nat.add_comm | ∀ (m n : ℕ), m + n = n + m — addition is commutative |
| Nat.add_ne_zero | ∀ {a : ℕ} (b : ℕ), a ≠ 0 → a + b ≠ 0 — positivity is absorbing |
| Nat.mul_zero | ∀ (m : ℕ), m * 0 = 0 — the first clause of multiplication |
| Nat.mul_succ | ∀ (m n : ℕ), m * succ n = m * n + m — the second clause of multiplication |
| Nat.zero_mul | ∀ (m : ℕ), 0 * m = 0 — multiplication from the left |
| Nat.succ_mul | ∀ (m n : ℕ), succ m * n = m * n + n — multiplication from the left, at a successor |
| Nat.add_right_cancel | ∀ {m n k : ℕ}, m + k = n + k → m = n — cancellation, from the last sheet |
| Nat.add_eq_zero | ∀ {m n : ℕ}, m + n = 0 → m = 0 ∧ n = 0 — a sum is zero only when both parts are, from the last sheet |
| Nat.mul_comm | ∀ (m n : ℕ), m * n = n * m — multiplication is commutative, from the last sheet |
| Nat.mul_add | ∀ (m n p : ℕ), m * (n + p) = m * n + m * p — multiplication distributes over addition, from the last sheet |
| Nat.mul_assoc | ∀ (m n p : ℕ), (m * n) * p = m * (n * p) — multiplication associates, from the problems of the last chapter |
| Nat.add_mul | ∀ (m n p : ℕ), (m + n) * p = m * p + n * p — distributivity on the other side |
| Nat.add_left_cancel | ∀ {a m n : ℕ}, a + m = a + n → m = n — uniqueness of differences |
| Nat.lt_trichotomy | ∀ (m n : ℕ), m < n ∨ m = n ∨ n < m — trichotomy, from the theorem that ℕ is strictly ordered |
| Nat.lt_irrefl | ∀ (n : ℕ), ¬(n < n) — anti-reflexivity, from the last sheet |
| Nat.lt_trans | ∀ {m n p : ℕ}, m < n → n < p → m < p — transitivity of the strict order, from the last sheet |
| Nat.lt_succ_self | ∀ (n : ℕ), n < succ n — every number is below its successor, from the last sheet |
| Nat.not_lt_zero | ∀ {n : ℕ}, ¬(n < 0) — nothing lies below zero |
| Nat.lt_succ_iff | ∀ {m n : ℕ}, m < succ n ↔ m < n ∨ m = n — nothing lies strictly between n and succ n |
| Num.inj | ∀ {m n : ℕ}, ↑m = ↑n → m = n — distinct numbers name distinct objects of ω |
| swap_apply_left | ∀ (a b : Obj), swap a b a = b — the transposition sends a to b |
| swap_apply_right | ∀ (a b : Obj), swap a b b = a — and b to a |
| swap_apply_of_ne_of_ne | ∀ {a b x : Obj}, x ≠ a → x ≠ b → swap a b x = x — and fixes every other point |
| swap_swap | ∀ (a b x : Obj), swap a b (swap a b x) = x — a transposition is its own inverse |
| Function.iterate_zero_apply | ∀ (f : Obj → Obj) (x : Obj), f^[0] x = x — the first clause of the powers of a map |
| Function.iterate_succ_apply | ∀ (f : Obj → Obj) (n : ℕ) (x : Obj), f^[succ n] x = f^[n] (f x) — the second clause: f^[succ n] is f^[n] ∘ f |
| Function.iterate_add_apply | ∀ (f : Obj → Obj) (m n : ℕ) (x : Obj), f^[m + n] x = f^[m] (f^[n] x) — the first law of exponents |
| Nat.factorial_zero | 0 ! = succ 0 — the first clause of the factorial |
| Nat.factorial_succ | ∀ (n : ℕ), (succ n) ! = succ n * n ! — the second clause of the factorial |
| Nat.choose_zero_right | ∀ (n : ℕ), choose n 0 = succ 0 — the empty set is the one 0-subset |
| Nat.choose_eq_zero_of_lt | ∀ {n k : ℕ}, n < k → choose n k = 0 — no subset is larger than the whole |
| Nat.choose_succ_succ | ∀ (n k : ℕ), choose (succ n) (succ k) = choose n k + choose n (succ k) — Pascal's identity |
| mul_assoc | ∀ (a b c : Obj), (a ∗ b) ∗ c = a ∗ (b ∗ c) — the operation associates |
| e_mul | ∀ (a : Obj), e ∗ a = a — the identity on the left |
| mul_e | ∀ (a : Obj), a ∗ e = a — and on the right |
| inv_mul_cancel | ∀ (a : Obj), a⁻¹ ∗ a = e — the inverse on the left |
| mul_inv_cancel | ∀ (a : Obj), a ∗ a⁻¹ = e — and on the right |
| inv_inv | ∀ (a : Obj), (a⁻¹)⁻¹ = a — worked above: inverting twice gives the element back |
| mul_left_cancel | ∀ {a x y : Obj}, a ∗ x = a ∗ y → x = y — worked above: the left half of prop-9-5 |
From the logical core
| And.intro | ∀ {a b : Prop}, a → b → a ∧ b |
| And.left | ∀ {a b : Prop}, a ∧ b → a |
| And.right | ∀ {a b : Prop}, a ∧ b → b |
| And.symm | ∀ {a b : Prop}, a ∧ b → b ∧ a |
| Or.inl | ∀ {a b : Prop}, a → a ∨ b |
| Or.inr | ∀ {a b : Prop}, b → a ∨ b |
| Or.elim | ∀ {a b c : Prop}, a ∨ b → (a → c) → (b → c) → c |
| Or.symm | ∀ {a b : Prop}, a ∨ b → b ∨ a |
| Iff.intro | ∀ {a b : Prop}, (a → b) → (b → a) → (a ↔ b) |
| Iff.mp | ∀ {a b : Prop}, (a ↔ b) → a → b |
| Iff.mpr | ∀ {a b : Prop}, (a ↔ b) → b → a |
| Iff.symm | ∀ {a b : Prop}, (a ↔ b) → (b ↔ a) |
| Iff.rfl | ∀ {a : Prop}, a ↔ a |
| Iff.trans | ∀ {a b c : Prop}, (a ↔ b) → (b ↔ c) → (a ↔ c) |
| True.intro | True |
| False.elim | ∀ {a : Prop}, False → a |
| absurd | ∀ {a b : Prop}, a → ¬a → b |
| id | ∀ {a : Prop}, a → a |
| mt | ∀ {a b : Prop}, (a → b) → ¬b → ¬a |
| Eq.refl | ∀ {α : Type} (a : α), a = a |
| Eq.symm | ∀ {α : Type} {a b : α}, a = b → b = a |
| Eq.trans | ∀ {α : Type} {a b c : α}, a = b → b = c → a = c |
| congrArg | ∀ {α : Type} {β : Type} {a b : α} (f : α → β), a = b → f a = f b |
| Exists.intro | ∀ {α : Type} {p : α → Prop} (w : α), p w → ∃ x : α, p x |
| Exists.elim | ∀ {α : Type} {p : α → Prop} {b : Prop}, (∃ x : α, p x) → (∀ y : α, p y → b) → b |