7 Ways That Music and Mathematics Relate

Music and Mathematics are two vastly different disciplines that, at first glance, would appear not to share any common ground. Yet mathematics has aided our understanding of music and the patterns within it for countless years.

Let us explore some instances where this connection can be observed.

Key Takeaways

  • Musical rhythm, including time signatures and beats, is based on mathematical patterns and intervals.
  • Timbre, the unique sound quality of instruments, can be analyzed using principles from Fourier analysis, revealing distinct frequency components.
  • Scales and modes are mathematical arrangements of tones, with variations in pitch sequences leading to different modes.
  • Mathematical formulas relate wavelength, velocity, and frequency, helping us understand how pitch is determined in music.
  • Composition and form in music often involve the use of mathematical patterns and structures for organizing musical pieces.
  • Reflection and inversion can describe some musical patterns. For example, a melody can reverse the direction of its intervals around a note.
  • Background music does not guarantee better learning. Lyrics can distract from reading, and the effect varies with the task and listener.

1. Measuring and Reading Rhythm in Music Is Very Mathematical

One of the most fundamental components of music is rhythm. Without this, there would be nothing more than a series of unpleasant sounds coming from an instrument of some sort. The pattern that occurs with beats or pulses happening at specific intervals of time is what separates the instruments into melodies.

There are mathematical principles behind these patterns, some of which can be read directly.

For example, take 4/4 Time. This is one of the simplest patterns in music to identify. The tempo may vary (the speed at which it repeats), but for this example, let’s assume that it repeats every four beats.  The time signature in the music tells you this.

To measure each beat, one would simply count 1-2-3-4 in fours. These beats are all identical to one another, the same length of time for them all.

Or take 3/4 Time, which consists of three beats to every measure. Again, the tempo of the music may change, but for this example, let’s assume it is played at a moderate pace.

To measure each beat, one would count 1-2-3…1-2-3…1-2-3…You get the idea. These beats are also all identical to one another. However, they are only three beats to a measure instead of four.

Then there can be many different types of notes in between these. For example, the notes can be divided into quarter notes, eighth notes, sixteenth notes, etc. The space between two of these different types of notes is what gives the rhythm its specific mathematical quality.

There are many more examples like this one, but let’s take a break from measuring beats and time signatures for now.

2. Musical Timbre is Also Very Mathematical

Another fundamental component of music is timbre, or the aspect of sound that makes something like a piano different from an electric guitar. This is what gives distinguishable characteristics to instruments, particularly in the area of soloing.

Timbre can also be mathematically measured, and this will surprise most people! Why? It stems directly from harmonic analysis based on Fourier transforms. These principles only work with some musical pieces and some instruments, but for those pieces and instruments, you can measure them directly.

For example, let’s take the electric guitar again. Although it is very similar to the piano when playing chords made of several notes at once, what makes it distinct is the fact that each note played on the electric guitar has a different timbre than all of the others, an aspect that cannot be captured when playing chords.

To measure this, one would use principles from Fourier analysis to find what similar frequency components are dominant in an instrument’s sound or musical piece. Then compare these frequency components between one instrument and another. This can be done with software to make this process faster.

The piano would have a smoother sound, while the guitar would have a more jagged or rough-sounding timbre. However, it’s important to note that timbre is a complex and subjective quality, and mathematical analysis alone may not fully capture it.

3. Musical Scales Are Mathematical!

Let us take a look at the concept of scales within music. Scales are divided into modes, which can be measured mathematically. Let’s first briefly describe what exactly a mode is:

A mode is a scale with a particular pattern of intervals and a note that feels like home. The C major scale, for instance, contains seven distinct notes in this order:  C D E F G A B. Playing those same notes with D as the center produces D Dorian, which places its half steps differently relative to the starting note.

The seven notes of a major scale can each become the starting point for a different mode. What changes is where the whole-step and half-step gaps fall relative to that starting note.

Start on C and play the white keys to the next C for C Ionian, the major scale. Start on D and play the same white keys to the next D for D Dorian. The notes are shared, but the pattern of intervals from the starting note feels different.

That is a rotation of a seven-note pattern, not an arbitrary reordering of pitches. It gives a player a practical way to hear how changing the tonal center changes the mode.

4. Math Helps Us Understand Musical Frequency

Another item that has to do with music theory is how we understand frequency. If you have a very general sense of what a wave is, then the frequency of a sound is its pitch, that is, how high or low it sounds.

For a repeating sound wave, wave speed equals frequency multiplied by wavelength: v = f × λ. If the speed stays nearly constant in the same air, a higher frequency has a shorter wavelength.

Wavelength is the distance between matching points on successive waves. Wave speed tells you how fast the disturbance travels; frequency counts how many cycles pass a point each second.

For example, a 440 Hz tone completes 440 cycles in one second. Doubling its frequency to 880 Hz raises it by an octave while halving its wavelength in the same air.

5. Composition and Form Are Connected to Mathematics

Composition and form also have ties to mathematics. Considering that both composition and form refer to different ways we can structure music, there are certainly many similarities between these two concepts. However, one difference is that composition, as it pertains to music theory, refers only to the way pieces are structured or organized.

Form, on the other hand, can refer both to how individual pieces are structured as well as how they are connected together. For example, if you have four movements in a piece of music and these movements correspond with each other by either repeating similar sections or having parts that clearly connect them, then this would be considered form within the context of music.

6. What Is Symmetry? How Does It Relate to Music Theory?

Now that we’ve gained some insight into what differentiates various sounds and tones (and different scales and modes), let us get into how symmetry has something to do with all of this!

In music, symmetry is easier to hear through a pattern that mirrors itself. One useful technique is melodic inversion, which turns an upward interval into a downward interval of the same size.

Think of a note as the mirror line: a note two semitones above it can be answered by one two semitones below it. That is a clear musical reflection. A phrase can also repeat in a new pitch position, although repetition and reflection are different operations.

Musical patterns can show symmetry, but playing every other note in a scale is not rotational symmetry. To try a reflection around C, play D above it, then B-flat below it. Each note is two semitones from C, on opposite sides.

7. Music Can Help Us When Studying and Reading

Even though the connection between mathematics and music theory is not as strong as in many other areas of mathematics, you can still see that there are some strong ties between these two concepts.

Background music can feel pleasant while you study, but it does not reliably improve reading or memory. In one experiment, college students understood reading passages less well when music with lyrics played than when they read in silence. Try silence or quiet instrumental music for demanding work and judge which helps you concentrate.

The study of music-triggered personal memories linked here examined recollections from everyday life. It did not test whether listening during study improves learning.

As you read about the links between mathematics and music theory, some of the ideas may have felt easy to follow while others were trickier. Either way, no matter how hard you found a particular section, or even if you started to switch off partway through, if you made it this far you should now have a decent grasp of at least some of the topics covered.

Conclusion

Music and Math are both very interesting concepts that can often be found to share some strong ties. In this blog post, we have only been able to cover a small portion of what you will learn when studying what connections exist between these two subjects.

We hope this article has helped explain how music and math relate with a few examples!