WHY PIANOS AREN'T PERFECTLY HARMONIC

Why piano octaves stretch

A piano wire is not perfectly flexible. Its bending stiffness nudges upper partials sharp, so the octave above the fundamental is slightly wider than 2:1.

MODEL IN MOTION
01 / THE APPARATUS

One speaking length of piano wire

HIGH DETAIL
WHAT YOU ARE SEEING

A triangular pluck releases a travelling disturbance. The wire's stiffness makes each higher partial drift farther above an exact integer multiple.

FUNDAMENTAL—Hz · calculated, illustrative model
INHARMONICITY B—dimensionless · calculated, illustrative model
OCTAVE STRETCH—cents above 2:1 · calculated, illustrative model
WIRE STRESS—MPa · calculated, illustrative model
04 / TRUST, BUT VERIFY

Independent numerical checks

Updated with every parameter change
01Dispersion identityPASS

Closed-form partial frequency versus the tension-plus-bending dispersion relation.

Relative difference0.000%
02Discrete string gridPASS

Finite-difference eigenfrequency on a 512-point scaled grid versus the continuum mode.

Relative difference—
03Pluck-shape ParsevalPASS

Numerical area under the squared triangular pluck versus its modal coefficient sum.

Relative difference—

Checks validate the mathematics and numerical implementation, not the accuracy of every real piano construction detail.

05 / MODEL NOTESThe science

Governing equation

The idealised transverse displacement y(x,t) of a uniform, tensioned, stiff wire follows

μ ytt = T yxx − EI yxxxx

Here μ is mass per unit length, T is tension, E is Young's modulus and I is the second moment of area. For a circular wire, I = πd⁴/64 and μ = ρπd²/4.

fn = n f1 √[(1 + Bn²)/(1 + B)]

The inharmonicity coefficient is B = π²EI/(TL²). If B is zero, the partials are exact integer multiples. Positive B makes upper partials sharp.

What is simplified

  • Uniform circular steel wire, constant tension and small transverse displacement.
  • Simply supported ends approximate the speaking-length boundaries.
  • One exponential decay time is shared by every mode; real piano partials decay at different rates.
  • The pluck is a triangular initial displacement. The drawn waveform is a slowed modal reconstruction, not an audio recording.

Constants and labels

  • Textbook approximations: steel density 7,850 kg/m³ and Young's modulus 200 GPa.
  • Illustrative: 1.8 GPa tensile screening limit; real piano wire strength depends on grade and processing.
  • Calculated: all live frequencies, stress, B and cents offsets come from the displayed model.
  • Scaled: animation time is slowed 500× so the vibration can be seen.

This educational model is not a piano-design or wire-safety specification.