Many-body acceleration
Every step recomputes all pairwise forces using the new positions.
Gravity · initial conditions
Why does one extra body remove the general orbit formula? Each body's motion keeps changing the forces on the other two, and those forces in turn change its own motion. Apart from a few special solutions, no general closed-form answer exists. The motion has to be integrated numerically and checked against the conserved quantities.
Watch three bodies chase each other around a figure eight, turn as a rotating Lagrange triangle, or meet a visitor passing a binary. Give one body a small push, replay the original and nudged runs together, and check the computed motion against the conserved quantities.
Data from the integrated trajectory
The solid path includes the velocity nudge you chose. The dashed reference has no nudge and the same masses. Each run starts at rest in its own barycentric frame. The separation compares each body with its counterpart at the same recorded time.
Time, distance and mass use normalized units. The plane and rings are coordinate guides. Display size does not represent a physical radius. Energy errors are divided by the magnitude of the initial potential energy; they remain meaningful at zero total energy. Replay never recomputes the trajectory.
Physics tutorial
BackgroundEach of the three bodies keeps changing the motion of the other two. The two-body problem reduces to a single relative coordinate, but a general three-body system cannot be fully separated that way.
Why it mattersThis is why studies of long-term solar-system stability, stellar systems and space missions rely on numerical integration instead of one closed formula.
Start with the essentials
Every step recomputes all pairwise forces using the new positions.
The internal gravitational forces cancel in pairs, so the center of mass of an isolated system moves at constant velocity.
Typical misconceptionWithout a formula, three-body motion cannot be predicted.
Better mental modelNumerical integration predicts the motion accurately over a finite time. What is missing is one simple expression that works for every starting state.
Typical misconceptionIf the paths look irregular, energy or momentum must not be conserved.
Better mental modelChaotic paths are still limited by the conserved quantities, and conservation does not make the motion periodic.
Choose Figure-eight and enable trails.
What to observe: Three equal masses chase one another around the same closed curve.Choose Nudge the triangle, change the velocity nudge and launch again; compare solid and dashed paths.
What to observe: The gap between the two paths changes with time. Growth over a finite time does not prove chaos on its own; near a stable orbit, a small perturbation can stay bounded.Inspect the white barycentre cross and the energy, momentum and angular-momentum records.
What to observe: The motion is complicated, yet the conserved quantities of the whole system stay nearly constant.