Here is a detailed explanation of why it is mathematically impossible to tune a piano perfectly, centered on the concept of the Pythagorean comma.
1. The Core of the Problem: Harmonics vs. Cycles
To understand the problem, we must first understand how musical notes interact. When a string vibrates, it produces a fundamental frequency (the pitch we hear) and a series of overtones (harmonics). These harmonics follow simple mathematical ratios.
- The Octave (2:1 ratio): If you take a frequency (say, 100 Hz) and double it (200 Hz), you get an octave. To the human ear, these sound like the "same" note, just higher.
- The Perfect Fifth (3:2 ratio): If you multiply a frequency by 1.5 (or 3/2), you get the "perfect fifth." This is the most consonant, stable interval in music after the octave.
The Tuning Goal: A perfectly tuned instrument should create "pure" octaves (perfect 2:1 ratios) and "pure" fifths (perfect 3:2 ratios).
2. The Cycle of Fifths Experiment
Imagine you are sitting at a piano. You start at the very bottom key, let's say a low C. Your goal is to reach the highest C on the keyboard using two different methods to see if they match.
Method A: The Ladder of Octaves You move up the keyboard by jumping in octaves (doubling the frequency). * Start at C. * Jump up 7 octaves. * Mathematically: $(2/1)^7 = 128$. * You have multiplied your starting frequency by exactly 128.
Method B: The Ladder of Fifths You move up the keyboard by jumping in perfect fifths (multiplying the frequency by 1.5). * Start at C. * Jump up a fifth to G, then to D, then A, E, B, F#, C#, G#, D#, A#, F, and finally back to C. * This takes 12 jumps to return to a "C" note. * Mathematically: $(3/2)^{12} ≈ 129.746$. * You have multiplied your starting frequency by approximately 129.75.
3. The Discovery of the Comma
Here lies the mathematical impossibility.
- If you tune by pure octaves, you arrive at the frequency multiple 128.
- If you tune by pure fifths, you arrive at the frequency multiple 129.746.
These two numbers are not the same. The note you reach by tuning perfect fifths is slightly sharper (higher in pitch) than the note you reach by tuning perfect octaves.
This discrepancy—the gap between 128 and 129.746—is called the Pythagorean Comma.
$$ \frac{(3/2)^{12}}{(2/1)^7} \approx 1.0136 $$
This ratio (roughly 1.0136, or about 23-24 cents in musical terms, almost a quarter of a semitone) is small but very audible. It sounds harsh, beating, and out of tune.
4. Why This Breaks the Piano
A piano has fixed keys. When you press the key for C, it produces one specific pitch. However, mathematics demands that C be two different pitches simultaneously: 1. One pitch to make it sound perfect with the octave below it. 2. A slightly different pitch to make it sound perfect with the F or G next to it.
You cannot have both. You are forced to choose: * If you make your Octaves pure, your Fifths will sound wobbly and out of tune (the "wolf interval"). * If you make your Fifths pure, your Octaves will drift apart, and playing in different keys will sound disastrous.
5. Historical Solutions (Temperaments)
Because perfection is impossible, musicians and mathematicians have spent centuries deciding where to "hide" this extra comma. These systems are called Temperaments.
A. Pythagorean Tuning (Ancient Greece - Middle Ages): They tuned all fifths perfectly pure (3:2). When they completed the circle, the final fifth was hideously out of tune to compensate for the entire comma. This interval was called the "Wolf Fifth" because it howled. This worked fine for simple music that didn't change keys.
B. Meantone Temperament (Renaissance/Baroque): They compromised the fifths slightly to make the major thirds sound sweeter (pure). This made some keys sound heavenly and others sound completely broken. Composers simply avoided writing music in the "broken" keys.
C. Equal Temperament (Modern Standard): This is how modern pianos are tuned. To solve the problem, we take the Pythagorean Comma and smash it into 12 equal pieces. We distribute that error evenly across all 12 notes of the chromatic scale.
- The Result: Every single interval on a modern piano (except the octave) is slightly out of tune.
- The Fifth: Instead of a pure 1.5 ratio, a modern fifth is $1.4983$.
- The Benefit: The error is so spread out that the human ear tolerates it. Crucially, this allows a piano to play in any key (C major, F# major, Bb minor) and sound equally good (or equally "bad").
Summary
The mathematical impossibility of perfectly tuning a piano arises because the powers of 2 (octaves) and the powers of 3 (fifths) never intersect. No integer power of 2 equals an integer power of 3 ($2^x \neq 3^y$).
Therefore, the piano is an instrument of compromise. It is deliberately tuned "incorrectly" (via Equal Temperament) so that the mathematical error—the Pythagorean Comma—is imperceptible to the listener, allowing for harmonic freedom across all keys.