The twelfth return
Why Western music divides the octave into twelve notes
Take a pure fifth. Take it again. On the twelfth ascent, the arithmetic comes home—except that it does not.
The excess is tiny, exact, and structurally unavoidable. It is not noise in the string. It is the remainder left when powers of one prime are asked to imitate powers of another.
Thesis: twelve is not decreed by nature. Under octave equivalence, a pure-fifth generator, equal steps, and a preference for a small system, it is the first strikingly effective compromise.
A string makes multiplication audible
An octave doubles frequency; a just perfect fifth multiplies it by 3/2. Intervals compose by multiplication, while musical distance is heard and measured logarithmically.
The cent is one twelve-hundredth of an octave, so this logarithm turns products of ratios into sums of distances.[2]
The circle does not close
This ratio is the Pythagorean comma: approximately 23.46001 cents, the difference between twelve just fifths and seven octaves.[1] Exact closure would require 3q = 2p+q; unique prime factorization rules it out for positive integers.
Walk the fifths
Each step applies 3/2, then reduces by octaves. The twelfth point misses the origin by one comma.
Closure becomes approximation
After q fifths, near closure after p octaves means:
Let α = log₂(3/2) = 0.584962500721…. Because α is irrational, equality is impossible; the design question is which rational p/q comes closest without making q unwieldy.
PROPOSITION · Why α is irrational
If α = p/q, then (3/2)q = 2p, hence 3q = 2p+q. The two sides have incompatible prime factorizations. Therefore no integers p,q > 0 satisfy the equation.
The convergents choose their denominators
Continued-fraction convergents supply successively strong rational approximations; a standard best-approximation theorem makes this precise in terms of bounded denominators.[4] The continued fraction of log₂3 is also catalogued by OEIS.[3]
| p/q | q divisions / fifths | Closure error | Reading |
|---|---|---|---|
1/2 | 2 | −203.91¢ | too coarse |
3/5 | 5 | −90.22¢ | pentatonic-sized return |
7/12 | 12 | +23.46¢ | first compact near-closure |
24/41 | 41 | −20.06¢ | finer division |
31/53 | 53 | +3.62¢ | exceptional fifth closure |
The table tracks cumulative closure after q just fifths. The error of one equal-tempered fifth is that total divided by q.
Why twelve, specifically
The convergent 7/12 says that seven octaves nearly equal twelve fifths. Reverse the viewpoint: divide an octave into twelve equal steps and place the fifth seven steps above the tonic.
The 12-TET fifth is about 1.95500 cents flat. Equal temperament divides an octave into twelve equal semitones of 100 cents, each with frequency factor 21/12.[6]
fifth 3/2 → 12-TET
major third 5/4 → 12-TET
Major third: +13.686¢
Temper means choose where error lives
Twelve equal temperament removes the comma by narrowing every fifth by one twelfth of it. The circle then closes exactly, but the fifth is no longer exactly 3/2.
Its major third, four equal steps, is approximately 13.69 cents sharp relative to 5/4. Meantone instead orients its compromises around major thirds; historical temperaments are different allocations of unavoidable error, not repairs of faulty physics.[7]
No finite rank-one cycle can preserve both generators 2 and 3 exactly. Temperament is a declaration of priorities.
Twelve wins a constrained question
Change the objective and other systems become rational choices. Forty-one and fifty-three are later convergent denominators for the fifth; nineteen is not a convergent of this particular continued fraction, though 19-TET can be valued for other interval approximations.
| EDO | Fifth steps | Fifth error | What changes |
|---|
Equal temperament’s practical attraction is that equal semitones permit performance in every key with a single fixed tuning.[5] That is a historical and instrumental advantage layered on top of the number theory—not a theorem that all music must contain twelve notes.
Fact sheet
- The exact comma is
531441/524288, approximately 23.46 cents.[1] - Cents are computed as
1200 log₂(r)for frequency ratior.[2] - Simple continued fractions provide canonical convergents used for best rational approximation.[4]
- 12-TET uses twelve equal 100-cent steps with ratio
21/12.[6]
Evidence table
| Claim | Source | Accessed | Year |
|---|---|---|---|
| Comma ratio and cents | Pythagorean comma | 2026-07-15 | living reference |
| Cent formula | Medieval Music & Arts Foundation | 2026-07-15 | not stated |
| Continued fraction sequence | OEIS A028507 | 2026-07-15 | 2024 update |
| Best approximations | Cornell mathematics notes | 2026-07-15 | 2016 |
| Equal temperament definition | Encyclopaedia Britannica | 2026-07-15 | living reference |
Sources cited
- Wikipedia contributors. Pythagorean comma. Wikipedia. Accessed July 15, 2026. https://en.wikipedia.org/wiki/Pythagorean_comma↩
- Rasch R. Pythagorean tuning: more details. Medieval Music & Arts Foundation. Accessed July 15, 2026. http://www.medieval.org/emfaq/harmony/pyth4.html↩
- Sloane NJA, ed. A028507: continued fraction expansion for log₂(3). OEIS. Updated 2024. Accessed July 15, 2026. https://oeis.org/A028507↩
- Krishnan GG. Continued Fractions. Cornell University; 2016. Accessed July 15, 2026. https://pi.math.cornell.edu/~gautam/ContinuedFractions.pdf↩
- Encyclopaedia Britannica. Tuning and temperament. Accessed July 15, 2026. https://www.britannica.com/art/tuning-and-temperament↩
- Encyclopaedia Britannica. Equal temperament. Accessed July 15, 2026. https://www.britannica.com/art/equal-temperament↩
- Encyclopaedia Britannica. Meantone temperament. Accessed July 15, 2026. https://www.britannica.com/art/meantone-temperament↩
Sources consulted
All cited sources above, plus: Dartmouth · The Pythagorean Comma; Cubarsi · Diversity and Semiconvergents in Pythagorean Tuning (2025).
Recency flags
Foundational mathematics and historical definitions do not require 2026 measurements. The Cornell notes date to 2016; OEIS shows a 2024 update; the 2025 tuning paper was consulted for current mathematical context. Britannica entries are continuously maintained, with original entry dates earlier than 2026.