Lesson 15 of 15
Van der Pol Oscillator
Van der Pol Oscillator
The Van der Pol oscillator is a nonlinear system that models self-sustaining oscillations:
- : reduces to simple harmonic motion
- : nonlinear damping
Nonlinear Damping
The term is the key:
- When : the factor , so damping is negative — the system adds energy. Small oscillations grow.
- When : the factor , so damping is positive — the system removes energy. Large oscillations shrink.
This creates a limit cycle: regardless of starting conditions (except at rest), the system settles into a specific periodic orbit with amplitude .
As a System
Let :
Historical Context
The Van der Pol equation was originally developed to model vacuum tube circuits in early radio transmitters (1920s). It now models:
- Heartbeat rhythms (cardiac pacemakers)
- Circadian rhythms in biology
- Electrical oscillators
- Seizure dynamics in neuroscience
Your Task
Implement van_der_pol(mu, x0, v0, t_end, n) using forward Euler. Return (x, v).
Pyodide loading...
Loading...
Click "Run" to execute your code.