Foundations

Ratios

Fractions as ratios, the intervals of the tetractys 2 : 1, 3 : 2 and 4 : 3, why twelve fifths never make exactly seven octaves, and why the division table contains every fraction exactly once as a new one.

For the Pythagoreans a fraction was not the result of a calculation but a ratio of two whole numbers, and they found the most important ratios in music. Divide a string in the ratio 1 : 2 and the octave sounds, at 2 : 3 the fifth, at 3 : 4 the fourth. All three lie in the numbers 1, 2, 3 and 4 of the tetractys. Theon of Smyrna writes in the second century, in substance, that all the consonances are contained in the tetractys. This chapter turns that into mathematics.

Fractions

Definition

A fraction ab\tfrac{a}{b} with a∈Za \in \mathbb{Z} and b∈Nb \in \mathbb{N} stands for the ratio a:ba : b. Two fractions are equal if

ab=cd  :⟺  ad=bc.\frac{a}{b} = \frac{c}{d} \;:\Longleftrightarrow\; ad = bc.

The set of all fractions is called Q\mathbb{Q}, the rational numbers.

So 24=12\tfrac{2}{4} = \tfrac{1}{2}, because 2⋅2=4⋅12 \cdot 2 = 4 \cdot 1. The definition says when two ratios mean the same thing, without ever having to divide by anything.

Theorem 1

Every positive fraction can be written in lowest terms in exactly one way, as ab\tfrac{a}{b} with gcd⁡(a,b)=1\gcd(a, b) = 1.

Proof

Existence: let g=gcd⁡(a,b)g = \gcd(a, b). Then ab=a/gb/g\tfrac{a}{b} = \tfrac{a/g}{b/g}, and a/ga/g and b/gb/g have no common divisor left, otherwise gg would not be the greatest.

Uniqueness: let ab=cd\tfrac{a}{b} = \tfrac{c}{d} both be in lowest terms, so ad=bcad = bc. Then bb divides the product adad. Since bb is coprime to aa, bb divides dd, by the same argument as in Euclid’s lemma (Chapter 4, with Chapter 3, Theorem 4). Likewise dd divides bb. So b=db = d and then a=ca = c.

∎

The division table

Writing all fractions nk\tfrac{n}{k} into a table, with the numerator nn in the column and the denominator kk in the row, every positive fraction occurs infinitely often: 12=24=36=…\tfrac12 = \tfrac24 = \tfrac36 = \dots. By Theorem 1, however, it stands there in lowest terms exactly once, and that is the field where it appears for the first time. The page Simplexes and primes in the division table colours these fields red. Following an idea of Georg Cantor, the same table is used to show that the fractions can be counted like the natural numbers: you run through it along diagonals and skip the fields not in lowest terms. In harmonics it is called the lambdoma.

1234567812345678
Tap a cell to hear its tone.

The lambdoma up to 8 × 8. Each field plays the tone 220 Hz × numerator/denominator. Grey are fractions that can be reduced and therefore already stand further up.

How large is the share of fields in lowest terms? The probability that two random numbers are both divisible by a prime pp is 1/p21/p^2. So the probability that they have no common prime divisor is

∏p prime(1−1p2)=1∑n=1∞1n2=6π2≈0.608.\prod_{p \text{ prime}} \Bigl(1 - \frac{1}{p^2}\Bigr) = \frac{1}{\sum_{n=1}^{\infty} \frac{1}{n^2}} = \frac{6}{\pi^2} \approx 0.608.

The first equals sign follows from unique factorisation (Chapter 4), the second is Euler’s solution of the Basel problem from 1735, ∑1/n2=π2/6\sum 1/n^2 = \pi^2/6. The statement about the fields was shown by Peter Gustav Lejeune Dirichlet in 1849 and made more precise by Franz Mertens in 1874 and Ernesto Cesàro in 1881. The calculation above is the idea of the proof, not the proof itself, since “random natural number” first has to be made precise.

The intervals of the tetractys

The ratio of two tones is the ratio of their frequencies. Playing two intervals one after the other means multiplying their ratios.

Theorem 2

Fifth and fourth together make an octave, and their difference is the whole tone:

32⋅43=21,32:43=98.\frac{3}{2} \cdot \frac{4}{3} = \frac{2}{1}, \qquad \frac{3}{2} : \frac{4}{3} = \frac{9}{8}.
Proof

3⋅42⋅3=126=21\tfrac{3 \cdot 4}{2 \cdot 3} = \tfrac{12}{6} = \tfrac{2}{1} and 32⋅34=98\tfrac{3}{2} \cdot \tfrac{3}{4} = \tfrac{9}{8}.

∎

With 2 : 1, 3 : 2, 4 : 3 and 9 : 8 the Pythagoreans had everything they needed to build a scale. But they came up against an obstacle that cannot be removed.

The Pythagorean comma

Stacking twelve fifths one on top of the other, you arrive almost exactly at seven octaves, but only almost:

(32)12=5314414096≈129.75,27=128.\Bigl(\frac{3}{2}\Bigr)^{12} = \frac{531441}{4096} \approx 129.75, \qquad 2^7 = 128.

The difference 312219=531441524288≈1.0136\tfrac{3^{12}}{2^{19}} = \tfrac{531441}{524288} \approx 1.0136 is called the Pythagorean comma. It is not an error of measurement and not an inaccuracy of tuning, but a theorem.

Theorem 3

No number of pure fifths gives a number of pure octaves: for all a,c∈Na, c \in \mathbb{N}

(32)a≠2c.\Bigl(\frac{3}{2}\Bigr)^{a} \neq 2^{c}.
Proof

The equation would mean 3a=2a+c3^a = 2^{a+c}. On the left stands a product of odd numbers, hence an odd number, on the right an even one. By unique factorisation (Chapter 4) a number cannot consist only of threes and only of twos at the same time.

∎

That is why every tuning system has to make a compromise. The equal temperament usual today spreads the comma over all twelve fifths and makes each a little too small. For the Pythagoreans it was perhaps the first encounter with a limit that lies in the numbers themselves. The second follows in the next chapter.

Checked by computer: the proof in Lean

komma is Theorem 3 in the form 3a≠2b3^a \neq 2^b with b≥1b \ge 1. Lean shows that 3a3^a leaves remainder 1 on division by 2 and 2b2^b remainder 0. The last line works out the numbers of the comma.

/-! Kapitel 8: Verhältnisse und das pythagoreische Komma -/

/-- Satz 3: Keine Anzahl reiner Quinten ergibt reine Oktaven,
    3^a ≠ 2^b für b ≥ 1. Eine Potenz von 3 ist ungerade,
    eine Potenz von 2 gerade. -/
theorem komma (a b : Nat) (hb : 1 ≤ b) : 3 ^ a ≠ 2 ^ b := by
  intro h
  have h3 : 3 ^ a % 2 = 1 := by
    rw [Nat.pow_mod]
    simp
  have h2 : 2 ^ b % 2 = 0 := by
    obtain ⟨c, rfl⟩ : ∃ c, b = c + 1 := ⟨b - 1, by omega⟩
    rw [Nat.pow_succ]
    simp
  omega

-- Das Komma: 3¹² gegen 2¹⁹, also 531441 gegen 524288
example : 3 ^ 12 = 531441 ∧ 2 ^ 19 = 524288 := by decide

Try it in the browser at live.lean-lang.org ↗How to read Lean

Where this appears on the website

The pages of the Harmonics section build on these ratios, especially The lambdoma and Space and time: the monochord in the lambdoma. The connection between divisibility and sound described there rests on Theorem 1: fractions in lowest terms are exactly the new tones.

Sources and further reading

Sources

  • Euclid, Elements, around 300 BC, book V and VII
  • Georg Cantor, Über eine Eigenschaft des Inbegriffes aller reellen algebraischen Zahlen, Journal für die reine und angewandte Mathematik 77, 1874

Further reading

  • G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, Oxford 1938, 6th ed. 2008