---
title: Wavelength, frequency and speed
heading: The three numbers that describe any wave
eyebrow: B8 · Lesson 1 · Wavelength, frequency and speed
xp: 40
---

::: hook
Pluck a guitar string, shout across a room, switch on a radio: each sends out a wave, a pattern that travels while the medium it moves through only jiggles in place. Every wave, whether on a string, in air or in the electromagnetic field, is described by how often it repeats in time, how often it repeats in space, and how fast the pattern moves. One simple relation ties the three together.

::: play
- A wave travels along a string. Press Play. The dot marks one bit of the string.
- Does the dot travel along with the wave, or just move up and down?
- Raise the frequency at a fixed speed. What happens to the wavelength? Now raise the speed (a tighter string) at a fixed frequency.
:::
:::

```sim plot
view: graph
x: x = 0..4 m
y: y = -1.5..1.5 cm
time: tt
slider: f = 0.5..4 step 0.25 = 1 Hz
slider: v = 0.5..4 step 0.25 = 2 m/s
plot: sin(2*pi*(x*f/v - f*tt)) | samples: 800 | label: string
point: 1, sin(2*pi*(f/v - f*tt))
readout: wavelength = v/f m
readout: period = 1/f s
```

::: predict
## A wave on a string has frequency 2 Hz and travels at 6 m/s. What is its wavelength?

- [ ] 12 m
- [x] 3 m
- [ ] 0.33 m
- [ ] 8 m

::: reveal
3 m. In one period (0.5 s) the wave moves one wavelength, so $\lambda = v/f = 6/2$. The marked dot never travels along the string; it just moves up and down twice a second. What travels is the pattern, and with it, energy.
:::
:::

::: nameit
## Describing waves

**Two kinds of repetition.** A sinusoidal wave $y = A\sin(kx - \omega t)$ repeats in time with **period** $T = 1/f$ and in space with **wavelength** $\lambda = 2\pi/k$. The **amplitude** $A$ is how far it swings.

**One relation.** The pattern moves one wavelength in one period, so the **wave speed** is

$$v = f\lambda = \frac{\omega}{k}$$

For a given medium the speed is usually fixed, so frequency and wavelength trade off: double one and the other halves.

**What sets the speed.** The speed depends on the medium. The source has no say in it:

| Wave | Speed | Set by |
|---|---|---|
| string | $\sqrt{T/\mu}$ | tension over mass per length |
| sound in air | about 343 m/s at 20 °C | temperature |
| light in vacuum | $c = 3 \times 10^8$ m/s | $\varepsilon_0$, $\mu_0$ |
| light in glass | $c/n$ | refractive index |
| signal on a cable | $c/\sqrt{\varepsilon_r}$ | the insulation |

**Transverse and longitudinal.** On a string and in light, the disturbance is square to the direction of travel: **transverse**. In sound, air is squeezed back and forth along the direction of travel: **longitudinal**. Only transverse waves can be polarized (lesson 19).

**Energy.** A wave carries energy without carrying matter. Its intensity grows as the amplitude squared, the same rule as for electromagnetic waves (B7.7).
:::

::: example
## A wave on a rope is $y = 0.02\sin(4x - 600t)$, in meters and seconds. Find its amplitude, wavelength, frequency and speed.

::: solution
1. **Amplitude.** The factor in front of the sine is the amplitude: 0.02 m, or 2 cm.
2. **Wavelength.** The wave number is $k = 4$ rad/m, so
   $$\begin{aligned} \lambda &= \frac{2\pi}{4} \\ &= 1.57\ \text{m} \end{aligned}$$
3. **Frequency.** The angular frequency is $\omega = 600$ rad/s, so
   $$\begin{aligned} f &= \frac{600}{2\pi} \\ &= 95.5\ \text{Hz} \end{aligned}$$
4. **Speed.**
   $$\begin{aligned} v &= \frac{\omega}{k} \\ &= \frac{600}{4} \\ &= 150\ \text{m/s} \end{aligned}$$

**Answer:** the amplitude is 2 cm, the wavelength 1.57 m, the frequency 95.5 Hz and the speed 150 m/s.
:::
:::

::: example
## A 1 kHz tone passes from air (343 m/s) into water (1480 m/s). What happens to its frequency and wavelength?

::: solution
1. **Frequency.** The frequency stays 1 kHz: each crest arriving at the surface launches one crest into the water.
2. **Wavelength in air.**
   $$\begin{aligned} \lambda &= \frac{343}{1000}\ \text{m} \\ &= 34.3\ \text{cm} \end{aligned}$$
3. **Wavelength in water.** The wavelength grows with the speed:
   $$\begin{aligned} \lambda &= \frac{1480}{1000}\ \text{m} \\ &= 1.48\ \text{m} \end{aligned}$$

**Answer:** the frequency stays 1 kHz, and the wavelength grows from 34.3 cm to 1.48 m.
:::
:::

::: example
## A tap on one end of a stretched 30 m cable sends a pulse at 120 m/s. When does a sensor at the far end feel it? If the end is shaken steadily at 40 Hz instead, how far apart are the crests, and what is the phase difference between points 1 m apart?

::: solution
1. **Pulse travel time.**
   $$\begin{aligned} t &= \frac{30\ \text{m}}{120\ \text{m/s}} \\ &= 0.25\ \text{s} \end{aligned}$$
2. **Wavelength at 40 Hz.**
   $$\begin{aligned} \lambda &= \frac{120}{40}\ \text{m} \\ &= 3\ \text{m} \end{aligned}$$
3. **Phase difference.** Points 1 m apart are a third of a wavelength apart:
   $$\frac{360°}{3} = 120°$$
4. **Same speed for both.** The pulse and the steady wave travel at the same speed: the speed belongs to the cable, while the frequency belongs to whatever is shaking it.

**Answer:** the sensor feels the pulse after 0.25 s. At 40 Hz the crests are 3 m apart, and points 1 m apart differ in phase by 120°.
:::
:::

::: check
given: v = 2 | 4 | 6 | 8 | 10; f = 0.5 | 3 | 5
answer: v/f
unit: m
tolerance: 0.5%

## A wave travels at {v} m/s with a frequency of {f} Hz. What is its wavelength?

::: right
Right. $\lambda = v/f$ = {answer}.
:::

::: misses
- [v*f] It's speed divided by frequency.
- [f/v] Upside down.
- [any] Not yet. $\lambda = v/f$.
:::
:::

::: check
given: f = 100..1000 step 100
answer: 343/f
unit: m
tolerance: 0.5%

## What is the wavelength of a {f} Hz sound in air (343 m/s)?

::: right
Right. {answer}.
:::

::: misses
- [343*f] Divide the speed by the frequency.
- [any] Not yet. $\lambda = v/f$.
:::
:::

::: check
given: T = 10..100 step 10; mu = 1 | 2 | 5
answer: sqrt(T/(mu*1e-3))
unit: m/s
tolerance: 0.5%

## A string under {T} N tension has a mass of {mu} g per meter. How fast do waves travel on it?

::: right
Right. $v = \sqrt{T/\mu}$ = {answer}.
:::

::: misses
- [sqrt(T/mu)] Convert grams to kilograms.
- [T/(mu*1e-3)] Take the square root.
- [any] Not yet. $v = \sqrt{T/\mu}$.
:::
:::

::: check
given: lam = 0.5 | 2 | 4; v = 10..100 step 10
answer: v/lam
unit: Hz
tolerance: 0.5%

## A wave of wavelength {lam} m travels at {v} m/s. What is its frequency?

::: right
Right. $f = v/\lambda$ = {answer}.
:::

::: misses
- [v*lam] Divide the speed by the wavelength.
- [any] Not yet. $f = v/\lambda$.
:::
:::

::: check
kind: choice

## A wave on a string passes by. What does one bit of the string do?

- [ ] Travels along with the wave
- [x] Moves up and down in place
- [ ] Stays perfectly still
- [ ] Moves in a circle along the string

::: right
Right. The pattern moves; the material only oscillates where it is.
:::

::: misses
- [1] Only the pattern and its energy travel.
- [3] It moves, just not along the string.
- [4] On a string, the motion is up and down, across the direction of travel.
:::
:::

::: check
kind: parts
given: v = 20 | 120; f = 10 | 40; dx = 0.5 | 1

## A wave travels at {v} m/s with frequency {f} Hz.

::: part
answer: v/f
unit: m
tolerance: 0.5%

### What is its wavelength?

::: misses
- [any] $\lambda = \frac vf$.
:::
:::

::: part
answer: 360*dx/(v/f)
unit: °
tolerance: 0.5%

### What phase difference separates points {dx} m apart along it?

::: misses
- [any] One wavelength is 360°.
:::
:::
:::

::: check
kind: derivation
vars: A = 0.001..0.1, k = 0.5..20, w = 1..1000

## A wave $y = A\sin(kx - \omega t)$ (write ω as w).

::: step
answer: w/k

### How fast do its crests travel?
:::

::: step
answer: A*w

### What is the fastest any bit of the medium moves?
:::

::: right
Right. The wave's speed $\frac\omega k$ and the medium's peak speed $A\omega$ are different things: a quiet wave travels just as fast as a loud one.
:::
:::

::: explain
## A sound wave goes from air into water, where it travels about four times faster. What happens to its frequency and wavelength?

::: model
The frequency stays the same: every compression arriving at the boundary from the air launches one compression into the water, so the number per second can't change. The speed is set by the new medium, and since $v = f\lambda$ with the same f, the wavelength grows by the same factor as the speed, about four times longer in water.
:::
:::

::: practice

::: check
given: f = 50 | 60 | 1000; v = 343
answer: 343/f
unit: m
tolerance: 0.5%

## What is the wavelength of a {f} Hz tone in air?

::: misses
- [any] $\lambda = v/f$ with 343 m/s.
:::
:::

::: check
given: f = 2..10 int
answer: 1/f
unit: s
tolerance: 0.5%

## What is the period of a {f} Hz wave?

::: misses
- [f] The period is one over the frequency.
- [any] $T = 1/f$.
:::
:::

::: check
given: k = 2 | 4 | 9
answer: sqrt(k)
tolerance: 0.5%

## A string's tension is raised {k} times. By what factor does its wave speed change?

::: misses
- [k] Speed goes as the square root of tension.
- [any] $v \propto \sqrt T$.
:::
:::
:::
