Course contentsShow

Module 02 · Lesson 1

Two-Body Motion and State Vectors

The two-body model treats a satellite as a point moving under Earth's gravity alone. This lesson covers the gravitational parameter, state vectors, unit discipline, and circular speed and period.

7 minute readUpdated November 23, 2026

Learning objectives

After this lesson you will be able to:

  • State the assumptions of the two-body model and the role of Earth's gravitational parameter
  • Represent an orbit state as position and velocity vectors with an epoch, a frame and units
  • Compute circular orbital speed and period from altitude and check a state vector for plausibility

The simplest useful model

The foundation course explained an orbit as continuous free fall. This lesson puts numbers on that picture with the model that underlies every orbit calculation: two-body motion.

The model makes three assumptions.

  1. The Earth and the satellite are point masses. This is equivalent to treating the Earth as a perfectly uniform sphere.
  2. The gravity between them is the only force acting.
  3. The satellite's mass is negligible compared with the Earth's.

Under these assumptions a satellite in orbit follows a circle or an ellipse that stays fixed in space and repeats forever. No real orbit is that tidy. In low Earth orbit, though, the largest effect the model leaves out is roughly a thousand times smaller than the central pull of gravity, so two-body motion is the right first approximation and the baseline that more accurate models correct.

The gravitational parameter

In the two-body model a satellite at distance r from the center of the Earth accelerates toward that center by mu / r^2. The constant mu is Earth's gravitational parameter, the product of the gravitational constant and Earth's mass:

mu = 398600.4418 km^3/s^2

Three points are worth knowing.

  • It is the only physical constant the model needs. The satellite's mass does not appear. A small satellite and a space station at the same position and velocity follow the same path.
  • It is known very precisely. Tracking satellites measures the product directly, to far more significant figures than the gravitational constant or Earth's mass is known separately. Code should use the product and never multiply the two factors.
  • Every body has its own. The Moon, the Sun and Mars each have a gravitational parameter. A constant named only MU is a defect waiting to be found.

State vectors

The condition of a satellite at one instant is fully described by its position and its velocity, each a vector with three components. Together they form the state vector: six numbers.

In the two-body model those six numbers fix the entire orbit, past and future. Software engineers will recognize the pattern: a state snapshot plus a deterministic transition function. Propagating an orbit means applying that function to move the state forward or backward in time.

Six numbers alone are not usable. A state vector needs three pieces of metadata.

  • Epoch. The instant at which the state is valid, including the time scale it is expressed in. Module 3 explains why "the time" is not a single thing.
  • Reference frame. The origin and the directions of the axes. The same satellite has completely different coordinates in a frame that is fixed relative to the stars and in one that rotates with the Earth.
  • Units. Usually kilometers and kilometers per second, or meters and meters per second.

A well-designed type keeps the metadata with the numbers. Module 4 introduces orbital elements, which are another six numbers that carry the same information in a form that is easier to interpret.

Unit discipline

Astrodynamics texts mostly use kilometers and seconds. Many software libraries use meters. Both are fine. Mixing them is not, and the constant has to match: in meters, mu is 3.986004418e14 m^3/s^2.

Three unit traps recur.

  • Altitude and radius. The formulas use the distance from Earth's center. Operators and requirements usually talk about altitude above the surface. Forgetting to add Earth's radius is one of the most common errors in orbit code. Altitude also depends on which radius was used: the equatorial radius is 6,378.137 km, while the mean radius is about 6,371 km.
  • Degrees and radians. Data products list angles in degrees. Math libraries expect radians.
  • Kilometers and meters. A velocity of 7.6 and a velocity of 7,600 can both look plausible in a log.

The defenses are familiar from handling currency or time zones. Put the unit in the name or the type, such as altitudeKm. Convert at the boundary of the system and use one convention inside. Test with values whose correct answers are known. The Mars Climate Orbiter loss described in the foundation course was a unit mismatch across a software interface.

Circular speed and period

For a circular orbit the two-body model gives two short formulas. Speed is the square root of mu / r. Period is 2 * pi times the square root of r^3 / mu. Both depend only on the radius.

const MU_EARTH = 398600.4418; // km^3/s^2, gravitational parameter of Earth
const R_EARTH = 6378.137; // km, equatorial radius

/** Speed in km/s of a circular orbit at the given altitude in km. */
function circularSpeed(altitudeKm: number): number {
  const r = R_EARTH + altitudeKm; // radius from Earth's center, km
  return Math.sqrt(MU_EARTH / r);
}

/** Period in seconds of a circular orbit at the given altitude in km. */
function circularPeriod(altitudeKm: number): number {
  const r = R_EARTH + altitudeKm;
  return 2 * Math.PI * Math.sqrt(r ** 3 / MU_EARTH);
}

for (const altitudeKm of [400, 35786]) {
  const speed = circularSpeed(altitudeKm);
  const minutes = circularPeriod(altitudeKm) / 60;
  console.log(`${altitudeKm} km: ${speed.toFixed(3)} km/s, ${minutes.toFixed(1)} min`);
}

The output is:

400 km: 7.669 km/s, 92.6 min
35786 km: 3.075 km/s, 1436.1 min

The second period, 1,436.1 minutes, is 23 hours 56 minutes. That is the time the Earth takes to turn once relative to the stars, which is why a satellite at that altitude above the equator appears fixed in the sky.

The explorer below applies the same two formulas: move the altitude slider to see the speed and period of a circular orbit around the Earth at that height.

Altitude, speed and period

Interactive model

Orbital speed
7.67 km/s
Time for one orbit
93 minutes
Orbits per day
15.6
Simplified model: a circular orbit around a spherical Earth, ignoring drag and other small effects. Higher orbits are slower and take longer.

A practical example: sanity-checking a state vector

A ground software team receives state vectors from a satellite's navigation receiver and feeds them to a pass prediction service. After an incident in which a test file in meters reached the service, the team adds a plausibility check at the point of ingestion.

const MU_EARTH = 398600.4418; // km^3/s^2
const R_EARTH = 6378.137; // km

type Vec3 = [number, number, number];
interface StateVector { epochUtc: string; frame: string; r: Vec3; v: Vec3 } // km, km/s

function checkState(s: StateVector): string[] {
  const radius = Math.hypot(...s.r); // km
  const speed = Math.hypot(...s.v); // km/s
  const circular = Math.sqrt(MU_EARTH / radius);
  const escape = Math.SQRT2 * circular;
  console.log(`altitude ${(radius - R_EARTH).toFixed(1)} km, speed ${speed.toFixed(3)} km/s, ` +
    `circular ${circular.toFixed(3)} km/s`);
  const problems: string[] = [];
  if (radius < R_EARTH) problems.push("position is inside the Earth");
  if (radius > 1e6) problems.push("radius is implausibly large - meters passed as km?");
  if (speed >= escape) problems.push("speed is at or above escape speed");
  return problems;
}

const good: StateVector = { epochUtc: "2026-11-23T12:00:00Z", frame: "GCRF",
  r: [-2500.0, 5500.0, 3200.0], v: [-4.98, -4.41, 3.74] };
console.log(checkState(good));
const inMeters: StateVector = { ...good, r: [-2500000, 5500000, 3200000] };
console.log(checkState(inMeters));

The output is:

altitude 458.5 km, speed 7.631 km/s, circular 7.636 km/s
[]
altitude 6830287.7 km, speed 7.631 km/s, circular 0.241 km/s
[
  'radius is implausibly large - meters passed as km?',
  'speed is at or above escape speed'
]

The first vector is about 458 km up and moving within a few meters per second of circular speed, so it describes a nearly circular low orbit. The second has the position in meters, and the check catches it twice.

The check rests on one fact from the two-body model: escape speed at any radius is the square root of two times the circular speed there, and a satellite in a closed orbit is always below it. This does not prove a state vector is correct. It rejects the gross errors of unit and scale that otherwise travel silently into every downstream product.

Circular orbits are a special case. The next lesson extends the model to ellipses and introduces the single relation that links speed to position on any orbit.

Key takeaways

  • The two-body model keeps only Earth's central gravity. It is the baseline that every more accurate model corrects.
  • Earth's gravitational parameter, about 398,600 km^3/s^2, is the only physical constant the model needs, and the satellite's mass drops out.
  • A state vector is six numbers - three of position and three of velocity - and is meaningless without its epoch, reference frame and units.
  • Circular speed is the square root of mu divided by r, where r is measured from Earth's center and not from the surface.

Knowledge check

Check your understanding. These questions are not graded and you can retry as often as you like.

Question 1 of 3· Select one answerA function meant to return circular orbital speed gives about 31.6 km/s for an altitude of 400 km. What is the most likely bug?
Question 2 of 3· Select all that applyA service receives six numbers described as a state vector. What else must it know before the numbers can be used? Select all that apply.
Question 3 of 3· Select one answerWhy does orbit software use Earth's gravitational parameter directly instead of multiplying the gravitational constant by Earth's mass?

0 of 3 questions answered.

Glossary

Two-body model

A model of orbital motion in which the only force is the gravitational attraction between two point masses, here the Earth and a satellite of negligible mass.

Gravitational parameter

The product of the gravitational constant and a body's mass, written mu or GM. For Earth it is about 398,600.4418 cubic kilometers per second squared.

State vector

The position and velocity of a spacecraft at one instant, given as six numbers in a stated reference frame.

Epoch

The instant at which a state vector or other orbit description is valid.

Orbital radius

The distance from the center of the Earth to the spacecraft. It equals altitude plus the Earth radius that the altitude was measured from.

References and further reading

Finished this lesson?

Loading your progress…

Lesson version 1.0.0.