Sub topic 11
Speed of Sound and Its Dependence on Temperature
This chapter assumes you know the traveling wave equation, the relation v = fλ, the ideal gas law, and the idea of the bulk modulus as a measure of how hard a material is to compress. You will derive the speed of sound in a gas, see why Newton's first attempt was wrong, and learn how temperature, molar mass and the medium change the speed.
What sets the speed of a wave
For a wave on a string, the speed is √(T/μ). That is a restoring property (tension) divided by an inertia property (mass per unit length). Sound follows the same pattern. The restoring property is how strongly the medium resists compression, and the inertia property is its density.
A general result for longitudinal waves in a fluid is:
v = √(B/ρ)
Here B is the bulk modulus, B = −V (dP/dV), and ρ is the density. For a long solid rod, the resisting property is Young's modulus Y:
v = √(Y/ρ)
| Medium | Formula | Typical speed |
|---|---|---|
| Gas | √(γP/ρ) = √(γRT/M) | about 343 m/s (air, 20 °C) |
| Liquid | √(B/ρ) | about 1480 m/s (water) |
| Solid rod | √(Y/ρ) | about 5000 m/s (steel) |
Solids and liquids are far harder to compress than gases, and this outweighs their larger density. That is why sound is fastest in solids.
Newton's formula and Laplace's correction
Newton assumed that the compressions and rarefactions in a sound wave happen slowly enough for the gas to stay at constant temperature. For an isothermal change, PV = constant, so B = P. This gives:
v = √(P/ρ)
For air at 0 °C, P = 1.013 × 10⁵ Pa and ρ = 1.293 kg/m³, so v ≈ 280 m/s. The measured value is about 331 m/s, so Newton's formula is about 15% too low.
Laplace saw the flaw. Air is a poor heat conductor, and the pressure changes of an audible wave reverse within a fraction of a millisecond. Heat has no time to flow between a compressed region and its neighbors, so the process is adiabatic. For an adiabatic change, PVᵞ = constant, which gives B = γP:
v = √(γP/ρ)
With γ = 1.4 for air, 280 × √1.4 ≈ 331 m/s, which matches experiment.
Speed of sound in an ideal gas
For an ideal gas, P V = nRT. Write the density as ρ = M n / V, where M is the molar mass in kg/mol. Then P/ρ = RT/M, and:
v = √(γRT/M)
This is the form to remember. It shows three dependences:
- Temperature. v ∝ √T, with T in kelvin.
- Molar mass. v ∝ 1/√M, so light gases carry sound faster.
- Pressure and density. Neither appears. At fixed temperature, compressing the gas raises P and ρ by the same factor, so P/ρ does not change.
Temperature dependence
Two temperatures in the same gas give a ratio that needs no constants:
v₂/v₁ = √(T₂/T₁)
Always convert to kelvin first (T = t + 273). For small changes near room temperature, differentiate: Δv/v = ½ ΔT/T. At 300 K, a 1 K rise increases the speed by about 0.17%, which is about 0.58 m/s. This agrees with the common linear rule:
v ≈ 331 + 0.61 t (m/s, with t in °C)
This rule is a first-order expansion of √T around 273 K. It is accurate within a few percent over everyday temperatures but fails at several hundred degrees, where you should use the square-root form.
Worked example
Find the speed of sound in air at 27 °C, given that it is 331 m/s at 0 °C.
- Convert to kelvin: T₁ = 273 K and T₂ = 300 K.
- Take the ratio: v₂ = 331 × √(300/273) = 331 × 1.048.
- v₂ ≈ 347 m/s.
The linear rule gives 331 + 0.61 × 27 = 347.5 m/s, which agrees.
A related JEE question is: at what temperature does the speed double compared with its value at 0 °C? Since v ∝ √T, T must be four times as large: 4 × 273 = 1092 K, which is 819 °C.
Computing the speed numerically
import math
R = 8.314 # gas constant in J/(mol K)
def v_gas(gamma, molar_mass, temp_k):
"""Speed of sound in an ideal gas, molar mass in kg/mol."""
return math.sqrt(gamma * R * temp_k / molar_mass)
air_0c = v_gas(1.4, 0.029, 273.15)
air_20c = v_gas(1.4, 0.029, 293.15)
helium_20c = v_gas(5 / 3, 0.004, 293.15)
print(f"air at 0 C: {air_0c:.1f} m/s") # about 331
print(f"air at 20 C: {air_20c:.1f} m/s") # about 343
print(f"helium at 20 C: {helium_20c:.1f} m/s") # about 1008
print(f"helium/air: {helium_20c / air_20c:.2f}") # about 2.94Helium is nearly three times faster than air. It has a larger γ and a molar mass about seven times smaller. This is also why a person who inhales helium sounds higher-pitched. The vocal tract resonates at frequencies proportional to the sound speed.
Other factors that change the speed
- Humidity. Water vapor (M = 18 g/mol) replaces heavier N₂ and O₂ (28 and 32 g/mol), so the mean molar mass drops. Humid air carries sound slightly faster than dry air at the same temperature.
- Wind. Wind does not change the speed of sound relative to the air, but it shifts the speed relative to the ground. This matters in the Doppler problems of a later chapter.
- Frequency. In an ordinary gas the speed is the same for all audible frequencies, so sounds of different pitch from one source arrive together. Audible sound is not dispersive in air.
- Medium boundaries. When sound crosses from air into water, its frequency stays the same, because the source sets it. The speed changes, so the wavelength changes by the same factor.
Common errors
- Using Celsius in v ∝ √T. The ratio must use kelvin.
- Using Newton's isothermal formula, which leaves out γ.
- Thinking denser always means slower. In a gas at fixed temperature, extra density comes with extra pressure, so the speed stays the same. Between different media, stiffness usually matters more than density.
- Putting molar mass in g/mol into the formula. With R in J/(mol K), use kg/mol.
- Comparing two gases and forgetting that γ differs. For gases with the same γ, such as H₂ and O₂ (both diatomic), the ratio reduces to √(M₂/M₁).
Exercise
The speed of sound in air at 0 °C is 332 m/s. Find its speed at 327 °C.
Show answer
Convert to kelvin: T₁ = 273 K and T₂ = 600 K. Then v₂ = 332 × √(600/273) = 332 × 1.4825 ≈ 492 m/s.
Exercise
Compare the speed of sound in hydrogen (M = 2 g/mol) with that in oxygen (M = 32 g/mol) at the same temperature. Both are diatomic.
Show answer
Both have γ = 7/5, so vH₂/vO₂ = √(32/2) = √16 = 4. Sound travels four times faster in hydrogen.
Exercise
A 680 Hz tone travels in air at 340 m/s and then enters water, where the speed is 1480 m/s. Find the wavelength in each medium.
Show answer
The frequency stays 680 Hz. In air, λ = 340/680 = 0.50 m. In water, λ = 1480/680 ≈ 2.18 m.