Presets
Playback
Moon and masses
Distance, Earth's mass and Sun's mass. Below the threshold distance the path turns away from the Sun.
View
Drawing magnification (display only) and time speed.
Layers
Model checks
The science
The surprise: the Moon never loops around the Sun
Seen from above the Sun, the Moon seems to wind around the Earth while the Earth goes around the Sun, so many people picture a looping, braided track. In fact the Moon's path around the Sun is a gently wavy curve that always bends toward the Sun, like the Earth's own orbit. The reason is a comparison of two accelerations. The Sun pulls the Moon (and the Earth) with c_e = G M_S / R^2 = 5.93 mm/s^2. The Earth pulls the Moon with c_m = G M_E / r^2 = 2.72 mm/s^2. The Sun's pull is about 2.2 times larger, so the Moon is always being pulled toward the Sun more strongly than toward the Earth.
The two-circle model and its closed form
Take the Earth on a circle of radius R with angular speed w_e and the Moon on a circle of radius r around the Earth with angular speed w_m (sign negative for a retrograde Moon). Its position is the sum of the two rotating vectors. With A = R w_e (Earth's speed), B = r w_m (Moon's speed around Earth), c_e = R w_e^2, c_m = r w_m^2 and phi the angle of the Moon around the Earth minus the angle of the Earth around the Sun, the velocity and acceleration give v x a = A c_e + B c_m + cos(phi) (A c_m + B c_e) and the curvature of the path is kappa = (v x a) / v^3, with v^2 = A^2 + B^2 + 2 A B cos(phi). A positive value means the path bends toward the Sun. The smallest value over a month is (A c_e + B c_m) - |A c_m + B c_e|. It stays positive for all phases when (A - B)(c_e - c_m) > 0 and A + B > 0. For any Moon slower than the Earth this means exactly c_e > c_m: the Sun's pull on the Moon must beat the Earth's pull on it. Retrograde or prograde makes no difference to the test.
The threshold distance
For a circular lunar orbit c_m = G (M_E + M_Moon) / r^2, so the condition becomes r > sqrt(G (M_E + M_Moon) / c_e) = 0.679 x 384,400 km = 261,000 km. A Moon closer than that would bend away from the Sun for part of each month: the path would gain two inflection points per month and look like a chain of shallow loops (the real Moon is about 47 % beyond the threshold). Heavier Earth (more mass) moves the threshold outward as sqrt(M_E); a heavier Sun moves it inward as 1 / sqrt(M_S). The map on the 2D page is exactly this boundary. The Galilean moons of Jupiter are deep inside their threshold, so their paths around the Sun do wiggle through convex stretches.
What the picture shows
The Moon's offset from the Earth is only 0.26 % of the Earth-Sun distance, so a true-scale drawing would show a single line. Both pages therefore magnify the Moon's offset (the slider says how much); the arrows, numbers and colours always use the true values. The trail is blue where the path bends toward the Sun and orange where it bends away. The curvature is quoted in units of 1/AU: the Earth's own orbit is 1, the real Moon swings between about 0.58 and 1.36.
Numerical checks on this page
(1) The closed-form curvature range is compared with finite differences of the Moon's position over a whole month (a second difference of positions, with no formula in it). (2) A genuine three-body integration (Sun, Earth, Moon with real masses, Sun free to move, velocity Verlet) gives the Moon's curvature range and the Sun-to-Earth pull ratio, compared with the two-circle model. (3) The threshold distance from the formula is compared with a bisection in the three-body model (smallest distance with no convex stretch). The 2D page adds (4) random points of its map, classified both by the closed-form condition and by the sign of the finite-difference curvature. The experiment preset slides the Moon inward and records the distance at which the path first bends away from the Sun; the readout compares it with the closed-form threshold.
Honest simplifications
The orbits are circles in one plane, with the Moon's inclination (5 degrees), the eccentricities of both orbits (0.017 and 0.055) and the Sun's tide on the lunar orbit left out of the two-circle model; the three-body check includes the tide and shows it moves the numbers by a few percent. The Earth's pull on the Moon is taken as G M_E / r^2 for a circular lunar month. The Sun pull on the Moon is evaluated at the Earth's position (the difference, the tidal term, is the 1 % effect mentioned above). The simulation spans realistic distances only up to 2 times the real one, because beyond that the Moon is no longer reliably bound to Earth (the Hill sphere is about 3.9 lunar distances). Literature values quoted from memory: Sun-to-Earth pull ratio on the Moon about 2.2; the Moon's speed around the Sun varies between about 28.8 and 30.8 km/s over a month (29.78 +/- 1.02 km/s); the lunar distance 384,400 km. This page is a teaching model, not an ephemeris.
What to try
- Load Real Earth and Moon: the trail stays blue and the curvature graph never falls below zero. Compare the two arrows: the orange Sun pull is 2.2 times the blue Earth pull.
- Load Moon 30 % closer: part of the trail turns orange twice per month and the curvature graph dips below zero. The readout shows the threshold distance of 261 thousand km.
- Load Moon exactly at the threshold: the minimum curvature just touches zero at one point per month.
- Run Experiment: pull the Moon inward: the Moon drifts from 1.6 to 0.15 lunar distances and the result line tells you at which distance it first bent away from the Sun, next to the formula value.
- Load Earth 10 times heavier: the Earth pull rises above the Sun pull at the real distance and the path becomes wavy; the threshold moves out to 820 thousand km.
- Switch to retrograde: the threshold does not change, only the pattern of the curvature over the month.
- Drag the magnification slider to 1 to see how little the true path differs from the Earth's orbit.