What a group is: the symmetries of a square
The question
Can you match a target square using only quarter turns and flips, then find a move that undoes your work?
Keep track of where each corner goes.
- 1 SeeBuild a target from turns and flips.
- 2 TryCompare orders and find an undo.
- 3 ProveCheck what makes these moves a group.
- 4 ApplySolve problems with the same operations.
Before you start · 3 quick checks on functions, composition and coordinates
Two ideas before you start
2 ideasTrack the corners through a move
A square with corner labels. Choose a move to see where the labels go.
A symmetry returns the square to the same outline. Labels move with the corners, so different symmetries remain visible.
Exact definition
A symmetry of this square is a distance-preserving bijection of the plane that sends the square onto itself. The square is centered at the origin, with horizontal and vertical sides. Its corners are A at the top left, B at the top right, C at the bottom right and D at the bottom left.
The letters are tracking marks, not part of the shape that must be preserved. If each letter had to stay at its original position, only the identity would qualify. We compare final maps, not the paths taken by a moving tile.
A move is a function
Follow the corner A through a turn or a flip.
A move assigns a new position to every point. The flip uses the board's fixed vertical axis, even after a turn.
Exact definition
Write \(e\) for the identity, which leaves every point in place. Write \(r\) for a counterclockwise quarter turn about the center and \(s\) for reflection across the vertical axis through the center. Coordinates have positive \(x\) to the right and positive \(y\) upward.
The product \(gh\) means composition: do \(h\) first, then \(g\). At a point \(p\), \((gh)(p)=g(h(p))\). A power means repeated composition. An exponent of zero means the identity. This is the same order convention used in matrix multiplication.
Refresher: sets, functions and composition
A set is a collection of objects; here the objects will be moves. A function assigns exactly one output to each input. Applying one function and feeding its output into another defines their composition. Two functions are equal only when their outputs agree at every input. Agreement at one chosen point is not enough.
A bijection pairs inputs and outputs with no collisions and none left over. It can be reversed by a function called its inverse. For an example of functions on the plane, see a matrix as a map. You do not need matrix arithmetic to play this lesson.
A reflection is an allowed mathematical map even if a printed physical tile could not be flipped without hiding its labels. Treat the labels as visible from either side. Stretching, shearing, and sliding the square away from its original outline are not allowed.
Build the target with turns and flips
- Press Turn r or Flip s to change your square. Match every target letter.
- Reset square returns to the starting arrangement; Start over also clears goals and the table.
- Each move records a product: row is the new move, column is the previous map.
Your composition table
An unfilled cell means you have not recorded that product yet. Products name whole maps; two different button sequences can name the same map. In these names, r² and r³ mean repeated turns; a name ending in s applies the flip first.
Why does this list end? Choose where A goes. Its neighbor B must go to a neighboring corner, because a side cannot become a diagonal. The image of that adjacent pair fixes the remaining corners and hence the rigid motion. The rotations and reflections in the table realize every choice.
Moves can be composed without creating a new kind of object. A long history still acts like a single symmetry. This is the first reason to treat the moves as objects in their own right.
Compare a sequence with its reverse
Use what you found above. You may already have recorded these products in your table. Work out the destination of A before checking; the comparison opens after your choice.
One differing corner is enough to prove that two maps differ. Matching one corner would not prove equality: a reflection can fix a corner while moving other points. The labeled square keeps that distinction visible.
This does not say that every pair fails to commute. The identity commutes with every move, and rotations commute with one another. A group requires a consistent composition rule; it does not require swapping two factors to preserve the answer.
Find a move that undoes the current map
To undo an entire sequence, start with the inverse of the last action and work backward. Canceling a move from the wrong side can change which reflection axis the remaining expression represents. Write the order explicitly before simplifying.
Undo goals
Use the buttons to choose a map to apply after the goal map. The page computes the composition you actually chose. On the next goal, the choice clears so you can work out the new inverse.
What makes the moves a group?
Let G contain all distance-preserving bijections of the plane sending our fixed square onto itself. With composition as its operation, G is a group.
A group is a nonempty set with a binary operation satisfying closure, associativity, an identity, and an inverse for each element. Closure means a product stays in the set. Associativity allows changing parentheses while keeping the factor order. The identity does nothing on either side. An inverse cancels its element on either side.
Choose a valid step for each property. The wrong options refer to the same fixed square and the same r, s, and e as before. The count of symmetries describes this group; being finite is not part of the group definition.
The finite table checks this particular example. The function argument proves associativity without inspecting separate triples. Neither argument allows changing the order of the factors.
Connect the moves to matrices
These matrices act on column vectors centered at the square's center. Multiplying them composes the moves. The determinant separates rotations, which preserve orientation, from reflections, which reverse it. Its magnitude is the area scale factor; both kinds preserve area. The matrices give another description of the same maps, not another set of allowed moves.
The resulting group is called the dihedral group of the square. We write D₄ here, with the subscript counting sides; some authors instead name the group by its number of elements. Check the naming convention before comparing sources.
Use the moves as algebra
Each answer is a number. Enter an exact integer, decimal, or fraction with the same value. Hints and worked solutions are available after you make your own attempt or choose to open them.
Related lessons: a matrix as a map, matrix multiplication as composition, and area and orientation.
Further reading
- J. B. Fraleigh, A First Course in Abstract Algebra, section “Groups,” for the axioms and symmetry examples.
- M. A. Armstrong, Groups and Symmetry, chapters “Axioms” and “Dihedral Groups,” for groups built from geometric motions.