Sub topic 2
Wave speed on a string and in air
This chapter assumes you know the relation v = fλ, simple harmonic motion, and the idea of sound as a longitudinal wave. Here you will derive and use the two speed formulas that the rest of the tutorial depends on: one for a stretched string, one for sound in a gas.
What sets the speed of a wave
A wave's speed is fixed by the medium. The source sets the frequency. When a wave moves from one medium into another, f stays the same and v changes, so λ = v/f changes with it.
Every mechanical wave speed has the same structure:
v = √(restoring property / inertial property)
- On a string, the restoring property is tension and the inertial property is mass per unit length.
- In a gas, the restoring property is the bulk modulus and the inertial property is density.
Speed of a transverse wave on a string
For a string under tension T with mass per unit length μ:
v = √(T/μ)
The quantity μ is mass divided by length, in kg/m. Students often substitute the total mass of the string by mistake.
Derivation
Consider a small pulse moving right at speed v. Ride along with the pulse. In that frame the string slides past you at speed v, and the pulse top looks like a small circular arc of radius R.
Take a small element of length Δl on that arc, subtending an angle 2θ at the centre of the circle. Tension T pulls on each end along the tangent. The horizontal components cancel. The vertical components add up to a net force toward the centre:
F = 2T sin θ ≈ 2Tθ
Since Δl = R · 2θ, this is F = TΔl/R.
The element has mass μΔl and moves on a circle of radius R at speed v. It needs a centripetal force μΔl · v²/R. Setting the two equal:
TΔl/R = μΔl v²/R, so v² = T/μ.
The result does not depend on the pulse's shape or frequency. It assumes small displacements, so the tension stays essentially constant.
What the formula tells you
- Doubling the tension multiplies v by √2. Quadrupling it doubles v.
- A thicker string of the same material has larger μ, so it carries waves more slowly. For a wire of density ρ and cross-sectional area A, μ = ρA.
- Speed does not depend on frequency. Plucking harder changes the amplitude only.
Speed of sound in a gas
Sound in a gas is a series of compressions and rarefactions. The general formula is
v = √(B/ρ)
where B is the bulk modulus and ρ is the density.
Newton's formula and Laplace's correction
Newton assumed the compressions happen slowly enough for the temperature to stay constant (an isothermal process). For an isothermal ideal gas, B = P, so
v = √(P/ρ)
For air at STP this gives about 280 m/s. The measured value is about 331 m/s.
Laplace pointed out that the oscillations are too fast for heat to flow between compressed and rarefied regions. The process is adiabatic, and for an adiabatic process B = γP, where γ = Cp/Cv. The corrected formula is
v = √(γP/ρ)
For air, γ = 1.4, which raises Newton's value by √1.4 ≈ 1.18 and matches experiment.
In terms of temperature
For an ideal gas of molar mass M at absolute temperature T, P/ρ = RT/M. Substituting:
v = √(γRT/M)
Pressure has dropped out. At fixed temperature, changing the pressure also changes the density by the same factor, so v stays the same. A gas's speed of sound depends on its temperature, γ and M.
Temperature dependence
Since v ∝ √T:
v₂/v₁ = √(T₂/T₁)
For small changes around room temperature, a linear approximation is handy:
v ≈ 331 + 0.61 θ (m/s), with θ in °C
At 20 °C this gives about 343 m/s. Many JEE problems simply state v = 340 m/s and expect you to use it.
Humidity also matters. Water vapour (M = 18 g/mol) is lighter than the nitrogen and oxygen it displaces, so moist air carries sound slightly faster than dry air at the same temperature.
Comparing the two formulas
| Feature | Transverse wave on a string | Sound in an ideal gas |
|---|---|---|
| Formula | v = √(T/μ) | v = √(γRT/M) |
| Wave type | Transverse | Longitudinal |
| Restoring property | Tension T | Bulk modulus γP |
| Inertial property | μ (kg/m) | ρ (kg/m³) |
| What you can change | Tension, thickness, material | Temperature, gas type |
| Depends on frequency? | No | No |
Computing the speeds in code
The following script evaluates both formulas. It also shows how much Newton's isothermal version underestimates the speed.
import math
R = 8.314 # J/(mol K)
GAMMA = 1.4 # air
M_AIR = 0.029 # kg/mol
def v_string(tension, mu):
return math.sqrt(tension / mu)
def v_air(T_kelvin, gamma=GAMMA):
return math.sqrt(gamma * R * T_kelvin / M_AIR)
print(round(v_string(100.0, 0.01), 1)) # 100.0
print(round(v_string(400.0, 0.01), 1)) # 200.0, four times the tension
print(round(v_air(273.15), 1)) # 331.1
print(round(v_air(300.0), 1)) # 347.0
print(round(v_air(273.15, gamma=1.0), 1)) # 279.8, Newton's isothermal valueQuadrupling the tension doubles the speed, as predicted. Setting γ = 1 reproduces Newton's discrepancy.
Worked example
A string of length 2 m and mass 20 g is stretched with a tension of 64 N. A pulse travels along it.
- μ = 0.020 kg / 2 m = 0.010 kg/m.
- v = √(64 / 0.010) = √6400 = 80 m/s.
- The pulse crosses the string in 2/80 = 0.025 s.
Now suppose a tuning fork of 400 Hz drives this string. The wavelength on the string is λ = 80/400 = 0.2 m. If the same fork sends sound into air at 340 m/s, the wavelength in air is 340/400 = 0.85 m. The frequency is the same in both media, and the wavelengths differ.
Common mistakes
- Using total mass instead of mass per unit length in the string formula.
- Treating the speed of sound as dependent on pressure at constant temperature. It is not.
- Forgetting that a string's wave speed depends on tension. When a problem says the string is loaded, stretched or tightened, T changes and so does v, while μ changes only if the string is stretched enough to thin it.
- Mixing up the speed of the wave with the speed of the particles. A string element moves transversely at a speed that varies with time, while the wave moves along the string at a constant v.
- Writing v ∝ T when v ∝ √T.
Why this matters for what follows
Later chapters rely on these two formulas. The harmonics of a string are f = (n/2L)√(T/μ). Those of an air column are f = nv/2L or (2n−1)v/4L. Resonance tube problems use v to find the wavelength and then the end correction. A change in tension or temperature enters every one of those results only through v.
Exercise
A wire has mass per unit length 0.0025 kg/m and carries a pulse at 120 m/s. What tension is in the wire? What tension would give a speed of 60 m/s?
Show answer
T = μv² = 0.0025 × 120² = 36 N. Halving the speed requires one quarter of the tension, since T ∝ v². So T = 36/4 = 9 N, which you can check with 0.0025 × 60² = 9 N.
Exercise
The speed of sound in air at 27 °C is 340 m/s. Find its speed at 327 °C, assuming the air behaves as an ideal gas with constant γ.
Show answer
Convert to kelvin: 27 °C = 300 K and 327 °C = 600 K. Since v ∝ √T, v₂ = 340 × √(600/300) = 340 × √2 ≈ 481 m/s.
Exercise
Why did Laplace replace the isothermal bulk modulus P with γP when finding the speed of sound?
Show answer
Sound oscillations are fast, and air conducts heat poorly. Heat has no time to flow between compressions and rarefactions, so the process is adiabatic, for which B = γP. This raises Newton's 280 m/s to about 331 m/s at 0 °C, matching experiment.