maths.free › Discrete Math & Logic › 13. Math and... › Math and Music
Math and Music
Describe the basics of frequency related to sound.
Learning Objectives
After completing this section, you should be able to:
- Describe the basics of frequency related to sound.
- Describe the basics of pitch as it relates to music.
- Describe and evaluate musical notes, half-steps, whole steps, and octaves.
- Describe and find frequencies of octaves.
Basics of Frequency as It Relates to Sound
Every sound is created by an object vibrating and these vibrations travel in waves that are captured by our ears. Some vibrations we may be able to see, such as a plucked guitar string moving, whereas other vibrations we may not be able to see, such as the sound created when we hold our breath when accidentally dropping our cell phone on a hard floor. We don’t see the vibrations of our cell phone hitting the floor; however, any audible sound created in the fall is the result of vibrations in the form of sound waves, which can be pictured similarly to waves moving through the ocean.
The waves of sounds each have a frequency, or rate of vibration of sound waves, that measures the number of waves completed in a single second and are measured in hertz (Hz; one Hz is one cycle per second). Louder sounds have stronger vibrations or are created closer to our ear. The further an ear is from the source of the sound, the quieter the sound will appear.
Sounds range in frequency from 16 Hz to ultrasonic values, with humans able to hear sounds in a frequency range of about 20 Hz to 20,000 Hz. Adults lose the ability to hear the upper end of the range and typically top out in the ability to hear in a frequency of 15,000–17,000 Hz. Sounds with a frequency above 17,000 Hz are less likely to be heard by adults while still being audible to children.
While frequency plays a key role in audible sounds, so too does the sound level, which can be measured in decibels (dB), which are the units of measure for the intensity of a sound or the degree of loudness. As a sound level increases, the decibel level increases.
A person with average hearing can hear sounds down to 0 dB. Those with exceptionally good hearing can hear even quieter sounds, down to approximately –5 dB. The following table includes sample sounds with their related decibel values.
| Sound | Decibels (dB) |
| Firecrackers | 140 |
| Take-off of military jet from aircraft carrier | 130 |
| Clap of thunder | 120 |
| Auto horn standing next to the vehicle | 110 |
| Outboard motor | 100 |
| Motorcycle | 90 |
| Noise inside a car in city traffic | 80 |
| Typical washing machine | 70 |
| Public conversation, such as at a restaurant | 60 |
| Private conversation | 50 |
| Hum of a computer with fan blowing | 40 |
| Quiet whisper | 30 |
| Swishing leaves | 20 |
| Regular breathing | 10 |
| Lowest typical sound audible by teenagers | 0 |
Selecting Decibel Value of Sounds
Try it.
Select the most representative decibel value for each of the following sounds:
- car wash: 25 dB, 55 dB, 85 dB
- vacuum cleaner: 15 dB, 70 dB, 90 dB
- ship’s engine room: 30 dB, 65 dB, 95 dB
- approaching subway car: 70 dB, 100 dB, 120 dB
Solution
- 85 dB
- 70 dB
- 95 dB
- 100 dB
Basics of Pitch
When considering the various sound levels the human ear can hear, the ear perceives sound both from the frequency level and the pitch of a sound. The quality of the sound is referred to as pitch, the tonal quality of a sound and how high or low the tone. Sounds with a high frequency have a high pitch, such as 900 Hz, and sounds with a low pitch have a low frequency, such as 50 Hz.
Let’s take a look at frequency and pitch using a string instrument such as a guitar or piano. When a string is plucked on a guitar or a key is played on a piano, the related string vibrates at a frequency that is related to the length and thickness of the string. The frequency is measurable and has a singular value. The pitch of the note played is open for interpretation, as the pitch is a function of personal opinion.
Note Values, Half-Steps, Whole Steps, and Octaves
“There are not more than five musical notes, yet the combinations of these five give rise to more melodies than can ever be heard.”
Sun Tzu, Chinese strategist
Moving our exploration to note values, the frequency of all notes is well defined by a specific and unique frequency for each note that is measurable. We will explore keys on a keyboard to discuss notes that have the same relationships with any instrument or musical piece.
Let’s look at . The white keys are labeled with the letters A–G and the photo begins with middle C, which can be found in the middle of a keyboard. This labeling of the keys repeats across an entire keyboard and keys to the right have a higher pitch and frequency than keys to the left. Each of the keys correlates to a musical note.
Movement up or down between any two consecutive keys (black and white) or notes constitutes a half-step. Movement of one half-step sometimes involves a sharp (#) or a flat (♭) symbol. For example, D# is one half-step above D and D♭ is one half-step below D. Note that this is not always true as one half-step above B is C, and one half-step below F is E. In similar fashion, a whole step is movement up or down between any two half-steps on a keyboard.
Identifying Half-Steps
Try it.
Name which keys are one half-step up and one half-step down from the following:
- D
- E
- G#
Solution
- up D#, down D♭
- up F, down E♭
- up A, down G
Identifying Whole Steps
Try it.
Name which keys are one whole step up and one whole step down from the following:
- F#
- E
- A♭
Solution
- Up G#, down E
- Up F#, down D
- Up B♭, down G♭
You may have noticed that there are eight letters of the alphabet used to label notes. Selecting any one note and counting up 12 half-steps you will find that the numbering for notes begins at the same value as you started from. This collection of 12 consecutive half-notes is called an octave and is a basic foundational component in music theory.
Listing All Notes in an Octave
Try it.
List the 12 notes forming an octave, beginning with the note C.
Solution
C, C#, D, D#, E, F, F#, G, G#, A, A#, B
Frequencies of Octaves
Notes that are one octave apart have the same name and are related in frequency values. Given the frequency of any note, the frequency of same note one octave higher is doubled and this pattern continues as you move up and down the notes on a keyboard or any other musical instrument. Song writers and singers use this knowledge to change the pitch of a note up or down to align with a person’s vocal range. Regardless of which C is played or sung, the pitch is the same and the frequency is related by a power or two.
Labeled keys on a keyboard are numbered for ease in identification. For example, middle C is labeled as C4 on a full keyboard as it is the fourth C from the left in a set of eight notes. The frequency of C4 is 262 Hz, rounded to the nearest whole number.
Calculating the Frequency Values of Octaves
Try it.
Given that the frequency of C4 is 262 Hz, find the approximate frequency of C6.
Solution
The frequency of each consecutive higher octave doubles. Given that the frequency of C4 is 262 Hz, the frequency of C5 is found by doubling the frequency of C4, which is 524 Hz. In similar fashion, the frequency of C6 is found by doubling the frequency of C5, which yields 1,048 Hz.
We have explored some basics components of frequency, pitch, note relationships, and octaves, which are building blocks of music. It may be exciting to learn that the mathematical relationships found in music are vast and grow in complexity beyond the math commonly studied in high school.
Condensed — the full section is in OpenStax Contemporary Mathematics.
Key Concepts
- As frequency of a sound increases, the pitch of the sound increases.
- Hertz is a unit of measurement for frequency.
- Decibel is a unit of measurement for the intensity of sound.
- Half-steps and whole-steps describe one type of movement between two notes on a keyboard.
- Octaves are a collection of any 12 consecutive notes, which is a foundation in music theory.
Practice (5)
Try each one on paper first. Reveal the answer to check; verified ones can be opened in the solver for every step.
-
Select the most representative decibel value for each of the following sounds:
- car wash: 25 dB, 55 dB, 85 dB
- vacuum cleaner: 15 dB, 70 dB, 90 dB
- ship’s engine room: 30 dB, 65 dB, 95 dB
- approaching subway car: 70 dB, 100 dB, 120 dB
Zbulo përgjigjen
- 85 dB
- 70 dB
- 95 dB
- 100 dB
-
Name which keys are one half-step up and one half-step down from the following:
- D
- E
- G#
Zbulo përgjigjen
- up D#, down D♭
- up F, down E♭
- up A, down G
-
Name which keys are one whole step up and one whole step down from the following:
- F#
- E
- A♭
Zbulo përgjigjen
- Up G#, down E
- Up F#, down D
- Up B♭, down G♭
-
List the 12 notes forming an octave, beginning with the note C.
Zbulo përgjigjen
C, C#, D, D#, E, F, F#, G, G#, A, A#, B
-
Given that the frequency of C4 is 262 Hz, find the approximate frequency of C6.
Zbulo përgjigjen
The frequency of each consecutive higher octave doubles. Given that the frequency of C4 is 262 Hz, the frequency of C5 is found by doubling the frequency of C4, which is 524 Hz. In similar fashion, the frequency of C6 is found by doubling the frequency of C5, which yields 1,048 Hz.
Symbols used here
n × (n−1) × … × 1; the number of orderings of n things. 0! = 1.
Number of k-element subsets of n things: n!/(k!(n−k)!).
Add a_k for k = 1 up to n.
x belongs to A; every element of A is in B.
In either; in both; in A but not B.
The set with no elements; the number of elements of A.
Quantifiers: every x; at least one x.
Logical connectives.
Marks the point where the statement has been established.
n divides a − b; a and b have the same remainder.
Grows no faster than n² (up to a constant), for large n.
What is left after dividing a by n.
How to: Math and Music
- Describe the basics of frequency related to sound.
- Describe the basics of pitch as it relates to music.
- Describe and evaluate musical notes, half-steps, whole steps, and octaves.
- Describe and find frequencies of octaves.
- car wash: 25 dB, 55 dB, 85 dB
- vacuum cleaner: 15 dB, 70 dB, 90 dB
- ship’s engine room: 30 dB, 65 dB, 95 dB
- approaching subway car: 70 dB, 100 dB, 120 dB
Questions people ask
What makes mathematics "discrete"?
It deals with separate, countable objects — integers, graphs, statements — rather than continuous quantities. No limits, no infinitesimals; instead induction, counting and logic.
How does a proof by induction work?
Show the statement for the first case, then show that whenever it holds for n it holds for n + 1. Like dominoes: the first falls, and each knocks over the next.
Provo timen.
Parts of this page are adapted from OpenStax Contemporary Mathematics (CC BY-NC-SA 4.0). Condensed and re-explained here; errors are ours.
Më shumë në Discrete Math & Logic
Truth tablesSums and inductionProof by inductionAlgorithms and growth of functions