Sub topic 4
Wavelength: the length of one cycle in space
This chapter assumes you can rearrange simple equations, work with meters and seconds, read a sine-shaped graph, and have a basic idea of force and tension. You should know that a mechanical wave carries energy through a medium, and that waves are either transverse or longitudinal. Everything here builds on that.
What wavelength measures
A periodic wave repeats its shape. If you freeze a wave at one instant and look along its length, you see the same pattern again and again. Wavelength, written with the Greek letter λ (lambda), is the distance along the direction of travel over which that pattern repeats once. Its SI unit is the meter.
Wavelength is a length in space. The next chapter covers period and frequency, which describe the same repetition in time. The two views stay separate in this chapter. Wavelength answers "how far apart are the repeats right now?" and not "how often does the wave repeat at one spot?"
A precise definition: λ is the smallest distance between two points on the wave that are in the same state of motion. Two such points have the same displacement and are moving the same way, so they are said to be in phase. Shifting a snapshot of a periodic wave sideways by exactly one wavelength gives back the original snapshot.
Reading wavelength from a snapshot graph
The most common way to meet wavelength is a graph of displacement against position at a fixed instant. Here is such a graph for a wave with amplitude 2 cm and wavelength 0.8 m, sampled every 0.1 m over two full cycles.
To read λ from this graph, pick any feature that repeats and measure the distance to its next occurrence:
- Crest to the next crest: 0.2 m to 1.0 m, so λ = 0.8 m.
- Trough to the next trough: 0.6 m to 1.4 m, so λ = 0.8 m.
- A zero crossing heading upward to the next upward crossing: 0 m to 0.8 m, so λ = 0.8 m.
All three give the same answer because the wave is periodic. In practice, crests and troughs are the easiest to locate on a plot, because the curve is flat there and the eye can find the extreme. Zero crossings are often easier to pin down in measured data, because the curve is steepest there and the crossing position is sharply defined.
Use many cycles to reduce error
One reading of one gap carries the full error of your two position readings. If a graph shows several cycles, measure across all of them and divide. If you read the positions of n consecutive crests, the span from the first to the last contains n − 1 wavelengths, not n.
crests = [0.35, 1.15, 1.95, 2.75] # positions of consecutive crests, in m
cycles = len(crests) - 1
wavelength = (crests[-1] - crests[0]) / cycles
print(f"crests read: {len(crests)}, wavelengths spanned: {cycles}")
print(f"wavelength = {wavelength:.3f} m")
# crests read: 4, wavelengths spanned: 3
# wavelength = 0.800 mThis is the same as averaging the individual gaps between neighboring crests, because the intermediate positions cancel. Any error in one reading is spread over all the cycles, so it shrinks in proportion to the number of cycles you measure.
Wavelength in longitudinal waves
A longitudinal wave has no crests or troughs. The medium moves back and forth along the direction of travel, which creates regions where particles are crowded together (compressions) and regions where they are spread out (rarefactions). The definition of wavelength still holds, with different landmarks:
- Compression to the next compression is one wavelength.
- Rarefaction to the next rarefaction is one wavelength.
- Compression to the next rarefaction is half a wavelength.
For sound, you can plot pressure or particle displacement against position. That graph is sine-shaped, so you read it exactly as you would a transverse snapshot. A compression center corresponds to a maximum of the pressure graph, and a rarefaction center to a minimum. The caution is to remember that a displacement graph of a longitudinal wave is a plot, not a picture. The curve shows how far particles moved along the travel direction, even though the graph draws that movement upward.
Spatial periodicity in equation form
A snapshot of a sinusoidal wave can be written as
y(x) = A sin(kx)
where A is the amplitude and k is the angular wave number, defined by k = 2π/λ. The wave number has units of radians per meter. It plays the role in space that angular frequency plays in time: it tells you how many radians of phase the wave advances per meter.
The definition of wavelength becomes a statement you can test. Moving from x to x + λ adds k·λ = 2π to the argument of the sine, and sine repeats every 2π. So y(x + λ) = y(x) for every x.
import math
amplitude = 0.02 # m
wavelength = 0.80 # m
k = 2 * math.pi / wavelength
def y(x):
return amplitude * math.sin(k * x)
print(f"k = {k:.3f} rad/m")
for x in [0.05, 0.13, 0.31]:
same = math.isclose(y(x), y(x + wavelength), abs_tol=1e-12)
print(f"y({x}) = {y(x):.5f} y(x + wavelength) = {y(x + wavelength):.5f} repeats: {same}")
# k = 7.854 rad/m
# y(0.05) = 0.00765 y(x + wavelength) = 0.00765 repeats: True
# y(0.13) = 0.01705 y(x + wavelength) = 0.01705 repeats: True
# y(0.31) = 0.01299 y(x + wavelength) = 0.01299 repeats: TrueThe comparison uses math.isclose with an absolute tolerance instead of ==. Floating-point sine values at x and x + λ differ in the last few digits, so exact equality is the wrong test. The tolerance is absolute because values near zero make a relative tolerance meaningless.
Phase difference and distance
Wavelength also converts distance into phase. Two points separated by a distance d along a sinusoidal wave differ in phase by
Δφ = 2π · d/λ
Some useful cases:
| Separation d | Phase difference | Relationship |
|---|---|---|
| 0 | 0 | Identical motion |
| λ/4 | π/2 (90°) | One point leads the other by a quarter cycle |
| λ/2 | π (180°) | Opposite motion: one at a crest while the other is at a trough |
| λ | 2π (360°) | In phase again |
| 3λ/2 | 3π | Opposite again |
Points a whole number of wavelengths apart move in step. Points an odd number of half wavelengths apart move in exact opposition. This is the basis of interference, which a later chapter develops, and of the standing-wave patterns at the end of this tutorial.
Snapshot graph versus history graph
Two graphs of a wave look alike and measure different things.
| Graph | Horizontal axis | Fixed quantity | What a repeat measures |
|---|---|---|---|
| Snapshot | Position x | One instant in time | Wavelength λ |
| History | Time t | One position in space | Period T |
If a problem hands you a graph, read the horizontal axis label before measuring anything. A crest-to-crest gap on a graph labeled in seconds is a period, and dividing or converting it as if it were meters gives a nonsense answer. The wavelength cannot be read from a history graph alone. You would also need the wave speed, which a later chapter ties together with v = fλ.
Typical sizes of wavelength
Wavelengths in everyday sound span several orders of magnitude. The script below uses the relation λ = v/f for sound in air near 20 °C, which the chapters after this one explain in detail. For now, treat it as the rule that connects a note's frequency to the physical size of its wave.
speed = 343.0 # m/s, sound in air near 20 degrees C
for frequency in [20, 100, 440, 1000, 10000]: # Hz
wavelength = speed / frequency
print(f"{frequency:>6} Hz -> {wavelength:.4f} m")
# 20 Hz -> 17.1500 m
# 100 Hz -> 3.4300 m
# 440 Hz -> 0.7795 m
# 1000 Hz -> 0.3430 m
# 10000 Hz -> 0.0343 mA low bass note has a wave longer than a classroom. A high note has a wave a few centimeters long. This difference explains familiar behavior, such as why low sounds bend around doorways and corners more easily than high ones: waves spread most readily when the obstacle is small compared with the wavelength.
What sets the wavelength
Wavelength is a result of two other quantities, not an independent property of the wave. The source sets the frequency, and the medium sets the speed. Wavelength follows from the two. The key consequences for this chapter:
- Moving a wave from one medium into another changes its wavelength, because the speed changes while the frequency does not.
- Changing the frequency of the source in the same medium changes the wavelength in the opposite direction. Doubling the frequency halves λ.
- You cannot choose frequency, speed, and wavelength all freely. Fix any two and the third is determined.
Edge cases and limits of the definition
- Non-sinusoidal periodic waves. A square wave, sawtooth, or a violin tone has a repeating shape that is not a sine. Wavelength still means the length of one full repeat, measured between matching points. The wave number k = 2π/λ then describes only the fundamental component.
- Single pulses. One bump traveling along a rope does not repeat, so it has no wavelength. It has a width and a speed, but λ requires a periodic pattern.
- Changing wavelength within one wave. In a medium where the speed varies along the path, for example a rope whose thickness changes, the local wavelength changes from place to place even though the frequency is constant. Measure λ only over a stretch where it is uniform.
- Dispersive media. In some media, waves of different frequencies travel at different speeds, so a wave made of several components has no single wavelength. Each component has its own.
- Standing waves. On a string with both ends fixed, only some wavelengths fit. The string length L must hold a whole number of half wavelengths, L = nλ/2 for n = 1, 2, 3, and so on. The last chapter develops this. Notice already that wavelength here is read from the pattern, not from a traveling disturbance: adjacent nodes are λ/2 apart.
- Measurement uncertainty. A crest is a flat region, so its position is uncertain by a noticeable fraction of a gap. Measuring across several cycles, as in the earlier script, is the standard way to shrink that uncertainty.
Common errors
| Mistake | Why it is wrong | Fix |
|---|---|---|
| Taking crest to trough as λ | That distance is λ/2 | Measure crest to crest, or double the crest-to-trough gap |
| Using amplitude as a length scale for λ | Amplitude is the vertical size, wavelength is the horizontal repeat | Read λ only from the position axis |
| Dividing by the number of crests | n crests span n − 1 wavelengths | Count the gaps |
| Reading λ from a time axis | A repeat on a time axis is a period | Check the axis label first |
| Quoting centimeters in a formula that expects meters | Units must match the speed units | Convert before computing |
| Assuming a pulse has a wavelength | There is no repeating pattern | Use width and speed instead |
Exercises
Exercise
A snapshot graph of a transverse wave on a rope shows crests at positions 0.20 m, 0.95 m, 1.70 m, and 2.45 m. What is the wavelength, and how many wavelengths does the whole span contain?
Show answer
Four crests span three wavelengths. The total distance is 2.45 − 0.20 = 2.25 m, so λ = 2.25 / 3 = 0.75 m.
Exercise
On a snapshot of a wave, a crest sits at x = 0.40 m and the nearest trough is at x = 0.75 m. What is the wavelength?
Show answer
A crest and its nearest trough are half a wavelength apart. So λ/2 = 0.35 m, and λ = 0.70 m.
Exercise
A sound wave in air has compression centers at 0.10 m, 0.70 m, and 1.30 m along a tube. What is the wavelength, and what is the distance from the first compression to the nearest rarefaction center?
Show answer
Neighboring compressions are 0.60 m apart, so λ = 0.60 m. The nearest rarefaction center lies halfway between compressions, which is λ/2 = 0.30 m from the first compression, at x = 0.40 m.
Exercise
Two points on a sinusoidal wave with λ = 0.80 m are 0.20 m apart. What is their phase difference in radians, and is either point at a crest when the other is at a trough?
Show answer
Δφ = 2π · d/λ = 2π · 0.20/0.80 = π/2 rad (90°). Opposite motion needs a phase difference of π, so neither point is at a crest while the other is at a trough. One point leads the other by a quarter cycle.
Exercise
A graph with a horizontal axis labeled "time (s)" shows crests at 0.010 s and 0.012 s. A student reports the wavelength as 0.002 m. What is wrong with this?
Show answer
The gap on a time axis is the period, T = 0.002 s, not a wavelength. A wavelength is a length and must be read from a position axis, or computed from the speed and frequency.