Mathematical Ratios Dictate Seven Notes of Modern Musical Scales
The specific arrangement of piano keys and musical notes relies on ancient Greek calculations of string vibration frequencies.

The physical layout of the modern piano keyboard, characterized by its irregular pattern of black and white keys, is the direct result of mathematical ratios discovered over 2,500 years ago. While a standard octave contains seven primary notes, the instrument utilizes 12 distinct keys to bridge the frequency gaps between them. This arrangement is not an aesthetic choice but a requirement of physics and the way human ears perceive harmonic vibrations.
Sound is produced by the frequency of a vibrating string, where faster vibrations result in higher pitches. When a string vibrates, it does not only move as a single unit but also in fractional parts, creating harmonics. A string vibrating at 200 Hz produces a note exactly one octave lower than a string vibrating at 400 Hz, establishing a 2:1 ratio. This mathematical relationship creates a perfect resonance that the human ear identifies as the same note at a different height.
Greek mathematician Pythagoras identified that the most pleasing intervals after the octave come from a 3:2 frequency ratio, known as a perfect fifth. By starting at a base frequency and repeatedly applying this 3:2 ratio, mathematicians derived the sequence of notes that form the diatonic scale: C, G, D, A, E, B, and F. This calculation reveals that the distances between these notes are not uniform, resulting in two distinct types of intervals known as whole steps and half steps.





