HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Kepler's Laws and the Geometry of Orbits
  1. 1The ellipse and Kepler's first two laws
  2. 2Newton's form of Kepler's third law
  3. 3Kepler's equation: where is the planet now?
  1. Space Science and Astronomy
  2. /Kepler's Laws and the Geometry of Orbits
  3. /The ellipse and Kepler's first two laws

Course 3.1·Lesson 1 of 3

The ellipse and Kepler's first two laws

A planet moves on an ellipse with the Sun at one focus, not at the centre. The line from the Sun to the planet sweeps out equal areas in equal times, because gravity gives no torque about the Sun. So a planet moves fastest at perihelion.

about 30 min1 simulation2 practice questions
Lesson 1 of 3Show all lessonsHide
Kepler's Laws and the Geometry of Orbits
  1. 1The ellipse and Kepler's first two laws
  2. 2Newton's form of Kepler's third law
  3. 3Kepler's equation: where is the planet now?

Try the code and the simulations beside the lesson.

Eight minutes of arc

For twenty years Tycho Brahe measured the positions of Mars with the naked eye, to about 1′1'1′ (one arcminute). Johannes Kepler tried to fit them with circles. His best circle missed by 8′8'8′, less than a third of the Moon's width. Kepler trusted the data, not the circle. In 1609 he published the answer: the orbit is an ellipse.

The ellipse

An ellipse drawn flat, wider than it is tall. The Sun is a yellow dot at the right-hand focus, and an empty focus is a small open circle at the same distance to the left of the centre. The long axis runs through both foci. Its right end, nearest the Sun, is labelled perihelion, at distance a(1 - e) from the Sun. Its left end is labelled aphelion, at distance a(1 + e). The semi-major axis a is marked from the centre to the right end, the semi-minor axis b from the centre to the top, and the distance ae from the centre to the Sun. A planet P on the upper right of the ellipse is joined to the Sun by a line r, and the angle at the Sun from the perihelion direction to this line is labelled theta, the true anomaly.

Tie the two ends of a loop of string to two pins, and pull a pencil round them. You draw an ellipse. The pins are the two foci. For every point of the ellipse, the distances to the two foci add up to the same length, 2a2a2a.

  • The semi-major axis aaa is half the long axis.
  • The eccentricity eee says how flat the ellipse is. Each focus is at the distance aeaeae from the centre. A circle has e=0e = 0e=0.
  • The semi-minor axis is b=a1−e2b = a\sqrt{1 - e^2}b=a1−e2​.
  • The nearest point to the Sun is perihelion, at q=a(1−e)q = a(1 - e)q=a(1−e). The farthest is aphelion, at Q=a(1+e)Q = a(1 + e)Q=a(1+e).

So a=(q+Q)/2a = (q + Q)/2a=(q+Q)/2 and e=(Q−q)/(Q+q)e = (Q - q)/(Q + q)e=(Q−q)/(Q+q). For an orbit round the Earth we say perigee and apogee instead.

The distance rrr from the Sun depends on the angle θ\thetaθ from the direction of perihelion. Astronomers call this angle the true anomaly. In polar form the ellipse is

r=a(1−e2)1+ecos⁡θ\displaystyle r = \dfrac{a(1 - e^2)}{1 + e\cos\theta}r=1+ecosθa(1−e2)​

At θ=90∘\theta = 90^\circθ=90∘ the distance is p=a(1−e2)p = a(1 - e^2)p=a(1−e2), the semi-latus rectum.

Kepler's first law

Each planet moves on an ellipse with the Sun at one focus. The other focus is empty. Most planets have small eccentricities. The Earth has e=0.0167e = 0.0167e=0.0167, so its orbit would look like a circle on paper. But the Sun sits 0.0167 AU0.0167\ \text{AU}0.0167 AU from the centre, which is 2.50×106 km2.50 \times 10^6\ \text{km}2.50×106 km. Comets often have eee close to 111.

Kepler's second law

An elliptical orbit with the Sun at the right-hand focus. Two shaded wedges have their point at the Sun. The wedge near perihelion, on the right, is short and wide: the planet covers a long arc of the orbit. The wedge near aphelion, on the left, is long and thin: the planet covers a short arc. A note says both wedges have the same area and take the same time, 30 days each.

The line from the Sun to a planet sweeps out equal areas in equal times. Near the Sun the line is short, so the planet must cover a long arc to sweep the same area. So the planet moves fastest at perihelion and slowest at aphelion.

Why is it true? The pull of the Sun always points at the Sun. A force through the Sun has no turning effect (no torque) about the Sun. So the angular momentum L=mrv⊥L = m r v_\perpL=mrv⊥​ stays the same, where v⊥v_\perpv⊥​ is the part of the velocity at right angles to rrr. In a short time dtdtdt the line sweeps a thin triangle of area 12rv⊥ dt\tfrac{1}{2} r v_\perp\,dt21​rv⊥​dt. So the rate of sweeping is

dAdt=L2m\displaystyle \dfrac{dA}{dt} = \dfrac{L}{2m}dtdA​=2mL​

which is constant. The law holds for any force that points at one centre, not only gravity.

At perihelion and aphelion the velocity is at right angles to the radius. So qvp=Qvaq v_p = Q v_aqvp​=Qva​, and

vpva=Qq=1+e1−e\displaystyle \dfrac{v_p}{v_a} = \dfrac{Q}{q} = \dfrac{1 + e}{1 - e}va​vp​​=qQ​=1−e1+e​

Worked example: the orbit of Mars

Mars has a=1.524 AUa = 1.524\ \text{AU}a=1.524 AU and e=0.0934e = 0.0934e=0.0934. Find its nearest and farthest distances, the ratio of its speeds, and how much more sunlight it gets at perihelion.

  1. Perihelion. q=1.524 AU×(1−0.0934)=1.382 AUq = 1.524\ \text{AU} \times (1 - 0.0934) = 1.382\ \text{AU}q=1.524 AU×(1−0.0934)=1.382 AU.
  2. Aphelion. Q=1.524 AU×(1+0.0934)=1.666 AUQ = 1.524\ \text{AU} \times (1 + 0.0934) = 1.666\ \text{AU}Q=1.524 AU×(1+0.0934)=1.666 AU.
  3. The speeds. vp/va=1.0934/0.9066=1.206v_p/v_a = 1.0934/0.9066 = 1.206vp​/va​=1.0934/0.9066=1.206. Mars moves about 21 %21\ \%21 % faster at perihelion.
  4. The sunlight. The flux falls as 1/r21/r^21/r2, so the ratio is (Q/q)2=1.2062=1.45(Q/q)^2 = 1.206^2 = 1.45(Q/q)2=1.2062=1.45. Mars gets 45 %45\ \%45 % more sunlight at perihelion.
  5. Check. q+Q=3.048 AUq + Q = 3.048\ \text{AU}q+Q=3.048 AU, which is 2a2a2a, as it must be.

Set e=0e = 0e=0. Does the planet now move at an even rate? Then try e=0.9e = 0.9e=0.9. For how much of each turn does the planet stay close to the Sun?

Practise with new numbers

Try it in Python

The program finds the nearest and farthest points of four orbits, and the ratios of the speeds and of the sunlight.

Predict first. Which orbit has the smallest b/ab/ab/a, and is Mercury's orbit much flatter than a circle? Then run it. Check with Show the answer.

1. Add an orbit with a = 1.0 and e = 0.5. How do its two speeds compare?

2. Change the comet's eccentricity to 0.95. What happens to the ratio of sunlight?

Common mistakes

  • Putting the Sun at the centre. The Sun is at a focus, at the distance aeaeae from the centre.
  • Mixing up aaa and the distance. The distance changes from a(1−e)a(1 - e)a(1−e) to a(1+e)a(1 + e)a(1+e). It equals aaa only at the ends of the minor axis.
  • Using vp/va=1/(1−e)v_p/v_a = 1/(1 - e)vp​/va​=1/(1−e). The ratio is (1+e)/(1−e)(1 + e)/(1 - e)(1+e)/(1−e), from qvp=Qvaq v_p = Q v_aqvp​=Qva​.
  • Using qvp=rvq v_p = r vqvp​=rv at any point. Only the part of the velocity at right angles to rrr counts. At perihelion and aphelion it is the whole velocity.

Remember these

  • Perihelion q=a(1−e)q = a(1 - e)q=a(1−e), aphelion Q=a(1+e)Q = a(1 + e)Q=a(1+e), semi-minor axis b=a1−e2b = a\sqrt{1 - e^2}b=a1−e2​.
  • r=a(1−e2)/(1+ecos⁡θ)r = a(1 - e^2)/(1 + e\cos\theta)r=a(1−e2)/(1+ecosθ), with θ\thetaθ the true anomaly.
  • Equal areas in equal times: angular momentum is conserved.
  • vp/va=(1+e)/(1−e)v_p/v_a = (1 + e)/(1 - e)vp​/va​=(1+e)/(1−e).

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. An orbit has q=0.40 AUq = 0.40\ \text{AU}q=0.40 AU and Q=1.60 AUQ = 1.60\ \text{AU}Q=1.60 AU. Find aaa and eee.
  1. A planet has a=5 AUa = 5\ \text{AU}a=5 AU and e=0.2e = 0.2e=0.2. How far is the Sun from the centre of the ellipse?
  1. A comet moves at 40 km/s40\ \text{km/s}40 km/s at perihelion, 0.5 AU0.5\ \text{AU}0.5 AU from the Sun. How fast does it move at aphelion, 20 AU20\ \text{AU}20 AU from the Sun?
  1. Would the second law still hold if the force on the planet did not point at the Sun?

References

  • OpenStax Astronomy 2e, Chapter 3 Orbits and Gravity, section 3.1 The Laws of Planetary Motion.
  • OpenStax University Physics Volume 1, Chapter 13 Gravitation, section 13.5 Kepler's Laws of Planetary Motion.

Enroll free in Kepler's Laws and the Geometry of Orbits

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

A comet found by a survey telescope in Chile comes to 0.62 AU from the Sun at perihelion…Hard · High School (11–12) · by StemPy Lab
A student measures the angular diameter of the Sun with a pinhole projector twice in one year…Hard · High School (11–12) · by StemPy Lab
A rocket from the European spaceport in French Guiana puts a communications satellite on an…Advanced · High School (11–12) · by StemPy Lab
Next: lesson 2Newton's form of Kepler's third law
← Kepler's Laws and the Geometry of Orbits
← PreviousNewton's form of Kepler's third law →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.