Skip to contentSkip to Content
Space FundamentalsGravitation and the two-body problem

Gravitation and the two-body problem

Draft

Almost every trajectory flown to date is designed on top of one equation, and corrected afterwards for everything that equation leaves out. This page derives that equation, states the quantities it conserves, and quantifies what it ignores.

Newton’s law

Two point masses attract along the line joining them with a force proportional to each mass and inversely proportional to the square of their separation:

F12=Gm1m2r2r^\mathbf{F}_{12} = -G\frac{m_1 m_2}{r^2}\,\hat{\mathbf{r}}

where rr is the separation, r^\hat{\mathbf{r}} points from body 1 to body 2, and GG is the gravitational constant.

GG is the least precisely known of the fundamental constants, measured to about 22 parts per million. That imprecision never propagates into astrodynamics, because no calculation uses GG alone.

Why the gravitational parameter, not GM

The observable quantity is not GG and not MM, but their product. A spacecraft orbiting Earth responds to GMGM_\oplus; nothing in its motion separates the two factors. So the product is measured directly, by tracking, and it is known far more precisely than either factor:

G
6.674 30 × 10⁻¹¹ m³ kg⁻¹ s⁻² (relative uncertainty 2.2 × 10⁻⁵)
μ for Earth
398 600.4418 km³/s² (relative uncertainty ~10⁻⁹)
μ for the Sun
1.327 124 400 18 × 10¹¹ km³/s²
μ for the Moon
4902.800 km³/s²
μ for Mars
42 828.37 km³/s²

Writing μ=GM\mu = GM is not shorthand. It is a statement about what was measured. Substituting GG and a mass estimate in place of a published μ\mu throws away four orders of magnitude of accuracy.

Reducing the two-body problem

Take two bodies of mass m1m_1 and m2m_2 at inertial positions R1\mathbf{R}_1 and R2\mathbf{R}_2. Newton’s second law gives two coupled equations:

m1R¨1=Gm1m2r3r,m2R¨2=Gm1m2r3rm_1\ddot{\mathbf{R}}_1 = G\frac{m_1 m_2}{r^3}\mathbf{r}, \qquad m_2\ddot{\mathbf{R}}_2 = -G\frac{m_1 m_2}{r^3}\mathbf{r}

with r=R2R1\mathbf{r} = \mathbf{R}_2 - \mathbf{R}_1. Dividing each by its mass and subtracting collapses six degrees of freedom into three:

Relative equation of motionr¨=G(m1+m2)r3r=μr3r\ddot{\mathbf{r}} = -\frac{G(m_1 + m_2)}{r^3}\mathbf{r} = -\frac{\mu}{r^3}\mathbf{r}

Two consequences follow immediately, and both are used constantly.

First, the strict μ\mu in this equation is G(m1+m2)G(m_1 + m_2), not GMGM of the primary. For a spacecraft around Earth the spacecraft mass is negligible and the distinction vanishes. For the Earth-Moon system it does not: the correct parameter is μ+μMoon=403503.2\mu_\oplus + \mu_{\text{Moon}} = 403\,503.2 km³/s², and using μ\mu_\oplus alone puts the sidereal month off by about half a day.

Second, the barycentre moves at constant velocity, because the internal forces cancel. The two-body problem therefore has no bearing on where the system as a whole goes.

The constants of the motion

Three vector or scalar quantities are conserved, and between them they contain the entire solution.

Specific angular momentum

Cross r\mathbf{r} into the equation of motion. The right side vanishes, because r×r=0\mathbf{r} \times \mathbf{r} = 0, leaving d(r×r˙)/dt=0\mathrm{d}(\mathbf{r} \times \dot{\mathbf{r}})/\mathrm{d}t = 0, so

h=r×v=constant\mathbf{h} = \mathbf{r} \times \mathbf{v} = \text{constant}

h\mathbf{h} is normal to the plane containing r\mathbf{r} and v\mathbf{v}. Since it is constant in direction as well as magnitude, the motion is planar. This is why an orbit needs only two angles to orient it, and why a plane change is a separate and expensive manoeuvre: nothing in the two-body problem will produce one for free.

Specific energy

Dot r˙\dot{\mathbf{r}} into the equation of motion and integrate:

ε=v22μr=constant\varepsilon = \frac{v^2}{2} - \frac{\mu}{r} = \text{constant}

The sign of ε\varepsilon classifies the orbit: negative is bound (ellipse or circle), zero is parabolic, positive is hyperbolic. See Escape velocity and characteristic energy for what follows from that.

The eccentricity vector

e=v×hμr^\mathbf{e} = \frac{\mathbf{v} \times \mathbf{h}}{\mu} - \hat{\mathbf{r}}

This one is peculiar to the inverse-square law. Its constancy is why orbits close on themselves at all: under any other power law the apsidal line precesses. It points from the focus toward periapsis, and its magnitude is the eccentricity.

The orbit equation

Dotting r\mathbf{r} into the eccentricity vector and rearranging gives the trajectory in polar form:

Orbit equationr=h2/μ1+ecosν=p1+ecosνr = \frac{h^2/\mu}{1 + e\cos\nu} = \frac{p}{1 + e\cos\nu}

with ν\nu the true anomaly measured from periapsis and p=a(1e2)p = a(1-e^2) the semi-latus rectum. This is the polar equation of a conic section with the primary at a focus, which is Kepler’s first law recovered from dynamics rather than from data.

Combining the energy integral with ε=μ/2a\varepsilon = -\mu/2a gives the single most-used relation in the subject:

Vis-vivav2=μ(2r1a)v^2 = \mu\left(\frac{2}{r} - \frac{1}{a}\right)

Speed anywhere on an orbit depends only on where you are and on the semi-major axis. Eccentricity does not appear. Every impulsive manoeuvre calculation in Orbital Mechanics reduces to applying this twice and differencing.

Where one body ends and the next begins

Real trajectories cross between gravitational regimes. Two radii mark the transition, and they answer different questions.

The Hill sphere is the region within which a satellite of the secondary can remain bound against the primary’s tidal pull. It is the stability radius:

rHa(m3M)1/3r_H \approx a\left(\frac{m}{3M}\right)^{1/3}

The sphere of influence is smaller, and is a modelling boundary rather than a physical one. It is the radius at which the perturbation of the primary on a secondary-centred orbit equals the perturbation of the secondary on a primary-centred orbit:

rSOIa(mM)2/5r_{\text{SOI}} \approx a\left(\frac{m}{M}\right)^{2/5}
BodySphere of influenceHill radius
Earth924 000 km1 496 000 km
Moon66 200 km61 500 km
Mars577 000 km1 083 000 km

Patched-conic mission design chains two-body solutions together at the sphere of influence: heliocentric outside, planetocentric inside, with the state vector rotated and re-referenced at the boundary. The discontinuity this introduces is an artefact of the method, not of the physics, and is removed later by numerical integration of the full force model.

What the model leaves out

The two-body equation is the leading term of a much larger sum. The table below gives the order of magnitude of each remaining term for a 400 km circular Earth orbit, where the central acceleration is 8.68 m/s².

TermAcceleration (m/s²)Fraction of central
Two-body central8.71
J2J_2 oblateness1.2 × 10⁻²1.4 × 10⁻³
Higher zonal and tesseral harmonics10⁻⁵ and below10⁻⁶ and below
Atmospheric drag10⁻⁷ to 10⁻⁵varies with solar activity and ballistic coefficient
Lunar third body1.2 × 10⁻⁶1.3 × 10⁻⁷
Solar third body5.4 × 10⁻⁷6.2 × 10⁻⁸
Solar radiation pressure10⁻⁸ to 10⁻⁷depends on area-to-mass ratio
General relativistic correction~10⁻⁸~10⁻⁹

Two observations are worth drawing out.

J2J_2 is not a small correction in any operational sense. It is three orders of magnitude below the central term, but it acts secularly: it precesses the node and the apsidal line continuously rather than averaging out. Over weeks it dominates the difference between predicted and actual position. Sun-synchronous orbits exist precisely because this precession can be tuned. See Orbital perturbations.

Drag is the only term in the list that removes energy. Everything else redistributes it. That asymmetry is why orbits below roughly 600 km have finite lifetimes and why the post-mission disposal rules discussed in Space debris and traffic management are written in terms of altitude.

References

  • Bate, R. R., Mueller, D. D., White, J. E. and Saylor, W. W. Fundamentals of Astrodynamics, 2nd ed., Dover, 2020.
  • Vallado, D. A. Fundamentals of Astrodynamics and Applications, 5th ed., Microcosm Press, 2022.
  • Battin, R. H. An Introduction to the Mathematics and Methods of Astrodynamics, revised ed., AIAA, 1999.
  • Park, R. S., Folkner, W. M., Williams, J. G. and Boggs, D. H. “The JPL Planetary and Lunar Ephemerides DE440 and DE441”, The Astronomical Journal, 161:105, 2021. Source of record for the μ\mu values quoted above.
Last updated on