Van der Pol Oscillator

Simulate the second-order nonlinear equation \(\ddot{x} + \mu(x^2-1)\dot{x} + x = 0\) and observe the transition from sinusoidal oscillation to relaxation oscillations as \(\mu\) increases.

\(\ddot{x} + \mu(x^2-1)\dot{x} + x = 0\)
Quick presets — \(\mu\):
Parameters & Initial Conditions
Nonlinearity \(\mu\)

Slider range 0 to 20; type any value 0–1000 in the number field. At mu equals 0, period equals 2 pi. For large mu, period is approximately 1.614 times mu.

Init. displ. \(x_0\)
Init. veloc. \(v_0\)
End time \(T\)

Launches a cloud of trajectories from many nearby initial conditions at once, so you can watch them all spiral onto the limit cycle. Single-trajectory animation and the \(x(t)\) graph are disabled in this mode; set how many with # trajectories below.

# trajectories \(n\)
Regime: Van der Pol Tsit5
Ready — press Reset to compute
t = 0.000  |  x = 0.500  |  ẋ = 0.000
Speed:

Space pause / resume  R reset

Animation — Van der Pol oscillator, physical view
Phase portrait \((x,\,\dot{x})\)
Displacement \(x(t)\) vs time
Cite this tool
Kapita, S. (2026). Van der Pol Oscillator. Math Tools. https://shelvean.github.io/math-tools/vanderpol.html