Sub topic 8
Entering a New Medium: What Changes and What Stays Fixed
This chapter assumes you can rearrange equations like v = fλ and f = 1/T. It also assumes you know what wavelength, period, and frequency mean, and that the speed of a wave depends on its medium. For strings, you should be comfortable with tension and linear mass density (mass per unit length, μ).
A wave rarely stays in one material. Sound leaves a speaker, crosses air, and hits a wall. A pulse travels along a string and reaches a knot where the string gets thicker. Light-weight cord is spliced to heavy rope. In each case a wave crosses a boundary, the surface where one medium ends and another begins.
When that happens, some properties of the wave change and some do not. Knowing which is which lets you predict the new wavelength in one line of algebra.
The short answer
Across a boundary:
- The frequency and period stay the same.
- The wave speed changes, because the new medium has different properties.
- The wavelength changes, because λ = v/f and v changed while f did not.
The rest of the chapter explains why, shows the numbers, and covers the edge cases.
Why the frequency cannot change
Consider a boundary between medium 1 and medium 2, and a steady wave arriving from medium 1. Suppose crests arrive at the boundary at a rate of f₁ per second.
The boundary is a single place. The material at that place moves as one, and the motion cannot tear apart or pile up there. So the motion on the medium 2 side of the boundary is driven by the motion on the medium 1 side. Each time the material at the boundary completes one up-and-down cycle, it starts one cycle in medium 2.
Count crests to see the consequence:
- If crests left the boundary more slowly than they arrived, they would accumulate at the boundary. The displacement there would grow without limit, which does not happen for an ordinary linear wave.
- If crests left faster than they arrived, the boundary would have to create crests from nothing.
Neither can happen in steady state, so f₂ = f₁. The source, which is whatever is shaking the first medium, sets the frequency. The boundary only passes it along.
The same period follows from T = 1/f. Every point in both media repeats its motion every T seconds.
Why the speed changes
Wave speed comes from the medium, not from the wave. A few cases from this tutorial:
- On a string, v = sqrt(T/μ). Tension and linear density set the speed.
- Sound in air at about 20 °C travels at roughly 343 m/s. In water it travels at roughly 1480 m/s, because water is far stiffer against compression, and stiffness more than makes up for its greater density.
When a wave moves into a different medium, the restoring force and inertia of the material change. So the speed changes. The frequency has no say in this. The medium just responds to the wave at the rate the wave arrives.
Why the wavelength changes
Take v = fλ and apply it on each side of the boundary:
- λ₁ = v₁ / f
- λ₂ = v₂ / f
Dividing the second by the first, the frequency cancels:
λ₂ / λ₁ = v₂ / v₁
So the wavelength changes in the same proportion as the speed. A wave that speeds up stretches out. A wave that slows down bunches up.
There is a physical picture behind this. Crests leave the boundary once every period T. In medium 2, each crest then travels v₂T before the next one starts, so the crests are v₂T = λ₂ apart. A faster medium lets each crest get farther ahead before its successor appears.
Summary table
| Quantity | Across a boundary | Reason |
|---|---|---|
| Frequency f | Same | The boundary material moves as one, so each cycle that arrives starts exactly one cycle on the other side |
| Period T | Same | T = 1/f |
| Wave speed v | Changes | Set by the properties of each medium |
| Wavelength λ | Changes, with λ₂/λ₁ = v₂/v₁ | λ = v/f with f fixed |
| Amplitude | Usually changes | Part of the energy is reflected, and the rest is transmitted |
| Direction | May change for oblique incidence | Wavefronts must stay continuous along the boundary |
Worked example: sound from air into water
A 440 Hz tone is produced in air and then enters water. Use the approximate speeds 343 m/s in air and 1480 m/s in water.
frequency = 440.0 # Hz, set by the source and unchanged at the boundary
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 mThe wavelength grows by a factor of 1480 / 343, about 4.3. The pitch you would hear (if you could listen underwater with the same ears) is still tied to 440 Hz, because that is what is set by the source.
Notice what the program does not do. It never recomputes the frequency in water. The frequency enters as a fixed input, and only the speed varies. That is the whole logic of the boundary rule in code form.
Worked example: a string with two different densities
A string is made of two sections joined end to end. The tension is the same in both, because it is one connected string under one pull. The sections differ in linear density, so the speed differs.
Take T = 100 N, f = 250 Hz, with μ = 0.010 kg/m for the light section and μ = 0.040 kg/m for the heavy section.
import math
def string_wave(tension, linear_density, frequency):
"""Return (speed, wavelength) for a wave on a string."""
speed = math.sqrt(tension / linear_density)
return speed, speed / frequency
tension = 100.0 # N, the same in both sections
frequency = 250.0 # Hz, the same in both sections
for name, mu in [("light", 0.010), ("heavy", 0.040)]:
speed, wavelength = string_wave(tension, mu, frequency)
print(f"{name}: speed = {speed:.1f} m/s, wavelength = {wavelength:.3f} m")
# light: speed = 100.0 m/s, wavelength = 0.400 m
# heavy: speed = 50.0 m/s, wavelength = 0.200 mQuadrupling μ halves the speed, because v depends on the square root of 1/μ. The wavelength halves too. The heavy section holds twice as many wavelengths per metre as the light section, and the number of vibrations per second is the same in both.
Here is a quick way to see the result without a calculator. If the tension is constant, then v ∝ 1/sqrt(μ), so λ₂/λ₁ = sqrt(μ₁/μ₂) = sqrt(1/4) = 1/2.
What happens to the rest of the wave
Not all of the wave energy continues into the second medium. At a boundary, a wave is usually split into two parts:
- A transmitted wave continues into medium 2.
- A reflected wave goes back into medium 1.
Both have the same frequency as the incoming wave. The reflected wave stays in medium 1, so its speed and wavelength are unchanged from the incoming wave. Only the transmitted wave has a new wavelength.
For a string with the same tension on both sides, the amplitudes follow from the speeds:
- Transmitted amplitude ratio: 2v₂ / (v₁ + v₂)
- Reflected amplitude ratio: (v₂ − v₁) / (v₂ + v₁)
For the light-to-heavy example, v₁ = 100 m/s and v₂ = 50 m/s. The transmitted ratio is 100/150 = 2/3. The reflected ratio is −50/150 = −1/3.
The negative sign means the reflected pulse is inverted: a crest comes back as a trough. This happens when the wave enters a slower (here, heavier) section. If the wave travels the other way, from heavy to light, the reflected ratio is +1/3 and the reflection is not inverted. The transmitted wave is never inverted.
The reflected wave carries (1/3)² = 1/9 of the incident energy, since energy depends on the square of the amplitude (and for the transmitted wave the speed difference also matters). You do not need these formulas to find the new wavelength, but they show that "amplitude changes at a boundary" is not a vague claim. It follows from the speeds.
A related effect: direction changes
So far the wave has hit the boundary head-on. If a wave arrives at an angle, the wave also changes direction as it crosses. This is refraction.
The reason is the same as before, extended to two dimensions. Along the boundary, crests on both sides must line up, so the spacing of crests measured along the boundary is the same in both media. Since the wavelengths differ, the wavefronts must tilt. The result is Snell's law in the form:
sin θ₁ / v₁ = sin θ₂ / v₂
where θ is the angle between the wave's direction and the line perpendicular to the boundary.
import math
v_air = 343.0 # m/s
v_water = 1480.0 # m/s
theta_air = math.radians(10.0)
sin_water = math.sin(theta_air) * v_water / v_air
if sin_water > 1:
print("No transmitted wave: total reflection")
else:
theta_water = math.degrees(math.asin(sin_water))
print(f"angle in water = {theta_water:.1f} degrees")
# angle in water = 48.5 degreesSound entering water from air bends strongly away from the perpendicular, because water is the faster medium. Above about 13.4 degrees in air, the equation gives sin θ₂ greater than 1, which has no solution. Almost all of the sound is then reflected. You do not need this for the rest of the chapter, but it shows that the speed ratio controls both the wavelength and the bending.
Edge cases and common mistakes
Mistake 1: thinking a faster wave must have a higher frequency. Speed and frequency are independent. Faster speed in the new medium means a longer wavelength, not a higher frequency. If the frequency does not change at the boundary, you cannot get a new wavelength by changing it.
Mistake 2: confusing the boundary with a moving source. A source that moves toward or away from a listener changes the frequency the listener receives. That is the Doppler effect, and it comes from relative motion. A stationary boundary between two media does not change the frequency.
Mistake 3: using the wrong medium's speed. In a problem about a wave in water, using 343 m/s because the sound began in air gives the wrong answer. Use the speed of the medium the wave is in at that point.
Mistake 4: assuming the speed depends on frequency. In many ordinary cases, such as a string or sound in air, v does not depend on f, so one speed per medium is enough. In some media, speed does depend on frequency (this is called dispersion), and then each frequency component gets its own speed. The frequency is still preserved across the boundary. Only the speed lookup becomes more complicated.
Mistake 5: forgetting that the medium can change on its own. Sound speed in air depends on temperature. A wave passing through a layer of warmer air has its speed and wavelength change slightly, with the same frequency, even with no visible boundary. The reasoning is identical.
A short procedure
- Write down the frequency, which comes from the source, and keep it for every medium.
- Find the speed in each medium, from a table or from a formula such as v = sqrt(T/μ).
- Compute each wavelength from λ = v/f.
- As a check, confirm that λ₂/λ₁ equals v₂/v₁. If a faster medium gives a shorter wavelength, a step went wrong.
Exercise
A 600 Hz sound wave travels from air (343 m/s) into water (1480 m/s). Find the wavelength in each medium and the frequency in water.
Show answer
The frequency stays 600 Hz in water. In air, λ = 343 / 600 = 0.572 m. In water, λ = 1480 / 600 = 2.47 m. The ratio 2.47 / 0.572 is about 4.3, which matches 1480 / 343.
Exercise
A wave with f = 200 Hz and wavelength 0.50 m travels on a light string under tension T. It then enters a second string with four times the linear density, under the same tension. Find the speed and wavelength in the second string.
Show answer
In the first string, v = fλ = 200 × 0.50 = 100 m/s. Since v = sqrt(T/μ), quadrupling μ halves v, so v₂ = 50 m/s. The frequency stays 200 Hz, so λ₂ = 50 / 200 = 0.25 m.
Exercise
A student says: "Sound moves faster in water than in air, so a note has a higher pitch in water." Explain what is wrong, and say what does change.
Show answer
Pitch is set by frequency, and frequency is set by the source and is the same on both sides of the boundary. The faster speed in water changes the wavelength instead, making it longer by the ratio of the speeds, since λ = v/f with f fixed.