Harmonic Wave Equation Interactive Calculator

← Back to Engineering Library

Designing systems that depend on wave behavior — vibration isolation, acoustic control, NDT, signal processing — requires accurate harmonic wave analysis at specific positions and times. Use this Harmonic Wave Equation Interactive Calculator to calculate displacement, particle velocity, acceleration, phase relationships, and energy transmission using amplitude, wave number, angular frequency, position, and time. It applies directly to mechanical vibration, acoustic engineering, and electromagnetic wave analysis. This page includes the core wave equations, a worked steel piano wire example, full theory on dispersion and interference, and a detailed FAQ.

What is the harmonic wave equation?

The harmonic wave equation describes how a sinusoidal wave moves through a medium over space and time. It tells you the displacement of any point in the medium at any given moment, based on the wave's amplitude, frequency, and speed.

Simple Explanation

Imagine flicking one end of a rope — a smooth up-and-down wave travels along it. The harmonic wave equation is the math that describes exactly how far up or down any spot on that rope is at any moment. Amplitude is how high the wave peaks, frequency is how often it repeats, and wave speed is how fast the pattern travels — the equation ties all of these together.

📐 Browse all 1000+ Interactive Calculators

Wave Propagation Diagram

Harmonic Wave Equation Interactive Calculator Technical Diagram

How to Use This Calculator

  1. Select a calculation mode from the dropdown — displacement, velocity, acceleration, wave speed, energy, or phase.
  2. Enter your wave parameters: amplitude, wave number, angular frequency, position, time, and phase constant as required by the selected mode.
  3. For wave speed mode, enter wavelength and frequency only. For energy mode, enter linear density, wave speed, angular frequency, and amplitude.
  4. Click Calculate to see your result.

Interactive Harmonic Wave Calculator

YouTube video player

Harmonic Wave Equation Interactive Visualizer

Visualize harmonic wave propagation in real-time showing displacement, particle velocity, and phase relationships. Adjust amplitude, frequency, and wave speed to see instant effects on wave behavior and energy transmission.

Amplitude A (m) 0.20 m
Angular Frequency ω (rad/s) 8.0 rad/s
Wave Number k (rad/m) 1.5 rad/m
Animation Speed 1.0×

DISPLACEMENT

0.00 m

PARTICLE VEL

0.00 m/s

WAVE SPEED

5.33 m/s

FIRGELLI Automations — Interactive Engineering Calculators

Harmonic Wave Equations

Use the formula below to calculate wave displacement at any point in space and time.

General Wave Function

y(x, t) = A sin(kx - ωt + φ)

Where:

  • y(x, t) = displacement at position x and time t (m)
  • A = amplitude, maximum displacement from equilibrium (m)
  • k = wave number = 2π/λ (rad/m)
  • ω = angular frequency = 2πf (rad/s)
  • φ = phase constant, determines initial conditions (rad)
  • λ = wavelength (m)
  • f = frequency (Hz)

Use the formula below to calculate wave speed from wavelength and frequency.

Wave Speed Relation

v = λf = ω/k

Where:

  • v = wave speed (m/s)
  • T = period = 1/f (s)

Use the formula below to calculate particle velocity and acceleration from the wave function.

Particle Velocity and Acceleration

vparticle = ∂y/∂t = -Aω cos(kx - ωt + φ)

aparticle = ∂²y/∂²t = -Aω² sin(kx - ωt + φ) = -ω²y

Maximum Values:

  • vmax = Aω (at y = 0)
  • amax = Aω² (at y = ±A)

Use the formula below to calculate energy density and transmitted power for a mechanical wave.

Energy and Power

Energy Density: u = ½μω²A²

Power: P = ½μω²A²v

Where:

  • u = energy per unit length (J/m)
  • μ = linear mass density (kg/m)
  • P = average power transmitted (W)

Simple Example

A wave has amplitude A = 0.05 m, wave number k = 2.0 rad/m, angular frequency ω = 10.0 rad/s, and phase constant φ = 0. At position x = 1.5 m and time t = 0.3 s:

Phase = kx − ωt + φ = (2.0 × 1.5) − (10.0 × 0.3) + 0 = 3.0 − 3.0 = 0 rad

Displacement y = A sin(0) = 0.05 × 0 = 0 m — the particle is passing through equilibrium at that instant.

Maximum particle velocity = Aω = 0.05 × 10.0 = 0.5 m/s.

Theory & Practical Applications

Physical Foundation of Harmonic Waves

The harmonic wave equation describes sinusoidal disturbances propagating through a medium without net transport of matter. The mathematical form y(x,t) = A sin(kx - ωt + φ) represents a solution to the one-dimensional wave equation ∂²y/∂x² = (1/v²)∂²y/∂²t, which emerges from applying Newton's second law to a continuous elastic medium. The negative sign in the phase argument (kx - ωt) indicates rightward propagation; reversing this sign produces leftward propagation. The wave number k quantifies spatial periodicity while angular frequency ω captures temporal oscillation, with their ratio defining the phase velocity v = ω/k—the speed at which wave crests propagate through the medium.

A critical non-obvious characteristic of harmonic waves is that particle velocity vparticle = ∂y/∂t and wave speed v are fundamentally different quantities. The particle velocity describes local transverse motion of medium elements perpendicular to propagation direction, reaching maximum Aω when displacement crosses equilibrium. Wave speed represents how fast the waveform pattern translates through space and depends exclusively on medium properties—for strings, v = √(T/μ) where T is tension. Engineers frequently encounter confusion when vibration sensors measure particle velocity (proportional to ω) rather than displacement (proportional to A), particularly at high frequencies where velocity dominates even for small displacements. This distinction becomes critical in seismic monitoring where ground particle velocities determine structural loading while wave speeds determine arrival times.

Phase Relationships and Interference

The phase constant φ determines initial displacement and velocity conditions at t = 0, x = 0. For φ = 0, the wave begins at equilibrium with positive velocity. For φ = π/2, it starts at maximum positive displacement with zero velocity. When two harmonic waves with identical frequency and amplitude but different phase constants superimpose, the resulting displacement follows ytotal = A₁sin(kx - ωt + φ₁) + A₂sin(kx - ωt + φ₂). Using trigonometric identities, this simplifies to a single harmonic wave with amplitude Aresultant = √(A₁² + A₂² + 2A₁A₂cos(Δφ)), where Δφ = φ₂ - φ₁. Constructive interference occurs when Δφ = 2πn (n integer), yielding Aresultant = A₁ + A₂. Destructive interference at Δφ = π(2n+1) produces Aresultant = |A₁ - A₂|.

Standing wave formation represents a special interference case where waves of equal amplitude travel in opposite directions. The superposition y = Asin(kx - ωt) + Asin(kx + ωt) = 2Asin(kx)cos(ωt) produces nodes (zero displacement at all times) where sin(kx) = 0, occurring at x = nλ/2. Antinodes (maximum oscillation) appear at x = (2n+1)λ/4. This boundary condition constraint explains why guitar strings produce discrete frequencies fn = nv/2L where L is string length—only wavelengths satisfying λn = 2L/n fit between fixed endpoints. Microwave cavity resonators and organ pipes exploit identical standing wave physics, with acoustic impedance mismatches at boundaries replacing mechanical fixing.

Energy Transport and Dispersion

Harmonic waves carry energy through oscillating systems, with energy density u = ½μω²A² revealing quadratic dependence on both frequency and amplitude. This relationship has profound implications for machinery vibration: doubling operating frequency while maintaining displacement amplitude quadruples energy density and transmitted power P = uv. For mechanical waves on strings or acoustic waves in fluids, the linear mass density μ (or volumetric density ρ for 3D waves) determines inertial resistance to oscillation. The power formula P = ½μω²A²v shows that faster wave speeds enable more rapid energy transmission for given amplitude and frequency—this explains why steel cables (high wave speed) efficiently transmit vibrations compared to rubber (low wave speed), despite similar displacement amplitudes.

Real mechanical systems exhibit frequency-dependent wave speeds, termed dispersion. For non-dispersive waves where v remains constant, all frequency components travel together maintaining waveform shape. Deep ocean waves approximate non-dispersive behavior (v ≈ √(gh) for water depth h), while surface waves show dispersion (v = √(gλ/2π)), causing different wavelengths to separate during propagation. Optical fibers demonstrate extreme dispersion sensitivity where refractive index variation with wavelength causes pulse spreading over kilometer distances, limiting data transmission rates. Engineers designing vibration isolation systems must account for dispersion—if isolators exhibit frequency-dependent stiffness, different spectral components of impact loads propagate at varying speeds, potentially reconstructing into secondary peaks at different locations.

Industrial Applications

Ultrasonic non-destructive testing (NDT) utilizes harmonic waves at 1-10 MHz to detect internal flaws in welds, castings, and composite structures. Transducers generate longitudinal compression waves where particle motion aligns with propagation direction. At boundaries between materials with differing acoustic impedances Z = ρv, reflection coefficient R = (Z₂ - Z₁)/(Z₂ + Z₁) determines echo intensity. Complete destructive interference occurs when flaw thickness equals odd multiples of λ/4, creating resonance nulls that can mask defects—NDT technicians must sweep frequency ranges to avoid these blind spots. The phase of reflected signals indicates flaw type: compression wave reflection from air voids undergoes 180° phase reversal while reflection from denser inclusions maintains phase.

Vibration control in machinery relies on understanding harmonic motion energy transfer. Rotor systems operating near critical speeds where excitation frequency matches natural frequency experience resonance where amplitude grows limited only by damping. Balancing rotors reduces harmonic forcing amplitudes, but phase relationships prove equally critical—counterweights positioned incorrectly can worsen vibration despite correct mass. Active vibration control systems inject secondary forces with precise amplitude and 180° phase offset to the primary disturbance, achieving destructive interference. This principle extends to noise cancellation headphones generating anti-phase acoustic waves and seismic base isolation systems where actuators oppose building motion during earthquakes.

Worked Engineering Example: String Vibration Analysis

Problem: A steel piano wire (μ = 0.0078 kg/m, L = 1.24 m) is tensioned to 847 N. When struck, it vibrates in its second harmonic with amplitude A = 2.3 mm at the antinode. Calculate: (a) fundamental frequency and second harmonic frequency, (b) wave speed, (c) maximum particle velocity at the antinode, (d) maximum particle acceleration, (e) average power transmitted by the wave, and (f) phase difference between points 15.5 cm apart.

Solution:

(a) Frequencies: Wave speed in a tensioned string: v = √(T/μ) = √(847 N / 0.0078 kg/m) = √108,589.7 = 329.5 m/s

Fundamental frequency (first harmonic): f₁ = v/(2L) = 329.5 / (2 × 1.24) = 329.5 / 2.48 = 132.9 Hz

Second harmonic frequency: f₂ = 2f₁ = 2 × 132.9 = 265.8 Hz (approximately middle C on piano)

(b) Wave speed: Already calculated: v = 329.5 m/s. This remains constant regardless of frequency or amplitude since it depends only on tension and linear density.

(c) Maximum particle velocity: Angular frequency: ω = 2πf₂ = 2π × 265.8 = 1,670.1 rad/s

Amplitude: A = 2.3 mm = 0.0023 m

Maximum particle velocity: vmax = Aω = 0.0023 × 1,670.1 = 3.841 m/s

Note that particle velocity (3.84 m/s) differs dramatically from wave speed (329.5 m/s)—the former describes local string motion while the latter describes waveform propagation.

(d) Maximum acceleration: amax = Aω² = 0.0023 × (1,670.1)² = 0.0023 × 2,789,234.0 = 6,415.2 m/s²

This represents approximately 654g—the extreme acceleration at amplitude extremes explains why piano strings experience metal fatigue and eventually break despite small visible displacement.

(e) Average power: For a string, energy propagates in both directions from excitation point, but we consider single direction: P = ½μω²A²v

P = 0.5 × 0.0078 × (1,670.1)² × (0.0023)² × 329.5

P = 0.5 × 0.0078 × 2,789,234.0 × 0.00000529 × 329.5

P = 0.5 × 0.0078 × 2,789,234.0 × 0.00174246

P = 0.5 × 37.85 = 18.93 W transmitted in each direction

Total power dissipated in the vibrating string: approximately 37.9 W, explaining rapid sound decay in pianos without sustain pedal engagement.

(f) Phase difference: Wavelength: λ = v/f₂ = 329.5 / 265.8 = 1.240 m

Wave number: k = 2π/λ = 2π / 1.240 = 5.067 rad/m

Distance: Δx = 15.5 cm = 0.155 m

Phase difference: Δφ = kΔx = 5.067 × 0.155 = 0.785 rad = 45.0°

At 45° phase separation, interference would be partially constructive (cos(45°) = 0.707), producing amplitude multiplication factor √(1² + 1² + 2×1×1×0.707) = 1.848 if two identical waves were superimposed.

This complete analysis demonstrates how harmonic wave parameters interconnect—changing tension alters wave speed, affecting frequency and power transmission while maintaining phase relationships determined purely by geometry and wave number.

Frequently Asked Questions

▼ Why does the wave equation use (kx - ωt) instead of (kx + ωt)?
▼ How do I determine the phase constant φ from initial conditions?
▼ What causes the relationship between particle velocity and wave speed?
▼ Why does wave power depend on ω² and A² rather than linearly?
▼ How does dispersion affect wave propagation in real systems?
▼ What determines whether standing waves form instead of traveling waves?

Free Engineering Calculators

Explore our complete library of free engineering and physics calculators.

Browse All Calculators →

About the Author

Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations

Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.

Wikipedia · Full Bio

Need to implement these calculations?

Explore the precision-engineered motion control solutions used by top engineers.

Share This Article
Tags: