Mathematical physics
Celestial mechanics: the two-body and three-body problems
How Newton's law of gravitation reduces the motion of two orbiting bodies to a single conic-section orbit, why planets sweep equal areas in equal times, and why adding a third body destroys the tidy picture and opens the door to chaos.
IntuitionTwo bodies falling around each other
Drop a ball and it falls straight down. Throw it sideways hard enough and it still falls — but the ground curves away beneath it just as fast, so it never lands. That is exactly what the Moon does around Earth, and what Earth does around the Sun: a continuous fall under gravity, sideways motion fast enough to keep missing the central body. Celestial mechanics is the mathematics of precisely how bodies fall around each other, from a single planet around a star to a spacecraft threading its way past several worlds using nothing but gravity.
SchoolWhat Kepler observed
Working from decades of Tycho Brahe's naked-eye planetary data and no calculus at all, Johannes Kepler announced three purely empirical rules around 1609–1619: (1) planets move on ellipses with the Sun at one focus, not at the center; (2) a line from the Sun to a planet sweeps out equal areas in equal times, so planets move fastest near the Sun and slowest far from it; (3) the square of a planet's orbital period is proportional to the cube of its orbit's semi-major axis. Kepler had no explanation for why — that had to wait nearly seventy years for Newton's law of gravitation and calculus. The rest of this article proves all three laws, plus more, from that single inverse-square law.
UndergraduateReducing two bodies to one
Definition: Reduced mass and relative position
For two point masses , attracting each other only through gravity, let be the vector from body 2 to body 1, let be the total mass, and let be the reduced mass. In the center-of-mass frame the true two-body problem is exactly equivalent to a single fictitious particle of mass moving in a fixed inverse-square field sourced by mass sitting at the origin — the relative vector traces out this fictitious particle's orbit, and the real positions are recovered from by simple mass-weighted scaling.
Here is Newton's gravitational constant, , is the relative separation vector and is the distance between the bodies. Notice the reduced mass has already canceled out of this equation entirely: every free-falling body, light or heavy, follows the same relative trajectory for given initial conditions — a direct descendant of Galileo's observation that all bodies fall at the same rate.
The vector is the specific angular momentum (angular momentum per unit reduced mass). Because gravity is a central force — always points along — it exerts zero torque about the origin, making a natural candidate for a conserved quantity. Theorem 1 below proves it rigorously, and that single fact turns out to force the orbit to lie in a fixed plane and to sweep out area at a constant rate.
AdvancedOrbit shape: Binet's equation and the conic sections
To find the shape of the orbit, work in the orbital plane with polar coordinates and substitute . Using (from ), the chain rule gives , and differentiating again, .
Substituting and into the radial equation of motion and dividing by gives exactly Binet's orbit equation above — a linear, constant-coefficient ODE for . Its general solution is ; choosing (periapsis direction) and writing the integration constant as gives — the polar equation of a conic section with the attracting mass at a focus, not the center. Depending on : gives an ellipse (a bound orbit, a circle), a parabola, and a hyperbola.
| Eccentricity | Orbit type | Specific energy | Example |
|---|---|---|---|
| Ellipse (circle if ) | Negative (bound) | Earth around the Sun, | |
| Parabola | Exactly zero | A marginally-bound long-period comet | |
| Hyperbola | Positive (unbound) | Interstellar object ʻOumuamua |
The orbit equation reveals a shape, but energy and angular momentum alone do not obviously fix the direction of the periapsis. Remarkably, Newtonian gravity hides one more conserved vector: the Laplace–Runge–Lenz vector , where . Theorem 3 below proves is constant and shows , pointing from the focus straight at periapsis — a "hidden" symmetry special to the inverse-square force (shared only with the harmonic oscillator among central forces), reflecting an underlying four-dimensional rotational symmetry of the Kepler problem.
UndergraduateProving the three classical results
Under any central force (a force always directed along ), the radius vector from the force center to the moving body sweeps out area at the constant rate .
Why is it true?
This is Kepler's second law, and the proof below shows it has nothing specifically to do with gravity's inverse-square form — it follows purely from the force being central (parallel to the position vector), so it applies equally to any central force, gravitational or not.
Proof
Define . Differentiating, (the first term vanishes since any vector crossed with itself is zero). For a central force, is parallel to — write for some scalar function — so as well. Hence : is a fixed vector, constant in both magnitude and direction.
Because has fixed direction and is always perpendicular to , the position vector is confined forever to the single fixed plane perpendicular to — the motion is planar. Set up polar coordinates in that plane. Writing and , the cross product gives , so the scalar is itself constant.
In time , the radius vector sweeps a thin, nearly triangular sector of area (base , height , factor for a triangle). Dividing by gives exactly . Since is constant, the areal sweep rate is constant for all time — equal areas are swept in equal times, proving Kepler's second law.
For a bound orbit (ellipse) of semi-major axis around a total mass , the orbital period satisfies .
Why is it true?
This links the size of an orbit directly to how long it takes to complete, with no dependence on eccentricity — a fact used every time astronomers weigh a star or planet by timing a smaller body's orbit around it.
Proof
By Theorem 1, the areal sweep rate is constant, so integrating over one full period gives the total enclosed area . For an ellipse with semi-major axis and semi-minor axis , geometry gives . Equating the two: .
Next, tie to the shape via Binet's equation: the semi-latus rectum of the orbit is , and for an ellipse the standard relations and hold. Combining with gives , so .
Substitute this expression for into and solve for : . Squaring both sides gives , which is Kepler's third law — and it holds for every ellipse regardless of , since canceled out completely.
The vector is constant in time for motion under an inverse-square force , has magnitude , and points from the focus toward periapsis.
Why is it true?
Energy and angular momentum alone fix the size and shape of a Kepler orbit but not its orientation within the plane; the Laplace–Runge–Lenz vector is the extra conserved quantity that pins down where periapsis sits, and its very existence is special to the force — most central forces do not have such a vector, which is exactly why most central-force orbits (as in the restricted three-body problem below) do not stay on a fixed closed curve.
Proof
Differentiate: . Since is constant (Theorem 1), the middle term vanishes. Using and , the vector triple product identity gives , where is the scalar rate of change of the distance (used ).
On the other hand, differentiating directly gives — exactly the same bracketed expression found for above. So identically.
Therefore , proving is constant. Evaluating at periapsis, where is purely tangential (perpendicular to ) with speed , gives pointing along with magnitude , so ; using from the orbit equation gives , confirming pointing exactly toward periapsis.
AdvancedBeyond two bodies: the restricted three-body problem
Add a third body of negligible mass (a spacecraft, an asteroid) moving under the gravity of two large masses that orbit each other in a circle. In a reference frame rotating with the two large masses at their orbital angular speed , the small body's motion is governed by gravity plus the fictitious centrifugal and Coriolis forces of the rotating frame, combined into the effective potential below.
Definition: The five Lagrange points
The five points where the effective force (gradient of , including the Coriolis term for a body at rest in the rotating frame) vanishes are the Lagrange points. sits between the two masses; sits just beyond the smaller mass, on the far side from ; sits on the opposite side of from . For (e.g. Earth around the Sun), and are both at approximately from the smaller mass, where is the orbital separation. and complete an equilateral triangle with and , leading and trailing the smaller mass by .
, , are always dynamically unstable (saddle points of ) — a body placed there drifts away without station-keeping. and , though saddle points of itself, become genuinely stable once the Coriolis force is included, provided the mass ratio satisfies Routh's criterion . The Sun–Jupiter system comfortably satisfies this, which is why thousands of Trojan asteroids sit locked at Jupiter's and points, discovered starting in 1906 — over a century after Lagrange predicted their existence mathematically.
Unlike the two-body problem, the general three-body problem has no analogous closed-form solution. Beyond the ten classical conserved quantities (energy, three components each of linear and angular momentum, and the uniform motion of the center of mass), Henri Poincaré proved in his 1890 prize memoir for King Oscar II of Sweden that no further single-valued analytic integral of motion exists in general — the extra "hidden" conservation laws that make the two-body problem exactly solvable (like the Laplace–Runge–Lenz vector above) simply do not survive the addition of a third body. Trajectories can then depend so sensitively on initial conditions that long-term prediction becomes practically impossible, even though the underlying equations are perfectly deterministic. This discovery, born from Poincaré's attempt to settle the stability of the solar system, is generally regarded as the birth of chaos theory.
UndergraduateReal-World Applications and Worked Examples
Mission designers fly real spacecraft by patching together exactly the two-body building blocks proved above. A Hohmann transfer uses the theorem-3 orbit-shape result to choose the cheapest possible transfer ellipse between two circular orbits. A telescope parked at a Lagrange point uses the theory above to sit in place (in a small "halo" loop) using almost no fuel. A gravity-assist flyby exploits the fact that, viewed in the flying-by planet's own frame, the encounter is just an elastic two-body scattering event — only the reference frame changes the spacecraft's energy.
Example: Hohmann transfer to Mars
Earth's orbit has and Mars's has (both nearly circular and coplanar). Using (Kepler's third law with the Sun's mass absorbed into the units), find the one-way transfer time of a Hohmann transfer orbit from Earth to Mars.
Solution
The transfer ellipse must touch both circular orbits, so its semi-major axis is (Earth's orbit at perihelion of the transfer, Mars's orbit at aphelion).
Apply to the transfer orbit: its full period is .
The one-way trip is only half this ellipse, from perihelion to aphelion, so the transfer time is days — remarkably close to the roughly 7-to-9-month cruise times used by real Mars missions, which fly close to this minimum-energy Hohmann trajectory.
Example: Gravity-assist flyby past Jupiter
A spacecraft flies past Jupiter (heliocentric orbital speed ) on a trailing-side trajectory that, in the idealized limit of a very large deflection angle, is well approximated by an elastic "bounce" off the planet: . If the spacecraft arrives with heliocentric speed in the same direction as Jupiter's motion, find its departure speed and explain where the extra energy comes from.
Solution
In Jupiter's own (nearly inertial) rest frame, the spacecraft's encounter with the planet's gravity is a purely central-force scattering event: by energy conservation in that frame, the spacecraft's speed relative to Jupiter is the same long before and long after the flyby, only its direction changes by some deflection angle. In the idealized trailing-side geometry with maximal deflection, that relative velocity reverses direction exactly.
Transforming back to the Sun's frame by adding Jupiter's velocity turns a full reversal of the relative velocity into , which is exactly the formula given. Plugging in numbers: , a gain of .
This energy is not created from nothing: in the Sun's frame, Jupiter's own orbital speed drops by an imperceptibly tiny amount (Jupiter is roughly times more massive than a spacecraft, so momentum conservation spreads the trade evenly but the velocity change on Jupiter's side is utterly negligible) — the spacecraft has effectively borrowed a sliver of Jupiter's enormous orbital kinetic energy. Real flybys never achieve the full idealized reversal, so actual gains are a fraction of this maximum, and a leading-side flyby (arriving ahead of the planet instead of behind it) produces exactly the reverse effect, slowing the spacecraft down.
For an ellipse of semi-major axis and eccentricity , with the attracting mass at the focus, what is the perihelion (closest) distance?
An asteroid orbits the Sun with semi-major axis . Using , its orbital period is closest to:
Which pair of Lagrange points can be linearly stable (trapping objects like Jupiter's Trojan asteroids) when the mass ratio satisfies Routh's criterion ?
Why is the James Webb Space Telescope stationed in a halo orbit around the Sun–Earth point rather than orbiting Earth directly like Hubble?
References
- Carl D. Murray, Stanley F. Dermott (1999). Solar System Dynamics
- Alain Chenciner, Richard Montgomery (2000). A remarkable periodic solution of the three-body problem in the case of equal masses
- NASA Science (2024). Webb's Orbit at Sun-Earth Lagrange Point 2 (L2)
- NASA Science (2024). Basics of Spaceflight: A Gravity Assist Primer