Classical Mechanics

The Gravitational Two-Body Problem

A complete derivation — from Newton's law of gravitation to Kepler's three empirical laws, via the orbit equation, conic sections, and conservation laws.

1. Introduction

The gravitational two-body problem asks: given two point masses interacting solely through Newtonian gravity, what are their trajectories? This is one of the few problems in classical mechanics that admits an exact, closed-form solution.

The key insight is a mathematical sleight of hand: by switching to centre-of-mass and relative coordinates, the coupled six-dimensional system separates into (i) a trivially solved centre-of-mass translation and (ii) the motion of a single fictitious particle of reduced mass orbiting a fixed centre. The relative-motion problem then has two conserved quantities — energy and angular momentum — that together determine the complete orbit.

2. Problem Setup

Consider two point masses $m_1$ and $m_2$ with position vectors $\mathbf{r}_1$ and $\mathbf{r}_2$ measured from an inertial origin. The gravitational force exerted by $m_2$ on $m_1$ is:

$$\mathbf{F}_{12} = -\frac{G m_1 m_2}{|\mathbf{r}_1 - \mathbf{r}_2|^3}(\mathbf{r}_1 - \mathbf{r}_2)$$
(2.1)

By Newton's third law, $\mathbf{F}_{21} = -\mathbf{F}_{12}$. Writing $\mathbf{r} = \mathbf{r}_1 - \mathbf{r}_2$ for the relative separation, the equations of motion are:

$$m_1\ddot{\mathbf{r}}_1 = -\frac{G m_1 m_2\, \mathbf{r}}{|\mathbf{r}|^3}, \qquad m_2\ddot{\mathbf{r}}_2 = +\frac{G m_1 m_2\, \mathbf{r}}{|\mathbf{r}|^3}$$
(2.2–2.3)

3. Centre-of-Mass Reduction

Define the total mass $M$ and the centre-of-mass (CM) position $\mathbf{R}$:

$$M = m_1 + m_2, \qquad \mathbf{R} = \frac{m_1\mathbf{r}_1 + m_2\mathbf{r}_2}{M}$$
(3.1–3.2)

Adding the equations of motion gives $M\ddot{\mathbf{R}} = 0$, so:

$$\mathbf{R}(t) = \mathbf{R}_0 + \mathbf{V}_0 t$$
(3.3)

The CM moves at constant velocity — it is an inertial frame. Working in the CM frame ($\mathbf{R} = 0$) decouples the problem: we only need to solve for the relative coordinate $\mathbf{r} = \mathbf{r}_1 - \mathbf{r}_2$.

4. The Reduced Mass and the One-Body Problem

Subtracting the scaled equations of motion yields:

$$\ddot{\mathbf{r}} = -\frac{GM\,\hat{\mathbf{r}}}{r^2}$$
(4.1)

where $\hat{\mathbf{r}} = \mathbf{r}/r$ and $r = |\mathbf{r}|$. This is Newton's equation for a single particle orbiting a fixed mass $M$. Introducing the reduced mass:

$$\mu = \frac{m_1 m_2}{m_1 + m_2} = \frac{m_1 m_2}{M}$$
(4.2)
Key Result

The two-body gravitational problem is exactly equivalent to a one-body problem: a fictitious particle of reduced mass $\mu = m_1 m_2/M$ moving in the central potential $V(r) = -G\mu M/r$, where $M = m_1 + m_2$.

5. Conservation Laws

5.1 Angular Momentum

Because the force is purely radial (central), the torque is zero and $\mathbf{L}$ is conserved:

$$\mathbf{L} = \mu\,\mathbf{r} \times \dot{\mathbf{r}} = \text{const}$$
(5.1)

$\mathbf{L}$ is perpendicular to the plane of motion, so the orbit is confined to a fixed plane. In polar coordinates $(r, \theta)$:

$$L = \mu r^2 \dot{\theta} \equiv \mu h \quad \text{(where } h \text{ is specific angular momentum)}$$
(5.2)

5.2 Energy

The total mechanical energy is also conserved:

$$E = \frac{1}{2}\mu(\dot{r}^2 + r^2\dot{\theta}^2) - \frac{G\mu M}{r} = \text{const}$$
(5.3)

5.3 Effective Potential

Using (5.2) to eliminate $\dot{\theta}$, we can define the effective potential:

$$V_\text{eff}(r) = \frac{L^2}{2\mu r^2} - \frac{G\mu M}{r}$$
(5.5)

The first term is the centrifugal barrier (repulsive) and the second is the gravitational well (attractive). Bound orbits require $E < 0$; $E = 0$ corresponds to escape.

6. Deriving the Orbit Equation

To find $r(\theta)$ we use the Binet substitution $u \equiv 1/r$, giving:

$$\frac{d^2 u}{d\theta^2} + u = \frac{G\mu^2 M}{L^2} \equiv \frac{1}{\ell}$$
(6.2)

where $\ell = L^2/(\mu^2 GM)$ is the semi-latus rectum. The general solution, choosing the periapsis as the reference direction, is:

$$\boxed{r(\theta) = \frac{\ell}{1 + e\cos\theta}}$$

This is the polar equation of a conic section with focus at the origin. The eccentricity $e$ is determined by the energy and angular momentum:

$$e = \sqrt{1 + \frac{2EL^2}{\mu^3 G^2 M^2}}$$
(6.5)

7. Classification of Orbits

The shape of the orbit is entirely determined by the eccentricity $e$:

EccentricityConic SectionEnergy / Meaning
$e = 0$Circle$E = E_\min$; perfectly circular orbit
$0 < e < 1$Ellipse$E < 0$; bound orbit
$e = 1$Parabola$E = 0$; marginally unbound (escape)
$e > 1$Hyperbola$E > 0$; unbound, scattering orbit

8. Elliptical Orbits in Detail  $(0 \le e < 1)$

For bound orbits ($E < 0$) the trajectory is an ellipse with one focus at the CM. The standard orbital parameters are:

$$a = \frac{\ell}{1-e^2} = -\frac{G\mu M}{2E}, \quad b = a\sqrt{1-e^2} = \frac{L}{\sqrt{-2\mu E}}$$
$$r_\min = a(1-e), \quad r_\max = a(1+e)$$

The orbital period follows from $dA/dt = L/(2\mu) = \text{const}$ (Kepler's second law) integrated over the full ellipse of area $\pi ab$:

$$T^2 = \frac{4\pi^2}{GM}\,a^3$$
(8.2)

This is Kepler's Third Law: the square of the orbital period is proportional to the cube of the semi-major axis.

9. Kepler's Three Laws

The solution to the two-body problem reproduces and explains all three of Kepler's empirical laws:

First Law — The Law of Ellipses

Each planet moves along an ellipse with the Sun at one focus. This follows directly from the orbit equation (6.4) for $0 \le e < 1$.

Second Law — The Law of Equal Areas

The line joining the planet to the Sun sweeps equal areas in equal times. This is a direct consequence of conservation of angular momentum: $dA/dt = L/(2\mu) = \text{const}$. It holds for any central force, not just gravity.

Third Law — The Law of Periods

$T^2 \propto a^3$, with proportionality constant $4\pi^2/(GM)$ where $M$ is the total mass. This provides a way to weigh astronomical systems.

10. Summary of Key Results

Complete Solution — Quick Reference
Reduced mass
$\mu = m_1 m_2\,/\,(m_1 + m_2)$
Semi-latus rectum
$\ell = L^2\,/\,(\mu^2 GM)$
Eccentricity
$e = \sqrt{1 + 2EL^2\,/\,(\mu^3 G^2 M^2)}$
Orbit equation
$r(\theta) = \ell\,/\,(1 + e\cos\theta)$
Semi-major axis
$a = -G\mu M\,/\,(2E)$   [bound orbits]
Orbital period
$T^2 = (4\pi^2/GM)\cdot a^3$
Total energy
$E = \tfrac{1}{2}\mu\dot{r}^2 + L^2/(2\mu r^2) - G\mu M/r$