Sub topic 3
What sets the speed: the medium, not the source
This chapter assumes you can rearrange simple equations, read a sine-shaped graph, and use the units m, s, and m/s. It also uses v = fλ, where v is wave speed, f is frequency, and λ is wavelength.
The medium sets the speed
A source, such as a tuning fork, sets the frequency. The medium, the material the wave travels through, sets the speed. For a string, the speed depends on tension T and linear mass density μ (mass per unit length):
v = √(T/μ)
Changing the frequency does not change the speed. Only the wavelength changes, because λ = v/f.
Entering a new medium
When a wave crosses into a different medium, its speed changes, but its frequency stays the same. The source still drives the same number of cycles per second. Because v changes and f does not, λ must change.
frequency = 440.0 # Hz, fixed by the source
speeds = {"air": 343.0, "water": 1480.0} # m/s, approximate
for medium, speed in speeds.items():
print(f"{medium}: wavelength = {speed / frequency:.2f} m")
# air: wavelength = 0.78 m
# water: wavelength = 3.36 m> Callout: The frequency is the one quantity that does not change at a boundary. Use it as a check when you solve boundary problems.
Superposition and interference
When two waves overlap, their displacements add. Where crests meet crests, the displacement is larger (constructive interference). Where a crest meets a trough, the displacements cancel (destructive interference).
Standing waves on a string
A string fixed at both ends supports standing waves only at wavelengths that fit its length L. Each allowed pattern satisfies L = nλ/2, where n = 1, 2, 3, and so on. This gives λ = 2L/n and f = nv/(2L).
import math
speed = math.sqrt(100.0 / 0.010) # m/s, from T = 100 N and μ = 0.010 kg/m
length = 0.80 # m, string fixed at both ends
for n in range(1, 4):
wavelength = 2 * length / n
frequency = n * speed / (2 * length)
print(f"mode {n}: wavelength = {wavelength:.2f} m, frequency = {frequency:.1f} Hz")
# mode 1: wavelength = 1.60 m, frequency = 62.5 Hz
# mode 2: wavelength = 0.80 m, frequency = 125.0 Hz
# mode 3: wavelength = 0.53 m, frequency = 187.5 HzExercise
A string has tension 100 N and linear density 0.010 kg/m. Its length is 0.80 m. What is the frequency of the second harmonic (n = 2)?
Show answer
The speed is v = √(100 / 0.010) = 100 m/s. For n = 2, f = nv/(2L) = 2 × 100 / (2 × 0.80) = 125 Hz.