The Combinatorics of the Row

How many twelve-tone rows are there, and how many are really different?

A Question Settled by Counting

Most questions about music are settled by examples and argument. This one can be settled by counting. The twelve-tone method allows only a fixed number of rows. If every one of them can be checked, the question of whether rows avoid tonal relationships has a definite answer. The book calls this the argument from the finite space: the question "has a definite answer, which can be found by examining every case."

Why 12!

Build a row one note at a time.

  • The first note can be any of the 12.
  • The second can be any of the 11 that remain.
  • The third, any of the 10 that remain. And so on, down to the last note, for which only 1 choice is left.

Each choice multiplies the number of possible rows. This is the multiplication principle: if one step has a options and the next has b, together they have a × b.

12 × 11 × 10 × 9 × 8 × 7 × 6 × 5 × 4 × 3 × 2 × 1 = 12! = 479,001,600The exclamation mark is read "factorial." n! means the product of every whole number from 1 to n.

Build a Row and Watch the Choices Shrink

Pick the notes in any order.

NotesOrderings
33! = 6
44! = 24
66! = 720
88! = 40,320
1010! = 3,628,800
1111! = 39,916,800
1212! = 479,001,600

Factorials grow fast. Each extra note multiplies the total. That is why the number feels huge, and why a computer is needed to check them all. The book's census ran through every one in 17 seconds.

Why the Census Checks Only 11!

Transposing a row moves every note by the same amount, and so it moves every relationship with it. A leading tone stays a leading tone, a semitone higher or lower. So any measurement of tonal relationships gives the same result for a row and all twelve of its transpositions.

Claim: the rows that begin on C stand for all rows. There are 11! of them.
  1. Every row begins on some note k. Transposing it down by k gives a row that begins on C. That is, T−k maps it to a row starting on 0.
  2. Different rows starting on C stay different under this map, and every row starting on C comes from exactly 12 rows (one per starting note).
  3. Rows beginning on C: the first note is fixed, and the other 11 notes can be in any order. That is 11! = 39,916,800.
  4. Check: 39,916,800 × 12 = 479,001,600 = 12!.
So the census counts each result once for a row on C and multiplies by 12. The book states this as Theorem 5.2. ∎

How Many Rows Are Really Different?

Twelve-tone composers treat a row, its retrograde, its inversion and its retrograde inversion, at any transposition, as forms of one row. So the natural question is how many row classes there are: groups of rows that are all forms of each other.

A first guess is to divide by 48, the number of forms per row:

479,001,600 ÷ 48 = 9,979,200

That guess is close but wrong. Some rows are symmetric, like Webern's Symphony row, so some of their 48 forms coincide. Those rows have fewer than 48 distinct forms, and dividing by 48 undercounts their classes. The correct answer, found by David Hunter and Paul von Hippel and checked in the book, is 9,985,920.

Burnside's Lemma

The tool for counting with symmetry is a theorem known as Burnside's lemma. In plain words: the number of classes equals the average, over all the operations, of how many rows each operation leaves unchanged.

number of classes = (1 ÷ |G|) × Σg in G Fix(g)G is the set of 48 operations: 12 transpositions, 12 inversions, 12 retrogrades and 12 retrograde inversions. Fix(g) is the number of rows that operation g leaves exactly as they were.

So the job is to count, for each of the 48 operations, how many rows it fixes. Most fix none.

Worked Proof: 9,985,920 Row Classes

Count the rows fixed by each kind of operation.
  1. Doing nothing (T0) fixes every row: 12! = 479,001,600.
  2. Transposition by 1 to 11 semitones fixes no row, because it changes the first note.
  3. Inversion fixes no row. A row fixed by an inversion x → (a − x) would need every note to equal its own mirror image, and at most two notes can do that. A row has twelve.
  4. Retrograde with transposition, xi → x11−i + n. For the row to be fixed, the note in position i and the note in position 11 − i must differ by n both ways, so 2n ≡ 0 (mod 12). That allows n = 0 or 6. With n = 0 a note would sit in two places, which a row forbids. Only n = 6 works.
  5. Count the rows fixed by retrograde plus a tritone. Positions pair up from the outside in: 1 with 12, 2 with 11, and so on, making six pairs. Each pair must hold a tritone, one note in each position. Choose which tritone goes in each of the six position pairs: 6! = 720 ways. Choose which of its two notes goes first: 26 = 64 ways. Total: 720 × 64 = 46,080 rows.
  6. Retrograde inversion, xi → a − x11−i. Each position pair must hold two notes that add up to a, mod 12. When a is even, two notes are their own partners (for a = 0, those are 0 and 6), and a row cannot place a note twice, so no row is fixed. When a is odd, the twelve notes split into six partner pairs, and the same count as step 5 gives 46,080 rows. There are six odd values of a: 6 × 46,080 = 276,480.
  7. Add up the fixed rows: 479,001,600 + 46,080 + 276,480 = 479,324,160.
  8. Divide by the 48 operations: 479,324,160 ÷ 48 = 9,985,920.
There are 9,985,920 distinct row classes. ∎

The proof also shows exactly how rare symmetry is. Of the 479,001,600 rows, only 46,080 + 276,480 = 322,560 are fixed by any operation other than doing nothing. The book reports symmetric row classes as about 0.13 percent of all classes. Yet Schoenberg used 2 among his 42 rows, and Webern used 4 among his 21. Webern, especially, went looking for them.

If you also count rotations (starting the row from a different position) as the same row, the number of classes falls to 836,017.

All-Interval Rows

An all-interval row uses each of the eleven intervals, from 1 to 11 semitones, exactly once between neighboring notes. Berg's Lyric Suite uses one. In 1965 Stefan Bauer-Mengelberg and Melvin Ferentz found them all by computer: 3,856 beginning on C, which reduce to 1,928 in normal form.

A simple fact explains why every all-interval row begins and ends a tritone apart. The eleven intervals add up to 1 + 2 + … + 11 = 66, which is 6 mod 12. The distance from the first note to the last is the sum of the steps, so it is always a tritone.

1 + 2 + … + 11 = 11 × 12 ÷ 2 = 66 ≡ 6 (mod 12)

Windows of Four

The census reads each row through windows of four neighboring notes: notes 1 to 4, then 2 to 5, and so on to 9 to 12. A row of twelve notes has nine such windows.

windows per row = 12 − 4 + 1 = 9possible ordered windows = 12 × 11 × 10 × 9 = 11,880

Every one of those 11,880 ordered windows was classified once, by hand-checked rules, before any row was scored. How the Census Works shows how they divide into tiers.

Only four rows beginning on C use a single interval throughout: the rising and falling chromatic scales (intervals 1 and 11) and the rising and falling cycles of fifths (intervals 7 and 5). Those four score the highest tonal index of any rows.

Further Reading

  • David J. Hunter and Paul T. von Hippel, "How Rare Is Symmetry in Musical 12-Tone Rows?" American Mathematical Monthly 110 (2003).
  • David L. Reiner, "Enumeration in Music Theory," American Mathematical Monthly 92 (1985).
  • Harald Fripertinger, "Enumeration in Musical Theory," Beiträge zur Elektronischen Musik 1 (1992), and his online tables of enumerations.
  • Stefan Bauer-Mengelberg and Melvin Ferentz, "On Eleven-Interval Twelve-Tone Rows," Perspectives of New Music 3 (1965).
  • Robert Morris, "Combinatoriality without the Aggregate," Perspectives of New Music 21 (1982 to 1983).
  • Kenneth H. Rosen, Discrete Mathematics and Its Applications (McGraw-Hill, many editions). Clear chapters on counting and permutations.
  • Joseph A. Gallian, Contemporary Abstract Algebra (many editions). Burnside's lemma with examples.

In the Book