Homology
Part I · Foundations
Chapter 1.4

Abelian Groups and Formal Sums

Quotients, free groups, and the shape of every finite answer

about 55 min Builds on 1.3 Groups

Subgroups are inside a group while quotient groups are a type of collapsing of a group, generalizing the way can be wrapped around to form the circle group

— Keith Conrad, “Quotient Groups”

You have met clock arithmetic twice now: as a set of classes in §1.2 Equivalence and Quotients, and as a group in §1.3 Groups. Behind it stands a construction so important that homology itself is an instance of it: take a group, choose a subgroup, and declare every element of that subgroup to be zero. What survives is a new group, called a quotient. Beside it we build a second kind of group that homology needs just as much: the group of formal sums, the algebra of inventories. Put the two together and you can describe every abelian group homology will ever produce.

We go slowly, because this is the algebraic engine of the whole book. Shifted copies of a subgroup, the cosets, get collapsed to points to make quotient groups, which we watch happen to the integers, the real line and a lattice in the plane. The First Isomorphism Theorem then ties quotients to homomorphisms. After that come inventories (free abelian groups), a way to build groups from rules (generators and relations), and a theorem that gives every group homology can produce a standard name. A first look at exact sequences closes the chapter.

Shifted copies: cosets

From now on every group is abelian and written additively, as agreed in §1.3 Groups. Start with the integers and the subgroup of multiples of three, Now shift it: add to every element. You get the numbers that leave remainder when divided by three. Shift by instead and you get Shift by and nothing new happens: is again. Shift by and you are back to shift by and you get

So there are exactly three different shifted copies of and together they contain every integer exactly once. Each integer belongs to one copy: the one named by its remainder.

A coset usually has many names. and are three names for one and the same set. When do two names describe the same coset? Exactly when the two representatives differ by an element of

This proposition says that the cosets of are exactly the classes of the relation “ when and this is an in the sense of §1.2 Equivalence and Quotients. The proof is the one given there for congruence, with replaced by each of the three requirements uses one property of a subgroup. It is reflexive because symmetric because if then its negative is in and transitive because if and are in so is their sum Therefore the cosets form a of every element lies in exactly one coset, and two cosets are either identical or have nothing in common.

A picture worth keeping in mind: in the plane take to be a straight line through the origin. Its cosets are all the lines parallel to one through each point of the plane. Every point lies on exactly one of them. You also met cosets, without the name, in §1.3 Groups: the elements that a homomorphism sends to the same place as are exactly

Counting cosets: Lagrange’s theorem

All cosets of have the same size as Indeed, the rule matches the elements of one-for-one with the elements of every element of is hit, and no two elements of are sent to the same place (if then For a finite group, that observation is already a theorem.

For example, the subgroups of found in §1.3 Groups have and elements — all divisors of There is no subgroup of with four elements, and Lagrange tells us there could not be. Since the order of an element is the size of the subgroup it follows that the order of every element of a finite group divides the order of the group.

Collapsing each coset to a point: quotient groups

Here is the decisive step. Instead of looking at the individual integers, look at the three cosets and and treat each of them as a single object — one dot, standing for the whole infinite pile of integers in it. Can we add these dots?

Research on how people learn group theory singles out this step, treating a whole set as one thing, as the hard one (Dubinsky et al. 1994). It is worth doing it with your own hands.

Collapse the cosets Choose a stage · tap two integers (or two dots) to add
⋯⋯
−9−8−7−6−5−4−3−2−10123456789
Tap an integer to choose then another to choose
n 3
Figure 1.4.1 Stage 1: the integers, coloured by their coset of Stage 2: sorted into rows; each row is one coset, a shifted copy of Stage 3: each row collapses to a single dot, and these dots are the group In stage 2, tap a representative of one row and a representative of another: the row containing never depends on which representatives you tapped. That is why adding the dots makes sense.

The natural rule for adding cosets is: to add two cosets, pick a representative of each, add the representatives, and take the coset of the result: But there is a worry, and it is not a small one. A coset has many representatives. If somebody else picked different representatives of the same two cosets, would they get the same answer? If not, the “rule” would not be a rule at all. (This is the question of being , from §1.2 Equivalence and Quotients.) In with for example: is also and is also Adding the first names gives adding the second names gives too. Lucky? No:

Everything here has already been checked: the addition is well defined; it is associative and commutative because the addition of is; so is the zero; and The quotient homomorphism is a homomorphism because it is surjective (every coset is the coset of something); and its kernel is exactly since means which means

Three ways to look at

With and the quotient is our clock arithmetic (we will prove the two are isomorphic in a moment, but you can already see it in Figure 1.4.1). Daniel Siebert and Steven Williams interviewed students about and found three different pictures of its elements in use; the students’ trouble came less from any one picture than from being unable to move between them (Siebert & Williams 2003). All three are correct, and you should be able to switch between them at will.

  1. An element is an infinite set. The element we call in is This picture explains why the addition rule is what it is: add any member of one set to any member of another, and every sum lands in the same set.
  2. An element is a shifted copy of the subgroup. The same element is “the multiples of five, moved two steps to the right”. This is the picture used in proofs: shift by then by and you have shifted by
  3. An element is named by a representative. We write “ and compute with names: This is the picture for fast arithmetic, and it is safe precisely because addition of cosets is well defined: any names give the same answer.

In every picture the element is one thing. In Figure 1.4.1, after the collapse, the whole infinite set is a single dot, and has exactly five of them.

The real line wrapped into a circle

Now take the real numbers, and the integers inside them. Two real numbers lie in the same coset when they differ by a whole number: and all belong to the coset Each coset contains exactly one number in the interval (the “fractional part”), so you might think is just that interval. But look at what happens near the ends: and are very far apart in the interval, yet adding to the first gives which is in the coset of In the two ends of the interval are glued together, and the result is a circle.

ℝ/ℤ is a circle Press play or scrub · move the coset · drag to rotate
The real line, with the integers in teal and one coset in gold. Press play, or scrub.
line circle
Figure 1.4.2 The real line, with the integers marked in teal and one coset in gold, coils into a spring whose every turn has length and then flattens. Every gold bead ends on the same point, and every teal bead on another: each coset of has become a single point of a circle. Adding cosets is adding angles — a quarter turn plus a half turn is three quarters of a turn, whatever representatives you use.

Adding in is adding fractions of a turn: which lies in the coset so in “seven tenths of a turn plus half a turn is a fifth of a turn”. This is why is called the circle group. Conrad’s sentence at the top of this chapter uses the same circle with a different circumference, the real numbers with multiples of declared zero, which is how angles in radians behave. Gluing the ends of an interval to make a circle is also your first example of building a shape as a quotient — the subject of §2.2 Gluing Spaces Together.

Collapsing a lattice

For a two-dimensional example, take the points of the plane whose two coordinates are integers, added coordinate by coordinate: (This is the integer lattice; we will meet it again as the direct sum For take all integer combinations of the two vectors and How many cosets does have, and what group is Explore before reading on.

Collapsing a lattice Drag the tips of v and w · or tap points · try the presets
vw
Drag the arrow tips, or tap a point to move
Number of cosets (colours) . The shaded tile contains exactly one point of each colour (ringed).
Smith normal form:
Collapse each colour to one dot: this is the quotient group.
Figure 1.4.3 Every lattice point is coloured by its coset of the points of itself are the large glowing ones. The shaded parallelogram spanned by and contains exactly one point of each colour (ringed), and its translates tile the plane, so the number of cosets equals its area, the absolute value of the determinant. Drag the vectors until they line up (determinant zero): suddenly there are infinitely many cosets, and the quotient contains a copy of

With and there are three colours. The shaded tile, the parallelogram with corners has area (For a matrix, the is the signed area of the parallelogram spanned by its columns; §1.5 Linear Algebra explains why.) Why should the number of cosets equal the area? The translates of the tile cover the plane without overlapping, and each tile contains exactly one point of each coset. A large region of area contains about lattice points and about tiles, so each tile must hold points: three cosets. And a group with three elements must be (by Lagrange, each nonzero element has order dividing so it generates everything). So Other choices give other answers: gives four cosets, forming the group we will call in the section on direct sums; gives six, forming When the determinant is zero the quotient is infinite. How to name the quotient in general is the subject of the sections on direct sums and on generators and relations; the figure already uses the method.

The First Isomorphism Theorem

Quotients and homomorphisms are two sides of one coin. Every quotient comes with a homomorphism, whose kernel is Conversely, every homomorphism comes with a quotient: in §1.3 Groups we saw that the elements a homomorphism sends to the same point form a coset of its kernel, Collapse those cosets, and the homomorphism stops losing information.

(The bar in read “phi bar”, marks the new map that induces on the quotient.) Before the proof, watch it happen.

The First Isomorphism Theorem Step through · choose k
domain ℤ/12target ℤ/120123456789101101234567891011
The homomorphism
, k =
Figure 1.4.4 The homomorphism on Colour each element by where it lands; elements of the same colour form a coset of the kernel (gold). Pile each coset above the point it lands on, collapse each pile to one dot, and what remains matches the image perfectly, one dot to one point. Collapse what cannot see, and what remains is exactly what it reaches.

(By Lagrange, and by the theorem this is This is the pattern you noticed in Figure 1.3.6. Its counterpart for vector spaces, “dimension of the kernel plus dimension of the image equals dimension of the domain”, is the rank–nullity theorem of §1.5 Linear Algebra, and it will be the reason the Euler characteristic can be computed from homology.

Side by side: direct sums

Quotients make groups smaller. The opposite construction puts two groups side by side.

Think of two dials that turn independently: the first coordinate lives on one dial, the second on the other, and an addition turns each dial by its own amount. Its zero is and Some examples:

  • is the integer lattice of the previous section.
  • has four elements, each of which added to itself gives It is the group of symmetries of a rectangle from §1.3 Groups, with
  • is like a ladder with two rails: a copy of the integers on each rail, where adding hops to the other rail and hopping twice brings you back.

A direct sum inherits orders in a simple way: the multiple is zero exactly when and So the order of is the smallest number that is a multiple of both orders: their least common multiple, For instance in the element has order

When are two clocks one clock?

Here is a puzzle that shows why we must be careful with names. Both and have six elements. Are they the same group? And and with four elements each?

Two clocks ticking together Step or play · change m and n
01ℤ/2012ℤ/301012
after 0 steps:
Both hands are back at 0 after steps, having visited 6 of the 6 pairs.
Every pair is reached, so generates everything: .
m 2
n 3
Figure 1.4.5 Each step adds both hands advance one hour. The grid records the pairs visited; leaving it on one side re-enters on the other, as on a torus. With and the walk visits all six cells before coming home, so generates everything. With it comes home after two steps, having seen only half the cells.

So and while and The same group can wear very different names — “is”  — which is why we will need a standard way of naming abelian groups.

Formal sums: free abelian groups

Imagine a market stall that sells apples, bananas and cherries. At the end of the day the stallholder writes down what changed hands: “two apples sold, four bananas sold, one cherry returned”. A compact way to write this is where the letters are names of the three kinds of fruit, not numbers. This is a formal sum: “formal” because it is not evaluated — does not simplify to anything, it simply records one apple and one banana. (The fruit-stand picture is borrowed from Michael Postol’s notes in the further reading.)

Formal sums obey the arithmetic of inventories:

  • they are added and subtracted kind by kind:  — the bananas cancel, and a term with coefficient is simply not written;
  • the empty inventory, with every coefficient zero, is written
  • negative coefficients are debts, and every inventory can be cancelled by its negative;
  • the order in which the items are listed never matters.

In other words, inventories form an abelian group.

If then is just in disguise: the formal sum corresponds to the triple of coefficients and adding formal sums is adding triples. The only difference is that the coordinates have names. That difference matters for us, because the names will be the pieces of a shape. In the next figure the three symbols are drawn as the three edges of a triangle, each with a chosen direction.

Inventories of edges Step the coefficients · choose + or − · try the presets
first inventory
2a−b3c
2a −1b 3c
second inventory
ab−3c
1a 1b −3c
result
3abc
Figure 1.4.6 The symbols are the edges of a triangle, each with an arrow. A coefficient is drawn as the thickness of an edge, and a negative coefficient reverses its arrow. Sums are computed coefficient by coefficient; terms with coefficient zero vanish (dashed). The preset “around the triangle” produces walking once around the triangle uses and forwards and backwards. Soon such formal sums will be called chains, and those that go around a loop, cycles.

Look at in the figure: it records a walk once around the triangle, with the minus sign saying that edge is traversed against its arrow. This is precisely how §3.2 Chains and the Boundary Operator will describe a loop in a shape: as a formal sum of edges, with signs for direction. And goes around twice.

Bases and rank

The symbols have a special property: every element of can be written as an integer combination of them in exactly one way. They are not the only building blocks with that property, and when we compute homology we will often trade one set of building blocks for a more convenient one. So the property needs a name.

Take The pair is a basis, of course. So is any element equals and in only one way. But is not a basis — you cannot reach itself, because would need And is not a basis either: it reaches everything, but can be written in two ways (as or as

Is the rank well defined — could one free group have bases of different sizes? No: every basis of has exactly elements. Here is a short reason. If is a basis of then the quotient (where is the subgroup of doubles consists of the combinations with each only mattering mod so it has exactly elements. Since was defined without mentioning any basis, and hence cannot depend on the basis.

Defining a homomorphism on a basis

Free abelian groups have one more property that makes them indispensable: it is very easy to define homomorphisms out of them.

This is well defined because each element of has exactly one expression in the basis, and it respects addition because coefficients add. In words: say where each basis element goes, and the rest is forced. In homology the boundary map is defined in just this way — by saying what the boundary of each single edge or triangle is — and then extended to all formal sums (the exercises give a first taste).

Finally, a fact we will use without proof: every subgroup of is itself free, of rank at most . For example the subgroup of is free with basis In homology this guarantees that the cycles and the boundaries, which are subgroups of a free group of chains, are free too.

Generators and relations

A free abelian group is built from generators that obey no rules except commutativity. To build other groups, we add rules. The notation (read “the group generated by subject to means: start with all the integer multiples of a symbol and impose the single rule together with everything it implies ( and so on), but nothing more. The result has the three elements it is Think of generators as Lego bricks and relations as the rules about which constructions count as “nothing”.

  • is a twist that undoes itself when doubled, and is free.
  • the relation says so there is really one generator.
  • no relations at all gives the free abelian group.

Precisely: a relation is a formal sum declared to be zero, and declaring things zero is exactly what a quotient does.

For example, has relation matrix it is modulo the integer combinations of and which is exactly the lattice quotient of Figure 1.4.3. We found that it has three elements. Here are two ways to see which group it is.

By substitution. The second relation says Substitute into the first: so Every element can be written using alone, and the only rule left is So the group is

By matrix operations. Certain changes to the relation matrix never change the group it presents:

  • column operations — swap two columns, multiply a column by or add an integer multiple of one column to another — replace the relations by an equivalent list (each new relation follows from the old ones and vice versa, so the same things are declared zero);
  • row operations of the same three kinds correspond to choosing new generators (for instance, using in place of

Using these operations, every integer matrix can be brought to a diagonal form in which each diagonal entry divides the next, called its , after Henry John Stephen Smith, who studied it in 1861 (Smith 1861); the general algorithm is in §1.5 Linear Algebra. For our matrix: swap the two columns; subtract twice the first row from the second; subtract twice the first column from the second; multiply the second row by A diagonal matrix is easy to read: the new generators are subject only to and The first relation kills entirely, and the second makes a 3-hour clock: the group is In general, a diagonal entry contributes a factor (nothing at all when while a diagonal entry or a generator with no diagonal entry at all, contributes a free

From relations to a group Edit the matrix · step through · try the presets
generators relations
rel. 1rel. 2
21
12
Start: one row for each generator, one column for each relation.
invariant factors: (each 1 contributes nothing)
rank (free part): 0 torsion: torsion has 3 elements
Figure 1.4.7 Type any small relation matrix: one row per generator, one column per relation. The stepper diagonalises it by integer row and column operations — each step changes the presentation but never the group — until each diagonal entry divides the next. Then the group can be read off. The presets include the presentations that homology will produce for the torus, the Klein bottle and the projective plane.

The shape of every finite answer

We now have a machine: relations in, diagonal matrix out, group read off. Two questions remain. Does the machine accept every group homology will hand it? And could two different-looking answers, such as and secretly be the same group? The first needs a word. A group is finitely generated if some finite set of its elements generates it. Every finite group is, is, and so is every homology group of a shape built from finitely many pieces. Such groups always have a finite presentation, and the Smith normal form then turns that presentation into a standard name. The result is a complete catalogue, in which every such group appears exactly once.

Why it is true. Existence is what you just watched: present by generators and relations (a finite list suffices, by the fact about subgroups of quoted earlier), and diagonalise the relation matrix. Uniqueness — that two different lists can never give isomorphic groups — needs a separate argument, by counting how many elements of each order the group has; we will not prove it here. A complete proof is in Judson (2025, Thm 13.1.10), which lists the clocks by prime powers instead (as rather than the theorem on above converts one list into the other.

The theorem says that every finitely generated abelian group is “some free directions and some clocks”: a lattice of independent infinite directions, together with a finite collection of clocks. The condition is what makes the name unique: without it, and would be two names for one group.

Torsion

The two halves of the catalogue behave very differently. Add a nonzero element of to itself again and again and it marches off for ever; do the same to an element of a clock and it comes home to The part that comes home has a name.

In an element is torsion exactly when its part is zero (a nonzero integer vector never becomes zero when multiplied). So the torsion subgroup is the finite part and the classification can be read as For example, in the torsion subgroup is and the rank is

Now the payoff. In Part III we will compute the first homology groups of some surfaces. Here, on trust, are the answers, already in classified form:

ShapeFirst homology Rank (holes)Torsion
circle1
sphere0
torus2
Klein bottle1
projective plane0

The rank will be called the Betti number it counts independent loops that bound nothing. The torsion is subtler. On the Klein bottle there is a loop that does not bound anything, but which, travelled twice, does: an element of order two. That is the the homological trace of the bottle’s one-sidedness, and §3.4 Computing Homology finds it by exactly the matrix steps of Figure 1.4.7.

A first look at exact sequences

We end with a piece of bookkeeping that will become one of the main tools of Part III. Often several groups are linked by a chain of homomorphisms, and the question is how two subgroups of the middle group compare: the image of everything can reach, and the kernel of everything sends to zero.

Read it as: what produces is exactly what kills. Two things are packed into the equality. First, everything produces is killed by or in other words for all  — doing and then gives zero. Second, nothing else is killed by Two special cases are worth memorising (here is the trivial group, and the maps to and from it are the only possible ones):

  • is exact at exactly when is : the image of the map from is so exactness says
  • is exact at exactly when is : the map kills everything, so exactness says

Short exact sequences

By the First Isomorphism Theorem, So a short exact sequence says: contains a copy of and collapsing that copy leaves . The fundamental example is Multiplying by is injective (for its image is the kernel of reduction mod is also and reduction is surjective.

A short exact sequence Change n
−3−2−10123−9−8−7−6−5−4−3−2−10123456789012
n
Figure 1.4.8 The teal arrows show multiplication by no two integers land together (injective), and what they reach, the multiples of is exactly what the gold arrows send to Every point of is reached (surjective).

A short exact sequence does not always determine its middle group. Both are exact (in the second, the maps are and yet Knowing the two ends tells you the size of the middle, but not always its structure — a subtlety that will matter when homology is assembled from pieces.

The second sequence is the simplest kind: the middle is just the two ends side by side, with the obvious maps. Such a sequence is said to split. If is free abelian, every short exact sequence ending in splits: pick, for each basis element of one element of that sends to it, and those choices define a copy of inside next to The first sequence shows that which is not free, can fail. Is freeness the whole story?

Finally, what if a sequence is not exact? Suppose only that doing and then gives zero, so that Then the quotient measures exactly how far the sequence is from being exact: it is zero precisely when the sequence is exact. Try it.

Exact, or not? Choose n and the two multipliers
ABCf = ×4g = ×2001122334455667701234567
Always here, since in .
: the sequence is exact at .
n
f = × g = ×
Figure 1.4.9 Three copies of joined by multiplication maps whose composite is zero. In the middle, the image of is filled teal and the kernel of is ringed. When every ringed dot is teal the sequence is exact. When some are not (rose), the leftover is a nonzero group. Try with and then change to

Exercises

Summary

Further reading

  • Quotient Groups — Keith Conrad free
    A careful, example-rich expository note at undergraduate level. It starts from ℤ/mℤ, explains why non-abelian groups need normal subgroups, and works through many examples, including the circle ℝ/2πℤ of our epigraph.
  • What’s a Quotient Group, Really? (Parts 1 and 2) — Tai-Danae Bradley (Math3ma) free
    Two short, friendly blog posts on cosets as “piles” and quotients as “the set of piles”. Part 2 is the source of the many-ways-to-be-wrong saying.
  • The First Isomorphism Theorem, Intuitively — Tai-Danae Bradley (Math3ma) free
    The theorem of this chapter told as a picture story: dots, coloured piles, one dot per pile.
  • Free textbook. Chapters 6 (cosets and Lagrange’s theorem), 9.2 (direct products), 10 (factor groups), 11 (homomorphisms) and 13.1 (finite and finitely generated abelian groups) are the standard next step, including the non-abelian story.
  • Algebraic Topology for Data Scientists — Michael S. Postol free
    Long notes that build homology from scratch for readers from data science; the “fruit stand” picture of free abelian groups comes from here.
  • Algebraic Topology, Chapter 2 — Allen Hatcher free
    The standard graduate text, free online. Look at the opening pages of Chapter 2 once you reach Part III: free abelian groups of chains and quotient groups appear exactly as they do here.

References

  1. Tai-Danae Bradley (2016). What’s a quotient group, really? Part 2. Math3ma (blog), 22 November 2016. free online
  2. Thomas W. Judson (2025). Abstract Algebra: Theory and Applications. Annual edition 2025, free under the GNU Free Documentation License. free online
  3. Richard L. Roth (2001). A history of Lagrange’s theorem on groups. Mathematics Magazine 74(2), 99–108. doi
  4. Ed Dubinsky, Jennie Dautermann, Uri Leron and Rina Zazkis (1994). On learning fundamental concepts of group theory. Educational Studies in Mathematics 27(3), 267–305. doi
  5. Daniel Siebert and Steven R. Williams (2003). Students’ understanding of ℤn. Proceedings of the 2003 joint meeting of PME and PME-NA, vol. 4, 167–173. free online
  6. Keith Conrad (2025). Quotient groups. expository note, University of Connecticut (undated; version of September 2025). free online
  7. Lam Lay Yong and Ang Tian Se (2004). Fleeting Footsteps: Tracing the Conception of Arithmetic and Algebra in Ancient China (revised edition). World Scientific; includes a complete English translation of the Sunzi suanjing. doi
  8. Henry John Stephen Smith (1861). On systems of linear indeterminate equations and congruences. Philosophical Transactions of the Royal Society of London 151, 293–326. doi
  9. Henri Poincaré (1900). Second complément à l’Analysis Situs. Proceedings of the London Mathematical Society 32, 277–308; English translation by John Stillwell in Papers on Topology (AMS, 2010). doi
  10. John Stillwell (2010). Translator’s introduction, in Henri Poincaré, Papers on Topology: Analysis Situs and Its Five Supplements. American Mathematical Society and London Mathematical Society, History of Mathematics 37. free online
  11. Allen Hatcher (2002). Algebraic Topology. Cambridge University Press. free online
  12. Saharon Shelah (1974). Infinite abelian groups, Whitehead problem and some constructions. Israel Journal of Mathematics 18 (1974), 243–256. doi
  13. Paul C. Eklof (1976). Whitehead’s problem is undecidable. The American Mathematical Monthly 83 (1976), 775–788. doi