The Physics of the Universe
Home › Simulations › Wave on a String & Standing Wave Simulation

Wave on a String & Standing Wave Simulation

Drive an oscillating wave on a string or switch into exact standing-wave harmonic modes—compare how Fixed, Loose, and Open boundaries reflect pulses and form nodes and antinodes.

Presets:
Click anywhere along the beaded string to pluck a localized wave pulse, or select Standing Harmonic mode to highlight exact Nodes (N) and Antinodes (A).

Key Equations & Physics Model

1D String Wave Equation: ∂²y / ∂t² = v² ∂²y / ∂x², where v = √(T / μ)
Fixed-End Standing Wave Harmonics: f_n = n v / (2 L), λ_n = 2 L / n (n = 1, 2, 3, …)
Wave Speed Identity: v = f λ

In Open / No-End mode, a 1st-order Mur absorbing boundary matches outgoing wave impedance cleanly at the right edge so traveling waves exit without reflecting backward.

How the Physics Works

Every guitar string, piano wire, and optical resonator obeys the one-dimensional wave equation: pulling any tiny segment off balance creates a restoring tension force proportional to local curvature ∂²y/∂x², launching transverse waves at speed v = √(Tension / linear density).

What happens when a wave crest hits the far right boundary depends entirely on the boundary condition. Against a Fixed rigid clamp, Newton's third law flips the reflected pulse upside down (180° phase inversion). Against a frictionless Loose ring sliding on a pole, the pulse reflects upright with zero inversion.

When an outgoing wave and its inverted reflection interfere continuously at resonant wavelengths λ_n = 2L/n, stationary interference creates pure Standing Waves: calm Nodes (N) stay motionless forever while vibrant Antinodes (A) swing to double amplitude.

Raise String Tension using the slider and observe immediately why tightening a guitar tuning peg shifts pitch upward: higher tension increases wave speed v, boosting resonant frequencies f_n = n v / (2L).

Real Vibrating String Wave Speeds & Harmonics

Instrument / SetupLength LString Tension TWave Speed vFundamental f₁
Acoustic Guitar Low E20.648 m~72 N106.8 m/s82.4 Hz
Acoustic Guitar High E40.648 m~75 N427.2 m/s329.6 Hz
Violin A4 String0.328 m~54 N288.6 m/s440.0 Hz
Concert Grand Piano C40.62 m~730 N324.4 m/s261.6 Hz
Physics Lab Demonstration Cord2.00 m10 N (1 kg hang)~44.7 m/s~11.2 Hz

Why do guitar strings invert at fixed ends?

A 41-second animation: 1D string tension speed v = √(T/μ), fixed vs. loose reflections, and harmonic nodes.

Experiments to Try

Verify Phase Inversion at a Fixed Clamp

Load Pulse Invert at Fixed End and watch an upward crest strike the red clamp on the right and rebound upside down.

Compare Loose-End Upright Reflection

Keep Single Plucked Pulse selected and switch Right End Boundary from Fixed End Clamp to Loose End Ring—notice the ring whips up and returns the crest upright.

Count Nodes Across Harmonic Overtones

Switch to Standing Harmonic Preset and step Harmonic Mode n from 1 to 5—every fixed-end harmonic adds exactly one more interior stationary Node N.

Frequently Asked Questions

Why does a fixed end invert a reflected wave pulse?

Because the rigid clamp stays immovable (y = 0), incoming upward tension pulls up on the clamp while the clamp exerts an equal downward reaction force on the string, sending an inverted trough backward.

Where does a loose-end standing wave have nodes and antinodes?

With the left end fixed and the right end sliding freely on a ring, the right end acts as a displacement antinode, yielding odd quarter-wavelength harmonics L = (2n − 1)λ/4.

Does changing amplitude change wave speed along the string?

In linear elastic strings, wave speed depends strictly on tension and mass per unit length v = √(T/μ), not amplitude—loud and soft musical notes travel at the same speed.

What does No End / Open Window represent physically?

An infinitely long string or perfectly impedance-matched absorber: energy carries smoothly past the right boundary without creating standing wave echoes.

Related Topics & Tools