# Music and Math

### Classical Music, Ludwig van Beethoven, Mathematics

**How is it that Beethoven, who is celebrated as one of the most significant composers of all time, wrote many of his most beloved songs while going deaf? The answer lies in the math behind his music. Using the â€œMoonlight Sonataâ€, we can begin to understand the way Beethoven was able to convey emotion and creativity using the certainty of mathematics.**

**The standard piano octave consists of 13 keys, each separated by a half step. A standard major or minor scale uses 8 of these keys with 5 whole step intervals and 2 half step ones.**

**The first half of measure 50 of â€œMoonlight Sonataâ€ consists of three notes in D major, separated by intervals called thirds that skip over the next note in the scale. By stacking the notes first, third, and fifth notes – D, F sharp, and A – we get a harmonic pattern known as a triad.**

**But, these arenâ€™t just arbitrary magic numbers. Rather, they represent the mathematical relationship between the pitch frequencies of different notes, which form a geometric series. The stacking of these three frequencies creates â€˜consonanceâ€™, which sounds naturally pleasant to our ears. Examining Beethovenâ€™s use of both consonance and dissonance can help us begin to understand how he added the unquantifiable elements of emotion and creativity to the certainty of mathematics.**

For a deeper dive into the mathematics of the â€œMoonlight Sonataâ€, watch the TED-Ed Lesson Music and math: The genius of Beethoven – Natalya St. Clair

**Animation by Qaâ€™ed Mai**

Via Ratak Monodosico.