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
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.
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.
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.
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.
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).
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.
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.
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.
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.
| from the Earth’s orbit to | first burn | second burn | total Δv | travel time | lead at launch | window every |
|---|---|---|---|---|---|---|
| Venus | −2.50 km/s | −2.71 km/s | 5.20 km/s | 146 days | −54.0° | 584 days |
| Mars | 2.94 km/s | 2.65 km/s | 5.59 km/s | 259 days | 44.3° | 780 days |
| Jupiter | 8.79 km/s | 5.64 km/s | 14.44 km/s | 998 days | 97.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
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.
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.
Spot a mistake or have an idea?