Sub topic 1
Review: Describing a Traveling Wave
Interference and standing waves are built from a single idea: you add up traveling waves. Before adding waves, you need a precise way to write one down. This chapter reviews the mathematical description of a sinusoidal traveling wave. The rest of the tutorial uses it repeatedly, especially the phase term, which decides whether two waves reinforce or cancel.
Prerequisites
This chapter assumes you already know the following:
- Basic trigonometry: the sine and cosine functions, radians, and the period of 2π.
- Wave properties: amplitude, wavelength, frequency, period, and wave speed.
- The relation v = fλ, where f is frequency and λ is wavelength.
- Basic algebra, including solving for one variable in an equation.
You do not need calculus. One short derivative appears later, and the result is also explained in words.
One function, two variables
A wave exists in space and in time. At a given instant, the medium (a string, air, or water) is displaced by different amounts at different positions. At a given position, the displacement changes as time passes. So the displacement is a function of two variables, written y(x, t).
A sinusoidal wave moving in the +x direction is:
y(x, t) = A sin(kx − ωt + φ)
Each symbol has a specific job.
| Symbol | Name | Meaning | Unit |
|---|---|---|---|
| A | Amplitude | Maximum displacement from equilibrium | m |
| k | Wave number | Phase gained per metre, k = 2π/λ | rad/m |
| ω | Angular frequency | Phase gained per second, ω = 2πf = 2π/T | rad/s |
| φ | Phase constant | Phase at x = 0, t = 0 | rad |
| kx − ωt + φ | Phase | The argument of the sine | rad |
The whole expression is a sine of the phase. The amplitude only scales it. The other three quantities set where in its cycle the wave is at each point and each moment.
Why the minus sign gives a +x wave
Follow one crest. A crest is where the phase equals π/2 (plus any multiple of 2π), so it sits where the phase is constant:
kx − ωt + φ = constant
As t increases, ωt increases, so x must increase to keep the phase fixed. The crest moves toward larger x. Its speed comes from differentiating the constant-phase condition: k dx − ω dt = 0, so dx/dt = ω/k.
This speed is the wave speed:
v = ω/k = (2πf)/(2π/λ) = fλ
This is the familiar v = fλ rewritten in terms of k and ω. A wave moving in the −x direction has a plus sign instead: y = A sin(kx + ωt + φ). Reflected waves, which appear in the chapter on boundaries, travel in the −x direction, so keep both forms in mind.
Two ways to look at the same wave
The same function gives two different pictures, depending on which variable you hold fixed.
- Snapshot (fix t). Set t = 0 and you get y(x, 0) = A sin(kx + φ). This is a curve in space. The distance between repeating points is the wavelength λ = 2π/k.
- History (fix x). Set x = 0 and you get y(0, t) = A sin(−ωt + φ). This is the motion of one point on the medium. The time between repeats is the period T = 2π/ω.
Wavelength is a spatial repeat distance. Period is a time repeat interval. Confusing the two is a common error, and the wave number k and angular frequency ω make the parallel clear: k is phase per metre, and ω is phase per second.
Wave speed versus particle speed
Two different speeds are present in a transverse wave on a string, and they point in different directions.
- The wave speed v = fλ is how fast the pattern moves along x. It depends on the medium, not on the amplitude.
- The particle velocity is how fast one small piece of the string moves up and down. It is the rate of change of y at a fixed x:
∂y/∂t = −Aω cos(kx − ωt + φ)
The largest particle speed is Aω. It depends on amplitude and frequency, and it is generally unrelated to v. A wave on a string can travel at 100 m/s while each piece of string moves up and down at only 0.5 m/s.
For a string with tension T and linear mass density μ (mass per unit length), the wave speed is v = √(T/μ). Changing the frequency of the source changes λ, not v. Later chapters on string modes rely on this fact.
The phase and what it tells you
The phase kx − ωt + φ tells you where a point is in its cycle. Two facts matter for interference.
- Points one wavelength apart share the same phase. Shifting x by λ changes the phase by kλ = 2π, which leaves the sine unchanged.
- A shift in x by Δx changes the phase by kΔx. A shift of half a wavelength changes it by π, which flips the sign of the displacement.
The phase constant φ sets the starting point. With φ = 0, the displacement at x = 0 and t = 0 is zero and rising in the pattern's sense of motion. With φ = π/2, the sine becomes a cosine of the same argument.
Two waves with the same k and ω but different φ differ by a constant phase difference. Comparing their φ values is the starting point for the next chapters.
Checking the model in code
The script below builds a wave from λ and f, computes k, ω, and v, and tests the claim that the pattern moves at speed v. If the wave travels without changing shape, then the displacement at x + vΔt at time Δt must equal the displacement at x at time 0.
import numpy as np
A = 0.02 # m, amplitude
wavelength = 0.5 # m
f = 4.0 # Hz
k = 2 * np.pi / wavelength # rad/m
omega = 2 * np.pi * f # rad/s
v = f * wavelength # m/s
def y(x, t, phi=0.0):
"""Displacement of a +x traveling sine wave."""
return A * np.sin(k * x - omega * t + phi)
print(f"k = {k:.3f} rad/m, omega = {omega:.3f} rad/s, v = {v:.2f} m/s")
print(f"omega / k = {omega / k:.2f} m/s")
x = np.linspace(0, 2, 9)
dt = 0.05
moved = y(x + v * dt, dt) # pattern after dt, sampled where it has moved to
original = y(x, 0.0)
print("Pattern moves at v:", np.allclose(moved, original))
# Maximum particle speed is A * omega, not v
print(f"Max particle speed = {A * omega:.3f} m/s")The output shows k ≈ 12.566 rad/m, ω ≈ 25.133 rad/s, and v = 2.00 m/s. Both ways of computing v agree, and the test prints True. The maximum particle speed is about 0.503 m/s, much smaller than the wave speed.
Common errors
- Mixing f and ω. Using f where ω belongs makes the phase wrong by a factor of 2π. If you write sin(kx − ft), the equation is wrong. Convert first.
- Using degrees in a calculator or in NumPy. NumPy's
sintakes radians. A phase constant of 90° must be entered as π/2. - Wrong sign for direction. A minus between kx and ωt means travel toward +x. A plus means travel toward −x.
- Treating v as the particle speed. The wave speed is set by the medium. The particle speed depends on A and ω.
- Changing frequency and expecting the speed to change. In a given medium, v stays fixed and λ changes with f.
Where this goes next
The next chapter adds two waves of this form point by point. That is the superposition principle. Once you can compare phases, you can predict when the sum grows, shrinks, or vanishes.
Exercise
A wave on a string is y(x, t) = 0.03 sin(20x − 50t), with x in metres, t in seconds, and y in metres. Find the wavelength, frequency, wave speed, and direction of travel.
Show answer
Compare with y = A sin(kx − ωt). Here k = 20 rad/m and ω = 50 rad/s. The wavelength is λ = 2π/k = 2π/20 ≈ 0.314 m. The frequency is f = ω/(2π) = 50/(2π) ≈ 7.96 Hz. The wave speed is v = ω/k = 50/20 = 2.5 m/s, which matches fλ ≈ 7.96 × 0.314 ≈ 2.5 m/s. The sign between kx and ωt is negative, so the wave travels toward +x.
Exercise
For the wave in the previous exercise, what is the maximum speed of a point on the string, and why is it different from the wave speed?
Show answer
The particle velocity is ∂y/∂t = −Aω cos(20x − 50t), so its maximum is Aω = 0.03 × 50 = 1.5 m/s. The wave speed is 2.5 m/s. They differ because they describe different motions: the wave speed is how fast the pattern moves along x, and it is set by the medium. The particle speed is how fast one piece of string moves up and down, and it depends on amplitude and angular frequency.
Exercise
Two points on a +x traveling wave with wavelength 0.40 m are separated by 0.10 m along x. By how much do their phases differ at the same instant?
Show answer
The phase difference is kΔx = (2π/λ)Δx = (2π/0.40) × 0.10 = π/2 rad, which is 90°. The point at larger x lags in phase, because the wave reaches it later.