Harmonic Wave Equation Calculator

Enter amplitude, wavelength, frequency, phase, position, and time to get wave speed, angular frequency, wave number, and displacement from y(x,t) = A sin(kx - ωt + φ).

Quick Facts

Wave speed
v = λ × f
Distance the waveform travels per second; equivalently v = λ/T.
Angular frequency
ω = 2πf
Radians per second; one full cycle corresponds to 2π radians.
Wave number
k = 2π/λ
Radians of phase per unit distance along the wave.
Displacement
y(x,t) = A sin(kx - ωt + φ)
Standard form for a sinusoidal wave traveling in the +x direction.

Your Results

Calculated
Displacement y(x,t)
-
y = A sin(kx - ωt + φ), in meters
Wave speed (v)
-
v = λ × f, in m/s
Angular frequency (ω)
-
ω = 2πf, in rad/s
Wave number (k)
-
k = 2π/λ, in rad/m

Ready

Enter the wave parameters, then press Calculate.

Formula and Method for the Harmonic Wave Equation Calculator

A harmonic wave is a disturbance that repeats sinusoidally in both space and time, such as a wave on a stretched string, a sound wave, or a light wave. Its displacement at any position x and time t is given by the harmonic wave equation: y(x,t) = A sin(kx − ωt + φ), where A is the amplitude, k is the wave number, ω is the angular frequency, and φ is the phase constant. This calculator derives k and ω from wavelength and frequency, then evaluates the displacement at the position and time you specify.

How the calculation works

Start from the wavelength (λ) and frequency (f). Wave speed follows directly: v = λf (equivalently v = λ/T, since f = 1/T). The angular frequency converts cycles per second into radians per second: ω = 2πf. The wave number converts wavelength into radians of phase per unit distance: k = 2π/λ. With k, ω, and your chosen amplitude and phase constant, the displacement at any point in space and time is y(x,t) = A sin(kx − ωt + φ). Setting x = 0 and t = 0 with φ = 0 recovers y = 0, the wave's starting position; sweeping t forward at fixed x traces out the oscillation a stationary observer would see pass by.

Common mistakes

  • Mixing degrees and radians: the sine function in the equation expects radians. This calculator converts a phase constant entered in degrees automatically, but wave number and angular frequency are always computed in radians.
  • Confusing frequency with angular frequency: f is in hertz (cycles per second); ω = 2πf is in radians per second. Using f directly inside the sine function instead of ω gives a result that is 2π times too fast.
  • Confusing wave speed with particle velocity: v = λf is the speed at which the waveform's pattern (such as a crest) moves through space. It is not the speed of an individual particle oscillating up and down, which instead depends on ∂y/∂t at a fixed point.
  • Wrong sign convention: y = A sin(kx − ωt + φ) travels in the +x direction; y = A sin(ωt − kx + φ) travels in the −x direction. Swapping the sign flips the direction of travel, not just the numeric result.

Real-world applications

  • Acoustics: sound waves in air are modeled as pressure oscillations following this same harmonic form, with frequency setting pitch and amplitude setting loudness.
  • Optics and radio: electromagnetic waves (light, radio, microwaves) use the identical equation for the oscillating electric and magnetic field components.
  • Mechanical waves: waves on strings, springs, and water surfaces are analyzed with the same relationships between wavelength, frequency, and wave speed.
  • Seismology and engineering: seismic waves and vibration analysis use wave number and angular frequency to characterize how a disturbance propagates through a medium.

Frequently Asked Questions

What is the harmonic wave equation?
The harmonic wave equation describes the displacement of a sinusoidal traveling wave as a function of position and time: y(x,t) = A sin(kx − ωt + φ), where A is amplitude, k = 2π/λ is the wave number, ω = 2πf is the angular frequency, and φ is the phase constant.
How do you find wave speed from wavelength and frequency?
Multiply wavelength by frequency: v = λf. This also equals λ/T, since frequency is the reciprocal of the period (f = 1/T). For example, a wave with a 2 m wavelength and a 0.5 Hz frequency travels at 1 m/s.
What is the difference between frequency and angular frequency?
Frequency f is measured in hertz (cycles per second). Angular frequency ω is measured in radians per second and equals 2πf, since one full cycle corresponds to 2π radians of phase.
Why does the equation use kx minus ωt instead of ωt minus kx?
The sign convention indicates the direction of travel. y = A sin(kx − ωt + φ) describes a wave moving in the +x direction; flipping the sign to A sin(ωt − kx + φ) describes a wave moving in the −x direction. Both forms are mathematically valid — pick the one matching your wave's direction.