$$\require{cancel}$$

# 17.3: Speed of Sound

• • Contributed by OpenStax
• General Physics at OpenStax CNX

Learning Objectives

• Explain the relationship between wavelength and frequency of sound
• Determine the speed of sound in different media
• Derive the equation for the speed of sound in air
• Determine the speed of sound in air for a given temperature

Sound, like all waves, travels at a certain speed and has the properties of frequency and wavelength. You can observe direct evidence of the speed of sound while watching a fireworks display (Figure $$\PageIndex{1}$$). You see the flash of an explosion well before you hear its sound and possibly feel the pressure wave, implying both that sound travels at a finite speed and that it is much slower than light. Figure $$\PageIndex{1}$$: When a firework shell explodes, we perceive the light energy before the sound energy because sound travels more slowly than light does.

The difference between the speed of light and the speed of sound can also be experienced during an electrical storm. The flash of lighting is often seen before the clap of thunder. You may have heard that if you count the number of seconds between the flash and the sound, you can estimate the distance to the source. Every five seconds converts to about one mile. The velocity of any wave is related to its frequency and wavelength by

$$v = f \lambda, \label{17.3}$$

where $$v$$ is the speed of the wave, $$f$$ is its frequency, and $$\lambda$$ is its wavelength. Recall from Waves that the wavelength is the length of the wave as measured between sequential identical points. For example, for a surface water wave or sinusoidal wave on a string, the wavelength can be measured between any two convenient sequential points with the same height and slope, such as between two sequential crests or two sequential troughs. Similarly, the wavelength of a sound wave is the distance between sequential identical parts of a wave—for example, between sequential compressions (Figure $$\PageIndex{2}$$). The frequency is the same as that of the source and is the number of waves that pass a point per unit time. Figure $$\PageIndex{2}$$: A sound wave emanates from a source, such as a tuning fork, vibrating at a frequency f. It propagates at speed v and has a wavelength $$\lambda$$.

# Speed of Sound in Various Media

Table $$\PageIndex{1}$$ shows that the speed of sound varies greatly in different media. The speed of sound in a medium depends on how quickly vibrational energy can be transferred through the medium. For this reason, the derivation of the speed of sound in a medium depends on the medium and on the state of the medium. In general, the equation for the speed of a mechanical wave in a medium depends on the square root of the restoring force, or the elastic property, divided by the inertial property,

$$v = \sqrt{\frac{\text{elastic property}}{\text{inertial property}}} \ldotp$$

Also, sound waves satisfy the wave equation derived in Waves,

$$\frac{\partial^{2} y (x,t)}{\partial x^{2}} = \frac{1}{v^{2}} \frac{\partial^{2} y (x,t)}{\partial t^{2}} \ldotp$$

Recall from Waves that the speed of a wave on a string is equal to $$v = \sqrt{\frac{F_{T}}{\mu}}$$, where the restoring force is the tension in the string FT and the linear density $$\mu$$ is the inertial property. In a fluid, the speed of sound depends on the bulk modulus and the density,

$$v = \sqrt{\frac{B}{\rho}} \ldotp \label{17.4}$$

The speed of sound in a solid the depends on the Young’s modulus of the medium and the density,

$$v = \sqrt{\frac{Y}{\rho}} \ldotp \label{17.5}$$

In an ideal gas (see The Kinetic Theory of Gases), the equation for the speed of sound is

$$v = \sqrt{\frac{\gamma RT_{K}}{M}}, \label{17.6}$$

where $$\gamma$$ is the adiabatic index, R = 8.31 J/mol • K is the gas constant, TK is the absolute temperature in kelvins, and M is the molecular mass. In general, the more rigid (or less compressible) the medium, the faster the speed of sound. This observation is analogous to the fact that the frequency of simple harmonic motion is directly proportional to the stiffness of the oscillating object as measured by k, the spring constant. The greater the density of a medium, the slower the speed of sound. This observation is analogous to the fact that the frequency of a simple harmonic motion is inversely proportional to m, the mass of the oscillating object. The speed of sound in air is low, because air is easily compressible. Because liquids and solids are relatively rigid and very difficult to compress, the speed of sound in such media is generally greater than in gases.

Table $$\PageIndex{1}$$: Speed of Sound in Various Media
Mediumv (m/s)
Gases at 0°C
Air331
Carbon dioxide259
Oxygen316
Helium965
Hydrogen1290
Liquids at 20°C
Ethanol1160
Mercury1450
Water, fresh1480
Sea water1540
Human tissue1540
Solids (longitudinal or bulk)
Vulcanized rubber54
Polyethylene920
Marble3810
Glass, Pyrex5640
Aluminum5120
Steel5960

Because the speed of sound depends on the density of the material, and the density depends on the temperature, there is a relationship between the temperature in a given medium and the speed of sound in the medium. For air at sea level, the speed of sound is given by

$$v = 331\; m/s \sqrt{1 + \frac{T_{C}}{273 °C}} = 331\; m/s \sqrt{\frac{T_{K}}{273\; K}} \label{17.7}$$

where the temperature in the first equation (denoted as TC) is in degrees Celsius and the temperature in the second equation (denoted as TK) is in kelvins. The speed of sound in gases is related to the average speed of particles in the gas,

$v_{rms} = \sqrt{\frac{3k_{B}T}{m}}.$

where $$k_B$$ is the Boltzmann constant (1.38 x 10−23 J/K) and m is the mass of each (identical) particle in the gas. Note that v refers to the speed of the coherent propagation of a disturbance (the wave), whereas $$v_{rms}$$ describes the speeds of particles in random directions. Thus, it is reasonable that the speed of sound in air and other gases should depend on the square root of temperature. While not negligible, this is not a strong dependence. At 0°C , the speed of sound is 331 m/s, whereas at 20.0 °C, it is 343 m/s, less than a 4% increase. Figure $$\PageIndex{3}$$ shows how a bat uses the speed of sound to sense distances. Figure $$\PageIndex{3}$$: A bat uses sound echoes to find its way about and to catch prey. The time for the echo to return is directly proportional to the distance.

# Derivation of the Speed of Sound in Air

As stated earlier, the speed of sound in a medium depends on the medium and the state of the medium. The derivation of the equation for the speed of sound in air starts with the mass flow rate and continuity equation discussed in Fluid Mechanics. Consider fluid flow through a pipe with cross-sectional area $$A$$ (Figure $$\PageIndex{4}$$). The mass in a small volume of length $$x$$ of the pipe is equal to the density times the volume, or

$m = \rho V = \rho Ax.$

The mass flow rate is

$$\frac{dm}{dt} = \frac{d}{dt} (\rho V) = \frac{d}{dt} (\rho Ax) = \rho A \frac{dx}{dt} = \rho Av \ldotp$$

The continuity equation from Fluid Mechanics states that the mass flow rate into a volume has to equal the mass flow rate out of the volume,

$\rho_{in} A_{in}v_{in} = \rho_{out} A_{out}v_{out}.$ Figure $$\PageIndex{4}$$: The mass of a fluid in a volume is equal to the density times the volume, $$m = \rho V = \rho Ax$$. The mass flow rate is the time derivative of the mass.

Now consider a sound wave moving through a parcel of air. A parcel of air is a small volume of air with imaginary boundaries (Figure $$\PageIndex{5}$$). The density, temperature, and velocity on one side of the volume of the fluid are given as $$\rho$$, T, v, and on the other side are $$\rho$$ + d$$\rho$$, $$T + dT$$, $$v + dv$$. Figure $$\PageIndex{5}$$: A sound wave moves through a volume of fluid. The density, temperature, and velocity of the fluid change from one side to the other.

The continuity equation states that the mass flow rate entering the volume is equal to the mass flow rate leaving the volume, so

$$\rho Av = (\rho + d \rho)A(v + dv) \ldotp$$

This equation can be simplified, noting that the area cancels and considering that the multiplication of two infinitesimals is approximately equal to zero: d$$\rho$$(dv) ≈ 0,

$$\begin{split} \rho v & = (\rho + d \rho)(v + dv) \\ & = \rho v + \rho (dv) + (d \rho)v + (d \rho)(dv) \\ 0 & = \rho (dv) + (d \rho) v \\ \rho\; dv & = -v\; d \rho \ldotp \end{split}$$

The net force on the volume of fluid (Figure $$\PageIndex{6}$$) equals the sum of the forces on the left face and the right face:

$$\begin{split} F_{net} & = p\; dy\; dz - (p + dp)\; dy\; dz \ & = p\; dy\; dz\; - p\; dy\; dz - dp\; dy\; dz \\ & = -dp\; dy\; dz \\ ma & = -dp\; dy\; dz \ldotp \end{split}$$ Figure $$\PageIndex{6}$$: A sound wave moves through a volume of fluid. The force on each face can be found by the pressure times the area.

The acceleration is the force divided by the mass and the mass is equal to the density times the volume, m = $$\rho$$V = $$\rho$$ dx dy dz. We have

$$\begin{split} ma & = -dp\; dy\; dz \\ a & = - \frac{dp\; dy\; dz}{m} = - \frac{dp\; dy\; dz}{\rho\; dx\; dy\; dz} = - \frac{dp}{\rho\; dx} \\ \frac{dv}{dt} & = - \frac{dp}{\rho\; dx} \\ dv & = - \frac{dp}{\rho dx} dt = - \frac{dp}{\rho} \frac{1}{v} \\ \rho v\; dv & = -dp \ldotp \end{split}$$

From the continuity equation $$\rho$$ dv = −vd$$\rho$$, we obtain

$$\begin{split} \rho v\; dv & = -dp \\ (-v\; d \rho)v & = -dp \\ v & = \sqrt{\frac{dp}{d \rho}} \ldotp \end{split}$$

Consider a sound wave moving through air. During the process of compression and expansion of the gas, no heat is added or removed from the system. A process where heat is not added or removed from the system is known as an adiabatic system. Adiabatic processes are covered in detail in The First Law of Thermodynamics, but for now it is sufficient to say that for an adiabatic process, $$pV^{\gamma} = \text{constant}$$, where $$p$$ is the pressure, $$V$$ is the volume, and gamma ($$\gamma$$) is a constant that depends on the gas. For air, $$\gamma$$ = 1.40. The density equals the number of moles times the molar mass divided by the volume, so the volume is equal to V = $$\frac{nM}{\rho}$$. The number of moles and the molar mass are constant and can be absorbed into the constant p $$\left(\dfrac{1}{\rho}\right)^{\gamma}$$ = constant. Taking the natural logarithm of both sides yields ln p − $$\gamma$$ ln $$\rho$$ = constant. Differentiating with respect to the density, the equation becomes

$$\begin{split} \ln p - \gamma \ln \rho & = constant \\ \frac{d}{d \rho} (\ln p - \gamma \ln \rho) & = \frac{d}{d \rho} (constant) \\ \frac{1}{p} \frac{dp}{d \rho} - \frac{\gamma}{\rho} & = 0 \\ \frac{dp}{d \rho} & = \frac{\gamma p}{\rho} \ldotp \end{split}$$

If the air can be considered an ideal gas, we can use the ideal gas law:

$$\begin{split} pV & = nRT = \frac{m}{M} RT \\ p & = \frac{m}{V} \frac{RT}{M} = \rho \frac{RT}{M} \ldotp \end{split}$$

Here M is the molar mass of air:

$$\frac{dp}{d \rho} = \frac{\gamma p}{\rho} = \frac{\gamma \left(\rho \frac{RT}{M}\right)}{\rho} = \frac{\gamma RT}{M} \ldotp$$

Since the speed of sound is equal to v = $$\sqrt{\frac{dp}{d \rho}}$$, the speed is equal to

$$v = \sqrt{\frac{\gamma RT}{M}} \ldotp$$

Note that the velocity is faster at higher temperatures and slower for heavier gases. For air, $$\gamma$$ = 1.4, M = 0.02897 kg/mol, and R = 8.31 J/mol • K. If the temperature is TC = 20 °C (T = 293 K), the speed of sound is v = 343 m/s. The equation for the speed of sound in air v = $$\sqrt{\frac{\gamma RT}{M}}$$ can be simplified to give the equation for the speed of sound in air as a function of absolute temperature:

$$\begin{split} v & = \sqrt{\frac{\gamma RT}{M}} \\ & = \sqrt{\frac{\gamma RT}{M} \left(\dfrac{273\; K}{273\; K}\right)} = \sqrt{\frac{(273\; K) \gamma R}{M}} \sqrt{\frac{T}{273\; K}} \\ & \approx 331\; m/s \sqrt{\frac{T}{273\; K}} \ldotp \end{split}$$

One of the more important properties of sound is that its speed is nearly independent of the frequency. This independence is certainly true in open air for sounds in the audible range. If this independence were not true, you would certainly notice it for music played by a marching band in a football stadium, for example. Suppose that high-frequency sounds traveled faster—then the farther you were from the band, the more the sound from the low-pitch instruments would lag that from the high-pitch ones. But the music from all instruments arrives in cadence independent of distance, so all frequencies must travel at nearly the same speed. Recall that

$$v = f \lambda \ldotp$$

In a given medium under fixed conditions, $$v$$ is constant, so there is a relationship between $$f$$ and $$\lambda$$; the higher the frequency, the smaller the wavelength (Figure $$\PageIndex{7}$$). Figure $$\PageIndex{7}$$: Because they travel at the same speed in a given medium, low-frequency sounds must have a greater wavelength than high-frequency sounds. Here, the lower-frequency sounds are emitted by the large speaker, called a woofer, whereas the higher-frequency sounds are emitted by the small speaker, called a tweeter.

Example $$\PageIndex{1}$$: Calculating Wavelengths

Calculate the wavelengths of sounds at the extremes of the audible range, 20 and 20,000 Hz, in 30.0 °C air. (Assume that the frequency values are accurate to two significant figures.)

Strategy

To find wavelength from frequency, we can use v = f$$\lambda$$.

Solution

1. Identify knowns. The value for v is given by $$v = 331\; m/s \sqrt{\frac{T}{273\; K}} \ldotp \nonumber$$
2. Convert the temperature into kelvins and then enter the temperature into the equation $$v = 331\; m/s \sqrt{\frac{303\; K}{273\; K}} = 348.7\; m/s \ldotp \nonumber$$
3. Solve the relationship between speed and wavelength for $$\lambda$$: $$\lambda = \frac{v}{f} \ldotp \nonumber$$
4. Enter the speed and the minimum frequency to give the maximum wavelength: $$\lambda_{max} = \frac{348.7\; m/s}{20\; Hz} = 17\; m \ldotp \nonumber$$
5. Enter the speed and the maximum frequency to give the minimum wavelength: $$\lambda_{min} = \frac{348.7\; m/s}{20,000\; Hz} = 0.017\; m = 1.7\; cm \ldotp \nonumber$$

Significance

Because the product of $$f$$ multiplied by $$\lambda$$ equals a constant, the smaller $$f$$ is, the larger $$\lambda$$ must be, and vice versa.

The speed of sound can change when sound travels from one medium to another, but the frequency usually remains the same. This is similar to the frequency of a wave on a string being equal to the frequency of the force oscillating the string. If $$v$$ changes and $$f$$ remains the same, then the wavelength $$\lambda$$ must change. That is, because $$v = f \lambda$$, the higher the speed of a sound, the greater its wavelength for a given frequency.

Exercise $$\PageIndex{1}$$

Imagine you observe two firework shells explode. You hear the explosion of one as soon as you see it. However, you see the other shell for several milliseconds before you hear the explosion. Explain why this is so.

Although sound waves in a fluid are longitudinal, sound waves in a solid travel both as longitudinal waves and transverse waves. Seismic waves, which are essentially sound waves in Earth’s crust produced by earthquakes, are an interesting example of how the speed of sound depends on the rigidity of the medium. Earthquakes produce both longitudinal and transverse waves, and these travel at different speeds. The bulk modulus of granite is greater than its shear modulus. For that reason, the speed of longitudinal or pressure waves (P-waves) in earthquakes in granite is significantly higher than the speed of transverse or shear waves (S-waves). Both types of earthquake waves travel slower in less rigid material, such as sediments. P-waves have speeds of 4 to 7 km/s, and S-waves range in speed from 2 to 5 km/s, both being faster in more rigid material. The P-wave gets progressively farther ahead of the S-wave as they travel through Earth’s crust. The time between the P- and S-waves is routinely used to determine the distance to their source, the epicenter of the earthquake. Because S-waves do not pass through the liquid core, two shadow regions are produced (Figure $$\PageIndex{8}$$). Figure $$\PageIndex{8}$$: Earthquakes produce both longitudinal waves (P-waves) and transverse waves (S-waves), and these travel at different speeds. Both waves travel at different speeds in the different regions of Earth, but in general, P-waves travel faster than S-waves. S-waves cannot be supported by the liquid core, producing shadow regions.

As sound waves move away from a speaker, or away from the epicenter of an earthquake, their power per unit area decreases. This is why the sound is very loud near a speaker and becomes less loud as you move away from the speaker. This also explains why there can be an extreme amount of damage at the epicenter of an earthquake but only tremors are felt in areas far from the epicenter. The power per unit area is known as the intensity, and in the next section, we will discuss how the intensity depends on the distance from the source.

# Contributors

• Samuel J. Ling (Truman State University), Jeff Sanny (Loyola Marymount University), and Bill Moebs with many contributing authors. This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).