Sub topic 7
What sets the speed: the medium, not the source
This chapter assumes you can rearrange algebraic equations, work with m, s, and m/s, read a sine-shaped graph, and understand tension as a pulling force along a string. It also assumes you know the relation v = fλ from the previous chapter. Here we ask where the v in that equation comes from.
The central claim
A periodic wave has three connected quantities: speed v, frequency f, and wavelength λ. The equation v = fλ links them, but it doesn't say which quantity fixes which. Two facts settle that:
- The source (the hand shaking a rope, the loudspeaker cone, the vibrating tuning fork) sets the frequency. The medium receives the wave one cycle at a time, at the rate the source delivers cycles.
- The medium sets the speed. Speed depends on the medium's physical properties and on nothing about how the wave was made.
The wavelength is then whatever is left over: λ = v/f. It is a result of the other two, not an independent choice.
Holding this picture in mind prevents the most common mistake in wave problems: treating speed as something you can raise by shaking harder or faster.
Why a medium has a characteristic speed
A mechanical wave moves because each piece of the medium pulls or pushes its neighbor, and the neighbor then moves in response. Two properties of the medium control how quickly this hand-off happens:
- A restoring property measures how strongly a displaced piece is pushed back toward equilibrium and how strongly it drags its neighbors along. A stiffer or tighter medium passes the disturbance along faster.
- An inertial property measures how much mass has to be accelerated. A heavier medium responds more sluggishly, so the disturbance moves slower.
Almost every mechanical wave speed has the same shape:
v = sqrt(restoring property / inertial property)
Nothing in this expression mentions the source. A faster-shaking hand changes how often crests are produced. It does not change how fast the medium can pass a crest along.
The string: v = sqrt(T/μ)
For a stretched string, the restoring property is the tension T (in newtons). The inertial property is the linear mass density μ (in kg/m), the mass per unit length. The speed is
v = sqrt(T/μ)
Unit check. T/μ has units N / (kg/m). Since 1 N = 1 kg·m/s², this is (kg·m/s²) · (m/kg) = m²/s². The square root gives m/s, so the units work.
Where the formula comes from. A short argument shows the form is not arbitrary. Imagine a small pulse on the string, and ride along with it at speed v. In your frame the string slides backward through the pulse at speed v, and the top of the pulse is a small arc of a circle with radius R.
- Take a short piece of the arc that subtends an angle 2θ at the circle's center. Its length is about 2Rθ, so its mass is μ · 2Rθ.
- Tension T pulls on both ends along the tangent. The two pulls each have a component of T sinθ ≈ Tθ toward the center, so the net inward force is about 2Tθ.
- The piece moves in a circular arc at speed v, so it needs an inward force of mass × v²/R = μ · 2Rθ · v²/R = 2μθv².
- Setting 2Tθ = 2μθv² gives v² = T/μ.
This derivation assumes the pulse is small, so the string's slope stays gentle and the tension stays essentially constant.
Two consequences follow, and the code below checks both:
- Quadrupling the tension doubles the speed, because v depends on the square root.
- Doubling the mass per length, at the same tension, lowers the speed by a factor of sqrt(2).
import math
def string_speed(tension, linear_density):
"""Wave speed on a string in m/s, from tension in N and mass per length in kg/m."""
return math.sqrt(tension / linear_density)
mu = 0.010 # kg/m
print("Same string, same tension: the source changes the frequency")
speed = string_speed(100.0, mu)
for f in (125.0, 250.0, 500.0):
print(f"f={f:5.0f} Hz v={speed:6.1f} m/s wavelength={speed / f:.3f} m")
print("Same source at 250 Hz: the medium changes through tension")
f = 250.0
for tension in (100.0, 400.0, 900.0):
speed = string_speed(tension, mu)
print(f"T={tension:4.0f} N v={speed:6.1f} m/s wavelength={speed / f:.3f} m")
# Same string, same tension: the source changes the frequency
# f= 125 Hz v= 100.0 m/s wavelength=0.800 m
# f= 250 Hz v= 100.0 m/s wavelength=0.400 m
# f= 500 Hz v= 100.0 m/s wavelength=0.200 m
# Same source at 250 Hz: the medium changes through tension
# T= 100 N v= 100.0 m/s wavelength=0.400 m
# T= 400 N v= 200.0 m/s wavelength=0.800 m
# T= 900 N v= 300.0 m/s wavelength=1.200 mIn the first block, v never moves while λ shrinks as f grows. In the second block, f is fixed while v and λ both grow with tension. Changing the source changes the frequency and the wavelength, but not the speed. Changing the medium changes the speed and the wavelength, but not the frequency.
Sound: stiffness over density
Sound is a longitudinal wave, so the restoring property is how strongly the medium resists compression, and the inertial property is its density ρ (in kg/m³).
| Medium | Speed formula | Restoring property | Inertial property |
|---|---|---|---|
| String | sqrt(T/μ) | Tension T | Mass per length μ |
| Fluid (liquid or gas) | sqrt(B/ρ) | Bulk modulus B | Density ρ |
| Thin solid rod | sqrt(Y/ρ) | Young's modulus Y | Density ρ |
| Ideal gas | sqrt(γRT/M) | Gas pressure behavior (through γ, T) | Molar mass M |
The bulk modulus B measures how much pressure is needed to compress a fluid by a given fraction. Young's modulus Y measures how much stress is needed to stretch a solid rod by a given fraction. Both are in pascals (Pa).
Why air depends on temperature
For an ideal gas, the fluid formula becomes v = sqrt(γRT/M), where γ ≈ 1.4 for air (a ratio of heat capacities), R = 8.314 J/(mol·K) is the gas constant, T is the absolute temperature in kelvin, and M ≈ 0.02897 kg/mol is the molar mass of air. Speed grows with the square root of absolute temperature, because warmer molecules move faster and relay the disturbance sooner.
Pressure by itself does not appear. Raising the pressure of a gas at constant temperature raises both its stiffness and its density by the same factor, so the ratio B/ρ stays put.
import math
gamma = 1.4 # ratio of heat capacities for air (dimensionless)
R = 8.314 # J/(mol K)
molar_mass = 0.02897 # kg/mol, dry air
def sound_speed_air(celsius):
kelvin = celsius + 273.15
return math.sqrt(gamma * R * kelvin / molar_mass)
for celsius in (0, 20, 40):
print(f"{celsius:2d} C: v = {sound_speed_air(celsius):.1f} m/s")
# 0 C: v = 331.3 m/s
# 20 C: v = 343.2 m/s
# 40 C: v = 354.7 m/sThe 20 °C value matches the 343 m/s used throughout this tutorial. Over a 40-degree span the speed rises by about 7 percent, which is why a wind instrument plays slightly sharp as it warms up. The player's lips and the instrument's air column fix the length of the standing wave, so λ stays about the same while v increases and f follows.
Liquids and solids
The same formulas, with different numbers, give much higher speeds in denser materials.
import math
# Approximate material constants
water_bulk_modulus = 2.2e9 # Pa
water_density = 1000.0 # kg/m^3
steel_youngs_modulus = 200e9 # Pa
steel_density = 7800.0 # kg/m^3
v_water = math.sqrt(water_bulk_modulus / water_density)
v_steel = math.sqrt(steel_youngs_modulus / steel_density)
print(f"water: {v_water:.0f} m/s")
print(f"steel rod: {v_steel:.0f} m/s")
# water: 1483 m/s
# steel rod: 5064 m/sThe 1483 m/s result agrees with the roughly 1480 m/s used earlier in this tutorial. Steel is about 3.4 times faster than water here, and nearly 15 times faster than air.
Denser does not mean slower
It is tempting to say that denser media slow waves down, since density is in the denominator. The numbers above show why that shortcut fails. Water is about 800 times denser than air, yet sound travels more than four times faster in it. The reason is that water's bulk modulus is also enormously larger, by a factor of roughly 20,000. Stiffness grows faster than density as you move from gas to liquid to solid, so the ratio B/ρ increases.
Always compare both quantities. Denser alone predicts slower. Stiffer alone predicts faster. The ratio decides.
What does not set the speed
Several quantities that students expect to matter do not, at least in the ordinary small-wave regime.
- Frequency. On a string and in air, waves of different frequencies travel at the same speed. A bass note and a piccolo note from the same stage reach the back row together, which is why a band stays in time in a concert hall. Media where speed does depend on frequency are called dispersive. Deep-water surface waves are an example, where longer waves travel faster. Dispersion makes a pulse spread out as it travels, and it is why v = fλ then has to be applied wave by wave, with a different v for each frequency.
- Amplitude. For small disturbances, a louder sound or a bigger pulse moves at the same speed as a quiet or small one. Very large disturbances, such as a shock wave from an explosion, break this rule because the medium no longer responds in proportion to the push.
- Wavelength. In a non-dispersive medium, wavelength changes with frequency but does not feed back into the speed.
- How the wave was made. A wave on a string moves at sqrt(T/μ) whether you pluck, bow, or flick the string.
Finally, do not confuse the wave's speed with the speed of the medium's own particles. A piece of string oscillates up and down with a maximum speed of 2πfA, where A is the amplitude. This depends on the source, and it changes constantly during a cycle. The wave itself moves along the string at v. In a typical string wave, the particle speed is far smaller than v.
Working a problem: find the unknown in the right order
When a problem gives you a source and a medium, follow the causal order, not the order the numbers appear.
- Identify the medium and compute v from its properties (T and μ for a string, B and ρ or temperature for sound).
- Read the frequency from the source.
- Compute λ = v/f.
- If the problem changes something, decide first whether it changes the source or the medium. A change in the source alters f only. A change in the medium alters v only. In both cases, λ responds.
For example, a string at T = 100 N with μ = 0.010 kg/m is driven at 250 Hz. Step 1 gives v = 100 m/s. Step 3 gives λ = 0.40 m. Now someone tightens the string to 400 N while the driver stays at 250 Hz. The source is unchanged, so f = 250 Hz. The medium changed, so v = 200 m/s and λ = 0.80 m.
Compare that with leaving the tension alone and doubling the driver frequency to 500 Hz. Now v stays at 100 m/s and λ = 0.20 m.
Common errors
- Raising frequency to speed up a wave. This shortens the wavelength and leaves the speed alone.
- Changing tension and expecting the frequency to change. A driven string still vibrates at the driver's frequency. Tension changes the wavelength, not the frequency. (For a plucked string whose ends are fixed, the story differs, because the allowed standing waves depend on the speed. That belongs to the final chapter of this tutorial.)
- Forgetting the square root. Doubling tension does not double speed. It multiplies speed by sqrt(2), about 1.41.
- Mixing units. Mass per length given in g/m must be converted to kg/m before use. A string of 5 g/m has μ = 0.005 kg/m.
- Using Celsius in the ideal-gas formula. The temperature must be in kelvin. The code above adds 273.15 for this reason.
- Applying one medium's speed to another. After a wave crosses a boundary, the new speed comes from the new medium. The next chapter covers what happens to the frequency and wavelength there.
Exercises
Exercise
A string has linear density μ = 0.0025 kg/m and is held at tension T = 100 N. A driver shakes one end at 400 Hz. Find the wave speed and wavelength.
Show answer
v = sqrt(T/μ) = sqrt(100 / 0.0025) = sqrt(40000) = 200 m/s. The wavelength is λ = v/f = 200 / 400 = 0.50 m.
Exercise
A string at 100 N with μ = 0.010 kg/m is driven at 250 Hz, giving λ = 0.40 m. Keeping the driver and the string the same, what tension makes the wavelength 0.20 m?
Show answer
The frequency stays at 250 Hz, so the speed must be v = fλ = 250 × 0.20 = 50 m/s. From v = sqrt(T/μ), T = μv² = 0.010 × 50² = 25 N. Halving the wavelength at fixed frequency halves the speed, which needs one quarter of the tension (100 N / 4 = 25 N).
Exercise
Water is about 800 times denser than air, yet sound travels about four times faster in water. Explain this using v = sqrt(B/ρ).
Show answer
Speed depends on the ratio of stiffness to density, not on density alone. Water's bulk modulus (about 2.2 × 10^9 Pa) is roughly 20,000 times larger than air's, which outweighs its roughly 800-fold density increase. The ratio B/ρ is therefore about 25 times larger, and its square root, the speed, is about 5 times larger, in line with the observed factor of four to five.