Abstract Algebra

Cayley Graphs: Turning a Group Into a Shape You Can Walk Around In

A group is usually handed to you as a list of elements and a multiplication rule — true, but hard to picture. A Cayley graph turns that algebra into geometry. Pick a generating set S for a group G, draw one vertex for every element of G, and join g to gs for each generator s ∈ S. Now a word in the generators is a path, the element it equals is where you land, and the relations of the group become the loops in the picture. The infinite 4-regular tree, the square grid and the n-cycle are all Cayley graphs, and the whole of geometric group theory grows out of taking that picture seriously.

  • Introduced byArthur Cayley, 1878
  • VerticesOne per element of G
  • Edgesg → gs for each s ∈ S
  • Degree|S|-regular
  • ConnectedExactly when S generates G
  • SymmetryVertex-transitive via left multiplication

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

The Construction

Let G be a group and let S ⊆ G be a generating set, normally chosen with 1 ∉ S so that no vertex sprouts a pointless loop. The Cayley graph Cay(G, S) is built in two lines:

  • Vertices: the elements of G — one vertex per element, nothing identified, nothing left out.
  • Edges: for every g ∈ G and every s ∈ S, an edge from g to gs, labelled s.

The edges are naturally directed, because multiplying by s and multiplying by s⁻¹ are different moves. If S is closed under inverses — that is, S = S⁻¹, automatic when every generator is an involution — each edge comes with its reverse, and it is standard to forget the arrows and treat the graph as undirected. Writing {±1} for a generating set says that this symmetrisation has already been done.

The point is that the group stops being a table of products and becomes a place. Start at the identity and read a word left to right: each letter is one edge, traversed forwards or backwards according to whether it carries an inverse. The vertex you finish on is the element the word evaluates to, and equality of two words becomes the statement that two walks from the identity end at the same place.

Lines, Cycles and Grids

Start with G = ℤ and S = {1}. One vertex per integer, one edge from n to n + 1: the Cayley graph is the infinite path — the number line with its lattice points joined up.

Now take S = {2, 3}. The graph is still connected, since 3 − 2 = 1, but it looks nothing like a line: every vertex has degree 4 counting both directions, and short cycles appear everywhere — 2 + 2 + 2 = 3 + 3 closes a hexagonal loop. Same group, different shape.

Next, G = ℤ/nℤ with S = {±1}. There are n vertices and each is joined to its two neighbours, so the Cayley graph is the n-cycle. The cycle closes because n · 1 = 0 in ℤ/nℤ, and its length is exactly the order of the generator.

Then G = ℤ² with S = {(1, 0), (0, 1)}. Each vertex has a north, south, east and west neighbour, and the graph is the square grid — the integer lattice. The grid is more than a pretty picture: the fact that you can go east-then-north or north-then-east and arrive at the same lattice point is the commutativity of ℤ² drawn as a closed square. In a non-abelian group those squares fail to close, and the picture bends accordingly.

Cycles Are Relations: the Free Group Tree

Here is the showpiece. Let F₂ = ⟨a, b⟩ be the free group on two letters — all reduced words in a, b, a⁻¹, b⁻¹, with no rule beyond cancelling a letter against its inverse. Take S = {a, b}. Every vertex has four edges (out along a and b, in along a and b), and the resulting graph is the infinite 4-regular tree: branching forever, with no cycles whatsoever.

Why no cycles? A cycle through the identity is a nonempty reduced word evaluating to 1 — a nontrivial relation. A free group has none, so the branching never meets itself. That is the correspondence worth memorising:

  • Cycles in a Cayley graph correspond to relations in the group. A loop based at the identity reads off a word equal to 1; conversely every relation shows up as a closed walk, at every vertex, because the picture is homogeneous.

Run the dictionary backwards and the earlier examples explain themselves. The n-cycle of ℤ/nℤ is the single defining relation xⁿ = 1. The unit squares of the grid are copies of aba⁻¹b⁻¹ = 1. A presentation ⟨S | R⟩ is, read geometrically, an instruction to take the tree on S and glue up a loop for each relator in R — the viewpoint that makes Cayley graphs a tool rather than an illustration.

Regular, Vertex-Transitive, and the Left-Right Trap

Three structural facts follow at once from the definition, each worth deriving rather than memorising.

It is |S|-regular. Each vertex g has exactly one outgoing edge per generator, and exactly one incoming edge per generator, because h ↦ hs is a bijection of G. So every vertex has the same degree — there are no hubs and no leaves.

It is connected if and only if S generates G. The vertices reachable from the identity are the products of generators and their inverses — the subgroup ⟨S⟩. If ⟨S⟩ ≤ G is proper, the graph falls apart into one component per coset.

It is vertex-transitive. For any g, the map x ↦ gx sends the edge from x to xs to the edge from gx to gxs, so left multiplication is a graph automorphism. It carries the identity to g for any target g, and the only element fixing a vertex is the identity: the action is simply transitive on vertices. The graph genuinely looks the same from every vertex.

Note the asymmetry, because it catches almost everyone once. Edges are defined by multiplying on the right by generators; the symmetry comes from multiplying on the left. The two commute — (gx)s = g(xs) is just associativity — which is the whole reason the left action preserves the right-defined edges. Swap the sides and the argument collapses.

The Word Metric and Geometric Group Theory

Declare every edge to have length 1. The distance from g to h is then the fewest generators needed to get from one to the other — the length of the shortest word representing g⁻¹h. This is the word metric, and with it a finitely generated group becomes a geometric object: a space with distances, balls and volumes.

Changing the generating set changes the metric, but between two finite generating sets the distortion is bounded above and below by constants: the identity map is a quasi-isometry. Anything invariant under quasi-isometry is therefore a property of the group, not of the chosen picture.

The headline invariant is growth: how the number of elements within distance r of the identity behaves as r → ∞. In the grid ℤ² that count is on the order of r² — polynomial. In the tree F₂ it is roughly 3ʳ — exponential. No bounded distortion turns r² into 3ʳ, so the two groups are not quasi-isometric: an algebraic separation proved by counting.

This programme is associated above all with Mikhail Gromov, who argued that groups should be studied as metric spaces. His theorem of 1981 says that a finitely generated group has polynomial growth if and only if it is virtually nilpotent — it has a nilpotent subgroup of finite index. A coarse counting property of the Cayley graph pins down the group's algebra. Earlier, Max Dehn had used such pictures in the 1910s to pose the word problem and solve it for surface groups.

Expanders, Covers and Where This Pays Off

Expander graphs. An expander is a sparse graph that is nevertheless hard to cut in two: every not-too-large set of vertices has a boundary proportional to its size. Random graphs are expanders, but constructing explicit infinite families was long the difficulty — and Cayley graphs of suitable groups with small generating sets supply them, the classical examples coming from SL₂ over finite fields. Because Cay(G, S) is automatically |S|-regular and vertex-transitive, its expansion is controlled by a single spectral quantity, the gap between the largest and second-largest eigenvalue λ of the adjacency operator. Expanders then feed directly into derandomisation, sorting and routing networks, and error-correcting codes.

Topology. Take a wedge of |S| circles, one loop per generator, and pass to its universal cover. That cover is a tree — exactly the Cayley graph of the free group on S, with left multiplication as the deck transformations. More generally, build a 2-complex from a presentation ⟨S | R⟩ by attaching a disc per relator; its universal cover has the Cayley graph as 1-skeleton. This is the bridge by which covering space and fundamental group arguments become statements about presentations.

Everyday algebra. Rubik's-cube-style puzzles are shortest-path problems in a Cayley graph, its diameter being "God's number", and interconnection networks such as the hypercube are Cayley graphs chosen so that vertex-transitivity gives every node identical routing code.

Three Common Mistakes

1. Thinking the graph depends only on G. It does not, and the dependence is not cosmetic. ℤ with S = {1} is a line; with S = {2, 3} it is a degree-4 graph full of hexagons. S₃ with the adjacent transpositions {(1 2), (2 3)} is a hexagon; with {(1 2 3), (1 2)} it is two triangles joined by a perfect matching — the prism-like picture you also get for D₃ ≅ S₃. Larger dihedral groups Dₙ give a prism or a Möbius–Kantor-style ladder depending on which generators you pick. There is no such thing as "the" Cayley graph of a group; always name the generating set — what is intrinsic is whatever survives quasi-isometry.

2. Confusing left and right. Edges go from g to gs — right multiplication. The symmetry group acting simply transitively on vertices is left multiplication. Use right multiplication for the symmetry and your "automorphisms" will not respect the edge labels.

3. Assuming vertex-transitive ⟹ Cayley. Every Cayley graph is vertex-transitive, but the converse is false. The standard counterexample is the Petersen graph: 10 vertices, 3-regular, vertex-transitive, and not the Cayley graph of any group. Being a Cayley graph requires the automorphism group to contain a subgroup acting simply transitively, and Petersen's automorphism group S₅ has no such subgroup of order 10. Vertex-transitivity is a symmetry condition; being Cayley is a stronger one.

The same construction, five different shapes — and the shape depends on the generating set, not the group alone.
Group GGenerating set SCay(G, S)What the picture shows
ℤ{1}Infinite path (the line)One step per generator; no loops, since ℤ is free on one element
ℤ/nℤ{±1}The n-cycleThe single loop of length n is the relation xⁿ = 1
ℤ²{(1, 0), (0, 1)}The square gridEvery unit square is the commutator relation ab = ba
F₂ = ⟨a, b⟩{a, b}Infinite 4-regular treeNo cycles at all — a free group has no nontrivial relations
S₃{(1 2), (2 3)} vs {(1 2 3), (1 2)}Hexagon vs. triangles joined by a matchingTwo honest pictures of one group, from two generating sets

Frequently asked questions

What is a Cayley graph, in one sentence?

Given a group G and a generating set S, the Cayley graph Cay(G, S) has one vertex for each element of G and an edge labelled s from g to gs for every s ∈ S — so the group becomes a space in which words are paths and the element a word equals is the vertex you land on.

Why do people say cycles encode relations?

A closed walk from the identity spells out a word in the generators that evaluates to 1, which is exactly a relation; conversely every relation closes a loop at every vertex. That is why the free group F₂ gives a cycle-free 4-regular tree, ℤ/nℤ gives an n-cycle from xⁿ = 1, and ℤ² gives square tiles from ab = ba.

Does the Cayley graph depend on the generating set?

Yes, and this is the most common misunderstanding. ℤ with S = {1} is an infinite line, while ℤ with S = {2, 3} is a 4-regular graph riddled with short cycles. Different generating sets for one group give genuinely different graphs; only quasi-isometry invariants, such as growth type, are properties of the group itself.

Is every vertex-transitive graph a Cayley graph?

No. Every Cayley graph is vertex-transitive, since left multiplication by any g is an automorphism taking the identity to g, but the converse fails. The Petersen graph is vertex-transitive and 3-regular yet is not a Cayley graph, because its automorphism group contains no subgroup of order 10 acting simply transitively on the vertices.

When is a Cayley graph connected?

Exactly when S generates G. The component containing the identity consists of all products of generators and their inverses, which is the subgroup ⟨S⟩; if that subgroup is proper, the graph splits into one isomorphic component per coset of ⟨S⟩.

What is the word metric good for?

Give each edge length 1 and the distance between g and h is the fewest generators needed to express g⁻¹h. This makes a finitely generated group a metric space, so geometric tools apply: growth rate is a quasi-isometry invariant, and Gromov's 1981 theorem says a finitely generated group has polynomial growth if and only if it is virtually nilpotent.