Frequently Asked Questions

What is the restricted three-body problem?

The restricted three-body problem considers a massless test particle moving under the gravitational influence of two massive primary bodies that orbit their common centre of mass (barycentre) in circular orbits. Because the test particle has negligible mass, it does not affect the primaries' motion, greatly simplifying the equations while retaining rich dynamical complexity including chaos.

What are Lagrange points L1 through L5?

Lagrange points are the five equilibrium positions in the corotating reference frame where the net effective force on a test particle is zero. L1, L2, and L3 lie on the line joining the two primaries and are unstable saddle points. L4 and L5 form equilateral triangles with the primaries and are stable when the mass ratio is below the Routh critical value (~0.0385), explaining the Trojan asteroids at Jupiter's L4 and L5.

What is the Jacobi integral and why is it conserved?

The Jacobi integral C_J = 2U*(x,y) − v² is a conserved quantity in the restricted three-body problem, where U* is the effective potential in the rotating frame and v is the particle speed. It is conserved because the rotating-frame problem has a time-independent Hamiltonian. The Jacobi constant determines which regions of space are accessible to the particle; zero-velocity curves bound the allowed regions.

What are zero-velocity curves (Roche equipotentials)?

Zero-velocity curves are contours of the effective potential U* at which a particle with given Jacobi constant C_J would have zero kinetic energy. They define the boundaries of regions forbidden to the particle. As C_J decreases, the forbidden regions shrink; when C_J equals the potential at L1, the inner Roche lobe opens and mass transfer between the two primaries becomes possible.

What is a Roche lobe in binary star systems?

A Roche lobe is the region around each star within which material is gravitationally bound to that star in the corotating frame. The two Roche lobes meet at the L1 Lagrange point. When an evolving star expands to fill its Roche lobe, mass spills through L1 onto its companion — a process called Roche lobe overflow, driving mass transfer in cataclysmic variables and X-ray binaries.

Why is the three-body problem chaotic?

The three-body problem exhibits sensitive dependence on initial conditions because the equations of motion are nonlinear and have no general closed-form solution. Even in the restricted case, trajectories near the saddle points L1, L2, L3 are exponentially unstable — small differences in initial position lead to exponentially diverging trajectories, characteristic of positive Lyapunov exponents.

What integration method is used and why RK4?

This simulation uses the classical fourth-order Runge-Kutta (RK4) method, which achieves O(h⁵) local truncation error per step. The Jacobi integral serves as a built-in accuracy check: a well-integrated trajectory should conserve C_J to within a small tolerance. For long-term orbital studies, symplectic integrators would be preferred because they conserve a modified Hamiltonian exactly.

What is the mass ratio parameter μ (mu)?

The mass ratio parameter μ = m₂/(m₁+m₂) is the only free parameter in the restricted three-body problem (in units where total mass and orbital separation equal 1). It ranges from 0 (negligible secondary) to 0.5 (equal masses). Examples: Earth–Moon μ ≈ 0.0121, Sun–Jupiter μ ≈ 0.000953. Equal-mass binaries (μ = 0.5) have symmetric Roche lobes.

How does the corotating (synodic) reference frame work?

The corotating frame rotates at the same angular velocity as the two primaries, so the primaries appear stationary. In exchange, two fictitious forces appear: the centrifugal force and the Coriolis force. These give rise to the effective potential U* and the Coriolis coupling terms (ẍ−2ẏ and ÿ+2ẋ) in the equations of motion.

What real-world systems does this model describe?

The restricted three-body problem describes: asteroid motion in the Sun–Jupiter system (Kirkwood gaps, Trojan asteroids); spacecraft trajectories at libration points (JWST at Sun–Earth L2, SOHO at L1); mass transfer in binary stars (cataclysmic variables, X-ray binaries); stability of moons in binary asteroid systems; and tidal disruption of stellar clusters near galactic centres.

About this simulation

This simulation follows a massless test particle moving under the gravity of two primaries (masses 1−μ and μ) in the corotating frame of the restricted three-body problem. Trajectories use fourth-order Runge–Kutta integration, while the conserved Jacobi integral C_J checks accuracy live. Shaded equipotentials and a zero-velocity curve show which regions are forbidden at a given energy, and paths near L1–L3 reveal the chaos of three-body motion.

🔬 What it shows

A test particle drifts through the effective potential U* of two orbiting primaries. Shaded bands mark equipotential contours, the yellow zero-velocity curve bounds the region reachable at the chosen Jacobi constant, and coloured crosses mark the five Lagrange equilibria L1–L5.

🎮 How to use

Drag the μ slider to change the mass ratio, and C_J to reshape the zero-velocity curve. Trail length and step size set how long each path is drawn and how finely RK4 advances. Click or tap the canvas to launch a new particle from rest.

💡 Did you know?

JWST orbits the Sun–Earth L2 point in a halo orbit rather than sitting exactly on it, since L1–L3 are unstable. Jupiter's L4 and L5 host over a million known Trojan asteroids, trapped by the same effective-potential geometry modelled here.

Frequently asked questions

What is the restricted three-body problem?

A massless test particle orbits under the gravity of two primaries that themselves orbit their barycentre in circles. Because it has no mass, it cannot perturb the primaries, keeping the equations tractable while still producing chaos.

What are the Lagrange points L1–L5?

The five positions in the corotating frame where gravitational and centrifugal forces cancel. L1–L3 lie on the line through both primaries and are unstable; L4 and L5 form equilateral triangles with the primaries and are stable for small mass ratios.

What does the Jacobi constant control?

C_J = 2U* − v² is conserved along every trajectory, fixing the boundary of the zero-velocity curve — the frontier a particle cannot cross without negative kinetic energy.

Why does the motion become chaotic?

Near the saddle points L1, L2 and L3, nearby trajectories separate exponentially fast — a hallmark of positive Lyapunov exponents. Small differences in launch position are amplified rapidly, so long-term prediction becomes impossible.

What does the mass ratio μ represent?

μ = m₂/(m₁+m₂) sets how lopsided the system is, from 0.01 (a small moon) to 0.5 (equal binary stars). Earth–Moon has μ ≈ 0.012; Sun–Jupiter has μ ≈ 0.00095.