Equation discovery · data-driven dynamics

Physics Discovery: SINDy + Conservation Laws + Symbolic Regression

Physics Discovery: SINDy + Conservation Laws + Symbolic Regression
fig. Physics Discovery: SINDy + Conservation Laws + Symbolic Regression
open full screen ↗

The notebook runs on its own once it loads, so give it about 10 seconds while Python starts up in your browser, and the simulations begin animating. Move the sliders and everything recomputes live. The code is shown alongside the output so you can read exactly how it works; the full editable source is linked below.

Three ways to pull physics back out of raw trajectory data. SINDy fits a sparse handful of terms from a candidate library and recovers the actual equations of motion for systems like the Van der Pol oscillator. A kernel method asks instead what stays constant along the motion, finding conserved quantities without being told their form. Symbolic regression evolves expression trees until one of them rediscovers a closed-form law, like the pendulum period. Same data, three different questions: what are the dynamics, what is invariant, and what is the law.

← back to explorations