PhysicsGrade 10–13 · University

Planetary orbits and Kepler’s laws

Too fast and the planet flies off, never to return. A little slower and it traces an ellipse around the Sun, exactly as Kepler's laws say.

Loading simulation …

What is it about?

The planet is attracted only by the star’s gravitational force FG=GMmr2F_G = G \frac{M m}{r^2}. The simulation does not know about ellipses: it computes acceleration, velocity and position in tiny time steps. Still, exactly Kepler’s orbits appear.

  • First law: planets move on ellipses with the Sun at one focus F1F_1. For every point r1+r2=2ar_1 + r_2 = 2a (aa: semi-major axis, c=a2−b2c = \sqrt{a^2 - b^2}: focal distance, e=cae = \frac{c}{a}: eccentricity). Closest point: perihelion rP=a−cr_P = a - c, farthest point: aphelion rA=a+cr_A = a + c.
  • Second law: the line Sun–planet sweeps out equal areas in equal times, so rPvP=rAvAr_P v_P = r_A v_A (conservation of angular momentum).
  • Third law: for all planets of the same star
T2a3=4π2GM≈2.97⋅10−19 s2m3(Sun)\frac{T^2}{a^3} = \frac{4\pi^2}{G M} \approx 2.97 \cdot 10^{-19}\,\tfrac{\text{s}^2}{\text{m}^3} \quad \text{(Sun)}

With the circular speed vK=GMr0v_K = \sqrt{\frac{G M}{r_0}} (perpendicular start) the orbit is a circle; from the escape speed vF=2⋅vKv_F = \sqrt{2} \cdot v_K on it is open (parabola, hyperbola). At 1 AU: vK≈29.8 kmsv_K \approx 29.8\,\tfrac{\text{km}}{\text{s}}, vF≈42.1 kmsv_F \approx 42.1\,\tfrac{\text{km}}{\text{s}}. The total energy E=12mv2−GMmrE = \frac{1}{2} m v^2 - G \frac{M m}{r} is negative for bound orbits.

Try it

  1. Press Start and compare the speed at perihelion and aphelion. After one orbit the ellipse is divided into areas swept in equal times – compare the bars.
  2. Drag the arrow tip across the rings vKv_K and vFv_F: circle · hyperbola
  3. Watch r1+r2r_1 + r_2: string construction
  4. Measure several orbits in the table: Kepler’s third law · two solar masses

Tasks

Task 1: Earth’s orbit

Find the circular speed at r=1.496⋅1011 mr = 1.496 \cdot 10^{11}\,\text{m} from the Sun (M=1.989⋅1030 kgM = 1.989 \cdot 10^{30}\,\text{kg}) and the period. Load task

Show solution

vK=GMr≈29.8 kmsv_K = \sqrt{\frac{G M}{r}} \approx 29.8\,\tfrac{\text{km}}{\text{s}}, T=2πrvK≈3.16⋅107 s≈365 dT = \frac{2\pi r}{v_K} \approx 3.16 \cdot 10^{7}\,\text{s} \approx 365\,\text{d}.

Task 2: Perihelion and aphelion

rP=1.00 AUr_P = 1.00\,\text{AU}, vP=36.0 kmsv_P = 36.0\,\tfrac{\text{km}}{\text{s}}, rA=2.71 AUr_A = 2.71\,\text{AU}. Find vAv_A, aa and ee. Load task

Show solution

vA=vPrPrA≈13.3 kmsv_A = v_P \frac{r_P}{r_A} \approx 13.3\,\tfrac{\text{km}}{\text{s}}, a=rP+rA2=1.855 AUa = \frac{r_P + r_A}{2} = 1.855\,\text{AU}, e=rA−rPrA+rP≈0.461e = \frac{r_A - r_P}{r_A + r_P} \approx 0.461 (the simulation uses rA=2.7099 AUr_A = 2.7099\,\text{AU} and shows a≈1.85 AUa \approx 1.85\,\text{AU}).

Task 3: Mars

Mars has a=1.524 AUa = 1.524\,\text{AU}. Find its period (Earth: a=1 AUa = 1\,\text{AU}, T=1T = 1 year). Load task

Show solution

T=1.5243T = \sqrt{1.524^3} years ≈1.88\approx 1.88 years. Compare with the table

Ideas for the classroom

  • Use: gravitation and Kepler’s laws in upper secondary school (grades 11–13), from guessing a law to checking it with the table and the log–log graph.
  • Model: point masses, m≪Mm \ll M, only the star’s gravity; leapfrog (Verlet) integration with a fixed time step (energy conserved to better than 10−410^{-4}, angular momentum exactly). Star and planet are not to scale. Planet data: rounded mean orbital elements (JPL, E. M. Standish).
  • Common stumbling blocks: the Sun is at a focus, not at the centre; real planetary orbits are almost circles; the period does not depend on the planet’s mass; the escape speed does not depend on the direction.