How computers simulate the dance of atoms and planets

How computers simulate the dance of atoms and planets
Image: Intellect (generated)

In short: Simulating the physical world requires solving Newton's equations of motion with perfect balance. If a calculation drifts even slightly, a simulated planet might fly off into space or a molecule might collapse. Verlet integration solves this by prioritizing numerical stability and time reversibility over simple speed.

Verlet integration is a numerical method used to calculate trajectories of particles, making it a staple in both molecular dynamics simulations and computer graphics. While it was first used in 1791 by Jean Baptiste Delambre, it was rediscovered multiple times, notably by Loup Verlet in the 1960s for molecular dynamics and by Carl Størmer in 1907 to study electrical particles in magnetic fields.

The method is prized for its unique mathematical properties: it is time-reversible and preserves the symplectic form on phase space. These characteristics ensure that the physical systems being modeled remain stable over long periods. Crucially, it achieves this high level of stability without any significant additional computational cost compared to the simpler Euler method.

Technically, the method treats the second derivative of position (acceleration) using a central difference approximation. Instead of calculating the next position based on current velocity, it uses the positions of the two previous points. By removing odd-degree terms from the Taylor expansion, the method reduces local errors. This allows it to accurately model everything from the orbits of planets to the interactions of molecules.

In practice, the algorithm simplifies Newton's equations into a position-dependent acceleration function. By using the formula where the next position is twice the current minus the previous plus the acceleration times the time step squared, researchers can simulate complex ensembles of particles. This balance of efficiency and physical accuracy is why it remains a foundational tool in computational physics.

Opens the Intellect+ feed with this card first. Swipe up for the next one.

Sources

To cite this card, link to https://intellectplus.co.uk/app/science-verlet-integration.

How we source, check and correct cards: Editorial standards.

General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.

Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?

Related

Finding something worth knowing…