Sub topic 4
Speed of Waves on a String and of Sound in a Gas
This chapter assumes you already know the following:
- the relations v = fλ, ω = 2πf and k = 2π/λ
- tension as a force in newtons
- density and pressure
- how to check an equation by its units
It gives you two formulas for wave speed, one for a stretched string and one for sound in a gas. It also shows how to predict what happens to the speed when conditions change.
What Sets the Speed of a Wave
The relation v = fλ links speed, frequency and wavelength, but it does not tell you the speed. The source of the wave fixes the frequency. The medium fixes the speed. The wavelength then follows as λ = v/f.
A medium carries a disturbance from one point to the next by two properties:
- An inertial property resists acceleration of the medium's particles. For a string it is the mass per unit length. For a gas it is the density.
- A restoring property pulls displaced particles back. For a string it is the tension. For a gas it is the elasticity, which measures how strongly the gas resists compression.
A large restoring property passes the disturbance on quickly. A large inertial property slows it. Every formula in this chapter has the form
v = √(restoring property / inertial property)
Speed on a Stretched String
For a transverse wave on a string with tension T and linear mass density μ (mass per unit length, in kg/m):
v = √(T/μ)
Why the formula has this shape
Dimensional analysis shows the form. Suppose v = k·T^a·μ^b, where k is a dimensionless constant. The dimensions are:
- T is [M L T⁻²]
- μ is [M L⁻¹]
- v is [L T⁻¹]
Matching powers gives:
- Mass: a + b = 0
- Length: a − b = 1
- Time: −2a = −1
So a = ½ and b = −½. Dimensional analysis cannot give the constant k. A force analysis of a small string element shows k = 1.
What the formula tells you
- Speed depends only on T and μ. It does not depend on the amplitude or the frequency of the wave. A high note and a low note on the same string travel at the same speed. They differ in wavelength.
- Quadrupling the tension doubles the speed.
- If the string is made of material of density ρ with circular cross-section of radius r, then μ = ρπr². Halving the radius at fixed tension and material quadruples μ in the wrong direction. It reduces μ by four, so the speed doubles.
Worked example: a steel wire
A wire has diameter 1.0 mm and density 8000 kg/m³. It is under a tension of 80 N. Find the speed of a transverse wave on it.
- Radius r = 0.5 × 10⁻³ m, so A = πr² = 7.85 × 10⁻⁷ m².
- μ = ρA = 8000 × 7.85 × 10⁻⁷ = 6.28 × 10⁻³ kg/m.
- v = √(80 / 6.28 × 10⁻³) = √12 732 ≈ 113 m/s.
import math
def string_speed(tension, mu):
"""Speed of a transverse wave on a string, v = sqrt(T / mu)."""
return math.sqrt(tension / mu)
# Steel wire from the worked example
density = 8000.0 # kg/m^3
diameter = 1.0e-3 # m
tension = 80.0 # N
area = math.pi * (diameter / 2) ** 2
mu = density * area
print(round(mu, 5)) # 0.00628 kg/m
print(round(string_speed(tension, mu), 1)) # about 112.8 m/s
# Doubling the tension multiplies the speed by sqrt(2)
print(round(string_speed(2 * tension, mu) / string_speed(tension, mu), 3)) # 1.414Which speed is which
The wave speed v on the string is not the speed of a particle of the string. Each particle oscillates up and down about its mean position. The wave pattern moves along the string at v. Chapter 3 on the progressive wave equation separates the two speeds: the wave speed is ω/k, and the particle velocity is ∂y/∂t.
Speed of Sound in a Gas
Sound in a gas is a longitudinal wave. Layers of gas are alternately compressed and stretched. The restoring property is the bulk modulus B of the gas, which is the pressure change needed per fractional volume change. The general result for a fluid is
v = √(B/ρ)
For a solid rod the same pattern appears with Young's modulus: v = √(Y/ρ).
Newton's formula and why it fails
Newton assumed that the compressions and rarefactions happen slowly enough for the gas to stay at constant temperature. This is an isothermal process, and for an isothermal change of an ideal gas, B = P. This gives
v = √(P/ρ)
For air at 0 °C, P = 1.013 × 10⁵ Pa and ρ = 1.29 kg/m³. So v = √(78 500) ≈ 280 m/s. The measured value is about 332 m/s, which is roughly 16% higher.
Laplace's correction
Laplace pointed out that in a sound wave the compressions and rarefactions are very fast. Air is also a poor conductor of heat. Heat has no time to flow from a compressed (warm) region to a rarefied (cool) region. The process is adiabatic, not isothermal. For an adiabatic change, B = γP, where γ = Cp/Cv. This gives
v = √(γP/ρ)
For air, γ = 1.4, so v = √(1.4 × 78 500) = √109 900 ≈ 332 m/s. This agrees with experiment.
| Quantity | Newton | Laplace |
|---|---|---|
| Assumed process | Isothermal | Adiabatic |
| Bulk modulus B | P | γP |
| Speed of sound in air at 0 °C | about 280 m/s | about 332 m/s |
| Gas values for γ | not needed | 1.67 monatomic, 1.40 diatomic |
Speed and temperature
Using the ideal-gas law, P/ρ = RT/M, where M is the molar mass in kg/mol. Then
v = √(γRT/M)
This form shows the main dependences.
- Temperature: v ∝ √T, with T in kelvin. Using vt for the speed at t °C and v₀ for the speed at 0 °C, vt/v₀ = √(T_t/273). Near room temperature the speed rises by about 0.6 m/s for each °C.
- Pressure: at constant temperature, changing the pressure changes ρ in the same proportion, so P/ρ stays fixed. The speed does not change. This is a favourite trap.
- Molar mass: v ∝ 1/√M at the same T and γ. Sound travels faster in a lighter gas such as hydrogen or helium.
- Humidity: water vapour (M = 18 g/mol) is lighter than the nitrogen and oxygen (average M = 29 g/mol) it replaces. Moist air is slightly less dense at the same pressure, so sound travels slightly faster in it.
- Frequency and wavelength: the speed does not depend on either. Wind speed adds vectorially to the speed of sound relative to the ground, but does not change its speed relative to the air.
import math
R = 8.314 # J/(mol K)
def sound_speed(gamma, molar_mass, temp_kelvin):
"""v = sqrt(gamma R T / M), molar mass in kg/mol."""
return math.sqrt(gamma * R * temp_kelvin / molar_mass)
M_air = 0.029
print(round(sound_speed(1.4, M_air, 273.15), 1)) # about 331 m/s at 0 C
print(round(sound_speed(1.4, M_air, 293.15), 1)) # about 343 m/s at 20 C
# Newton's isothermal value for air at 0 C
P, rho = 1.013e5, 1.29
print(round(math.sqrt(P / rho), 1)) # about 280 m/s
# Hydrogen vs oxygen at the same temperature (both diatomic, gamma = 1.4)
print(round(sound_speed(1.4, 0.002, 300) / sound_speed(1.4, 0.032, 300), 2)) # 4.0Worked example: a temperature ratio
At what temperature is the speed of sound in air double its value at 0 °C?
- v ∝ √T, so doubling v needs T to become four times larger.
- T = 4 × 273 = 1092 K.
- In Celsius, t = 1092 − 273 = 819 °C.
A common error is to double the Celsius value. The proportionality is with the Kelvin temperature.
Common Errors
- Using the wrong linear density. μ is mass divided by length, not by volume. If a question gives a mass and a length, compute μ = m/L directly.
- Mixing units. A tension in kgf, a diameter in mm, or a mass in g must be converted before you take the square root. Check that T/μ has units of m²/s².
- Using Celsius in v ∝ √T. Always convert to kelvin first.
- Thinking higher frequency means faster. On a given string or in a given gas, the speed is fixed. Raising the frequency shortens the wavelength.
- Thinking pressure changes the speed of sound in an ideal gas. At constant temperature it does not.
- Mixing wave types. A transverse wave on a string uses √(T/μ). A sound wave in a gas is longitudinal and uses √(γP/ρ).
Summary Table
| Medium | Wave type | Formula | Depends on | Does not depend on |
|---|---|---|---|---|
| Stretched string | Transverse | v = √(T/μ) | Tension, linear density | Amplitude, frequency |
| Gas | Longitudinal | v = √(γP/ρ) = √(γRT/M) | Temperature, molar mass, γ | Pressure at fixed T, frequency |
| Solid rod | Longitudinal | v = √(Y/ρ) | Young's modulus, density | Frequency |
Exercise
A string of mass 5.0 g and length 2.0 m is stretched with a tension of 50 N. What is the speed of a transverse wave on it, and what is the wavelength of a 100 Hz wave on it?
Show answer
μ = 0.005/2.0 = 2.5 × 10⁻³ kg/m. v = √(50 / 2.5 × 10⁻³) = √20 000 ≈ 141 m/s. λ = v/f = 141/100 ≈ 1.41 m.
Exercise
The tension in a string is increased by 21%. By what percentage does the wave speed on the string increase?
Show answer
v ∝ √T, so the new speed is √1.21 = 1.10 times the old speed. The speed increases by 10%.
Exercise
Find the ratio of the speed of sound in hydrogen to that in oxygen at the same temperature. Take both as diatomic gases with the same γ, and molar masses 2 g/mol and 32 g/mol.
Show answer
v ∝ 1/√M at equal T and γ. vH/vO = √(32/2) = √16 = 4.
Exercise
A sound wave in air moves from a region at 27 °C to a region at 127 °C. Find the ratio of the speed of sound in the second region to that in the first.
Show answer
T₁ = 300 K, T₂ = 400 K. v₂/v₁ = √(400/300) = √(4/3) ≈ 1.15.
Exercise
Why does Newton's formula v = √(P/ρ) give about 280 m/s for air, when the measured speed is about 332 m/s?
Show answer
Newton assumed an isothermal process, with bulk modulus B = P. In a sound wave the compressions are too fast for heat to flow, so the process is adiabatic with B = γP. Laplace's formula v = √(γP/ρ) gives √1.4 × 280 ≈ 332 m/s.