In brief
Behind every note there's a number. The pitch of a sound is a frequency, the intervals we hear as "harmonious" are simple ratios between whole numbers, and the shape of a sound wave is described by a single equation. Understanding the maths of music takes nothing away from its beauty: it shows where that beauty comes from.
Rhythm and pitch: two different things
It's worth separating two aspects that maths governs in different ways.
Rhythm lives in time: it's measured in beats per minute (BPM) and in note durations — semibreve, minim, crotchet, quaver — which relate to one another as 1/2, 1/4, 1/8. It's the regular subdivision of time that gives a piece its "step".
Pitch, by contrast, depends on the frequency of vibration, measured in hertz (Hz): the higher the frequency, the higher the sound. The reference "A" that instruments tune to is fixed at 440 Hz; the "A" an octave above vibrates at exactly double, 880 Hz.
Consonant intervals are simple ratios
Pythagoras, experimenting with a stretched string (the monochord), already noticed that the most consonant intervals arise from ratios between small numbers:
- 2:1 → the octave (440 and 880 Hz)
- 3:2 → the fifth
- 4:3 → the fourth
The simpler the ratio, the more the ear perceives the two sounds as "in agreement". It's one of the most direct connections between numbers and perception: harmony, in the literal sense, is arithmetic.
Want to improve your performance?
Contact us for your first lesson and find out how we can help you with a personalized learning path.
Book nowThe equation of a sound wave
A pure tone is an oscillation described by the equation of a sine wave:
y = A·sin(2π·f·t + φ)
where A is the amplitude (the volume), f the frequency (the pitch), t the time and φ the phase. It's the same formula synthesisers use to generate digital sounds and that models the vibration of a string or a column of air. Changing A and f alters volume and note; adding several sine waves together builds the different timbres.
Want to improve your performance?
Contact us for your first lesson and find out how we can help you with a personalized learning path.
Book nowThe Fourier transform: behind the MP3
A real sound isn't a single sine wave, but the sum of many frequencies. The Fourier transform is the mathematical tool that decomposes a sound into its component frequencies — a little like splitting white light into the colours of the rainbow.
It isn't just theory: it's what makes digital music possible. MP3 compression, for instance, analyses the frequencies of each instant and discards those the human ear can't perceive, drastically reducing the file size with no audible loss of quality. Every time you stream music, you're using the Fourier transform.
What about the golden ratio?
You'll often read that composers structure their works with the Fibonacci sequence and the golden ratio. It's a fascinating idea, but one to treat with caution: some analysts have spotted it after the fact in composers such as Bartók or Debussy, while in many cases it's more a suggestion than a conscious compositional rule. The "solid" maths of music lies elsewhere — in frequencies and waves.
Why it's worth understanding
Music is perhaps the most enjoyable way to discover that equations describe the real world. The same skills — functions, ratios, a little wave physics — explain a chord and are needed in sound engineering, computer science and acoustics. To build those foundations, maths tutoring starts right here.
FAQ
Want to improve your performance?
Contact us for your first lesson and find out how we can help you with a personalized learning path.
Book nowWhat's the relationship between mathematics and music?
The pitch of sounds is a frequency measurable in hertz, consonant intervals correspond to simple ratios between whole numbers (2:1 the octave, 3:2 the fifth), and the shape of a sound wave is described by the equation y = A·sin(2π·f·t + φ). Rhythm, in turn, is the regular subdivision of time.
What is the sine-wave equation?
y = A·sin(2π·f·t + φ) describes a pure tone over time: A is the amplitude (volume), f the frequency (pitch), t the time and φ the phase. Synthesisers use it to generate and combine digital sounds.
Is the Fibonacci sequence really used in music?
With caution: some analyses find proportions linked to the golden ratio in composers such as Bartók, but these are often readings made after the fact rather than explicit compositional rules. The most solid mathematical connection in music concerns frequencies and waves, not Fibonacci.
What is the Fourier transform used for in music?
It decomposes a sound into its component frequencies. It underpins digital music: MP3 compression uses it to remove the frequencies the ear can't perceive and shrink file sizes with no audible loss of quality.
Andrea
Responsabile Didattica Italiana Test d'Ingresso
STEM center of excellence in Milan. Certified tutors, structured methodology, and proprietary technology to guide every student toward their goals.