Gravity and Orbits

One inverse-square force gives every ellipse, parabola and hyperbola in the sky. Throw a moon, check Kepler’s three laws by measurement and plan a transfer to Mars

Gravity and Orbits

The Moon is falling. It falls towards the Earth every second, exactly as an apple does, and keeps missing because it is also moving sideways.

One law of force, weakening with the square of the distance, turns that single idea into every orbit in the sky.

Throw a Moon

Drag the blue arrow at the top of the mountain and let go. Throw a little harder each time until the ball goes all the way round, then harder still until it never comes back.

▲ circular
7.07 km/s
▲ escape
10.00 km/s
Throw at
Show
8.344 km/s
speed now
7,971 km
from the centre, 1,600 km above the ground
−15.1919 MJ
total energy (at launch −15.1919)
66.5131
angular momentum, 10⁹ kg·m²/s: constant
7.072 km/s
circular speed here, √(GM/r)
10.001 km/s
escape speed here, √(2GM/r)
4.154 h
predicted time for one lap, 2π√(a³/GM)
—
stopwatch: the last full lap
An ellipse. Too fast for the circle, so it climbs, slows, and falls back to the same point to go round again: nearest 7,971 km, farthest 18,267 km, eccentricity 0.3924. The total energy is below zero, so it can never leave.
—
measured: turn from one nearest approach to the next
360.000°
formula for nearly circular orbits, 360°/√(3 − n)

At exactly 2 the ball comes back to its nearest point after a full 360°, whatever the orbit, so the ellipse closes. At 2.1 the nearest point creeps forward on every lap. Try it from the mountain at 1.18 × circular.

falls backcircleellipseparabolahyperbolapredictedeffective potentialgravity’s partangular momentum’s partenergy of moving in or out

A 1 kg ball, GM = 398,600 km³/s², a round Earth of radius 6371 km with no air, no spin and no pull from the Moon or Sun; the ball’s own pull on the Earth is far too small to matter. Distances are to scale. Stepped with a fourth-order symplectic method, which keeps the angular momentum to rounding error and the energy to about one part in 10⁸. The energy graph is Reading the Hill again: because the angular momentum is fixed, the distance alone slides between the two marks where the energy line meets the curve.

Go deeper:Universal Gravitation and the Moon Test

Newton’s law says that any two bodies pull on each other, along the line joining them, with a force proportional to both masses and to the inverse square of the distance:

F = GMm/r2

The orbiting body’s own mass m cancels from F = ma, so a pebble and a moon thrown alike follow the same path. A circle of radius r at speed v needs an acceleration v2/r towards the centre, and gravity supplies GM/r2; setting them equal gives v = √(GM/r). The potential energy that goes with the force is −GMm/r, zero at infinity, and a body with just enough kinetic energy to bring the total to zero has v = √(2GM/r): escape speed, √2 times the circular speed, in any direction that does not hit the ground.

The law can be tested from your own garden. The Moon is about 60 Earth radii away (60.3), so if gravity weakens as the square of the distance its acceleration should be g/602 = 2.724 mm/s2. From its distance, 384,400 km, and its period, 27.32 days, v2/r comes to 2.723 mm/s2. In his old age Newton told William Stukeley and others that the sight of a falling apple had set him thinking about the Moon. The picture of a cannon on a mountain is in his A Treatise of the System of the World, published in 1728, after his death. G is so small that it was not measured until Henry Cavendish did so in 1798, with lead balls on a twisting wire. Since g and the size of the Earth were known, the measurement “weighed the Earth”.

The curve under the demo is the effective potential. The speed across the line from the centre is fixed by the angular momentum at L/mr, so its kinetic energy, L2/2mr2, depends only on the distance and can be counted with the potential energy. What is left is a one-dimensional problem: a bead on the hill L2/2mr2 − GMm/r. The left-hand wall is why a planet with any sideways motion at all does not fall in. For most force laws the distance and the direction repeat at different rates and the orbit is a rosette. Joseph Bertrand proved in 1873 that only two central forces make every bound orbit close: the inverse square and the spring. See also: Work and Energy (Reading the Hill).

Kepler’s Laws by Measurement

Watch two changing distances add up to the same number, shade the area a planet sweeps in equal times, and tap to put planets on the straight line. Then use one satellite to weigh the Sun.

Real orbits
1.494564 AU
distance to the Sun
recording…
distance to the other focus
recording…
the two added: the string’s length
recording…
long axis of the fitted ellipse, 2a
—
eccentricity found by the fit (set: 0.60000)
—
average miss of the points from the ellipse, as a fraction of a
17.32 km/s
speed now
—
time for the last lap (a1.5 = 1.0000)
The two green lines are a loop of string round two pins. Each changes all the time, and their sum does not: that is what makes the curve an ellipse. The Sun sits on one pin. There is nothing at the other, and it plays no part in the motion.
planet and its recorded positionsellipse fitted to themthe stringvelocity

Distances in astronomical units (1 AU is the Earth’s average distance, 149.6 million km), a fixed Sun and no pull from other planets. The fit knows only the recorded positions and that the Sun is a focus. Planet data: NASA planetary fact sheets; Halley’s comet: JPL Small-Body Database.

Go deeper:From Tycho’s Tables to Newton’s Proof

Johannes Kepler found his laws in Tycho Brahe’s observations, the best then in existence. The first two, ellipses with the Sun at a focus and equal areas in equal times, came out of years of struggle with the orbit of Mars and appeared in Astronomia nova in 1609. The third is in Harmonices Mundi (1619). Kepler had no explanation that we would accept. In the Principia (1687) Newton showed that all three belong to a pull towards the Sun that weakens as the inverse square.

The second law is the conservation of angular momentum. In a short time Δt a planet moving at v⊥ across the line to the Sun sweeps a thin triangle of area ½rv⊥Δt, and rv⊥ is L/m. A force directed at the centre has no torque about it, so L is constant, and so is the rate of sweeping. Nothing here depends on how the force varies with distance. See also: Rotation and Angular Momentum.

An inverse-square pull gives a conic section, a curve you get by slicing a cone:

r = p/(1 + e cos θ),    p = L2/(GMm2),    E = −GMm/2a

The eccentricity e is below 1 for an ellipse, exactly 1 for a parabola and above 1 for a hyperbola, and it is decided by the sign of the energy. The energy depends only on the semi-major axis a, not on the shape, and so does the period: T2 = 4π2a3/GM. To say where the planet is at a given time one solves Kepler’s equation, M = E − e sin E, where M grows steadily with time and E is an angle that locates the planet on its ellipse. It has no solution in terms of elementary functions and is solved by successive approximation.

The Sun is not quite fixed: the two bodies circle their common centre of mass, and the exact third law has the sum of the masses, T2 = 4π2a3/G(M + m). For Jupiter, a thousandth of the Sun’s mass, the difference shows in the third decimal place of the table. The same formula weighs double stars, where both masses count, and the stars around which planets have been found.

Getting to Mars

Press Launch while the window is open, then go 60 days later and see what is waiting. In the second tab, change the side on which a spacecraft passes Jupiter and read off the speed it gains or loses.

29.785 km/s
craft’s speed, 1.000 AU from the Sun
−443.566 MJ
craft’s energy per kg: constant while coasting
160 million km
from the Earth to Mars now
44.3°
Mars’s lead at launch (needed: 44.3°)
The launch window is open: Mars will be at the far end of the ellipse when the craft gets there. Press Launch.
from the Earth’s orbit tofirst burnsecond burntotal Δvtravel timelead at launchwindow every
Venus−2.50 km/s−2.71 km/s5.20 km/s146 days−54.0°584 days
Mars2.94 km/s2.65 km/s5.59 km/s259 days44.3°780 days
Jupiter8.79 km/s5.64 km/s14.44 km/s998 days97.2°399 days

a = (r1 + r2)/2 = 1.2618 AU

Δv1 = √(GM(2/r1 − 1/a)) − √(GM/r1) = 32.73 − 29.78 = 2.94 km/s

Δv2 = √(GM/r2) − √(GM(2/r2 − 1/a)) = 24.13 − 21.48 = 2.65 km/s

time = ½ × a3/2 = 0.7087 years = 258.9 days

lead = 180° − 360° × time/T2 = 44.3°, again after 1/|1/T1 − 1/T2| = 780.0 days

craft and its pathplanned transfervelocitykick; a burn, on the energy graphpotential energy, −GM/rkinetic energy: the gap

The planets go round in circles in one plane, from their real average positions on 1 January 2026, so the windows here can be weeks from the real ones; the dotted orbits show the true ellipses, with a ring where each planet really is. The craft feels only the Sun: the pulls of the Earth and of Mars are left out, and climbing away from the Earth costs fuel on top of these figures. The kick arrow is not to the velocity scale. The second burn is made if the craft comes within 0.02 AU (3 million km) of the planet.

Go deeper:One Formula for Every Manoeuvre

Put the energy of an orbit, E = −GMm/2a, equal to ½mv2 − GMm/r and solve for the speed. The result is called the vis-viva equation, and every number in the first tab follows from it:

v2 = GM(2/r − 1/a)

Walter Hohmann described the transfer that bears his name in 1925. A burn changes the kinetic energy by the most, for a given change of speed, when it is made along the motion; and an ellipse that just touches both circles needs nothing but burns along the motion. For two burns between circles it is the cheapest route, and it is slow. (If the outer circle is more than about 12 times the size of the inner one, a route with three burns can be a little cheaper and is far slower.) The craft must also climb out of the Earth’s own gravity, and what a Δv costs in fuel is set by the logarithm in the rocket equation. See also: Momentum and Collisions.

The paradox of orbits is that speeding up makes you slower. A forward burn raises the far side of the orbit, and the craft arrives there moving more slowly than it set out; going from one circle to a larger one, it gains twice as much potential energy as the kinetic energy it loses. This is why catching a space station ahead of you begins with braking. The same sums put the geostationary ring, where a satellite turns once per sidereal day of 86,164 seconds and hangs over one place, at 42,164 km from the centre of the Earth, 35,786 km above the equator.

A gravity assist is an elastic collision in which nothing touches. In the planet’s frame energy is conserved, so the speed far away is the same before and after, turned through an angle 2 arctan(GM/bv2) for a miss distance b. Adding the planet’s velocity back turns that rotation into a change of speed of at most twice the planet’s own. With three bodies there is no general formula, but there are five special places, the Lagrange points, where a light body can circle in step with two heavy ones; several observatories are kept near them. See also: Chaos, Relativity.

Key Takeaways

  • An orbit is a fall that keeps missing: at v = √(GM/r) the ground curves away as fast as the body drops, and at √2 times that it leaves for good.
  • The sign of the total energy decides the shape: negative for an ellipse, zero for a parabola, positive for a hyperbola.
  • Kepler’s laws are an ellipse with the Sun at a focus, equal areas in equal times (conserved angular momentum), and T2 ∝ a3, which weighs the body at the centre.
  • Travelling between planets is a matter of small changes of energy at the right place and time, and a passing planet can supply some of them free.

Spot a mistake or have an idea?

Search