Kepler Orbits: Visualize Elliptical Planetary Motion

simulator beginner ~5 min
Loading simulation...
T ≈ 1.0 year — orbital period for 1 AU semi-major axis around a solar-mass star

A planet at 1 AU from a solar-mass star with eccentricity 0.5 has a period of 1 year. At perihelion (0.5 AU), it moves at ~42 km/s; at aphelion (1.5 AU), it slows significantly — demonstrating Kepler's second law of equal areas in equal times.

Formula

r(θ) = a(1-e²)/(1+e·cos θ)
T = 2π√(a³/GM)
v = √(GM(2/r - 1/a))

Kepler's Laws of Planetary Motion

In 1609, Johannes Kepler published his first two laws of planetary motion in Astronomia Nova, revolutionizing our understanding of the Solar System. His third law followed in 1619. Together, they describe how planets move in elliptical orbits around the Sun, with elegant mathematical precision that Isaac Newton later derived from his law of universal gravitation.

The orbit of any planet is fully described by two numbers: the semi-major axis a (the average distance) and the eccentricity e (how elongated the ellipse is). From these, we can compute everything — the orbital period, the distance at closest approach (perihelion), the farthest point (aphelion), and the velocity at any position.

The Equal-Area Law

Kepler's second law states that a line drawn from the Sun to a planet sweeps out equal areas in equal intervals of time. This has a profound physical consequence: planets move faster when they are closer to the Sun and slower when they are farther away. The simulator visualizes this by shading two wedge-shaped areas — one near perihelion, one near aphelion — that cover equal areas despite their very different shapes.

From Kepler to Newton

Newton showed that Kepler's laws are a natural consequence of an inverse-square gravitational force. The vis-viva equation v = √(GM(2/r − 1/a)) gives the orbital speed at any point, unifying all three of Kepler's laws into a single expression. This equation is fundamental to modern astrodynamics and is used to plan every interplanetary mission.

Eccentricity in the Solar System

Earth's orbit is nearly circular (e ≈ 0.017), while Mercury's is much more eccentric (e ≈ 0.206). Comets like Halley's comet have eccentricities above 0.96, producing dramatically elongated orbits that plunge close to the Sun before retreating to the outer Solar System. The relationship between shape and speed is one of the most beautiful results in classical mechanics.

FAQ

What are Kepler's three laws of planetary motion?

First: planets orbit in ellipses with the Sun at one focus. Second: a line from the Sun to a planet sweeps equal areas in equal times. Third: the square of the orbital period is proportional to the cube of the semi-major axis (T² ∝ a³).

What is the orbit equation?

The polar equation of a Keplerian orbit is r(θ) = a(1-e²)/(1+e·cos θ), where a is the semi-major axis, e is eccentricity, and θ is the true anomaly (angle from perihelion).

How does eccentricity affect an orbit?

Eccentricity ranges from 0 (perfect circle) to just below 1 (extremely elongated ellipse). Higher eccentricity means greater speed variation — the planet moves much faster near perihelion and much slower near aphelion.

What determines orbital velocity?

The vis-viva equation v = √(GM(2/r - 1/a)) gives the orbital speed at any distance r. It depends on the star's mass (M), the current distance (r), and the semi-major axis (a).

Sources

Embed

<iframe src="https://homo-deus.com/lab/orbital-mechanics/kepler-orbits/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub