Sub topic 3
The traveling wave equation y = A sin(kx − ωt + φ)
This chapter assumes you know simple harmonic motion (amplitude, angular frequency, phase) and the basic behavior of the sine function. It also assumes you have met v = fλ in the previous chapters.
What the equation describes
A wave moving along the x-axis gives each point of the medium a displacement y that depends on both position x and time t. For a sinusoidal wave:
y(x, t) = A sin(kx − ωt + φ)
Fix x and the equation is simple harmonic motion in time. Fix t and it is a sine curve in space. That double periodicity is what makes it a wave.
| Symbol | Name | Meaning | Relation |
|---|---|---|---|
| A | Amplitude | Maximum displacement | None |
| k | Wave number | Phase change per metre (rad/m) | k = 2π/λ |
| ω | Angular frequency | Phase change per second (rad/s) | ω = 2πf = 2π/T |
| φ | Phase constant | Phase at x = 0, t = 0 | Set by initial conditions |
| kx − ωt + φ | Phase | Argument of the sine | None |
Why the speed is ω/k
Follow a point of constant phase, such as a crest. Its phase stays fixed, so kx − ωt = constant. Differentiating with respect to t gives k(dx/dt) − ω = 0, so
v = dx/dt = ω/k = fλ
Finding the direction
The sign between kx and ωt gives the direction of travel:
- sin(kx − ωt + φ) moves toward +x.
- sin(kx + ωt + φ) moves toward −x.
If the equation is written as sin(ωt − kx), it is still a +x wave, because sin(ωt − kx) = −sin(kx − ωt). This only changes the phase by π.
Worked example
Take y = 0.02 sin(5x − 200t) in SI units. Then A = 0.02 m, k = 5 rad/m and ω = 200 rad/s. The wave travels toward +x. The code below extracts the wave parameters. It then checks that a crest moves at speed v.
import math
A, k, omega, phi = 0.02, 5.0, 200.0, 0.0
def y(x, t):
return A * math.sin(k * x - omega * t + phi)
v = omega / k
f = omega / (2 * math.pi)
lam = 2 * math.pi / k
print(v, round(f, 2), round(lam, 3)) # 40.0 31.83 1.257
# The displacement at (x, t) reappears at (x + v*dt, t + dt)
dt = 0.003
print(math.isclose(y(0.3, 0.01), y(0.3 + v * dt, 0.01 + dt))) # TrueThe wave speed is 40 m/s. This is different from the speed of a particle of the medium. Differentiating y with respect to t at fixed x gives the particle velocity ∂y/∂t = −Aω cos(kx − ωt + φ). Its maximum is Aω = 4 m/s.
Common errors
- Reading the wave as moving toward −x because of the minus sign in kx − ωt. A minus sign means +x.
- Taking the number in front of x as the wavelength. It is k, so λ = 2π/k.
- Taking the number in front of t as the frequency. It is ω, so f = ω/2π.
- Forgetting that φ is not a time delay by itself. The shift in position is φ/k, and it is toward −x when φ > 0.
Exercise
A wave on a string is y = 0.1 sin(4πx + 200πt) in SI units. Find its direction of travel, wavelength, frequency and speed.
Show answer
The sign between kx and ωt is positive, so the wave travels toward −x. Here k = 4π rad/m, so λ = 2π/k = 0.5 m. Here ω = 200π rad/s, so f = ω/2π = 100 Hz. The speed is v = ω/k = 200π/4π = 50 m/s, which also equals fλ = 100 × 0.5.