Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
University Physics Volume 1

17.2 Speed of Sound

University Physics Volume 117.2 Speed of Sound

Learning Objectives

By the end of this section, you will be able to:

  • 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 17.4). 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.

Picture shows a photograph of colorful fireworks illuminating night sky.
Figure 17.4 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λ,v=fλ,
17.3

where v is the speed of the wave, f is its frequency, and λλ 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 17.5). The frequency is the same as that of the source and is the number of waves that pass a point per unit time.

Picture is a schematic drawing of a tuning fork emanating sound waves.
Figure 17.5 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 λλ.

Speed of Sound in Various Media

Table 17.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=elasticpropertyinertialproperty.v=elasticpropertyinertialproperty.

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

2y(x,t)x2=1v22y(x,t)t2.2y(x,t)x2=1v22y(x,t)t2.

Recall from Waves that the speed of a wave on a string is equal to v=FTμ,v=FTμ, where the restoring force is the tension in the string FTFT and the linear density μμ is the inertial property. In a fluid, the speed of sound depends on the bulk modulus and the density,

v=Bρ.v=Bρ.
17.4

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

v=Yρ.v=Yρ.
17.5

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

v=γRTKM,v=γRTKM,
17.6

where γγ is the adiabatic index, R=8.31J/mol·KR=8.31J/mol·K is the gas constant, TKTK is the absolute temperature in kelvins, and M is the molar 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.

Medium v (m/s)
Gases at 0°C0°C
Air 331
Carbon dioxide 259
Oxygen 316
Helium 965
Hydrogen 1290
Liquids at 20°C20°C
Ethanol 1160
Mercury 1450
Water, fresh 1480
Sea Water 1540
Human tissue 1540
Solids (longitudinal or bulk)
Vulcanized rubber 54
Polyethylene 920
Marble 3810
Glass, Pyrex 5640
Lead 1960
Aluminum 5120
Steel 5960
Table 17.1 Speed of Sound in Various Media

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=331ms1+TC273°C=331msTK273Kv=331ms1+TC273°C=331msTK273K
17.7

where the temperature in the first equation (denoted as TCTC) is in degrees Celsius and the temperature in the second equation (denoted as TKTK) is in kelvins. The speed of sound in gases is related to the average speed of particles in the gas, vrms=3kBTm,vrms=3kBTm, where kBkB is the Boltzmann constant (1.38×10−23J/K)(1.38×10−23J/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 vrmsvrms 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°C0°C, the speed of sound is 331 m/s, whereas at 20.0°C20.0°C, it is 343 m/s, less than a 4%4% increase. Figure 17.6 shows how a bat uses the speed of sound to sense distances.

Picture is a drawing of a flying bat that emits sound waves. Waves are reflected from the flying insect and are returned to the bat.
Figure 17.6 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 17.7). The mass in a small volume of length x of the pipe is equal to the density times the volume, or m=ρV=ρAx.m=ρV=ρAx. The mass flow rate is

dmdt=ddt(ρV)=ddt(ρAx)=ρAdxdt=ρAv.dmdt=ddt(ρV)=ddt(ρAx)=ρAdxdt=ρAv.

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, ρinAinvin=ρoutAoutvout.ρinAinvin=ρoutAoutvout.

Picture is a schematic drawing of a mass flowing through with the speed v for the distance x through the cylinder with the cross-sectional area A.
Figure 17.7 The mass of a fluid in a volume is equal to the density times the volume, m=ρV=ρAx.m=ρV=ρ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 17.8). The density, temperature, and velocity on one side of the volume of the fluid are given as ρ,T,v,ρ,T,v, and on the other side are ρ+dρ,T+dT,v+dv.ρ+dρ,T+dT,v+dv.

Picture is a schematic drawing of a sound wave moving through a volume of fluid. The density, temperature, and velocity of the fluid change from one side to the other.
Figure 17.8 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

ρAv=(ρ+dρ)A(v+dv).ρAv=(ρ+dρ)A(v+dv).

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

ρv=(ρ+dρ)(v+dv)ρv=ρv+ρ(dv)+(dρ)v+(dρ)(dv)0=ρ(dv)+(dρ)vρdv=vdρ.ρv=(ρ+dρ)(v+dv)ρv=ρv+ρ(dv)+(dρ)v+(dρ)(dv)0=ρ(dv)+(dρ)vρdv=vdρ.

The net force on the volume of fluid (Figure 17.9) equals the sum of the forces on the left face and the right face:

Fnet=pdydz(p+dp)dydz=pdydzpdydzdpdydz=dpdydzma=dpdydz.Fnet=pdydz(p+dp)dydz=pdydzpdydzdpdydz=dpdydzma=dpdydz.
Picture is a schematic drawing of a sound wave moving through a volume of fluid with the sides of dimensions dx, dy, and dz. The pressure is different on the opposite sides.
Figure 17.9 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=ρV=ρdxdydz.m=ρV=ρdxdydz. We have

ma=dpdydza=dpdydzm=dpdydzρdxdydz=dp(ρdx)dvdt=dp(ρdx)dv=dp(ρdx)dt=dpρ1vρvdv=dp.ma=dpdydza=dpdydzm=dpdydzρdxdydz=dp(ρdx)dvdt=dp(ρdx)dv=dp(ρdx)dt=dpρ1vρvdv=dp.

From the continuity equation ρdv=vdρρdv=vdρ, we obtain

ρvdv=dp(vdρ)v=dpv=dpdρ.ρvdv=dp(vdρ)v=dpv=dpdρ.

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γ=constant,pVγ=constant, where p is the pressure, V is the volume, and gamma (γ)(γ) is a constant that depends on the gas. For air, γ=1.40γ=1.40. The density equals the number of moles times the molar mass divided by the volume, so the volume is equal to V=nMρ.V=nMρ. The number of moles and the molar mass are constant and can be absorbed into the constant p(1ρ)γ=constant.p(1ρ)γ=constant. Taking the natural logarithm of both sides yields lnpγlnρ=constant.lnpγlnρ=constant. Differentiating with respect to the density, the equation becomes

lnpγlnρ=constantddρ(lnpγlnρ)=ddρ(constant)1pdpdργρ=0dpdρ=γpρ.lnpγlnρ=constantddρ(lnpγlnρ)=ddρ(constant)1pdpdργρ=0dpdρ=γpρ.

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

pV=nRT=mMRTp=mVRTM=ρRTM.pV=nRT=mMRTp=mVRTM=ρRTM.

Here M is the molar mass of air:

dpdρ=γpρ=γ(ρRTM)ρ=γRTM.dpdρ=γpρ=γ(ρRTM)ρ=γRTM.

Since the speed of sound is equal to v=dpdρv=dpdρ, the speed is equal to

v=γRTM.v=γRTM.

Note that the velocity is faster at higher temperatures and slower for heavier gases. For air, γ=1.4,γ=1.4, M=0.02897kgmol,M=0.02897kgmol, and R=8.31Jmol·K.R=8.31Jmol·K. If the temperature is TC=20°C(T=293K),TC=20°C(T=293K), the speed of sound is v=343m/s.v=343m/s.

The equation for the speed of sound in air v=γRTMv=γRTM can be simplified to give the equation for the speed of sound in air as a function of absolute temperature:

v=γRTM=γRTM(273K273K)=(273K)γRMT273K331msT273K.v=γRTM=γRTM(273K273K)=(273K)γRMT273K331msT273K.

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λ.v=fλ.

In a given medium under fixed conditions, v is constant, so there is a relationship between f and λ;λ; the higher the frequency, the smaller the wavelength (Figure 17.10).

Picture is a schematic drawing of a speaker system emanating sound waves. The lower-frequency sounds are emitted by the bottom large speaker; the higher-frequency sounds are emitted by the top small speaker.
Figure 17.10 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. (credit: modification of work by Jane Whitney)

Example 17.1

Calculating Wavelengths

Calculate the wavelengths of sounds at the extremes of the audible range, 20 and 20,000 Hz, in 30.0°C30.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λ.v=fλ.

Solution

  1. Identify knowns. The value for v is given by
    v=(331m/s)T273K.v=(331m/s)T273K.
  2. Convert the temperature into kelvins and then enter the temperature into the equation
    v=(331m/s)303K273K=348.7m/s.v=(331m/s)303K273K=348.7m/s.
  3. Solve the relationship between speed and wavelength for λ:
    λ=vf.λ=vf.
  4. Enter the speed and the minimum frequency to give the maximum wavelength:
    λmax=348.7m/s20Hz=17m.λmax=348.7m/s20Hz=17m.
  5. Enter the speed and the maximum frequency to give the minimum wavelength:
    λmin=348.7m/s20,000Hz=0.017m=1.7cm.λmin=348.7m/s20,000Hz=0.017m=1.7cm.

Significance

Because the product of f multiplied by λλ equals a constant, the smaller f is, the larger λλ 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 λλ must change. That is, because v=fλv=fλ, the higher the speed of a sound, the greater its wavelength for a given frequency.

Check Your Understanding 17.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 17.11).

Picture is a drawing of P and S waves that travel from a source. Shadow regions, where S-waves are absent, is also indicated. There is color coded labeling for Crust, Mantle, Liquid outer core, and Solid inner core.
Figure 17.11 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.

Seismologists and geophysicists use properties and velocities of earthquake waves to study the Earth's interior, which due to it's depth and pressure is not observable through many other means. In fact, the discoveries of the structure of the Earth, illustrated in the figure above, resulted from earthquake observations. In 1914, Beno Gutenberg used differences in wave speeds to determine that there must be a liquid core within the mantle. In 1936, Inge Lehmann began investigating P-waves from a New Zealand earthquake that had unexpectedly reached Europe, which should have been in the shadow region. Up until that point, seismologists had explained such shadow waves as being caused by some type of diffraction (as Gutenberg himself assumed) or a result of faulty seismometers. However, Lehmann had installed the European instruments herself, and so trusted their accuracy. She calculated that the amplitude of the waves must be caused by the existence of a solid inner core within the liquid core. This model has been accepted and reinforced by decades of subsequent calculations, including those from nuclear test explosions, which can be measured very precisely.

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.

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/university-physics-volume-1/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/university-physics-volume-1/pages/1-introduction
Citation information

© Sep 30, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.