PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Waves & Sound

Other simulators in this category — or see all 35.

View category →
FeaturedSchool

Wave on a String

Shake one end, adjust frequency and amplitude. Standing waves and reflections.

Launch Simulator
School

Transverse vs Longitudinal

Side-by-side comparison of wave types with particle motion.

Launch Simulator
FeaturedSchool

Wave Interference

Two sources creating constructive and destructive patterns. 2D ripple tank.

Launch Simulator
School

Standing Waves

Find harmonics on a string. Nodes and antinodes highlighted.

Launch Simulator
NewSchool

Doppler Effect

Moving source with pitch change via Web Audio. Wavefront compression visible.

Launch Simulator
NewUniversity / research

Light Doppler & Redshift

EM vacuum Doppler: f/f₀ and z vs v/c; linear Δλ/λ ≈ v/c vs exact √(1+β)/√(1−β). Ties to spectral lines.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Waves & Sound/KdV Solitons (Exact)

KdV Solitons (Exact)

The Korteweg–de Vries (KdV) equation, u_t + 6uu_x + u_xxx = 0, is a nonlinear partial differential equation that describes the evolution of weakly nonlinear, dispersive waves in one dimension. It is a foundational model in mathematical physics, famously derived to explain the persistent shape of solitary waves observed in shallow water channels. The equation balances three effects: the time evolution (u_t), nonlinear steepening (6uu_x), and linear dispersion (u_xxx). The remarkable property of the KdV equation is that these competing effects can produce stable, particle-like waves called solitons. This simulator visualizes exact analytic solutions to the KdV equation, specifically the single-soliton solution, u(x,t) = 2κ² sech²(κ(x - 4κ²t - x₀)), and the two-soliton solution derived via the Hirota bilinear method. The single soliton is a localized pulse with amplitude proportional to the square of its speed, maintaining its shape indefinitely. The two-soliton solution demonstrates a purely elastic collision: two solitons of different amplitudes (and therefore speeds) interact, pass through each other, and emerge unchanged in shape, speed, and amplitude, with only a phase shift. By interacting with the simulator, students can explore the defining characteristics of solitons—stability, particle-like interaction, and the balance of nonlinearity and dispersion. They can observe how initial parameters like amplitude and position determine the soliton's dynamics and witness the non-intuitive, clean collision that is a hallmark of integrable systems.

Who it's for: Upper-division undergraduate and graduate students in applied mathematics, physics, and engineering studying nonlinear waves, integrable systems, or soliton theory.

Key terms

  • Korteweg–de Vries equation
  • Soliton
  • Nonlinear wave
  • Dispersion
  • Hirota method
  • Integrable system
  • Sech² pulse
  • Phase shift

KdV: u_t + 6u u_x + u_xxx = 0

0.85
0.55
0

Measured values

t0.00

How it works

Korteweg–de Vries equation in the standard form u_t + 6u u_x + u_xxx = 0. The two-hump curve is the exact Hirota solution: taller, faster solitons overtake shorter ones and emerge with nearly the same shapes — the classic nonlinear superposition demo.

Key equations

u = 2 ∂²_xx ln τ, τ = 1 + exp(θ₁) + exp(θ₂) + A exp(θ₁+θ₂), θⱼ = kⱼx − 4kⱼ³t
One soliton: u = 2k² sech²(k(x − x₀ − 4k²t))

Frequently asked questions

What does 'elastic collision' mean for solitons?
In a soliton collision, the waves interact nonlinearly, merging temporarily into a complex shape. After the interaction, they separate perfectly, recovering their original shape, speed, and amplitude. This is analogous to elastic collisions in particle mechanics, where kinetic energy and momentum are conserved. The only permanent effect is a phase shift—each soliton's position is slightly advanced or delayed compared to where it would have been if no collision occurred.
Where do KdV solitons appear in the real world?
The KdV equation is a model for long-wavelength, small-amplitude waves in dispersive media. Classic examples include solitary water waves in shallow canals, internal waves in the ocean's pycnocline, and plasma waves. While real-world waves have friction and other complexities, the KdV soliton provides an excellent first approximation for understanding the stability and interaction of such localized wave structures.
Why is the term u_xxx called 'dispersion'?
In linear wave theory, a dispersive term like u_xxx causes waves of different wavelengths (or wavenumbers) to travel at different phase speeds. This normally causes a wave packet to spread out over time. In the KdV equation, this spreading tendency is exactly counteracted by the nonlinear steepening effect of the 6uu_x term, allowing a stable, non-dispersing wave packet—the soliton—to form.
What is the main simplification or limitation of this model?
The KdV equation assumes one-dimensional propagation and weak nonlinearity. It neglects effects like dissipation (friction), higher-order nonlinearities, forcing, and multi-dimensional variations. Furthermore, the exact soliton solutions shown require a specific, integrable form of the equation. Real physical systems often include perturbations that break this perfect integrability, causing solitons to slowly radiate energy or interact inelastically.