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
Orbital Energy, Escape and the Two-Body Problem
  1. 1Orbital energy and the vis-viva equation
  2. 2Escape speed and open orbits
  3. 3The two-body problem and the barycentre
  1. Space Science and Astronomy
  2. /Orbital Energy, Escape and the Two-Body Problem
  3. /Orbital energy and the vis-viva equation

Course 3.2·Lesson 1 of 3

Orbital energy and the vis-viva equation

A body on an orbit trades kinetic and potential energy, but the total stays E=−GMm/(2a)E = -GMm/(2a)E=−GMm/(2a). It depends only on the size of the orbit. From it comes the vis-viva equation v2=GM(2/r−1/a)v^2 = GM(2/r - 1/a)v2=GM(2/r−1/a)

Lesson 1 of 3Show all lessonsHide
Orbital Energy, Escape and the Two-Body Problem
  1. 1Orbital energy and the vis-viva equation
  2. 2Escape speed and open orbits
  3. 3The two-body problem and the barycentre

Try the code and the simulations beside the lesson.

Faster when lower

Push a satellite forward with its engine, and it climbs to a higher orbit. There it moves more slowly than before. Push it backwards, and it drops and speeds up. The rule behind this odd behaviour is the energy of the orbit.

The energy of a circular orbit

A body of mass mmm at distance rrr from a mass MMM has the potential energy

U=−GMmr\displaystyle U = -\dfrac{GMm}{r}U=−rGMm​

It is negative because we choose U=0U = 0U=0 far away. On a circular orbit v2=GM/rv^2 = GM/rv2=GM/r, so the kinetic energy is

K=12mv2=GMm2r\displaystyle K = \tfrac{1}{2}mv^2 = \dfrac{GMm}{2r}K=21​mv2=2rGMm​

The total is

E=K+U=−GMm2r\displaystyle E = K + U = -\dfrac{GMm}{2r}E=K+U=−2rGMm​

So on a circle E=−KE = -KE=−K and U=2EU = 2EU=2E. A lower orbit has a larger KKK but a more negative EEE. To climb, you must add energy, yet you end up slower.

The energy of an elliptical orbit

A graph of energy per kilogram against distance from the Sun. A rising curve from the bottom left, the potential energy minus GM over r, climbs towards zero at large distance. A horizontal dashed line below zero marks the total energy of a bound orbit, minus GM over 2a. It cuts the curve at the aphelion distance, where all the energy is potential and the planet must turn back. The gap between the dashed line and the curve at any distance is the kinetic energy. A second horizontal line at zero marks a parabolic orbit, and a third line above zero a hyperbolic one; neither ever meets the curve, so those bodies never turn back.

On an ellipse, KKK and UUU change all the time, but their sum does not. Use the two ends of the major axis. Energy gives 12vp2−GM/q=12va2−GM/Q\tfrac{1}{2}v_p^2 - GM/q = \tfrac{1}{2}v_a^2 - GM/Q21​vp2​−GM/q=21​va2​−GM/Q, and the second law gives qvp=Qvaqv_p = Qv_aqvp​=Qva​. Solve the two together, with q+Q=2aq + Q = 2aq+Q=2a. The result is

E=−GMm2a\displaystyle E = -\dfrac{GMm}{2a}E=−2aGMm​

The energy depends on the semi-major axis alone. The eccentricity does not appear.

The vis-viva equation

Put E=12mv2−GMm/rE = \tfrac{1}{2}mv^2 - GMm/rE=21​mv2−GMm/r equal to −GMm/(2a)-GMm/(2a)−GMm/(2a) and cancel mmm:

v2=GM(2r−1a)\displaystyle v^2 = GM\left(\dfrac{2}{r} - \dfrac{1}{a}\right)v2=GM(r2​−a1​)

This is the vis-viva equation, from the Latin for "living force". It gives the speed anywhere on an orbit from the distance and the size of the orbit. It also works backwards: from rrr and vvv at one moment it gives aaa, whatever the direction of motion.

In solar units it is quick to use. A circular orbit at 1 AU1\ \text{AU}1 AU has v=29.79 km/sv = 29.79\ \text{km/s}v=29.79 km/s, so GM⊙=887.3 AU km2/s2GM_\odot = 887.3\ \text{AU km}^2/\text{s}^2GM⊙​=887.3 AU km2/s2, and

v=29.79 km/s×2r−1a\displaystyle v = 29.79\ \text{km/s} \times \sqrt{\dfrac{2}{r} - \dfrac{1}{a}}v=29.79 km/s×r2​−a1​​

The angular momentum

The angular momentum per unit mass, h=rv⊥h = rv_\perph=rv⊥​, is fixed by the size and the shape:

h=GMa(1−e2)\displaystyle h = \sqrt{GMa(1 - e^2)}h=GMa(1−e2)​

So the energy fixes aaa, and the angular momentum then fixes eee. Two numbers set the whole orbit.

Worked example: the Earth at perihelion and aphelion

The Earth has a=1 AUa = 1\ \text{AU}a=1 AU and e=0.0167e = 0.0167e=0.0167. Find its fastest and slowest speeds.

  1. Perihelion. r=0.9833 AUr = 0.9833\ \text{AU}r=0.9833 AU, so vp=29.79 km/s×2/0.9833−1=30.29 km/sv_p = 29.79\ \text{km/s} \times \sqrt{2/0.9833 - 1} = 30.29\ \text{km/s}vp​=29.79 km/s×2/0.9833−1​=30.29 km/s.
  2. Aphelion. r=1.0167 AUr = 1.0167\ \text{AU}r=1.0167 AU, so va=29.79 km/s×2/1.0167−1=29.29 km/sv_a = 29.79\ \text{km/s} \times \sqrt{2/1.0167 - 1} = 29.29\ \text{km/s}va​=29.79 km/s×2/1.0167−1​=29.29 km/s.
  3. Check with the second law. vp/va=1.034v_p/v_a = 1.034vp​/va​=1.034, and Q/q=1.0167/0.9833=1.034Q/q = 1.0167/0.9833 = 1.034Q/q=1.0167/0.9833=1.034. They agree.
  4. Check the end of the minor axis. There r=ar = ar=a, so v=29.79 km/sv = 29.79\ \text{km/s}v=29.79 km/s, the circular speed. The slider below shows this point too.

Move the true anomaly from 0∘0^\circ0∘ to 180∘180^\circ180∘. Where on the orbit is the speed equal to the circular speed at the same distance? What is the distance there?

Practise with new numbers

Try it in Python

The program walks round one orbit and finds the speed at each point in two ways: by vis-viva, and from the two parts of the velocity. Then it checks that the energy and the angular momentum stay the same.

Predict first. Will the angular momentum rv⊥r v_\perprv⊥​ change round the orbit? Then run it. Check with Show the answer.

1. Change e = 0.6 to e = 0.95. How large does the speed get at perihelion?

2. Print the kinetic part v2/2v^2/2v2/2 and the potential part −GM/r-GM/r−GM/r at perihelion and at aphelion. Which one changes more?

Common mistakes

  • Using E=−GMm/(2r)E = -GMm/(2r)E=−GMm/(2r) on an ellipse. On an ellipse the energy is −GMm/(2a)-GMm/(2a)−GMm/(2a). Only on a circle is r=ar = ar=a.
  • Thinking a faster satellite has more energy. A lower orbit is faster but has less total energy.
  • Using the circular speed GM/r\sqrt{GM/r}GM/r​ for an ellipse. Use v2=GM(2/r−1/a)v^2 = GM(2/r - 1/a)v2=GM(2/r−1/a).
  • Expecting the direction of motion to change aaa. The energy, and so aaa, depends only on rrr and the speed.

Remember these

  • U=−GMm/rU = -GMm/rU=−GMm/r, E=−GMm/(2a)E = -GMm/(2a)E=−GMm/(2a); on a circle E=−KE = -KE=−K.
  • Vis-viva: v2=GM(2/r−1/a)v^2 = GM(2/r - 1/a)v2=GM(2/r−1/a).
  • h=GMa(1−e2)h = \sqrt{GMa(1 - e^2)}h=GMa(1−e2)​.
  • In solar units GM⊙=887.3 AU km2/s2GM_\odot = 887.3\ \text{AU km}^2/\text{s}^2GM⊙​=887.3 AU km2/s2.

Check yourself

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

  1. A satellite on a circular orbit has a kinetic energy of 1.6 GJ1.6\ \text{GJ}1.6 GJ. What are its potential and total energies?
  1. Two comets have the same aaa but different eccentricities. Which one has more energy per kilogram?
  1. How fast does an asteroid with a=2 AUa = 2\ \text{AU}a=2 AU move when it is 1 AU1\ \text{AU}1 AU from the Sun?
  1. Why does a satellite speed up when air drag takes energy from it?

References

  • OpenStax University Physics Volume 1, Chapter 13 Gravitation, sections 13.3 Gravitational Potential Energy and Total Energy and 13.4 Satellite Orbits and Energy.
  • H. D. Curtis, Orbital Mechanics for Engineering Students (Elsevier), Chapter 2, The two-body problem.

Enroll free in Orbital Energy, Escape and the Two-Body Problem

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 space probe has just left the Earth's pull…Hard · High School (11–12) · by StemPy Lab
A navigation satellite of mass 1500 kg is first placed on a circular parking orbit 400 km above the…Hard · High School (11–12) · by StemPy Lab
A comet on a long orbit comes to 0.5 AU from the Sun at perihelion and goes out to 30 AU, near…Advanced · High School (11–12) · by StemPy Lab
Next: lesson 2Escape speed and open orbits
← Orbital Energy, Escape and the Two-Body Problem
← PreviousEscape speed and open orbits →

Discussion (0)

Log in to join the discussion.

Loading…

, which gives the speed at any point.
about 30 min1 simulation2 practice questions1 Python program5 questions to check yourself

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

Python Labs (1)

An orbit step by stepPython Lab · by StemPy Lab