Closure
Combine any two square symmetries and the result is still a square symmetry.
x ★ y ∈ D₄
Algebra & Number · An accessible first encounter
Instead of asking what a number equals, abstract algebra asks a deeper question: what rules survive when the objects change? We will discover a group before formally defining one.
01 · Opening mystery
Imagine a perfectly rigid square drawn on transparent glass. You may rotate it or flip it, but you are not allowed to stretch, cut, or bend it.
A movement counts as a symmetry when the square lands exactly on its original outline. A 90° rotation works. A 45° rotation does not.
Do not calculate yet. Make a prediction and decide what would make two movements genuinely different.
02 · Interactive laboratory
Every button applies a symmetry to the square’s current position. The outline stays fixed; the labels reveal what actually happened.
startThe identity e leaves every corner where it began.
03 · The big idea
Let D4 be the collection of the square’s eight symmetries. The operation is composition: perform one movement, then another.
A group is a collection of objects with an operation that satisfies four rules: closure, identity, inverses, and associativity.
Combine any two square symmetries and the result is still a square symmetry.
x ★ y ∈ D₄
Doing nothing is itself a symmetry, called e.
e ★ x = x ★ e = x
Every movement can be undone by another movement.
x ★ x⁻¹ = e
When three movements are composed, the grouping does not change the final movement.
(x ★ y) ★ z = x ★ (y ★ z)
The elements are not numbers: they are movements. Yet they obey a recognizable algebra. The same four rules appear in modular arithmetic, matrices, permutations, and many other settings.
04 · Composition laboratory
Select a first symmetry and a second symmetry. The app finds the single symmetry with exactly the same net effect.
The two steps move every vertex exactly as this reflection does.
v ∘ r = d
v ∘ r means “perform r first, then perform v.” Function notation uses the same convention.
Choose the first movement from the top row and the second movement from the left column. Each cell gives the final symmetry.
05 · A beautiful result
Rather than trying movements at random, we can count them with a proof.
Choose where corner A lands. It can land at any of the four corners.
Once A is placed, adjacent corner B has only two valid destinations: one on either side of A.
The destinations of C and D are then forced, because a rigid square must preserve adjacency.
The group of symmetries of a square has exactly eight elements: four rotations and four reflections.
This group is called the dihedral group D4. Some textbooks call it D8, counting the number of elements rather than the number of sides.A surprise inside the group
Ordinary addition satisfies 3 + 5 = 5 + 3. Symmetry composition does not always behave that way.
r→vThe net effect is reflection across the main diagonal.
v→rThe net effect is reflection across the other diagonal.
A group whose operation can depend on order is called noncommutative. Noncommutativity is central in matrix multiplication, three-dimensional rotations, quantum theory, and many physical symmetry groups.
06 · Think like an algebraist
Start with the original square. Rotate 90° clockwise, then reflect across the vertical axis. Which single symmetry has the same effect?
Track only A and B. After the rotation, A is at the top right. The vertical reflection moves it back to the top left.
Applying r first and v second gives v ∘ r. In the composition table, that equals d, reflection across the main diagonal. Every corner lands where d would send it.
07 · Friendly assessment
The questions focus on the main insights from the symmetry laboratory. Each answer receives an explanation immediately.
Where this idea leads
The same group idea expands into many regions of mathematics and science.
Arithmetic modulo n forms groups that help explain primes and cryptography.
→ Geometry & TopologyContinuous symmetries become Lie groups acting on curved spaces.
→ Algebra & NumberAlgebraic structures turn reversible operations into secure communication.
→ Algebra & NumberAbstract group elements become matrices that act on vector spaces.
→That is a small but authentic taste of what studying abstract algebra feels like.