Module 3 · Weeks 6–7 · Graduate
Group Theory of Musical Transformations
The twelve pitch classes form a cyclic group. Transposition, inversion, and neo-Riemannian operations reveal the algebraic skeleton hidden inside every tonal chord progression.
1. Musical Transformations as Group Actions
We model the twelve pitch classes as \( \mathbb{Z}_{12} = \{0,1,\ldots,11\} \). The two fundamental operations are:
Transposition by n semitones:
\( T_n(p) = p + n \pmod{12} \)
Inversion about pitch class n:
\( I_n(p) = n - p \pmod{12} \)
Together, \( \{T_0, T_1, \ldots, T_{11}, I_0, I_1, \ldots, I_{11}\} \) form the dihedral group \( D_{12} \) of order 24. The 12 transpositions form a normal cyclic subgroup \( \mathbb{Z}_{12} \trianglelefteq D_{12} \), while adding any single inversion completes the semidirect product:
\( D_{12} \cong \mathbb{Z}_{12} \rtimes \mathbb{Z}_2 \)
This group acts faithfully on \( \mathbb{Z}_{12} \): each non-identity element moves at least one pitch class. Composition is \( T_m \circ T_n = T_{m+n} \) and \( I_m \circ I_n = T_{m-n} \).
2. The 24 Triads and D₁₂
A major triad is the set \( \{p, p+4, p+7\} \subseteq \mathbb{Z}_{12} \). Transposing gives 12 major triads; inverting a major triad yields a minor triad. Thus \( D_{12} \) acts transitively on the 24 consonant triads (12 major + 12 minor).
Orbit-stabilizer theorem:
\( |D_{12}| = |\text{Orb}(X)| \cdot |\text{Stab}(X)| = 24 \cdot 1 = 24 \)
The stabilizer of any triad is trivial—no non-identity element of \( D_{12} \) fixes a consonant triad setwise.
In serial (twelve-tone) music the four row forms are: Prime (T), Inversion (I), Retrograde (R), Retrograde-Inversion (RI). These too live inside \( D_{12} \) when we view a tone row as an ordered 12-tuple.
3. Neo-Riemannian Theory: P, L, R
Hugo Riemann's harmonic dualism, revived by Lewin, Hyer, and Cohn, defines three parsimonious voice-leading operations on triads. Each moves exactly one note by one or two semitones:
P (Parallel)
Keeps root and fifth, moves the third:
\( \{0,4,7\} \xrightarrow{P} \{0,3,7\} \)
C major ↔ C minor
L (Leading-tone)
Keeps minor third and fifth, moves root:
\( \{0,4,7\} \xrightarrow{L} \{11,4,7\} = \text{E minor} \)
C major ↔ E minor
R (Relative)
Keeps root and third, moves the fifth:
\( \{0,4,7\} \xrightarrow{R} \{9,0,4\} = \text{A minor} \)
C major ↔ A minor
Each operation is an involution (\( P^2 = L^2 = R^2 = \text{id} \)). Together they generate a group isomorphic to \( D_{12} \) acting on the 24 triads. The composition \( L \circ P \) has order 12, and \( P \circ R \) has order 12, giving the full dihedral structure.
Python Simulation: Group Actions on Pitch Classes
Visualising the dihedral group D₁₂ acting on pitch classes: transpositions vs inversions of C major, the PLR graph on the 24 consonant triads, the Z₁₂ Cayley table, and Messiaen modes of limited transposition.
Click Run to execute the Python code
Code will be executed with Python 3 on the server
4. Interactive Tonnetz Explorer
The Tonnetz is a planar lattice where the horizontal axis moves by fifths (7 semitones) and the vertical axis by major thirds (4 semitones). Triads appear as triangles. Click any hexagon to set a new root, or use P/L/R to navigate.
Transformation history:
5. Lewin's Generalized Interval Systems
David Lewin unified musical interval theory in his 1987 monograph by defining a Generalized Interval System (GIS) as a triple\( (S, G, \text{int}) \) where:
- \( S \) is a set of musical objects (pitch classes, time points, etc.)
- \( G \) is a group (the “interval group”)
- \( \text{int}: S \times S \to G \) satisfies\( \text{int}(r,t) = \text{int}(r,s) \cdot \text{int}(s,t) \)
Torsor interpretation:
A GIS is precisely a principal homogeneous space (torsor) for \( G \). The group \( G \) acts simply transitively on \( S \): for any\( s, t \in S \) there exists a unique \( g \in G \) with \( g \cdot s = t \). This is the algebraic meaning of “interval.”
The power of Lewin's framework: the same formalism describes pitch-class intervals (\( G = \mathbb{Z}_{12} \)), duration ratios (\( G = \mathbb{Q}^+ \)), and even timbral distances when \( G \) is a continuous group.
6. Messiaen's Modes of Limited Transposition
Olivier Messiaen catalogued pitch-class sets that are invariant under some non-trivial transposition \( T_k \) with \( 0 < k < 12 \). The stabilizer of such a set under the transposition group \( \mathbb{Z}_{12} \) is a non-trivial subgroup.
Example — the whole-tone scale:
\( W = \{0,2,4,6,8,10\} \). Its stabilizer is\( \text{Stab}(W) = \{T_0, T_2, T_4, T_6, T_8, T_{10}\} \cong \mathbb{Z}_6 \).
Orbit-stabilizer theorem:
\( |\text{Orb}(W)| = \frac{|\mathbb{Z}_{12}|}{|\text{Stab}(W)|} = \frac{12}{6} = 2 \)
There are only 2 distinct whole-tone scales—the minimum possible number of transpositions.
Messiaen's seven modes correspond to subgroups of \( \mathbb{Z}_{12} \) of orders 2, 3, 4, and 6. The octatonic scale (diminished) has stabilizer \( \mathbb{Z}_3 \) giving 3 transpositions, while the augmented scale has \( \mathbb{Z}_4 \) giving 3 transpositions as well. No scale with a stabilizer \( \mathbb{Z}_1 \) (trivial) qualifies—such scales have the full 12 transpositions.