Representation Theory of the Square: D4, Subgroups, and Decomposition

This post introduces representation theory through the concrete example of a square's symmetries. We translate geometric symmetries into linear algebra via matrices, develop the basic definitions (group, representation, subrepresentation, irreducibility), write down explicit matrix models for the dihedral group D4, analyze restrictions to subgroups (rotations C4, reflections C2), and present the full character table of D4. The goal is a clear, self-contained reference that can be copied directly into a project.

1. Intuitive Overview: Symmetry as Linear Action

Symmetries in mathematics are transformations that leave an object the same aka indistinguishable from the pre-transformation state. For example take a square, rotate it 90 degrees, and it looks the same. Or draw a line through the middle and reflect it across the line and it looks the same. These rotations and reflectionsare what we call symmetries. Representation theory translates these symmetries into concrete linear transformations of a vector space: typically in form of matrices acting on coordinates. This translation into linear transformations is the mathematical formalization of the intuitive concept of symmetry.

2. Basic Definitions

Ahead of the discussion it is important to understand the following mathematical concepts.

2.1 Group

A group G is a set of elements g with a binary operation . These elements can be numbers, coordinates or whatever, and the operation can be addition, multiplication or whatever (binary just means it takes 2 arguments and puts one value out). These elements and operation must satisfy the following axioms:

If additionally the order of elements does not matter for the result, i.e. g₁ ⋅ g₂ = g₂ ⋅ g₁ for all g₁, g₂ ∈ G, then the group is called abelian or cummutative. Examples: integers under addition; nonzero reals under multiplication; symmetries of a polygon under composition.

2.2 Field

A field F is a set of elements f called scalars with two binary operations + and satisfying the following rules:

Examples: real numbers, complex numbers, rational numbers.

2.3 Vector Space

A vector v is a tuple of of elements of a field (f₁ , f₂ , f₃ ...). A tuple is essentially a list, of stuff where the order matters. For example (1, 2, 3) is a vector aka tuple of the field of real numbers. (2, 1, 3) is not the same vector! The Vector lives in the so called vector space V over a field F with a vector addition operation + and a field multiplication operation aka scalar multiplication. Let v₁ = (f₁, f₂, f₃, ...) and v₂ = (g₁, g₂, g₃, ...) be two vectors in V. Vector addition: v₁ + v₂ = (f₁ + g₁, f₂ + g₂, f₃ + g₃, ...) field multiplication: For a scalar c ∈ F, c ⋅ v₁ = (c ⋅ f₁, c ⋅ f₂, c ⋅ f₃, ...) The vector space is defined to have the following properties:

Examples: real numbers, complex numbers, rational numbers.

2.4 GL(V)

The general linear group GL(V) is the group of all invertible linear maps V → V (equivalently, all invertible matrices once a basis is chosen). A linear map is a function that preserves the vector addition and scalar multiplication operations. Let V and W be vector spaces over the same field F. A function T: V → W is a linear map if it satisfies:

2.4 Homomorphism

A homomorphism is a function mapping from a group G with group operation G to a group H with group operation H (can be addition, multiplication, etc.): φ: G → H The homomorphism φ has the property that for all g₁, g₂ ∈ G, φ(g₁ ⋅G g₂) = φ(g₁) ⋅H φ(g₂). If a homomorphism is also a bijection, then it is called an isomorphism (google for definition).

From now on we will not write out the group operation explicitly (like G or H). When we write products like g₁g₂ or φ(g₁)φ(g₂), the group operation (multiplication, addition, etc.) is implicit, depending on the group involved. For addition (such as in abelian groups or vector spaces), we will write v + w without any subscript, as usual.

Examples:

Schur's Lemma: Let G be a group, and let V and W be irreducible representations (see definition below) of G over a field F. If φ: V → W is a G-homomorphism (i.e., φ(g·v) = g·φ(v) for all g ∈ G, v ∈ V), then either:

Furthermore, if V = W and F is algebraically closed, then φ is a scalar multiple of the identity: φ = λ·idV for some λ ∈ F.

2.5 Representation

A (linear) representation of a group G over a field F is a homomorphism ρ: G → GL(V). It assigns to each g ∈ G an invertible linear operator ρ(g) on V such that ρ(g₁g₂) = ρ(g₁)ρ(g₂), ρ(e) = I, and ρ(g⁻¹) = ρ(g)⁻¹. The pair (V, ρ) is the representation space.

2.6 Subrepresentation and Irreducibility

A subspace W ⊆ V is invariant (a subrepresentation) if ρ(g)W ⊆ W for all g ∈ G. A representation is irreducible if it has no nontrivial invariant subspaces (only {0} and V). Decomposing a representation into irreducible summands is a central aim of the theory.

2.7 Direct Sum

If (V₁, ρ₁) and (V₂, ρ₂) are representations, their direct sum is V₁ ⊕ V₂ with action ρ(g)(v₁, v₂) = (ρ₁(g)v₁, ρ₂(g)v₂). Conceptually, this puts two independent representations side by side.

3. The Symmetry Group of the Square: D4

To see how representations work lets look at the symmetries of a square. The square is centered at the origin in the plane. Its symmetries form the dihedral group D4 (This is just a fancy name don't worry about it): The order of the group is the number of elements in the group, which is 8, because there are four rotations and four reflections illustrated in the figure below.

3.1 Elements and Relations

You can understand these the following: e means nothing is changed - the identity operation - , r is a rotation by 90 degrees, r² is r ⋅ r two rotations by 90 degrees chained right after each other, which results in a rotation by 180 degrees, r³ is a 3 rotations by 90° chaned together resulting in a rotation by 270 degrees, s is a reflection across the x-axis, sr² is two rotations by 90 degrees followed by a reflection across the x-axis which is the same as a reflection across the y-axis, and similarly sr is a reflection across the line y = x, sr³ is a reflection across the line y = -x

Presentation and core relations: r⁴ = e, s² = e, srs = r⁻¹.

3.2 Standard 2×2 Real Matrix Representation

The interesting thing now is that we can CHOOSE how to represent this square, the coice of the Field already matters. We can choose to represent the square as a vector space over the real numbers or the complex numbers . For real numbers the square corner points are represented as a two dimensional vector (x, y), the so called ℝ² vector space. For complex numbers the square corner points are represented as a one dimensional complex vector (x + yi) in . For this example we will choose . Then the representation of the square is a homomorphism ρ: D4 → GL(ℝ²). The group D4 acts on the square by rotating and reflecting it. The homomorphism ρ assigns to each element of D4 a linear transformation of ℝ² which takes the form of a 2x2 matrix acting on column vectors (x, y) in ℝ²:

These eight matrices are essentially fancy expressions for "rotating and reflecting the square in ℝ²" like the concept of the group D4 describes.

3.3 Alternative Rotation Models

4. Irreducibility of the Standard 2D Representation

Over ℝ², the standard 2D representation of D4 is irreducible. No nontrivial 1D subspace (line through the origin) is invariant under all eight matrices: a 90° rotation sends any chosen line to a different line, destroying invariance.

Over , the same 2D representation becomes reducible for the rotation subgroup: rotation by 90° has eigenvalues i and −i with eigenvectors proportional to (1, i) and (1, −i), so the complexified rotation action splits into two 1D characters. Reflections swap these two complex lines, which is why the full D4-action remains irreducible over but "mixes" the complex lines when reflections are included.

5. Restricting to Subgroups: C4 (Rotations) and C2 (One Reflection)

5.1 Rotation Subgroup C4 = ⟨r⟩

Restricting the standard 2D representation to C4 (elements e, r, r², r³):

5.2 Reflection Subgroup C2 = ⟨s⟩

Restricting to the subgroup generated by a single reflection (e.g., s = mirror across the x-axis): ρ(s) = [[1, 0], [0, −1]].

Therefore, as a representation of C2, ℝ² splits as a direct sum of two 1D irreducibles (trivial and sign). This is a clean example of reducibility after restriction to a subgroup.

5.3 Subrepresentation vs. Restriction

A subrepresentation is an invariant subspace for the same group action. The axes are not invariant under all of D4 (a 90° rotation moves the x-axis to the y-axis), so they are not subrepresentations of D4. They become invariant only after restricting the acting group to a reflection subgroup (C2).

6. Character Table of D4

Conjugacy classes of D4 and their sizes:

Irreducible representations: four 1D (A₁, A₂, B₁, B₂) and one 2D (E).

e r, r³ s, sr² sr, sr³
Class size 1 1 2 2 2
A₁ 1 1 1 1 1
A₂ 1 1 1 −1 −1
B₁ 1 1 −1 1 −1
B₂ 1 1 −1 −1 1
E 2 −2 0 0 0

The character of a representation is the trace of its matrices. For example, in the 2D standard representation E: χE(e)=2, χE(r²)=−2, χE(r)=χE(r³)=0, and all reflections have trace 0. Orthogonality of characters confirms completeness and enables decomposition of any representation into irreducibles.

As a consistency check, the sum of squares of the dimensions of the irreps equals the group order: 1² + 1² + 1² + 1² + 2² = 8 = |D₄|. This is a consequence of the decomposition of the regular representation: the regular representation has dimension |G| and decomposes as a direct sum of irreps, where each irrep Vi appears with multiplicity equal to its dimension, giving |G| = Σ(dim Vi)² over all irreducible representations.

7. Worked Examples and Comparisons

7.1 Standard 2D Rep Is Irreducible Over ℝ

No line through the origin is invariant under all of D4. Rotations by 90° map each candidate line to a different one, preventing a nontrivial invariant subspace.

7.2 Restricting to Rotations C4

Over the 2D action remains irreducible; over it splits into two 1D characters with eigenvalues i and −i. This corresponds to left- and right-circular "modes" (complex phases e±iπ/2).

7.3 Restricting to a Single Reflection C2

For s = [[1,0],[0,−1]], the x-axis (+1-eigenspace) and y-axis (−1-eigenspace) are invariant. Thus, as a C2-representation, ℝ² decomposes as a direct sum of two 1D irreducibles (trivial ⊕ sign).

8. Summary and Takeaways

Appendix: Notational Cheatsheet