Lagrange points and Hill spheres

Take a planet orbiting the Sun, or a moon orbiting a planet. There are five places where a third, much smaller object can sit and keep the same position relative to both: the Lagrange points L1 to L5. Around each body is a region where its own gravity controls what orbits it: the Hill sphere. This page shows where both come from. The figures use the same functions as the Orbital Map, alongside an exact solution for comparison.

Two bodies and a third

A primary of mass M1 and a secondary of mass m2 orbit their common centre of mass on circles, separated by a distance a, with angular speed n. A third body too light to disturb them feels both their pulls. This is the circular restricted three-body problem. The two bodies are only characterised by the mass ratio q = m2 / M1, or equivalently μ = m2 / (M1 + m2).

The problem simplifies in a frame that rotates with the pair. Both bodies are then fixed, and the third body feels gravity plus two apparent forces: a centrifugal push away from the centre of mass, and a Coriolis force that acts sideways on anything moving in that frame. The Lagrange points are the five places where gravity and the centrifugal force cancel, so a body placed there at rest stays at rest.

The effective potential

Gravity and the centrifugal force combine into a single effective potential:

Φ = −GM1/r1 − Gm2/r2 − ½ n2 ρ2

where r1 and r2 are the distances to the two bodies and ρ the distance from the centre of mass. The Lagrange points are where the slope of Φ is zero.

Brightness is the effective potential: dark wells around the primary (left) and secondary (right), bright hills at L4 and L5. The contours pass through the potential at L1, L2 and L3. White rings mark the exact points; red diamonds mark the map's approximations. The dashed circle round the secondary is its Hill radius. Distances in the table are from the primary, in units of a.

L1, L2 and L3 lie on the line through both bodies. Each is a saddle: downhill along the line, uphill across it. L1 sits between the bodies, L2 beyond the secondary, and L3 on the far side of the primary, almost exactly opposite the secondary. L4 and L5 are the tops of the two hills, 60 degrees ahead of and behind the secondary along its orbit.

The contours show the levels of Φ at L1, L2 and L3. A body moving in the rotating frame keeps a fixed value of the Jacobi constant, which confines it to regions where Φ stays below a corresponding level. The L1 contour is a figure-eight: below that level, a body near the secondary cannot reach the primary. The L1 contour therefore marks the boundary of the secondary's own region of control.

Where the points are

L4 and L5 have an exact position at every mass ratio: each forms an equilateral triangle with the two bodies. The three collinear points are roots of a fifth-degree polynomial with no closed form. For small q they are close to the secondary or opposite it, and first-order expansions give:

rL1,L2 ≈ a ∓ rH,    rH = a (q/3)1/3,    rL3 ≈ a (1 − 7q/12)

all measured from the primary. These are the formulas the map uses. The table under the figure solves the exact positions numerically and compares. For Sun-Jupiter (q ≈ 0.001) the first-order L1 is off by about 0.2 percent of a. For Earth-Moon (q ≈ 0.012) it is off by about 1 percent, roughly 3,500 km. The error grows with q because the expansion drops terms in q2/3 and above.

export function hillRadius(a, massRatio) {
  return a * Math.pow(massRatio / 3, 1 / 3);
}

// in computeLagrangePoints(secondaryState, massRatio, direction)
const rL1 = r - rH;
const rL2 = r + rH;
const rL3 = r * (1 - (7 / 12) * massRatio);   // measured from the primary
const thetaL4 = theta + direction * Math.PI / 3;   // L4 leads
const thetaL5 = theta - direction * Math.PI / 3;

Hill spheres

The distance from the secondary to L1, rH = a (q/3)1/3, is the Hill radius. Inside it the secondary's gravity dominates the tidal pull of the primary, so a moon can orbit there. Outside it the primary takes over. The radius grows with distance from the Sun and with the cube root of mass, which is why the Hill radii of the giant planets, far out and massive, are between about 140 and 300 times the Earth-Moon distance.

Each bar runs out to the planet's Hill radius (logarithmic scale, km). The dashed tick marks half the Hill radius. Dots are the semi-major axes of the moons in the map's data; the hollow dot is Triton, which orbits retrograde. All values are computed from data/systems.js.

The Hill sphere is an upper bound. Numerical studies find that orbits starting circular and prograde stay bound only out to about half the Hill radius, and retrograde orbits out to nearly the full radius (Hamilton and Burns, 1991). Every regular moon on the map sits well inside half the Hill radius. The giant planets' small, distant irregular moons, most of them retrograde, extend further out, towards the edge. They are not currently on the map.

Stability of L4 and L5

L4 and L5 are hilltops of the effective potential, so a body placed near one might be expected to roll off. Many do not. Once the body starts to move, the Coriolis force turns it sideways, and for small enough μ that turns the slide into a loop around the point. The condition, found by Gascheau in 1843 and Routh in 1875, is

μ < (1 − √(23/27)) / 2 ≈ 0.0385

A test particle released at rest in the rotating frame, on the secondary's orbit, some degrees ahead of L4. Its path is integrated live (fourth-order Runge-Kutta) under the full equations of motion in the rotating frame, Coriolis term included. Small offsets trace a tadpole loop around L4. Starting close to L3 (an offset near 120 degrees) gives a horseshoe that also loops round L5; for Sun-Jupiter the change comes between 110 and 115 degrees, and the first pass round L3 takes about 60 orbits. Above the critical mass ratio the particle leaves L4 within an orbit or two.

The Sun-Jupiter system (μ ≈ 0.001) is well inside the stable range, and over ten thousand Trojan asteroids are known around Jupiter's L4 and L5. Earth has at least two known Trojans, 2010 TK7 and 2020 XL5. Earth-Moon (μ ≈ 0.012) is stable by this criterion, but the Sun's pull, which this model leaves out, disturbs anything there. Pluto-Charon (μ ≈ 0.11) is above the limit, so its L4 and L5 cannot hold anything.

L1, L2 and L3 are unstable at every mass ratio: a body there drifts off within a few orbits without corrections. That is still useful. Spacecraft orbit near the Sun-Earth L1 (SOHO, watching the Sun) and L2 (the James Webb Space Telescope, about 1.5 million km from Earth), using small, regular thruster burns to stay in place.

In the map

The Orbital Map draws L1 to L5 and the Hill sphere for the selected body, using hillRadius and computeLagrangePoints from core/lagrange.js. It applies the circular-orbit formulas to each body's current distance from its primary, so on an eccentric orbit the points move in and out with the body. For a retrograde moon such as Triton, L4 is placed ahead of the body in its own direction of travel.

Previous: Kepler's equation, how the map finds where each body is at a given time.