Take the pendulum from the last lesson, remove all friction, and let it swing. Physics is emphatic: with no dissipation, total energy T + U is constant for all time. Now simulate it two ways from the identical start. Explicit (forward) Euler moves the position using the OLD velocity; symplectic (semi-implicit) Euler updates the velocity first, then moves with the NEW velocity — a one-line difference. The Bench runs both on the same ferromotion dynamics and plots their energy over time. Watch the red curve (explicit Euler) climb away from the true energy — phantom energy, the swing amplifying until it flies apart — while the green curve (symplectic) stays pinned in a razor-thin band. Same physics, same forces; only the integrator differs.
Predict first You simulate a FRICTIONLESS pendulum with a simple explicit-Euler integrator and let it swing for a long time. What happens to its total energy?
It stays constant — with no friction, energy is conserved It steadily drifts (usually grows), even though nothing removes or adds energy physically It decays smoothly to zero
The update rule — not the physics — decides. Explicit Euler injects a little spurious energy each step, so a frictionless pendulum speeds up over time. Structure-preserving (symplectic) integrators conserve energy by construction; this drift is the failure mode that haunts every learned dynamics model.