Foundational Mathematical Frameworks for Music Theory
The mathematical formalization of music theory begins with the recognition that the fundamental materials of pitch and rhythm possess inherent discrete structures amenable to algebraic and combinatorial treatment. This chapter establishes the core mathematical language that will serve as the foundation for the entire text. We introduce group theory, specifically the cyclic group $\mathbb{Z}/12\mathbb{Z}$ for pitch-class representation, along with basic set theory and operations for pitch-class sets. Modular arithmetic provides the mechanism for precise interval calculation, while introductory graph theory models voice-leading spaces. These tools allow us to define pitch, interval, chord, and voice-leading as rigorous mathematical objects. A detailed derivation of the pitch-class clock diagram and its algebraic properties is provided, culminating in a practical case study that formalizes the ubiquitous 'T/I' group action on pitch-class sets. This framework transcends specific stylistic boundaries, offering a unified lens through which to view tonal, post-tonal, and non-Western musical systems.
1.1 The Cyclic Group of Pitch Classes: $\mathbb{Z}/12\mathbb{Z}$
The most fundamental mathematical structure in pitch-based music theory is the cyclic group of order 12, denoted $\mathbb{Z}/12\mathbb{Z}$ or $C_{12}$. This group arises from the physical and psychoacoustic reality of the equally tempered octave, which is divided into 12 pitch classes. A pitch class is the set of all pitches that are related by octave equivalence; for instance, all C’s across the piano keyboard belong to the same pitch class.
Definition 1.1 (Pitch Class as a Group Element). Let the integers $\{0, 1, 2, \dots, 11\}$ represent the 12 pitch classes, where we conventionally assign:
- $0 \equiv$ C
- $1 \equiv$ C♯/D♭
- $2 \equiv$ D
- ...
- $11 \equiv$ B
The group operation is addition modulo 12 ($+_{12}$). For any two pitch classes $a, b \in \mathbb{Z}/12\mathbb{Z}$, their sum is $(a + b) \mod 12$.
Example 1.1. $3 +_{12} 5 = 8$ (E♭ + F = G). $9 +_{12} 5 = 2$ (A + F = D, since $14 \mod 12 = 2$).
This algebraic structure is not arbitrary; it is an isomorphism to the geometric circle of pitch classes. The operation $+_{12}$ corresponds to clockwise rotation on a clock face, where each number represents an hour (or a pitch-class position). This visualization is the pitch-class clock diagram.
Theorem 1.1 (Group Properties). $(\mathbb{Z}/12\mathbb{Z}, +_{12})$ satisfies the four group axioms: 1. Closure: $a +_{12} b \in \mathbb{Z}/12\mathbb{Z}$ for all $a, b$. 2. Associativity: $(a +_{12} b) +_{12} c = a +_{12} (b +_{12} c)$ (inherited from integer addition). 3. Identity: The identity element is $0$ (C). $a +_{12} 0 = 0 +_{12} a = a$. 4. Inverse: For each $a$, its inverse is $-a \mod 12$, which is $12 - a$ (for $a \neq 0$). The inverse of $3$ (E♭) is $9$ (A), since $3 +_{12} 9 = 0$.
Derivation of the Clock Diagram's Algebraic Properties: The clock diagram is a Cayley graph for the cyclic group $\mathbb{Z}/12\mathbb{Z}$ with the standard generator $+1$. Its vertices are the 12 group elements. There is a directed edge from $x$ to $x+1$ for each $x$, often drawn as a clockwise arrow. The diagram's rotational symmetry of order 12 reflects the group's cyclic nature. The generator of the group is the element $1$ (or any element coprime to 12, such as $5$ or $7$), because repeated application of $+1$ (or $+5$, etc.) cycles through all 12 elements before returning to the identity. The subgroup generated by $1$ is the entire group. The subgroup generated by $2$ (whole steps) is $\{0,2,4,6,8,10\}$, the whole-tone collection, a crucial object in later chapters.
```mermaid graph TD subgraph “Pitch-Class Clock (Cayley Graph for Generator +1)” A[0 (C)] --> B[1 (C♯)] B --> C[2 (D)] C --> D[3 (E♭)] D --> E[4 (E)] E --> F[5 (F)] F --> G[6 (F♯)] G --> H[7 (G)] H --> I[8 (G♯)] I --> J[9 (A)] J --> K[10 (A♯)] K --> L[11 (B)] L --> A end ```
Musical Interpretation: The group operation $+_{12}$ models transposition. Transposing a pitch class $p$ by $t$ semitones yields $p +_{12} t$. This is the fundamental operation of tonal and post-tonal harmony. The inverse operation is inversion about a fixed axis $x$, defined as $I_x(p) = x - p \mod 12$. When $x=0$, this is simple retrograde/inversion around C. These operations form the T/I group, which we will study in detail in Section 1.5.
1.2 Pitch-Class Sets and Set Theory
A pitch-class set (pc-set) is an unordered collection of distinct pitch classes. Formally, it is a finite subset of $\mathbb{Z}/12\mathbb{Z}$. Set theory provides the language for describing chords, scales, and any other pitch constellations without regard to octave, order, or duplication.
Definition 1.2 (Pitch-Class Set). A pc-set is a set $S = \{p_1, p_2, \dots, p_k\}$ where each $p_i \in \mathbb{Z}/12\mathbb{Z}$ and $p_i \neq p_j$ for $i \neq j$. The cardinality of $S$ is $|S| = k$.
Example 1.2. A C major triad: $S = \{0, 4, 7\}$. A whole-tone scale: $S = \{0, 2, 4, 6, 8, 10\}$.
The standard set operations—union, intersection, set difference, and complement—are defined with respect to the universal set $\mathcal{U} = \mathbb{Z}/12\mathbb{Z}$ (all 12 pitch classes).
- **Union:** $S \cup T = \{x \mid x \in S \text{ or } x \in T\}$
- **Intersection:** $S \cap T = \{x \mid x \in S \text{ and } x \in T\}$
- **Complement:** $S^c = \mathcal{U} \setminus S = \{x \mid x \notin S\}$
- **Set Difference:** $S \setminus T = S \cap T^c$
Example 1.3. Let $S = \{0, 4, 7\}$ (C major) and $T = \{0, 3, 6, 9\}$ (C diminished seventh).
- $S \cup T = \{0, 3, 4, 6, 7, 9\}$
- $S \cap T = \{0\}$
- $S^c = \{1,2,3,5,6,8,9,10,11\}$ (the pitch classes not in the triad)
These operations have direct musical meaning. The complement of a set is its complementary harmony. In a 12-tone context, the complement of a hexachord (6-note set) is another hexachord. The relationship between a set and its complement is a cornerstone of combinatoriality in serial music.
1.3 Interval Calculation and Modular Arithmetic
Intervals are the building blocks of melodic and harmonic motion. Mathematically, an interval is the directed distance between two pitch classes.
Definition 1.3 (Ordered Interval). For pitch classes $a$ and $b$, the ordered interval from $a$ to $b$ is $i = (b - a) \mod 12$. The result is always an integer in $\{0, 1, \dots, 11\}$.
Example 1.4. Interval from C (0) to G (7): $(7 - 0) \mod 12 = 7$ (a perfect fifth). Interval from G (7) to C (0): $(0 - 7) \mod 12 = 5$ (a perfect fourth, the inverse of a fifth). This asymmetry is crucial: motion up a fifth is not the same as motion down a fifth, though they are related by inversion.
The unordered interval (or interval class) is the smaller of $i$ and $12-i$, representing the distance regardless of direction. It belongs to the set $\{0, 1, 2, 3, 4, 5, 6\}$. Interval class 1 (minor 2nd/major 7th) and 6 (tritone) are symmetric.
Definition 1.4 (Interval Vector). For a pc-set $S$, its interval vector (or IC vector) is a 6-element tuple $\mathbf{iv} = (ic_1, ic_2, ic_3, ic_4, ic_5, ic_6)$, where $ic_k$ counts the number of occurrences of interval class $k$ between all distinct pairs of elements in $S$. The count is computed modulo octave equivalence and without regard to order.
The interval vector is a combinatorial invariant of a set under transposition and inversion. Two sets with the same interval vector are said to be Z-related (a concept explored in Chapter 3).
Example 1.5. For $S = \{0, 4, 7\}$ (C major):
- Pairs: (0,4)=4, (0,7)=7→ic5, (4,7)=3.
- So $\mathbf{iv}(S) = (0,0,1,0,1,0)$. This vector uniquely identifies the major triad (and its transpositions/inversions) among all 3-note sets.
**Computati