<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Group-Theory on Sebastian Spicker</title>
    <link>https://sebastianspicker.github.io/tags/group-theory/</link>
    <description>Recent content in Group-Theory on Sebastian Spicker</description>
    <image>
      <title>Sebastian Spicker</title>
      <url>https://sebastianspicker.github.io/og-image.png</url>
      <link>https://sebastianspicker.github.io/og-image.png</link>
    </image>
    <generator>Hugo -- 0.160.0</generator>
    <language>en</language>
    <lastBuildDate>Mon, 07 Jul 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sebastianspicker.github.io/tags/group-theory/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Star Polygons and Drum Machines</title>
      <link>https://sebastianspicker.github.io/posts/tool-star-polygons-drum-machines/</link>
      <pubDate>Mon, 07 Jul 2025 00:00:00 +0000</pubDate>
      <guid>https://sebastianspicker.github.io/posts/tool-star-polygons-drum-machines/</guid>
      <description>The {7/2} heptagram is not only a symbol. It is a traversal algorithm over seven beat positions. Because 7 is prime, that traversal never gets trapped in a sub-orbit.</description>
      <content:encoded><![CDATA[<p>Two star polygons appear in Danny Carey&rsquo;s visual vocabulary, and they are not the same star. One is open, almost friendly — seven points connected by relatively shallow angles. The other is sharper, the points more acute. They look like variations on a theme, which is accurate: both are drawn on seven equally spaced vertices, but one connects every second vertex and the other connects every third.</p>
<p>In Schläfli notation — the system for naming regular star polygons — these are $\{7/2\}$ and $\{7/3\}$ <a href="#ref-1">[1]</a>. Both appear in Tool&rsquo;s artwork, in Thelemic symbolism, in medieval Islamic geometric patterns, and on the floor plans of cathedrals. They are the most visually intricate star polygons that can be drawn in a single closed stroke before the figure becomes illegible.</p>
<p>Both of them have a property that five-pointed and six-pointed stars do not share: they visit every vertex before closing. This is a consequence of 7 being prime. And it turns out to matter for how rhythmic accent cycles are built.</p>
<h2 id="the-schläfli-symbol">The Schläfli Symbol</h2>
<p>A regular star polygon $\{n/k\}$ is constructed by placing $n$ points evenly on a circle and connecting every $k$-th point in sequence until the path closes. The structural key is a single number:</p>
$$d = \gcd(n, k).$$<p>If $d = 1$, the traversal visits all $n$ vertices before returning to the start — a single connected figure. If $d > 1$, the path visits only $n/d$ vertices before closing, and the full figure consists of $d$ separate copies of the smaller star $\{(n/d)\,/\,(k/d)\}$.</p>
<p>The most familiar example of the disconnected case: $\{6/2\}$, the Star of David. Here $\gcd(6,2) = 2$, so the figure breaks into two copies of $\{3/1\} = \{3\}$ — two overlapping equilateral triangles. The traversal starting at vertex 1 visits $1 \to 3 \to 5 \to 1$, leaving vertices 2, 4, 6 entirely unvisited.</p>
<p>The pentagram $\{5/2\}$ is connected: $\gcd(5,2)=1$, traversal $1 \to 3 \to 5 \to 2 \to 4 \to 1$, all five vertices.</p>
<p>For $n=7$:</p>
<ul>
<li>$\{7/2\}$: $\gcd(7,2)=1$, traversal $1 \to 3 \to 5 \to 7 \to 2 \to 4 \to 6 \to 1$, all seven vertices.</li>
<li>$\{7/3\}$: $\gcd(7,3)=1$, traversal $1 \to 4 \to 7 \to 3 \to 6 \to 2 \to 5 \to 1$, all seven vertices.</li>
</ul>
<p>Both connected. Neither leaves any vertex unvisited.</p>
<h2 id="the-group-theory">The Group Theory</h2>
<p>The traversal of $\{n/k\}$ is an instance of a standard construction in modular arithmetic: the <strong>orbit</strong> of an element under repeated addition in $\mathbb{Z}/n\mathbb{Z}$.</p>
<p>Label the $n$ vertices $0, 1, \ldots, n-1$. Starting at vertex 0, the traversal visits:</p>
$$0, \quad k \bmod n, \quad 2k \bmod n, \quad 3k \bmod n, \quad \ldots$$<p>The orbit of 0 under the action of $+k$ is the subgroup of $\mathbb{Z}/n\mathbb{Z}$ generated by $k$. By a standard result, this subgroup has size $n / \gcd(n,k)$.</p>
<ul>
<li>When $\gcd(n,k) = 1$: orbit size $= n$. The traversal visits every vertex.</li>
<li>When $\gcd(n,k) = d > 1$: orbit size $= n/d$. The traversal visits only a fraction of the vertices.</li>
</ul>
<p>For prime $n$: $\gcd(n,k) = 1$ for every $1 \leq k \leq n-1$, without exception. <strong>Every traversal is complete.</strong> There is no step size that traps the path in a proper sub-orbit before visiting all vertices. This follows directly from the fact that a prime has no divisors other than 1 and itself, so $\mathbb{Z}/p\mathbb{Z}$ has no non-trivial subgroups (Lagrange&rsquo;s theorem: any subgroup of a group of prime order must have order 1 or $p$).</p>
<p>This is the specific property that makes 7 — and any prime — rhythmically fertile.</p>
<h2 id="the-contrast-with-six">The Contrast with Six</h2>
<p>The comparison with $n = 6$ is the clearest illustration.</p>
<p>In $\mathbb{Z}/6\mathbb{Z}$, the possible step sizes are 1, 2, 3, 4, 5. Their orbits:</p>
<table>
  <thead>
      <tr>
          <th>Step $k$</th>
          <th>$\gcd(6,k)$</th>
          <th>Orbit size</th>
          <th>Vertices visited</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>1</td>
          <td>1</td>
          <td>6</td>
          <td>0,1,2,3,4,5 (the hexagon)</td>
      </tr>
      <tr>
          <td>2</td>
          <td>2</td>
          <td>3</td>
          <td>0,2,4 only</td>
      </tr>
      <tr>
          <td>3</td>
          <td>3</td>
          <td>2</td>
          <td>0,3 only</td>
      </tr>
      <tr>
          <td>4</td>
          <td>2</td>
          <td>3</td>
          <td>0,2,4 only</td>
      </tr>
      <tr>
          <td>5</td>
          <td>1</td>
          <td>6</td>
          <td>0,5,4,3,2,1 (the hexagon reversed)</td>
      </tr>
  </tbody>
</table>
<p>The only step sizes that visit all six vertices are 1 and 5 — both of which just traverse the hexagon itself, not a star. Every non-trivial star polygon on six points gets trapped. $\{6/2\}$ visits only half the vertices. $\{6/3\}$ visits only two. There is no connected six-pointed star that isn&rsquo;t either the hexagon or a compound figure.</p>
<p>In $\mathbb{Z}/7\mathbb{Z}$, every step from 2 to 5 generates the full group:</p>
<table>
  <thead>
      <tr>
          <th>Step $k$</th>
          <th>$\gcd(7,k)$</th>
          <th>Orbit size</th>
          <th>Traversal</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>2</td>
          <td>1</td>
          <td>7</td>
          <td>1,3,5,7,2,4,6</td>
      </tr>
      <tr>
          <td>3</td>
          <td>1</td>
          <td>7</td>
          <td>1,4,7,3,6,2,5</td>
      </tr>
      <tr>
          <td>4</td>
          <td>1</td>
          <td>7</td>
          <td>1,5,2,6,3,7,4</td>
      </tr>
      <tr>
          <td>5</td>
          <td>1</td>
          <td>7</td>
          <td>1,6,4,2,7,5,3</td>
      </tr>
  </tbody>
</table>
<p>All four non-trivial step sizes give connected traversals. Both are stars. Both visit every vertex. This is not a coincidence: it is the algebraic signature of primality.</p>
<h2 id="from-geometry-to-rhythm">From Geometry to Rhythm</h2>
<p>The connection to drumming is direct. Here is the mechanism.</p>
<p>Consider a repeating rhythmic figure of 7 beats — a bar of 7/8, say, with positions 1 through 7. An <a href="/posts/euclidean-rhythms/">earlier post</a> discussed Euclidean rhythms: the algorithm that distributes $k$ onset positions as evenly as possible among $n$ slots. That is a problem of <em>selection</em> — which of the $n$ positions to activate.</p>
<p>The star polygon traversal asks a different question. Given that all $n$ positions are present, in what <em>order of emphasis</em> should they be related, such that each accent is a fixed distance from the last? The traversal of $\{n/k\}$ answers this: accent position $1$, then $1+k$, then $1+2k$, and so on modulo $n$.</p>
<p>For $\{7/2\}$: the accent cycle within a single bar runs $1 \to 3 \to 5 \to 7 \to 2 \to 4 \to 6$. Each featured beat is two positions ahead of the last.</p>
<p>Now project this across multiple bars. In bar 1, the primary accent sits on beat 1. In bar 2, if the accent shifts by 2, it lands on beat 3. Bar 3: beat 5. Bar 4: beat 7. Bar 5: beat 2. Bar 6: beat 4. Bar 7: beat 6. Bar 8: beat 1 again.</p>
<p>The accent takes <strong>seven bars</strong> to return to its starting position. Because $\gcd(2,7) = 1$, the step of 2 generates all of $\mathbb{Z}/7\mathbb{Z}$: every beat position receives the accent exactly once before the cycle resets. The resulting large-scale figure is $7 \times 7 = 49$ beats long — a super-phrase built from a single local rule.</p>
<p>The $\{7/3\}$ traversal generates the same exhaustiveness with a different path. Step 3 gives $1 \to 4 \to 7 \to 3 \to 6 \to 2 \to 5$: a seven-bar accent cycle that visits every position before repeating, but with wider spacing between accented beats, creating a different feel over the same underlying meter.</p>
<p>A six-beat figure with step 2 cannot do this. The accent visits only beats 1, 3, 5 — half the cycle — and loops back without touching beats 2, 4, 6. A drummer building phrase-level architecture from a six-beat grid is working with a more fragmented material.</p>
<h2 id="two-problems-one-prime">Two Problems, One Prime</h2>
<p>It is worth stating the relationship between the star polygon approach and Euclidean rhythms precisely, because the two are sometimes conflated <a href="#ref-2">[2]</a>.</p>
<p>The Euclidean algorithm distributes $k$ onsets among $n$ positions with maximal evenness. The result is a <em>subset</em> of the $n$ positions — a selection. The primality of $n$ matters here too: because $\gcd(k,p) = 1$ for prime $p$ and any $1 \leq k \leq p-1$, the Euclidean rhythm $E(k,p)$ always achieves its theoretical maximum of evenness. There are no divisibility shortcuts that cause clumping.</p>
<p>The star polygon traversal selects <em>no subset</em> — it relates all $n$ positions via a cyclic permutation. The primality of $n$ matters here because it guarantees that every non-trivial cyclic permutation (every step size $k$ with $1 < k < n$) generates the full group, visiting all positions before repeating.</p>
<p>Same arithmetic property — $\gcd(k,p) = 1$ for all non-zero $k$ — but the two problems ask different things of it. Euclidean rhythms use it to guarantee dense coverage. Star polygon traversals use it to guarantee no sub-orbit trapping.</p>
<h2 id="the-compound-structure">The Compound Structure</h2>
<p>Written out explicitly, the $\{7/2\}$ accent pattern over seven bars looks like this — with bold marking the featured beat in each bar:</p>
$$\begin{array}{rccccccc}
\text{bar 1:} & \mathbf{1} & 2 & 3 & 4 & 5 & 6 & 7 \\
\text{bar 2:} & 1 & 2 & \mathbf{3} & 4 & 5 & 6 & 7 \\
\text{bar 3:} & 1 & 2 & 3 & 4 & \mathbf{5} & 6 & 7 \\
\text{bar 4:} & 1 & 2 & 3 & 4 & 5 & 6 & \mathbf{7} \\
\text{bar 5:} & 1 & \mathbf{2} & 3 & 4 & 5 & 6 & 7 \\
\text{bar 6:} & 1 & 2 & 3 & \mathbf{4} & 5 & 6 & 7 \\
\text{bar 7:} & 1 & 2 & 3 & 4 & 5 & \mathbf{6} & 7 \\
\end{array}$$<p>Each bar is metrically identical. The large-scale accent — which beat carries the phrase-level emphasis — traces the traversal path of the $\{7/2\}$ star polygon across the seven-bar cycle.</p>
<p>This is the kind of large-scale rhythmic architecture visible in a great deal of Tool&rsquo;s output. Whether Danny Carey explicitly constructs accent cycles from star polygon traversal paths, or whether the same structure emerges from his intuitive sense of how prime time signatures behave, produces the same result. The mathematics and the musical instinct point toward the same pattern.</p>
<h2 id="why-the-heptagram">Why the Heptagram</h2>
<p>The full mathematical picture of why seven-fold symmetry is special — why the regular heptagon cannot be constructed by compass and straightedge, what the minimal polynomial of $\cos(2\pi/7)$ implies about the heptagon&rsquo;s position outside the constructible world, and how the Galois group of the cyclotomic field over $\mathbb{Q}$ carries the obstruction — is developed in the companion post <a href="/posts/tool-impossible-heptagon/">The Impossible Heptagon</a>.</p>
<p>The short version, for the purposes of this post: seven is the smallest odd prime that is not a Fermat prime ($2^{2^j}+1$). This algebraic accident places it outside the reach of ruler-and-compass construction — the heptagon exists as an ideal but cannot be manifested by the classical tools. Its star polygons are the accessible shadows of an inaccessible form. And its primality, in both the constructibility sense and the traversal sense, is precisely what makes it inexhaustible as a rhythmic resource.</p>
<p>The Fibonacci structure in &ldquo;Lateralus&rdquo; <a href="#ref-3">[3]</a>, the group theory underlying twelve-tone equal temperament <a href="#ref-4">[4]</a>, and the Euclidean rhythm algorithm <a href="#ref-5">[5]</a> are all different facets of the same observation: mathematical structure, introduced as compositional constraint, generates musical complexity that cannot easily be produced by intuition alone. The star polygon is another instance. The drummer who keeps a heptagram on his kit has found, by a non-mathematical route, an object with a precise and interesting mathematical identity.</p>
<h2 id="references">References</h2>
<p><span id="ref-1"></span>[1] Coxeter, H.S.M. (1973). <em>Regular Polytopes</em> (3rd ed.). Dover. Ch. 2.</p>
<p><span id="ref-2"></span>[2] Toussaint, G. (2013). <em>The Geometry of Musical Rhythm: What Makes a &ldquo;Good&rdquo; Rhythm Good?</em> CRC Press.</p>
<p><span id="ref-3"></span>[3] See <a href="/posts/fibonacci-lateralus/">Fibonacci and Lateralus</a> on this blog.</p>
<p><span id="ref-4"></span>[4] See <a href="/posts/twelve-tet-group-theory-musical-tuning/">Twelve-TET and Group Theory</a> on this blog.</p>
<p><span id="ref-5"></span>[5] See <a href="/posts/euclidean-rhythms/">Euclidean Rhythms</a> on this blog.</p>
]]></content:encoded>
    </item>
    <item>
      <title>The Impossible Heptagon</title>
      <link>https://sebastianspicker.github.io/posts/tool-impossible-heptagon/</link>
      <pubDate>Mon, 15 Jan 2024 00:00:00 +0000</pubDate>
      <guid>https://sebastianspicker.github.io/posts/tool-impossible-heptagon/</guid>
      <description>Danny Carey calls it sacred geometry. Gauss proved it non-constructible. They are, unexpectedly, describing the same object.</description>
      <content:encoded><![CDATA[<p>Danny Carey — drummer of Tool, one of the most rhythmically inventive musicians in rock — keeps a seven-pointed star on his kit and speaks about it using the language of sacred geometry. The heptagram appears in Tool&rsquo;s visual artwork, in the Thelemic symbolism Carey draws on, in pre-modern cosmological diagrams, and in the decorative traditions of several cultures that had no contact with each other. The claim, loosely stated, is that seven-fold symmetry is privileged: that it reflects something structurally true, that its forms carry significance beyond the aesthetic.</p>
<p>The scientific reflex here is usually impatience. &ldquo;Sacred geometry&rdquo; occupies an uncomfortable cultural space — mathematically dressed, factually thin, reliant on the listener not checking claims too carefully. The golden ratio does not appear everywhere in nature. Most things described as sacred in this tradition are better described as things the speaker found surprising before learning a more precise vocabulary.</p>
<p>But the heptagon is genuinely strange. Not for the reasons usually given. For a different reason — a theorem.</p>
<p><strong>The regular heptagon cannot be constructed with compass and straightedge.</strong></p>
<p>Not &ldquo;it is difficult.&rdquo; Not &ldquo;no one has found a construction yet.&rdquo; The regular seven-sided polygon — all sides equal, all interior angles equal — is <em>provably impossible</em> to construct using an unmarked ruler and compass in finitely many steps. This has been known since 1801.</p>
<h2 id="the-classical-constraint">The Classical Constraint</h2>
<p>Greek geometry restricted its tools deliberately. An unmarked straightedge draws lines through two known points. A compass draws circles centred at a known point with a given radius. No angle trisection. No markings. No graduated instruments. Just these two operations, applied one at a time, finitely many times.</p>
<p>Within this constraint, a great deal is achievable. A perpendicular bisector. An equilateral triangle. A regular pentagon — which requires the golden ratio and takes some work, but is reachable. A regular hexagon (trivially: six equilateral triangles around a centre).</p>
<p>Then: nothing for the heptagon. Greek geometers left no construction. Medieval Islamic mathematicians, who knew the regular polygon problem well, left no construction. Albrecht Dürer, in his 1525 <em>Underweysung der Messung</em>, gave an approximate construction that falls short by a small but nonzero margin. Each generation encountered the same wall.</p>
<p>In 1796, an 18-year-old Gauss proved that the regular 17-gon <em>is</em> constructible — a result so unexpected that he reportedly decided at that moment to become a mathematician rather than a philologist. In his 1801 <em>Disquisitiones Arithmeticae</em> he gave the complete characterisation of which regular polygons are constructible and which are not <a href="#ref-1">[1]</a>. The heptagon was definitively placed among the impossible.</p>
<h2 id="gausss-theorem">Gauss&rsquo;s Theorem</h2>
<p>A regular $n$-gon is constructible with compass and straightedge if and only if $n$ has the form</p>
$$n = 2^k \cdot p_1 \cdot p_2 \cdots p_m$$<p>where $k \geq 0$ and the $p_i$ are distinct <strong>Fermat primes</strong> — primes of the form $2^{2^j} + 1$.</p>
<p>The Fermat primes currently known:</p>
<table>
  <thead>
      <tr>
          <th>$j$</th>
          <th>$F_j = 2^{2^j}+1$</th>
          <th>Prime?</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>0</td>
          <td>3</td>
          <td>✓</td>
      </tr>
      <tr>
          <td>1</td>
          <td>5</td>
          <td>✓</td>
      </tr>
      <tr>
          <td>2</td>
          <td>17</td>
          <td>✓</td>
      </tr>
      <tr>
          <td>3</td>
          <td>257</td>
          <td>✓</td>
      </tr>
      <tr>
          <td>4</td>
          <td>65537</td>
          <td>✓</td>
      </tr>
      <tr>
          <td>5</td>
          <td>4 294 967 297</td>
          <td>✗ (Euler, 1732)</td>
      </tr>
      <tr>
          <td>6</td>
          <td>18 446 744 073 709 551 617</td>
          <td>✗</td>
      </tr>
      <tr>
          <td>⋮</td>
          <td>⋮</td>
          <td>no further Fermat primes known</td>
      </tr>
  </tbody>
</table>
<p>Five Fermat primes are known, all identified by the seventeenth century. Fermat himself conjectured that all numbers of this form are prime; he was wrong from $j = 5$ onward. Whether any further Fermat primes exist remains an open problem.</p>
<p>The constructible regular polygons therefore include the triangle (3), square (4), pentagon (5), hexagon (6), octagon (8), decagon (10), 15-gon, 17-gon, 257-gon, 65537-gon, and products of these with powers of 2. The 65537-gon was actually fully constructed by Johann Gustav Hermes, who spent around ten years on the computation in the 1880s and deposited a manuscript reportedly filling a large trunk at the University of Göttingen, where it remains.</p>
<p>Seven is prime, but $7 \neq 2^{2^j} + 1$ for any $j$ — it is not a Fermat prime. Therefore the regular heptagon is not on the list. It is not constructible.</p>
<h2 id="the-algebra-behind-the-geometry">The Algebra Behind the Geometry</h2>
<p>Why does the structure of Fermat primes determine constructibility? The connection goes through algebra <a href="#ref-2">[2]</a><a href="#ref-3">[3]</a>.</p>
<p>Every compass-and-straightedge construction corresponds to solving a sequence of equations of degree at most 2. Bisecting an angle, finding an intersection of a line and a circle — each step is a quadratic operation. After $k$ such steps, the numbers reachable lie in some field extension of $\mathbb{Q}$ (the rationals) with degree over $\mathbb{Q}$ at most $2^k$. Constructibility therefore requires the degree of the relevant extension to be a power of 2.</p>
<p>To construct a regular $n$-gon, you need to construct the angle $2\pi/n$, which requires constructing $\cos(2\pi/n)$. The question is: over what kind of field extension does $\cos(2\pi/n)$ sit?</p>
<p>For $n = 7$: let $\omega = e^{2\pi i/7}$, a primitive 7th root of unity. The minimal polynomial of $\omega$ over $\mathbb{Q}$ is the 7th cyclotomic polynomial</p>
$$\Phi_7(x) = x^6 + x^5 + x^4 + x^3 + x^2 + x + 1,$$<p>which is irreducible over $\mathbb{Q}$, giving $[\mathbb{Q}(\omega) : \mathbb{Q}] = 6$. Since $\cos(2\pi/7) = (\omega + \omega^{-1})/2$, and since $\omega$ satisfies a degree-2 polynomial over $\mathbb{Q}(\cos 2\pi/7)$, we get</p>
$$[\mathbb{Q}(\cos 2\pi/7) : \mathbb{Q}] = 3.$$<p>Specifically, $c = \cos(2\pi/7)$ is the root of the irreducible cubic</p>
$$8c^3 + 4c^2 - 4c - 1 = 0,$$<p>or equivalently, $\alpha = 2\cos(2\pi/7)$ satisfies</p>
$$\alpha^3 + \alpha^2 - 2\alpha - 1 = 0.$$<p>The three roots of this cubic are $2\cos(2\pi/7)$, $2\cos(4\pi/7)$, and $2\cos(6\pi/7)$. By Vieta&rsquo;s formulas their sum is $-1$ and their product is $1$ — which can be verified directly from the identity $\cos(2\pi/7) + \cos(4\pi/7) + \cos(6\pi/7) = -1/2$.</p>
<p>The degree of the extension is 3. Three is not a power of 2. Therefore $\cos(2\pi/7)$ cannot be reached by any tower of quadratic extensions of $\mathbb{Q}$. Therefore the regular heptagon is not constructible. $\square$</p>
<p>Compare the pentagon: $\cos(2\pi/5) = (\sqrt{5}-1)/4$, satisfying the quadratic $4x^2 + 2x - 1 = 0$. Degree 2 — a power of 2. Constructible.</p>
<p>The 17-gon: the Galois group of $\mathbb{Q}(\zeta_{17})/\mathbb{Q}$ is $(\mathbb{Z}/17\mathbb{Z})^* \cong \mathbb{Z}/16\mathbb{Z}$, order $16 = 2^4$. The extension decomposes into four quadratic steps. This is exactly what Gauss computed at 18.</p>
<p>For 7: $(\mathbb{Z}/7\mathbb{Z})^* \cong \mathbb{Z}/6\mathbb{Z}$, order $6 = 2 \times 3$. The factor of 3 is the obstruction. The Galois group is not a 2-group, so the extension cannot be decomposed into quadratic steps. The heptagon is out of reach.</p>
<h2 id="sacred-precisely">Sacred, Precisely</h2>
<p>The phrase &ldquo;sacred geometry&rdquo; usually does work that &ldquo;elegant mathematics&rdquo; could do more honestly. But the heptagon is a case where something with genuine mathematical content sits underneath the mystical framing.</p>
<p>The Platonic tradition held that certain geometric forms exist as ideals — perfect, unchanging, more real than their physical approximations. The philosopher&rsquo;s claim is that the heptagon exists in a realm beyond its material instantiation. The mathematician&rsquo;s claim is: the heptagon is perfectly well-defined — seven equal sides, seven equal angles — but it cannot be reached from $\mathbb{Q}$ by the operations available to ruler and compass. You can approximate it to any desired precision. You can construct it exactly using origami, which allows angle trisection and is strictly more powerful than compass and straightedge <a href="#ref-4">[4]</a>. But the classical constructive program — the one that reaches the pentagon, the hexagon, the 17-gon, the 65537-gon — cannot reach the heptagon.</p>
<p>There is a precise mathematical sense in which it lies outside the constructible world. Whether that constitutes sacredness is a question for a different kind of argument. But it is not nothing. The Pythagoreans were working without Galois theory; they had an intuition without the theorem. The theorem, when it came, confirmed that intuition about seven while explaining it more clearly than they could.</p>
<p>Carey&rsquo;s intuition — that 7 sits outside the ordinary — is, by this route, formally correct.</p>
<h2 id="what-the-heptagram-is">What the Heptagram Is</h2>
<p>The regular heptagon may be impossible to construct exactly, but the heptagram — the seven-pointed star — is perfectly drawable. Connecting every second vertex of an approximate regular heptagon gives $\{7/2\}$ in Schläfli notation <a href="#ref-5">[5]</a>; connecting every third vertex gives $\{7/3\}$. Both are closed figures. Both appear throughout pre-modern symbolic traditions, which is unsurprising: they are the most intricate star polygons drawable with a single pen stroke before complexity outruns visibility.</p>
<p>They are also generators of rhythmic structure. Because 7 is prime, every star polygon on seven points visits all seven vertices in a single closed traversal — a property that does not hold for six-pointed or eight-pointed stars. This turns out to matter for how drum patterns are built across multiple bars. That connection — from the primality of 7 to the architecture of rhythmic accent cycles — is the subject of the companion post, <a href="/posts/tool-star-polygons-drum-machines/">Star Polygons and Drum Machines</a>.</p>
<p>The broader series on mathematics in Tool&rsquo;s music began with the Fibonacci structure embedded in the time signatures and syllable counts of &ldquo;Lateralus&rdquo; <a href="#ref-6">[6]</a>, and the group-theoretic structure underlying twelve-tone equal temperament provides the same algebraic scaffolding seen here <a href="#ref-7">[7]</a>.</p>
<h2 id="references">References</h2>
<p><span id="ref-1"></span>[1] Gauss, C.F. (1801). <em>Disquisitiones Arithmeticae</em>. Leipzig: Fleischer. (§VII.)</p>
<p><span id="ref-2"></span>[2] Stewart, I. (2004). <em>Galois Theory</em> (3rd ed.). CRC Press. Ch. 4.</p>
<p><span id="ref-3"></span>[3] Conway, J.H. &amp; Guy, R.K. (1996). <em>The Book of Numbers</em>. Springer. pp. 190–202.</p>
<p><span id="ref-4"></span>[4] Hull, T. (2011). Solving cubics with creases: The work of Beloch and Lill. <em>The American Mathematical Monthly</em>, 118(4), 307–315. <a href="https://doi.org/10.4169/amer.math.monthly.118.04.307">DOI: 10.4169/amer.math.monthly.118.04.307</a></p>
<p><span id="ref-5"></span>[5] Coxeter, H.S.M. (1973). <em>Regular Polytopes</em> (3rd ed.). Dover. Ch. 2.</p>
<p><span id="ref-6"></span>[6] See <a href="/posts/fibonacci-lateralus/">Fibonacci and Lateralus</a> on this blog.</p>
<p><span id="ref-7"></span>[7] See <a href="/posts/twelve-tet-group-theory-musical-tuning/">Twelve-TET and Group Theory</a> on this blog.</p>
]]></content:encoded>
    </item>
    <item>
      <title>Twelve Is Not an Accident: The Group Theory of Musical Tuning</title>
      <link>https://sebastianspicker.github.io/posts/twelve-tet-group-theory-musical-tuning/</link>
      <pubDate>Fri, 15 Dec 2023 00:00:00 +0000</pubDate>
      <guid>https://sebastianspicker.github.io/posts/twelve-tet-group-theory-musical-tuning/</guid>
      <description>Why does the octave divide into twelve? The answer lies not in aesthetics but in the continued-fraction convergents of log₂(3/2) — and the same group structure that gives Messiaen his modes.</description>
      <content:encoded><![CDATA[<p>Sit down at a piano and count the keys in one octave. Twelve. Seven white, five black, twelve total pitch classes before the pattern repeats. Ask a musician why twelve and they will probably say something about Western tradition, the church modes, or maybe vaguely gesture at the circle of fifths. Ask a musicologist and you might hear about Pythagoras, or the development of equal temperament in the Baroque period, or the well-tempered tuning systems of J. S. Bach. All of that history is real and worth knowing. But none of it explains <em>why</em> the number 12 works, and why every serious attempt at a usable keyboard instrument across widely separated cultures converges on the same cardinality.</p>
<p>The real answer is in number theory. Specifically, it is in the continued fraction expansion of a single irrational number: $\log_2(3/2)$. The number 12 is not a cultural choice. It is the smallest integer that gives a genuinely good rational approximation to that number — subject to the constraint that a human hand can navigate the resulting keyboard. Once you see the argument, the feeling of contingency evaporates completely. Twelve is forced on us.</p>
<p>Along the way, the same mathematical structure — the cyclic group $\mathbb{Z}_{12}$ — explains why Messiaen&rsquo;s modes of limited transposition exist, why the circle of fifths closes exactly, and why certain chord types (augmented triads, diminished seventh chords, the whole-tone scale) have a strange self-similar quality that composers have exploited for centuries. If you want the full treatment of the Messiaen connection, I wrote a dedicated post: <a href="/posts/messiaen-modes-group-theory/">Messiaen, Modes, and the Group Theory of Harmony</a>. Here I want to build the foundations from scratch, starting with the one interval that makes all of this necessary.</p>
<hr>
<h2 id="the-interval-that-started-everything">The interval that started everything</h2>
<p>The perfect fifth has a frequency ratio of exactly 3:2. Play two strings in that ratio and the sound is stable, open, and unmistakably consonant — second only to the octave (2:1) in the hierarchy of simple intervals. The reason is physics: the overtone series of any vibrating string includes the fundamental frequency $f$, then $2f$, $3f$, $4f$, and so on. Two notes a perfect fifth apart share the overtone at $3f$ (for the lower note) and $2f'$ (for the upper note, where $f' = 3f/2$): those are the same frequency, $3f$. Shared overtones mean the two notes reinforce rather than fight each other. This is why the fifth sounds stable: it is literally built into the harmonic structure of physical vibration.</p>
<p>Humans discovered the fifth independently in ancient Greece, China, India, and Mesopotamia. It is not a cultural artifact <a href="#ref-4">[4]</a>. Given that stability, it is natural to ask: can we build a complete pitch system by stacking fifths? Take a starting note, go up a fifth, up another, up another, and keep going. The notes you produce — C, G, D, A, E, B, F♯, … — are acoustically related to the starting point in a simple way, and they sound good together. This is the Pythagorean tuning system, and it underlies the construction of diatonic scales.</p>
<p>But here is the problem. A fifth raises the pitch by a factor of 3/2. An octave raises it by a factor of 2. These are independent: one is a power of 3 and the other a power of 2, and no power of 3/2 will ever equal a power of 2 exactly. In the language of modern mathematics, $\log_2(3/2)$ is irrational — this follows directly from the fundamental theorem of arithmetic, since no product of powers of 2 can equal a product of powers of 3. Whether it is also transcendental is an open question; a proof would follow from Schanuel&rsquo;s conjecture, but that conjecture remains unresolved. What matters for tuning is the irrationality alone. Stacking pure fifths and stacking octaves are incommensurable operations. The circle of fifths can never close in pure Pythagorean tuning. We will always end up slightly sharp or flat relative to where we started.</p>
<p>This incommensurability is the central problem of musical tuning. Everything else — equal temperament, just intonation, meantone tuning, the Pythagorean comma, the whole apparatus of tuning theory — is a response to it.</p>
<hr>
<h2 id="equal-temperament-and-the-approximation-problem">Equal temperament and the approximation problem</h2>
<p>In an equal temperament with $N$ notes per octave, we divide the octave into $N$ equal logarithmic steps. Each step corresponds to a frequency ratio of $2^{1/N}$. We then ask: how many steps $k$ gives the best approximation to a perfect fifth?</p>
<p>The condition is simply that $2^{k/N}$ should be close to $3/2$, which means $k/N$ should be close to $\log_2(3/2)$. So we need a good rational approximation to</p>
$$\log_2\!\left(\frac{3}{2}\right) = \log_2 3 - 1 \approx 0.584962\ldots$$<p>The classical tool for finding best rational approximations is the continued fraction. Any real number $x$ can be written as</p>
$$x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3 + \cdots}}}$$<p>where the $a_i$ are non-negative integers (positive for $i \geq 1$), called the partial quotients. For $\log_2(3/2)$ the expansion is</p>
$$\log_2\!\left(\frac{3}{2}\right) = [0;\, 1,\, 1,\, 2,\, 2,\, 3,\, 1,\, 5,\, 2,\, 23,\, 2,\, \ldots]$$<p>The truncated continued fractions — the convergents — give the sequence of best rational approximations:</p>
$$\frac{0}{1},\quad \frac{1}{1},\quad \frac{1}{2},\quad \frac{3}{5},\quad \frac{7}{12},\quad \frac{24}{41},\quad \frac{31}{53},\quad \frac{179}{306},\quad \ldots$$<p>Each convergent $k/N$ corresponds to a tuning system: the denominator $N$ is the number of equal steps per octave, and the numerator $k$ is the number of steps that best approximates a fifth. So we get: 1-TET (trivial), 2-TET (trivial), 5-TET, 12-TET, 41-TET, 53-TET, 306-TET, and so on <a href="#ref-1">[1]</a>, <a href="#ref-2">[2]</a>.</p>
<p>The key property of convergents is that they give <em>uniquely good</em> approximations. No rational number with a smaller denominator comes closer to the true value than a convergent does. So 7/12 is not merely a decent approximation to $\log_2(3/2)$ — it is provably the best approximation with denominator at most 12. To do better with a denominator below 41, you cannot.</p>
<p>To put numbers on it: in 12-TET, the fifth is $2^{7/12} \approx 1.498307\ldots$, while the true fifth is exactly $1.500000$. The error is about 0.11%, or roughly 2 cents (hundredths of a semitone). In 53-TET, the fifth is $2^{31/53} \approx 1.499941\ldots$, an error of less than 0.004%, about 0.07 cents — essentially indistinguishable from pure. Both 12 and 53 are convergents. Intermediate values like 19-TET or 31-TET are not convergents (they are not best approximations), and their fifths, while sometimes used in experimental or microtonal music, are less accurate relative to their complexity.</p>
<p>Why does this matter? Because a tuning system that approximates the fifth poorly will produce harmonies that beat visibly — the slight mistuning causes the sound to waver in a way that trained ears find uncomfortable in sustained chords. A good fifth approximation is not a luxury; it is the condition for the system to be musically usable in the harmonic practice that most of the world&rsquo;s music assumes.</p>
<hr>
<h2 id="the-pythagorean-comma">The Pythagorean comma</h2>
<p>Before equal temperament became standard (roughly the 18th century in Western Europe), instruments were tuned using pure Pythagorean fifths: exact 3:2 ratios, stacked on top of each other. This gives beautiful, stable individual fifths, but it collects a debt.</p>
<p>After stacking 12 pure fifths, you have climbed in frequency by $(3/2)^{12}$:</p>
$$(3/2)^{12} = \frac{3^{12}}{2^{12}} = \frac{531441}{4096} \approx 129.746\ldots$$<p>Meanwhile, 7 octaves is $2^7 = 128$. The ratio between these is</p>
$$\frac{(3/2)^{12}}{2^7} = \frac{3^{12}}{2^{19}} = \frac{531441}{524288} \approx 1.01364$$<p>This is the Pythagorean comma: roughly 23.46 cents, or about a quarter of a semitone <a href="#ref-4">[4]</a>. In Pythagorean tuning, the circle of fifths never closes. After 12 fifths you arrive at a note that is nominally the same pitch class as the starting point — but sharp by 23.46 cents. That final fifth, the one that &ldquo;should&rdquo; close the circle, sounds badly out of tune. It was historically called the &ldquo;wolf fifth&rdquo; because it howls.</p>
<p>Equal temperament solves this by distributing the comma across all 12 fifths. Each fifth is flattened by $23.46/12 \approx 1.955$ cents. The individual fifths are no longer pure, but the error is small enough to be acceptable — and crucially, it is <em>uniform</em>, so every key sounds equally good (or equally impure, depending on your perspective).</p>
<p>The Pythagorean comma being small — about 1.96% of the octave — is precisely why 12-TET works. It is small because 7/12 is an unusually good convergent of $\log_2(3/2)$. The two facts are the same fact. The comma is the numerator of the error when you approximate $\log_2(3/2)$ by $7/12$, multiplied up by 12 fifths&rsquo; worth of accumulation. When the approximation is good, the comma is small, and the distribution is imperceptible. This is why the piano is tuned the way it is.</p>
<hr>
<h2 id="the-group-theory">The group theory</h2>
<p>We are now ready for the algebra. In 12-TET, pitch classes form the set $\{0, 1, 2, \ldots, 11\}$ where we identify 0 with C, 1 with C♯, 2 with D, 3 with D♯, 4 with E, 5 with F, 6 with F♯, 7 with G, 8 with G♯, 9 with A, 10 with A♯, and 11 with B. Addition is modulo 12: after 11 comes 0 again, because after B comes C in the next octave (same pitch class). This is $\mathbb{Z}_{12}$, the integers mod 12, and it is a group under addition <a href="#ref-1">[1]</a>.</p>
<p>Transposition by a semitone is addition of 1. Transposition by a perfect fifth is addition of 7, because the fifth is 7 semitones in 12-TET. Start from C (0) and repeatedly add 7, always reducing modulo 12:</p>
$$0 \to 7 \to 14 \equiv 2 \to 9 \to 16 \equiv 4 \to 11 \to 18 \equiv 6 \to 13 \equiv 1 \to 8 \to 15 \equiv 3 \to 10 \to 17 \equiv 5 \to 12 \equiv 0$$<p>In note names: C, G, D, A, E, B, F♯, C♯, G♯, D♯/E♭, A♯/B♭, F, C. That is the circle of fifths — all 12 pitch classes visited exactly once before returning to the start. The circle of fifths is the orbit of 0 under repeated addition of 7 in $\mathbb{Z}_{12}$.</p>
<p>Why does the orbit visit all 12 elements? Because $\gcd(7, 12) = 1$. This is Bézout&rsquo;s theorem applied to cyclic groups: an element $g$ generates $\mathbb{Z}_n$ (i.e., its orbit under repeated addition covers all of $\mathbb{Z}_n$) if and only if $\gcd(g, n) = 1$. The generators of $\mathbb{Z}_{12}$ are exactly the elements coprime to 12: that is $\{1, 5, 7, 11\}$. Musically: transposition by 1 semitone (chromatic scale), by 5 semitones (perfect fourth), by 7 semitones (perfect fifth), or by 11 semitones (major seventh) each generates all 12 pitch classes. Transposition by 2 (a whole tone) does not — it produces only the 6-element whole-tone scale. Transposition by 3 (a minor third) produces only the 4-element diminished seventh chord.</p>
<p>This is not a curiosity; it is the algebraic skeleton of tonal music. The circle of fifths closes because 7 and 12 are coprime. That coprimality is guaranteed by the continued fraction structure: the numerator and denominator of a convergent in lowest terms are always coprime (as they must be, being a reduced fraction), and 7/12 is such a convergent.</p>
<p>Now consider the subgroups of $\mathbb{Z}_{12}$. By Lagrange&rsquo;s theorem, subgroups of a finite group must have orders dividing the group order. The divisors of 12 are 1, 2, 3, 4, 6, and 12, so these are the only possible subgroup orders. For cyclic groups there is exactly one subgroup of each order dividing $n$, and it is generated by $n/d$ where $d$ is the subgroup order. The full list:</p>
<p>The trivial subgroup of order 1 is just $\{0\}$. The subgroup of order 2 is $\{0, 6\}$, generated by 6 — that is, the tritone axis, the interval of exactly half an octave. The subgroup of order 3 is $\{0, 4, 8\}$, generated by 4 — this is the augmented triad, three notes equally spaced around the octave by major thirds. The subgroup of order 4 is $\{0, 3, 6, 9\}$, generated by 3 — the diminished seventh chord, four notes equally spaced by minor thirds. The subgroup of order 6 is $\{0, 2, 4, 6, 8, 10\}$, generated by 2 — the whole-tone scale. And the full group of order 12 is all of $\mathbb{Z}_{12}$.</p>
<p>Each of these has a musical life. The augmented triad ($\{0, 4, 8\}$) sounds ambiguous because it maps onto itself under transposition by a major third — there are only 4 distinct augmented triads total, not 12. Composers exploit this ambiguity when they want harmonic instability without committing to a direction. The diminished seventh ($\{0, 3, 6, 9\}$) is similarly ambiguous: it has only 3 distinct forms and can resolve to any of several keys, which is why it appears so often at structural pivots in Romantic music. These properties are direct consequences of the subgroup structure of $\mathbb{Z}_{12}$.</p>
<hr>
<h2 id="messiaens-modes-as-cosets">Messiaen&rsquo;s modes as cosets</h2>
<p>Olivier Messiaen described his &ldquo;modes of limited transposition&rdquo; in his 1944 treatise <em>Technique de mon langage musical</em>. He identified seven scales — including the whole-tone scale and the octatonic scale — that have the peculiar property of mapping onto themselves under some transposition strictly smaller than an octave. He found them by ear, by introspection, and by exhaustive search at the keyboard. He did not have the group theory. But the group theory makes their existence not merely explainable but <em>inevitable</em>.</p>
<p>Here is the key definition. A scale $S \subseteq \mathbb{Z}_{12}$ is a mode of limited transposition if there exists some $t \in \{1, 2, \ldots, 11\}$ such that $S + t \equiv S \pmod{12}$ (as a set). In other words, transposing the scale by $t$ semitones maps the scale onto itself. The integer $t$ is called a period of the scale.</p>
<p>Now, the set of all periods of $S$ — together with 0 — forms a subgroup of $\mathbb{Z}_{12}$ (it is closed under addition modulo 12, since if both $t_1$ and $t_2$ are periods then so is $t_1 + t_2$). Call this subgroup $H$. The condition for $S$ to be a mode of limited transposition is simply that $H$ is nontrivial — that is, $H \neq \{0\}$.</p>
<p>Moreover, if $H$ is the period subgroup of $S$, then $S$ must be a union of cosets of $H$ in $\mathbb{Z}_{12}$. This follows immediately from the fact that $H$ acts on $S$ by translation and maps $S$ to itself: every element of $S$ belongs to exactly one coset of $H$, and $S$ is a union of whole cosets. The size of $S$ must therefore be a multiple of $|H|$.</p>
<p>The whole-tone scale $\{0, 2, 4, 6, 8, 10\}$ is itself the unique subgroup of order 6 in $\mathbb{Z}_{12}$. Its period subgroup is the whole-tone scale itself. Transposing by any even number (2, 4, 6, 8, or 10) maps it to itself. Transposing by an odd number gives the complementary whole-tone scale $\{1, 3, 5, 7, 9, 11\}$. There are therefore only 2 distinct transpositions of the whole-tone scale, not 12.</p>
<p>The octatonic (diminished) scale $\{0, 1, 3, 4, 6, 7, 9, 10\}$ has period subgroup $\{0, 3, 6, 9\}$ — the subgroup of order 4. It is a union of two cosets: $\{0, 3, 6, 9\}$ itself and $\{1, 4, 7, 10\}$. Transposing by 3 maps it onto itself. There are only 3 distinct transpositions. Messiaen calls this his Mode 2.</p>
<p>The general formula is clean: a mode of limited transposition with period subgroup of order $d$ has exactly $12/d$ distinct transpositions. For the whole-tone scale, $d = 6$ gives $12/6 = 2$ transpositions. For the octatonic scale, $d = 4$ gives $12/4 = 3$ transpositions.</p>
<p>What Messiaen found by ear was the complete classification of subsets of $\mathbb{Z}_{12}$ that are unions of cosets of a nontrivial subgroup <a href="#ref-5">[5]</a>. The group theory makes their existence a theorem rather than a discovery. I find this genuinely beautiful: a composer&rsquo;s intuition about harmonic symmetry turns out to be an exercise in the theory of cosets of cyclic groups. For the full analysis of each of Messiaen&rsquo;s seven modes in these terms, see <a href="/posts/messiaen-modes-group-theory/">Messiaen, Modes, and the Group Theory of Harmony</a>.</p>
<hr>
<h2 id="why-not-53">Why not 53?</h2>
<p>Given that 53-TET approximates the fifth with an error of less than 0.004% — compared to 12-TET&rsquo;s 0.11% — one might ask why we do not simply use 53-TET. The mathematical case is overwhelming. In addition to the nearly perfect fifth, 53-TET gives excellent approximations to the just major third (frequency ratio 5:4) and the just minor third (6:5). It was seriously advocated by the 19th-century theorist Robert Holford Macdowall Bosanquet, who even built a 53-key harmonium to demonstrate it. The Chinese theorist Jing Fang described a 53-note system in the 1st century BC. The Arabic music theorist Al-Farabi considered 53-division scales in the 10th century. Everyone who has ever thought carefully about tuning arrives at 53 eventually.</p>
<p>And yet no 53-TET instrument has ever entered widespread use. The reason is anatomical, not mathematical. A piano with 53 keys per octave spans more than 2 metres per octave at any reasonable key size — impossible to play. A guitar with 53 frets per octave has frets spaced roughly 3–4 millimetres apart in the upper register: no human fingertip is narrow enough to press a single fret without touching its neighbours. Even if you could play it, reading 53-TET notation would require an entirely new theoretical and pedagogical apparatus.</p>
<p>The constraint is: we want the largest $N$ such that (a) $N$ is a convergent denominator of $\log_2(3/2)$, so the fifth approximation is genuinely good, and (b) $N$ is small enough to navigate with human hands and readable at a glance. The convergent denominators are 1, 2, 5, 12, 41, 53, 306, &hellip; Of these, 12 is the largest that satisfies condition (b). The next convergent, 41, already strains human dexterity — 41-TET keyboard instruments have been built experimentally but never mass-produced. At 53 the case is closed.</p>
<p>One might argue about where exactly the cutoff is, and reasonable people might draw it at 19 or 31 (which are not convergents but have other virtues). But the point is that 12 is not merely a local optimum found by trial and error. It is the specific value where the continued fraction and human physiology intersect.</p>
<hr>
<h2 id="closing">Closing</h2>
<p>There is something I find genuinely satisfying about this argument. Music feels like the most human of activities — expressive, cultural, steeped in history and tradition. And yet the number 12, which lies at the foundation of so much of the world&rsquo;s music, is not a human choice at all. It is the continued-fraction convergent of an irrational number that was fixed by the physics of vibrating strings long before any human struck a tuning fork.</p>
<p>The circle of fifths closes because $\gcd(7, 12) = 1$: a fact about integers, not about culture. Messiaen&rsquo;s modes exist because $\mathbb{Z}_{12}$ has nontrivial proper subgroups: a fact about cyclic groups, not about 20th-century French aesthetics. The augmented triad sounds ambiguous because it is a coset of the order-3 subgroup of $\mathbb{Z}_{12}$: a fact about quotient groups, not about Romantic harmony conventions.</p>
<p>I came to music theory sideways — through acoustics, then signal processing, then the mathematics of scales. What surprised me, when I finally worked through the continued fraction argument properly, was not that the math existed but that it was so <em>tight</em>. There is essentially no freedom in the answer. Given the constraint that a musical scale should be built around the most consonant interval (after the octave), should form a closed group structure, and should be navigable by a human performer, the answer is 12. Not approximately 12, not 12 as a historical compromise. Exactly 12.</p>
<p>The number is not a tradition. It is a theorem.</p>
<hr>
<p>For more on related themes: the Fibonacci sequence and golden ratio in music appear in <a href="/posts/fibonacci-lateralus/">Fibonacci, Lateralus, and the Golden Ratio</a>. The Euclidean algorithm and rhythmic structure are explored in <a href="/posts/euclidean-rhythms/">Euclidean Rhythms</a> — a sister post to this one in the math-and-music thread. And for the physics of audio sampling rates, where a similar interplay of number theory and practical constraints forces another specific number, see <a href="/posts/why-44100-hz-cd-sampling-rate/">Why 44,100 Hz?</a>.</p>
<hr>
<h2 id="references">References</h2>
<p><span id="ref-1"></span>[1] Balzano, G. J. (1980). The group-theoretic description of 12-fold and microtonal pitch systems. <em>Computer Music Journal</em>, 4(4), 66–84.</p>
<p><span id="ref-2"></span>[2] Carey, N., &amp; Clampitt, D. (1989). Aspects of well-formed scales. <em>Music Theory Spectrum</em>, 11(2), 187–206.</p>
<p><span id="ref-3"></span>[3] Milne, A., Sethares, W. A., &amp; Plamondon, J. (2007). Isomorphic controllers and dynamic tuning. <em>Computer Music Journal</em>, 31(4), 15–32.</p>
<p><span id="ref-4"></span>[4] Lloyd, L. S., &amp; Boyle, H. (1978). <em>Intervals, Scales and Temperaments</em>. St. Martin&rsquo;s Press.</p>
<p><span id="ref-5"></span>[5] Douthett, J., &amp; Steinbach, P. (1998). Parsimonious graphs: A study in parsimony, contextual transformations, and modes of limited transposition. <em>Journal of Music Theory</em>, 42(2), 241–263.</p>
<hr>
<h2 id="changelog">Changelog</h2>
<ul>
<li><strong>2025-11-20</strong>: Updated the spelling of &ldquo;Robert Holford Macdowall Bosanquet&rdquo; (previously rendered as &ldquo;Macdowell&rdquo;).</li>
<li><strong>2025-11-20</strong>: Changed &ldquo;about 1.36% of the octave&rdquo; to &ldquo;about 1.96% of the octave.&rdquo; The 1.36% figure is the frequency ratio above unity (531441/524288 ≈ 1.01364); the logarithmic fraction of the 1200-cent octave is 23.46/1200 ≈ 1.96%.</li>
<li><strong>2025-11-20</strong>: Changed &ldquo;12 octaves&rsquo; worth of accumulation&rdquo; to &ldquo;12 fifths&rsquo; worth of accumulation.&rdquo; The Pythagorean comma accumulates over 12 stacked fifths (which span approximately 7 octaves), not 12 octaves.</li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>Non-Commutative Pre-Schoolers</title>
      <link>https://sebastianspicker.github.io/posts/non-commutative-pre-schoolers/</link>
      <pubDate>Mon, 13 Nov 2023 00:00:00 +0000</pubDate>
      <guid>https://sebastianspicker.github.io/posts/non-commutative-pre-schoolers/</guid>
      <description>The same structural reason a toddler cannot put shoes on before socks is why position and momentum cannot be simultaneously measured. Non-commutativity is not exotic physics — it is the default logic of any ordered world.</description>
      <content:encoded><![CDATA[<h2 id="summary">Summary</h2>
<p>A three-year-old cannot put her shoes on before her socks. Not because she lacks motor skills —
because the operations do not commute.</p>
<p>The same structural constraint, dressed in the language of operators on a Hilbert space, is why
Heisenberg&rsquo;s uncertainty principle holds. This post is about that connection: the accidental
algebra lesson built into getting dressed, and why the physicists of 1925 had to abandon one of
arithmetic&rsquo;s most taken-for-granted assumptions.</p>
<h2 id="getting-dressed-is-a-non-abelian-problem">Getting Dressed Is a Non-Abelian Problem</h2>
<p>Start with the mundane. Your morning routine imposes a strict partial order on operations:
underwear before trousers, socks before shoes, cap before chin-strap if you cycle. Try reversing
any pair and the sequence fails — physically, not just socially. You cannot pull a sock over a shoe.</p>
<p>The operation &ldquo;put on socks&rdquo; followed by &ldquo;put on shoes&rdquo; produces a wearable human; the reverse
produces neither, and no amount of wishing commutativity into existence will help.</p>
<p>In the language of abstract algebra, two operations \(A\) and \(B\) <em>commute</em> if \(AB = BA\) —
if doing them in either order yields the same result. Everyday life is full of operations that do
not commute: rotate a book 90° around its vertical axis then 90° around its horizontal axis; now
reverse the order. The final orientations differ. Turn right then turn left while driving; left
then right. Different positions.</p>
<p>The intuition is not hard to build. What is surprising is how rarely we note it, and what it costs
us when we finally hit a domain — quantum mechanics — where non-commutativity is not an
inconvenient edge case but the central fact.</p>
<h2 id="piaget-said-seven-toddlers-disagreed">Piaget Said Seven; Toddlers Disagreed</h2>
<p>Jean Piaget argued that children do not acquire <em>operational thinking</em> — the ability to mentally
perform and reverse sequences of actions — until the <em>concrete operational stage</em>, roughly ages
seven to eleven (<a href="#ref-inhelder1958">Inhelder &amp; Piaget, 1958</a>). Before that, he claimed, children
lack the understanding that an operation can be undone or reordered.</p>
<p>Post-Piagetian research pushed back hard. Patricia Bauer and Jean Mandler tested infants aged
sixteen and twenty months on novel, multi-step action sequences (<a href="#ref-bauer1989">Bauer &amp; Mandler, 1989</a>).
For causally structured sequences — where step A physically enables step B — infants reproduced
the correct order after a two-week delay. They were not told the order was important. They had no
language to encode it. They just knew, implicitly, that the operations had a necessary direction.</p>
<p>A 2020 study by Klemfuss and colleagues tested 100 children aged roughly two-and-a-half to five on temporal ordering
questions (<a href="#ref-klemfuss2020">Klemfuss et al., 2020</a>). Children answered &ldquo;what happened first?&rdquo; questions
correctly 82% of the time. The errors that did appear followed an encoding-order bias — children
defaulted to reporting the next event in the sequence as originally experienced, regardless of
what was asked. The ordering knowledge was intact. What
children lack, for Piaget&rsquo;s full seven years, is the <em>formal</em> recursive conception of
reversibility. The <em>procedural</em> knowledge — that some sequences must be done in the right order
and cannot be freely rearranged — is there from the second year of life.</p>
<p>Which means: learning that \(AB \neq BA\) is not learning something exotic. It is articulating
something the nervous system already knows.</p>
<h2 id="the-mathematicians-commutator">The Mathematician&rsquo;s Commutator</h2>
<p>Abstract algebra formalized this intuition in the nineteenth century. A <em>group</em> is <em>abelian</em>
(commutative) if every pair of elements satisfies \(ab = ba\). Integers under addition: abelian.
Rotations in three dimensions: not.</p>
<p>Arthur Cayley&rsquo;s 1858 memoir established matrix algebra as a formal theory
(<a href="#ref-cayley1858">Cayley, 1858</a>). Multiply two \(2 \times 2\) matrices:</p>
$$
A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}, \quad
B = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}
$$$$
AB = \begin{pmatrix} 2 & 1 \\ 4 & 3 \end{pmatrix}, \quad
BA = \begin{pmatrix} 3 & 4 \\ 1 & 2 \end{pmatrix}
$$<p>\(AB \neq BA\). Non-commutativity is not a curiosity; it is the generic condition for matrix
products. Commutativity is the special case — and requiring justification.</p>
<p>William Rowan Hamilton had already gone further. On 16 October 1843, walking along the Royal Canal
in Dublin, he discovered the quaternions and carved their multiplication rule into the stone of
Broom Bridge:</p>
$$
i^2 = j^2 = k^2 = ijk = -1
$$<p>From this it follows immediately that \(ij = k\) but \(ji = -k\). Hamilton&rsquo;s four-dimensional
number system — the first algebraic structure beyond the complex numbers — was non-commutative by
construction. He did not apologize for it. He celebrated it.</p>
<p>The Lie algebra structure underlying these commutator relations is the same skeleton that governs
Messiaen&rsquo;s modes of limited transposition, which I traced in <a href="/posts/messiaen-modes-group-theory/">a previous post on group theory and
music</a> — a very different physical domain, but identical algebraic
machinery.</p>
<h2 id="born-jordan-and-the-physicists-shock">Born, Jordan, and the Physicist&rsquo;s Shock</h2>
<p>Classical mechanics treats position \(x\) and momentum \(p\) as ordinary real numbers. Real
numbers commute: \(xp = px\). The Poisson bracket \(\{x, p\} = 1\) encodes a classical
relationship, but the underlying quantities are scalars, and scalars commute.</p>
<p>In July 1925, Werner Heisenberg published a paper that could not quite bring itself to say what it
was doing (<a href="#ref-heisenberg1925">Heisenberg, 1925</a>). He replaced classical dynamical variables
with arrays of numbers — what we would now call matrices — and found, uncomfortably, that the
resulting quantum condition required order to matter.</p>
<p>While Heisenberg was on vacation, Max Born and Pascual Jordan finished the translation into matrix
language (<a href="#ref-bornjordan1925">Born &amp; Jordan, 1925</a>). They wrote the commutation relation
explicitly, recognized it as the fundamental law, and showed that it reproduced the known quantum
results:</p>
$$
[\hat{x}, \hat{p}] = \hat{x}\hat{p} - \hat{p}\hat{x} = i\hbar
$$<p>Non-commutativity of position and momentum was not a mathematical accident. It was the theory.</p>
<p>The uncertainty principle followed four years later as a <em>theorem</em>, not an additional postulate.
Howard Robertson proved in 1929 that for any two observables \(\hat{A}\) and \(\hat{B}\), the
Cauchy–Schwarz inequality on Hilbert space yields (<a href="#ref-robertson1929">Robertson, 1929</a>):</p>
$$
\Delta A \cdot \Delta B \geq \frac{1}{2} \left| \langle [\hat{A}, \hat{B}] \rangle \right|
$$<p>Substituting \(\hat{A} = \hat{x}\), \(\hat{B} = \hat{p}\), \([\hat{x}, \hat{p}] = i\hbar\):</p>
$$
\Delta x \cdot \Delta p \geq \frac{\hbar}{2}
$$<p>This is the uncertainty principle. It does not say nature is fuzzy or that measurement disturbs
systems in some vague intuitive sense. It says: position and momentum are operators that do not
commute, and the Robertson inequality then constrains their joint variance. Non-commutativity <em>is</em>
the uncertainty principle. Put the shoes on before the socks and the state is not defined.</p>
<p>The same logic applies to angular momentum. The three components satisfy:</p>
$$
[\hat{L}_x, \hat{L}_y] = i\hbar \hat{L}_z, \quad
[\hat{L}_y, \hat{L}_z] = i\hbar \hat{L}_x, \quad
[\hat{L}_z, \hat{L}_x] = i\hbar \hat{L}_y
$$<p>This is the Lie algebra \(\mathfrak{su}(2)\). You cannot simultaneously determine two components
of angular momentum to arbitrary precision — not because the measurement apparatus is noisy, but
because the operations of measuring them do not commute.</p>
<p>The fiber bundle language that underlies these rotation groups also appears, in different physical
dress, in the problem of the falling cat and geometric phases — another case where the order of
rotations has non-trivial physical consequences (<a href="/posts/falling-cat-geometric-phase/">see that post</a>).</p>
<h2 id="connes-and-non-commutative-space">Connes and Non-Commutative Space</h2>
<p>Alain Connes asked what happens if we allow the coordinates of <em>space itself</em> to be
non-commutative. In ordinary geometry, the algebra of coordinate functions on a manifold is
commutative: \(f(x) \cdot g(x) = g(x) \cdot f(x)\). Connes&rsquo; non-commutative geometry replaces
this with a <em>spectral triple</em> \((\mathcal{A}, \mathcal{H}, D)\): an algebra \(\mathcal{A}\) of
operators (possibly non-commutative) acting on a Hilbert space \(\mathcal{H}\), with a
generalized Dirac operator \(D\) encoding the geometry (<a href="#ref-connes1994">Connes, 1994</a>).</p>
<p>The payoff was remarkable. With Ali Chamseddine, Connes showed that if \(\mathcal{A}\) is chosen
as a specific non-commutative product of the real numbers, complex numbers, quaternions, and
matrix algebras, the spectral action principle reproduces the full Lagrangian of the Standard
Model coupled to general relativity from a single geometric principle
(<a href="#ref-chamseddine1996">Chamseddine &amp; Connes, 1996</a>). The Higgs field, the gauge bosons, the
graviton: all from the geometry of a non-commutative space.</p>
<p>Classical geometry is the special case where the coordinate algebra is commutative. Drop that
assumption and you open up a vastly richer landscape. Quantum mechanics lives in that landscape.
Possibly, so does the structure of spacetime at the Planck scale.</p>
<h2 id="the-lesson-pre-schoolers-already-know">The Lesson Pre-Schoolers Already Know</h2>
<p>There is an irony here that I cannot quite leave alone. Students learning linear algebra for the
first time consistently make the same mistake. Anna Sierpinska documented it carefully: they assume
\(AB = BA\) for matrices because they have spent years in arithmetic and scalar algebra where
multiplication commutes (<a href="#ref-sierpinska2000">Sierpinska, 2000</a>). The commutativity of ordinary
multiplication is so deeply internalized that abandoning it feels like breaking a rule.</p>
<p>But the pre-schooler in the sock-and-shoe scenario never had that problem. Her procedural memory,
documented in infants as young as sixteen months by Bauer and Mandler, encoded the correct
asymmetry directly. The order of operations is the first thing a developing mind learns about
actions in the world, before the arithmetic of school teaches it the convenient fiction that order
is irrelevant.</p>
<p>Arithmetic is the outlier. \(3 + 5 = 5 + 3\) because counting does not depend on where you
start. But putting on clothes, multiplying matrices, rotating rigid bodies, measuring quantum
observables: these operations carry memory of order, and they repay the attention a child already
brings to them before she can name a number.</p>
<p>The universe is non-abelian. We are born knowing it. School briefly convinces us otherwise.
Physics eventually agrees with the pre-schooler.</p>
<h2 id="references">References</h2>
<ul>
<li><span id="ref-inhelder1958"></span>Inhelder, B., &amp; Piaget, J. (1958). <em>The Growth of Logical Thinking from Childhood to Adolescence</em>. Basic Books.</li>
<li><span id="ref-bauer1989"></span>Bauer, P. J., &amp; Mandler, J. M. (1989). One thing follows another: Effects of temporal structure on 1- to 2-year-olds&rsquo; recall of events. <em>Developmental Psychology</em>, 25, 197–206.</li>
<li><span id="ref-klemfuss2020"></span>Klemfuss, J. Z., McWilliams, K., Henderson, H. M., Olaguez, A. P., &amp; Lyon, T. D. (2020). Order of encoding predicts young children&rsquo;s responses to sequencing questions. <em>Cognitive Development</em>, 55, 100927. <a href="https://doi.org/10.1016/j.cogdev.2020.100927">DOI: 10.1016/j.cogdev.2020.100927</a></li>
<li><span id="ref-cayley1858"></span>Cayley, A. (1858). A memoir on the theory of matrices. <em>Philosophical Transactions of the Royal Society of London</em>, 148, 17–37. <a href="https://doi.org/10.1098/rstl.1858.0002">DOI: 10.1098/rstl.1858.0002</a></li>
<li><span id="ref-heisenberg1925"></span>Heisenberg, W. (1925). Über quantentheoretische Umdeutung kinematischer und mechanischer Beziehungen. <em>Zeitschrift für Physik</em>, 33, 879–893.</li>
<li><span id="ref-bornjordan1925"></span>Born, M., &amp; Jordan, P. (1925). Zur Quantenmechanik. <em>Zeitschrift für Physik</em>, 34, 858–888.</li>
<li><span id="ref-robertson1929"></span>Robertson, H. P. (1929). The uncertainty principle. <em>Physical Review</em>, 34, 163–164. <a href="https://doi.org/10.1103/PhysRev.34.163">DOI: 10.1103/PhysRev.34.163</a></li>
<li><span id="ref-connes1994"></span>Connes, A. (1994). <em>Noncommutative Geometry</em>. Academic Press. ISBN 0-12-185860-X.</li>
<li><span id="ref-chamseddine1996"></span>Chamseddine, A. H., &amp; Connes, A. (1996). Universal formula for noncommutative geometry actions: Unification of gravity and the standard model. <em>Physical Review Letters</em>, 77, 4868–4871. <a href="https://doi.org/10.1103/PhysRevLett.77.4868">DOI: 10.1103/PhysRevLett.77.4868</a></li>
<li><span id="ref-sierpinska2000"></span>Sierpinska, A. (2000). On some aspects of students&rsquo; thinking in linear algebra. In J.-L. Dorier (Ed.), <em>On the Teaching of Linear Algebra</em> (pp. 209–246). Kluwer Academic Publishers. <a href="https://doi.org/10.1007/0-306-47224-4_8">DOI: 10.1007/0-306-47224-4_8</a></li>
</ul>
<hr>
<h2 id="changelog">Changelog</h2>
<ul>
<li><strong>2026-02-03</strong>: Corrected the age range for the Klemfuss et al. (2020) study from &ldquo;two to four&rdquo; to &ldquo;roughly two-and-a-half to five&rdquo; — the actual participants were aged 30–61 months.</li>
<li><strong>2026-02-03</strong>: Updated the characterisation of Klemfuss et al. (2020) findings to reflect the paper&rsquo;s central result: errors follow an encoding-order bias (children default to the next event in encoding sequence). The paper&rsquo;s title — &ldquo;Order of encoding predicts young children&rsquo;s responses&rdquo; — names the mechanism.</li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>The Charm of Impossibilities: Group Theory and Messiaen&#39;s Modes of Limited Transposition</title>
      <link>https://sebastianspicker.github.io/posts/messiaen-modes-group-theory/</link>
      <pubDate>Wed, 19 Apr 2023 00:00:00 +0000</pubDate>
      <guid>https://sebastianspicker.github.io/posts/messiaen-modes-group-theory/</guid>
      <description>Messiaen&amp;rsquo;s seven modes of limited transposition cannot be fully transposed through all twelve keys — not by convention, but because of group theory. The modes are pitch-class sets whose stabiliser subgroups in ℤ₁₂ are non-trivial. The orbit–stabiliser theorem gives the exact count of distinct transpositions for each mode, and the subgroup lattice of ℤ₁₂ maps directly onto the hierarchy of the seven modes.</description>
      <content:encoded><![CDATA[<p><em>I first encountered Messiaen&rsquo;s second mode — the octatonic scale — in an
analysis seminar during my physics studies, played by a colleague on an upright
piano in a rehearsal room with terrible acoustics. She demonstrated something
that stopped me: no matter how many times she transposed the scale up by a minor
third, she could never find a &ldquo;new&rdquo; version. After three transpositions she was
back where she started. She called it the charm of impossibilities. It took me
years to understand why it is impossible, and longer still to see that the answer
is not musical but algebraic.</em></p>
<p><em>This post is a companion to <a href="/posts/fibonacci-lateralus/">Fibonacci, the Golden Ratio, and Tool&rsquo;s
Lateralus</a>, which found number theory in a prog-rock
song. Here we find abstract algebra in twentieth-century sacred music.</em></p>
<hr>
<h2 id="pitch-classes-and-the-chromatic-clock">Pitch Classes and the Chromatic Clock</h2>
<p>Western music divides the octave into twelve equal semitones. For purposes of
harmony and counterpoint, the absolute pitch is often less important than the
pitch <em>class</em> — the equivalence class of all pitches related by octave
transposition. Middle C and the C two octaves above belong to the same pitch
class.</p>
<p>We label the twelve pitch classes $0, 1, 2, \ldots, 11$, with $0 = \mathrm{C}$,
$1 = \mathrm{C}\sharp/\mathrm{D}\flat$, $2 = \mathrm{D}$, and so on up to
$11 = \mathrm{B}$. Addition is taken modulo 12 — the integers wrap around like
a clock face, with $11 + 2 = 1$ (one semitone above B is C$\sharp$).</p>
<p>The set of pitch classes with this operation is a group:</p>
$$\mathbb{Z}_{12} = \{0, 1, 2, \ldots, 11\}, \qquad x \oplus y = (x + y) \bmod 12.$$<p>This is the cyclic group of order 12. It has an identity element ($0$, &ldquo;no
transposition&rdquo;), every element has an inverse ($-n \bmod 12$), and the operation
is associative. If you are used to thinking about the chromatic scale as a linear
sequence ending at the octave, $\mathbb{Z}_{12}$ is the insistence that it is
actually a circle.</p>
<hr>
<h2 id="musical-operations-as-group-elements">Musical Operations as Group Elements</h2>
<p>Two operations are fundamental in tonal and post-tonal music theory.</p>
<p><strong>Transposition</strong> by $n$ semitones maps every pitch class up by $n$:</p>
$$T_n \colon x \mapsto x + n \pmod{12}.$$<p>The twelve transpositions $T_0, T_1, \ldots, T_{11}$ are exactly the elements of
$\mathbb{Z}_{12}$, with $T_n$ corresponding to the integer $n$. Composing two
transpositions gives a transposition: $T_m \circ T_n = T_{m+n}$.</p>
<p><strong>Inversion</strong> reflects the pitch-class circle:</p>
$$I \colon x \mapsto -x \pmod{12}.$$<p>Inversion maps C to C, D to B$\flat$, E to A$\flat$, and so on — it is the
mirror symmetry of the chromatic circle about the C/F$\sharp$ axis. Combining
inversion with transposition gives the <em>inversional transpositions</em>:</p>
$$I_n \colon x \mapsto n - x \pmod{12}.$$<p>The transpositions and inversional transpositions together generate a group of
order 24:</p>
$$D_{12} = \langle T_1, I \rangle.$$<p>This is the <em>dihedral group</em> $D_{12}$ — the same abstract group that describes
the symmetries of a regular 12-gon (twelve rotations and twelve reflections). The
identification is not coincidental: the twelve pitch classes arranged in a circle
<em>are</em> the vertices of a regular 12-gon, and the musical operations are
geometrically the symmetries of that polygon.</p>
<p>Twelve-tone composition — Schoenberg&rsquo;s method — is almost entirely a
working-out of the consequences of $D_{12}$ acting on ordered sequences of the
twelve pitch classes. The four canonical row forms (prime, inversion, retrograde,
retrograde-inversion) correspond to cosets of $\mathbb{Z}_{12}$ (the transposition subgroup).</p>
<hr>
<h2 id="orbits-and-stabilisers">Orbits and Stabilisers</h2>
<p>Let $S \subseteq \mathbb{Z}_{12}$ be a pitch-class set — a chord, a scale, a
collection of any size.</p>
<p>The <strong>orbit</strong> of $S$ under $\mathbb{Z}_{12}$ is the collection of all distinct
transpositions of $S$:</p>
$$\mathrm{Orb}(S) = \{ T_n(S) : n \in \mathbb{Z}_{12} \}.$$<p>For most sets, all twelve transpositions produce a different set, so
$|\mathrm{Orb}(S)| = 12$. The C major scale, for example, has twelve distinct
transpositions, one for each key.</p>
<p>But some sets are symmetric under certain transpositions: there exists $n \neq 0$
such that $T_n(S) = S$. The collection of all symmetry transpositions of $S$ is
the <strong>stabiliser</strong>:</p>
$$\mathrm{Stab}(S) = \{ T_n \in \mathbb{Z}_{12} : T_n(S) = S \}.$$<p>Because composing two symmetry transpositions yields another, $\mathrm{Stab}(S)$
is a <em>subgroup</em> of $\mathbb{Z}_{12}$.</p>
<p>The <strong>orbit–stabiliser theorem</strong> gives the fundamental count:</p>
$$|\mathrm{Orb}(S)| \cdot |\mathrm{Stab}(S)| = |\mathbb{Z}_{12}| = 12.$$<p>The number of distinct transpositions of $S$ equals $12$ divided by the number
of transpositions that leave $S$ unchanged. The more internally symmetric $S$ is,
the fewer new versions you can produce by transposing it.</p>
<p>A set with $|\mathrm{Stab}(S)| > 1$ — one that is invariant under some
non-trivial transposition — is a <strong>mode of limited transposition</strong>.</p>
<hr>
<h2 id="mode-1-the-whole-tone-scale">Mode 1: The Whole-Tone Scale</h2>
<p>The whole-tone scale contains the six pitch classes at even intervals:</p>
$$\mathrm{Mode\ 1} = \{0, 2, 4, 6, 8, 10\}.$$<p>Transposing by $T_2$:</p>
$$T_2(\{0, 2, 4, 6, 8, 10\}) = \{2, 4, 6, 8, 10, 0\} = \{0, 2, 4, 6, 8, 10\}. \checkmark$$<p>The set is unchanged. The same holds for $T_4, T_6, T_8, T_{10}$. The stabiliser
is the full subgroup of even transpositions:</p>
$$\mathrm{Stab}(\mathrm{Mode\ 1}) = \{T_0, T_2, T_4, T_6, T_8, T_{10}\} \cong \mathbb{Z}_6.$$<p>By the orbit–stabiliser theorem:</p>
$$|\mathrm{Orb}(\mathrm{Mode\ 1})| = \frac{12}{6} = 2.$$<p>There are exactly two distinct whole-tone scales. Every pianist learns this: the
one on C and the one on C$\sharp$. Composing with whole-tone harmony means
working from a stock of only two harmonic pools with no way to modulate into a
genuinely new version of the scale. This is Messiaen&rsquo;s first charm of
impossibility.</p>
<hr>
<h2 id="mode-2-the-octatonic-scale">Mode 2: The Octatonic Scale</h2>
<p>The octatonic (diminished) scale alternates half-step and whole-step intervals.
Starting on C:</p>
$$\mathrm{Mode\ 2} = \{0, 1, 3, 4, 6, 7, 9, 10\}.$$<p>Does $T_3$ leave this set invariant?</p>
$$T_3(\{0, 1, 3, 4, 6, 7, 9, 10\}) = \{3, 4, 6, 7, 9, 10, 0, 1\} = \{0, 1, 3, 4, 6, 7, 9, 10\}. \checkmark$$<p>Also $T_6$ and $T_9$. The stabiliser is the subgroup generated by transposition
by a minor third:</p>
$$\mathrm{Stab}(\mathrm{Mode\ 2}) = \{T_0, T_3, T_6, T_9\} \cong \mathbb{Z}_4.$$<p>The orbit size:</p>
$$|\mathrm{Orb}(\mathrm{Mode\ 2})| = \frac{12}{4} = 3.$$<p>There are exactly three distinct octatonic scales. Composers from Rimsky-Korsakov
and Bartók to Coltrane have exploited this closed system. The three scales
correspond to the three cosets of the subgroup $\langle T_3 \rangle$ in
$\mathbb{Z}_{12}$: the cosets $\{0, 3, 6, 9\}$, $\{1, 4, 7, 10\}$, and
$\{2, 5, 8, 11\}$ are the &ldquo;starting-point classes&rdquo; that generate each scale.
Note that the scales themselves are not pairwise disjoint — each has eight
pitch classes, so any two share four — but the coset structure determines
which transpositions produce the same scale and which produce a different one.</p>
<hr>
<h2 id="the-subgroup-lattice-and-all-seven-modes">The Subgroup Lattice and All Seven Modes</h2>
<p>The orbit–stabiliser theorem constrains which stabiliser sizes are algebraically
possible. Since $\mathrm{Stab}(S)$ is a subgroup of $\mathbb{Z}_{12}$, its order
must divide 12. The <em>proper non-trivial</em> subgroups of $\mathbb{Z}_{12}$ — those
with order strictly between 1 and 12 — are precisely:</p>
<table>
  <thead>
      <tr>
          <th>Subgroup</th>
          <th>Generator</th>
          <th>Order</th>
          <th>Orbit size</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>$\langle T_2 \rangle = \{T_0, T_2, T_4, T_6, T_8, T_{10}\}$</td>
          <td>$T_2$</td>
          <td>6</td>
          <td>2</td>
      </tr>
      <tr>
          <td>$\langle T_3 \rangle = \{T_0, T_3, T_6, T_9\}$</td>
          <td>$T_3$</td>
          <td>4</td>
          <td>3</td>
      </tr>
      <tr>
          <td>$\langle T_4 \rangle = \{T_0, T_4, T_8\}$</td>
          <td>$T_4$</td>
          <td>3</td>
          <td>4</td>
      </tr>
      <tr>
          <td>$\langle T_6 \rangle = \{T_0, T_6\}$</td>
          <td>$T_6$</td>
          <td>2</td>
          <td>6</td>
      </tr>
  </tbody>
</table>
<p>These four subgroups exist because the proper divisors of 12 that are greater
than 1 are exactly $\{2, 3, 4, 6\}$. The subgroups of $\mathbb{Z}_n$ are in
bijection with the divisors of $n$ — a consequence of the fundamental theorem of
cyclic groups. Since $12 = 2^2 \times 3$, the proper divisors are $1, 2, 3, 4,
6$.</p>
<p>Each row of the table maps onto a level in Messiaen&rsquo;s system:</p>
<ul>
<li><strong>Mode 1</strong> (whole-tone scale): stabiliser $\langle T_2 \rangle$, 2 transpositions</li>
<li><strong>Mode 2</strong> (octatonic scale): stabiliser $\langle T_3 \rangle$, 3 transpositions</li>
<li><strong>Mode 3</strong>: stabiliser $\langle T_4 \rangle$, 4 transpositions</li>
<li><strong>Modes 4 – 7</strong>: stabiliser $\langle T_6 \rangle$, 6 transpositions each</li>
</ul>
<p>The subgroup lattice of $\mathbb{Z}_{12}$ — its Hasse diagram of containment
relationships — maps directly onto the hierarchy of Messiaen&rsquo;s modes. The more
symmetric the stabiliser subgroup, the fewer distinct transpositions the mode
admits.</p>
<p>The containment relations are: $\langle T_2 \rangle \supset \langle T_4 \rangle$
and $\langle T_2 \rangle \supset \langle T_6 \rangle$ and
$\langle T_3 \rangle \supset \langle T_6 \rangle$. Correspondingly, Mode 1
(stabiliser $\langle T_2 \rangle$, order 6) is &ldquo;more limited&rdquo; than Mode 3
(stabiliser $\langle T_4 \rangle$, order 3), in the sense that $\langle T_4
\rangle \subset \langle T_2 \rangle$: every symmetry of Mode 3 is also a symmetry
of Mode 1&rsquo;s stabiliser.</p>
<hr>
<h2 id="why-exactly-seven-modes">Why Exactly Seven Modes?</h2>
<p>Messiaen was not enumerating all pitch-class sets with non-trivial stabilisers —
there are many more than seven. At the level of the stabiliser $\langle T_6
\rangle$, for example, there are numerous pitch-class sets invariant under the
tritone transposition $T_6$: any set $S$ such that $S = S + 6$ qualifies. Some
of these sets are large (ten pitch classes), some are small (two pitch classes),
some are musically coherent and some are not.</p>
<p>Messiaen selected seven that he found aesthetically and compositionally viable:
scales of moderate cardinality, with a balance of interval types, that he could
use as raw material for his harmonic language. The group theory explains the
<em>constraint</em> (modes are possible only at the four stabiliser types listed above),
not the <em>selection</em> (which specific sets Messiaen chose among the many that
satisfy the constraint).</p>
<p>The question &ldquo;why seven?&rdquo; is therefore partly combinatorial and partly
compositional. What is group-theoretically determined is the number of <em>levels</em>
(four: orbit sizes 2, 3, 4, 6) and the <em>impossibility</em> of any mode with, say,
five distinct transpositions (since 5 does not divide 12).</p>
<hr>
<h2 id="what-messiaen-knew--and-did-not-know">What Messiaen Knew — and Did Not Know</h2>
<p>Messiaen described his modes in <em>Technique de mon langage musical</em> (1944). His
account is entirely musical and phenomenological. He lists each mode by its
interval sequence, notes how many transpositions it admits, and names the
limitation a &ldquo;charm.&rdquo; The impossibility is for him a spiritual property, a form
of harmonic stasis that he associated — as a devout Catholic — with divine
eternity. A mode that cannot depart is, in his compositional theology, a glimpse
of the unchanging.</p>
<p>He was not doing group theory. The orbit–stabiliser theorem (in its abstract form)
postdates Lagrange (1771), Cauchy (early 19th century), and Galois (1832). But
the concepts were not part of music-theoretic discourse until Milton Babbitt&rsquo;s
work in the 1950s, and they were not formalised in the pitch-class set framework
I have used here until Allen Forte&rsquo;s <em>The Structure of Atonal Music</em> (1973) and
David Lewin&rsquo;s <em>Generalized Musical Intervals and Transformations</em> (1987).</p>
<p>What Messiaen had was a musician&rsquo;s ear for symmetry. He could <em>hear</em> that the
modes were closed, without having the algebraic vocabulary to explain why. The
group theory shows that he was correct, and why he was correct with a precision
that no amount of phenomenological description could provide.</p>
<hr>
<h2 id="from-messiaen-to-lewin">From Messiaen to Lewin</h2>
<p>Lewin&rsquo;s transformational theory (1987) generalises the $\mathbb{Z}_{12}$ framework
to arbitrary musical spaces. A <em>Generalized Interval System</em> is a triple
$(S, G, \mathrm{int})$ where $S$ is a set of musical objects, $G$ is a group, and
$\mathrm{int} : S \times S \to G$ assigns an interval to each ordered pair of
objects in a way that is consistent with the group structure.</p>
<p>This framework treats musical transformations — not just pitch-class transpositions
but rhythmic augmentations, timbral shifts, any structurally defined operation —
as elements of a group. The mathematics does not privilege any particular musical
parameter; it applies wherever a transformation group acts on a set of musical
objects.</p>
<p>Neo-Riemannian theory, which emerged from Lewin&rsquo;s work in the 1980s and 1990s
and was systematised by Cohn (1998), applies this framework to triadic
transformations (the operations L, P, and R that map major and minor triads to
their relatives, parallels, and leading-tone exchanges). The group generated by
L, P, and R on the set of 24 major and minor triads is isomorphic to $D_{12}$
— the same dihedral group that governs Messiaen&rsquo;s modes, but acting on a
different musical space.</p>
<p>Emmanuel Amiot&rsquo;s more recent work (2016) applies the discrete Fourier transform
to pitch-class sets, using the DFT coefficients on $\mathbb{Z}_{12}$ as a
continuous measure of a set&rsquo;s similarity to the modes of limited transposition.
The Fourier coefficients detect the algebraic symmetries that stabilisers measure
discretely: a set with large coefficient at frequency $k$ (in the DFT over
$\mathbb{Z}_{12}$) is close, in a precise sense, to having the stabiliser
$\langle T_{12/k} \rangle$.</p>
<p>The group-theoretic perspective has moved, over seventy years, from a marginal
curiosity to the dominant mathematical framework in music theory. Messiaen&rsquo;s
modes — which once seemed like personal compositional idiosyncrasies — are
revealed as structurally constrained: the possible stabiliser orders are fixed
by the divisors of 12, and the orbit sizes that Messiaen&rsquo;s ear discovered are
exactly those that Lagrange&rsquo;s theorem permits. Many pitch-class sets have
non-trivial stabilisers; Messiaen found the seven that are musically viable.
Their limitation is not a personal choice but an algebraic fact.</p>
<p>The charm of impossibilities is a theorem of group theory. And it is exactly as
beautiful as Messiaen heard it to be.</p>
<hr>
<h2 id="references">References</h2>
<ul>
<li>
<p>Amiot, E. (2016). <em>Music Through Fourier Space: Discrete Fourier Transform in
Music Theory.</em> Springer (Computational Music Science).</p>
</li>
<li>
<p>Babbitt, M. (1960). Twelve-tone invariants as compositional determinants.
<em>The Musical Quarterly</em>, 46(2), 246–259.
<a href="https://doi.org/10.1093/mq/XLVI.2.246">https://doi.org/10.1093/mq/XLVI.2.246</a></p>
</li>
<li>
<p>Cohn, R. (1998). Introduction to neo-Riemannian theory: A survey and a
historical perspective. <em>Journal of Music Theory</em>, 42(2), 167–180.
<a href="https://doi.org/10.2307/843871">https://doi.org/10.2307/843871</a></p>
</li>
<li>
<p>Forte, A. (1973). <em>The Structure of Atonal Music.</em> Yale University Press.</p>
</li>
<li>
<p>Lewin, D. (1987). <em>Generalized Musical Intervals and Transformations.</em> Yale
University Press. (Reissued Oxford University Press, 2007.)</p>
</li>
<li>
<p>Messiaen, O. (1944). <em>Technique de mon langage musical.</em> Alphonse Leduc.
(English translation: Satterfield, J., 1956.)</p>
</li>
<li>
<p>Tymoczko, D. (2006). The geometry of musical chords. <em>Science</em>, 313(5783),
72–74. <a href="https://doi.org/10.1126/science.1126287">https://doi.org/10.1126/science.1126287</a></p>
</li>
<li>
<p>Tymoczko, D. (2011). <em>A Geometry of Music: Harmony and Counterpoint in the
Extended Common Practice.</em> Oxford University Press.</p>
</li>
</ul>
<hr>
<h2 id="changelog">Changelog</h2>
<ul>
<li><strong>2026-01-14</strong>: Changed &ldquo;cosets of $D_{12}$&rdquo; to &ldquo;cosets of $\mathbb{Z}_{12}$ (the transposition subgroup)&rdquo; in the twelve-tone composition paragraph. $D_{12}$ (order 24) already includes both transpositions and inversions, yielding only 2 cosets in the full serial group. The four row forms {P, I, R, RI} correspond to 4 cosets of the transposition-only subgroup $\mathbb{Z}_{12}$ (order 12) in the full group of order 48.</li>
</ul>
]]></content:encoded>
    </item>
  </channel>
</rss>
