3.2.3 · D2Orbital Mechanics & Astrodynamics

Visual walkthrough — Orbit equation r = p - (1 + e·cos θ) — derivation from equations of motion

2,609 words12 min readBack to topic

Step 1 — A dot, an arrow, and a pull

WHAT. Picture a tiny planet at some point in space. Draw an arrow from the big central mass (the Sun) out to the planet. That arrow is the position vector : it says "which direction, and how far." Its length is the distance . A little hat, , means "the same direction but shrunk to length 1" — a pure pointer.

WHY. Before we can say how the planet moves, we must name where it is. Everything downstream is written in and , so we earn them first.

PICTURE. The blue arrow is . The short orange arrow along it is (length 1). Gravity — the red arrow — points the opposite way, straight back toward the Sun.

Newton's law, one symbol at a time:

The minus sign is the whole personality of gravity: it never pushes sideways, only back toward the centre. That single fact drives the next step. See Central Force Motion.


Step 2 — Naming position with an angle, and its two natural directions

Before we can talk about "spin" or "how fast the angle sweeps," we must first have an angle. So we set up polar coordinates now — the very first thing we need.

WHAT. In the flat plane the planet moves in, we describe its position with two numbers: the distance from the Sun, and the angle measured from a chosen starting ray. This is the true anomaly. At the planet's location we draw two little unit arrows (each length 1):

  • — the radial unit vector, pointing straight outward from the Sun along .
  • — the tangential unit vector, pointing sideways, exactly ahead in the direction the angle grows.

WHY. Gravity points purely along . If we split every motion into an " part" and a " part," gravity lands entirely in one of them and leaves the other clean. These two arrows are the natural ruler for a central force, so we build them before anything else.

PICTURE. The planet on its curve, the Sun at the origin, the angle swept from the starting ray, and the two perpendicular unit arrows (outward) and (sideways-ahead).


Step 3 — Splitting acceleration into radial and sideways parts

WHAT. Because and rotate as the planet moves, writing acceleration in them produces four pieces (this is the standard polar decomposition). Grouped by direction:

WHY these terms. Each piece has a plain meaning you can feel:

  • — genuinely speeding up or slowing down along the line to the Sun.
  • — the outward "sling" of travelling on a curve (the merry-go-round push). Here means "how fast the angle sweeps"; it is the rate of change of the we just defined.
  • — the angle speeding up or slowing down.
  • — the Coriolis piece: moving in or out while rotating.

PICTURE. The four contributions drawn as small arrows at the planet, colour-split into the two (radial) terms and the two (tangential) terms.

Now apply Newton's law from Step 1. Gravity is pure , zero . Matching the two directions separately:

The sideways equation hands us the conserved "spin" for free. Multiply it by : Look closely: the left side is exactly the time-derivative of (by the product rule, ). So

That constant is the specific angular momentum. We didn't need any 3D machinery — the no-sideways-force equation is the conservation law. See Specific Angular Momentum h and Kepler's Laws (this constant is Kepler's equal-area rule).

Recall Why "specific" and why this equals

"Specific" = per unit mass (we divided out back in Step 1). The cross product measures the area swept per second; in polar form its magnitude works out to exactly , the same . Both routes agree.


Step 4 — The magic swap

We now have two facts to combine: the radial equation , and . But they mix , , and time. We want a clean equation for as a function of alone.

WHAT. Define ("closeness" instead of distance — big = near the Sun). First rewrite the spin law: , so

Now convert from a time-rate into a -rate using the chain rule (below).

WHY the swap. The chain rule says: to know how something changes per second, multiply how it changes per angle by how fast the angle turns. In symbols, for any quantity , We do this because only ever increases (the planet keeps circling one way), so it is an honest independent variable — unlike , which we want gone.

The step-by-step conversion of (each arrow is one small move): Here is itself just the chain rule on ; the two then cancel.

Now differentiate once more to get :

PICTURE. Two curves side by side: dips to a minimum at perihelion (a valley), while peaks there (a hill). The swap flips valleys into hills — and, crucially, turns a bent curve into a plain cosine wave, which is what makes the next step trivial.


Step 5 — The equation becomes a swing

WHAT. Take the radial equation and replace every time-thing with a -thing. We need two substitutions:

  1. (just derived).
  2. : since and , we get .

Substitute both into , and note on the right:

Now simplify one move at a time. Divide every term by (allowed since : the planet is never infinitely far): The first term keeps , the second leaves , the right side leaves the constant . Clean:

WHY this matters. This is the single most famous equation in physics — a simple harmonic oscillator (a mass on a spring, a pendulum for small swings) with a constant push on the right. We chased the -substitution precisely to land here, because we already know this equation's answer by heart.

PICTURE. A mass on a spring: pull it, it oscillates around a rest position offset by the constant force. Here "oscillates" not in time but as goes around — one full swing per orbit. The rest position sits at height .

Term by term:


Step 6 — Reading off the solution, piece by piece

WHAT. The equation is linear, so its full answer is one particular solution plus the general free wobble:

  • Particular: a constant that satisfies it. Try ; then , so , giving . This is the flat "rest line."
  • Homogeneous (free wobble): solve . The functions whose second derivative is minus themselves are exactly and , so the general wobble is for constants .

Add them:

WHY the constants. and are fixed by how the planet was launched. We spend our free choice of by setting — this just decides where we start counting the angle. We put it at the wobble's peak (largest = smallest = closest point = perihelion).

PICTURE. The solution over one orbit: a flat rest line at , a cosine of amplitude riding on it. Peak = perihelion at ; trough = aphelion at .

Now flip back into , one algebraic move at a time. With : Factor out of the right side: Name that dimensionless bundle (the eccentricity). Take reciprocals of both sides: The scale and the shape number fall out for free. Bigger ⇒ bigger ⇒ more lopsided orbit. See Eccentricity and Orbital Energy.


Step 7 — Every shape, every case

WHAT. The one formula secretly contains four different curves, decided entirely by (from Conic Sections):

denominator what happens shape
always everywhere circle
never hits stays finite, closed loop ellipse
as : escapes parabola
hits at some early: flies off hyperbola

WHY. We must check all cases, not just the tidy ellipse. The key question: can the denominator reach zero? Where it does, blows up to infinity and the orbit is open (the body never returns).

  • : since , the denominator is always positive — is always finite — the orbit closes.
  • : at , , denominator exactly at the back. Borderline escape (parabola).
  • : denominator hits at (an angle before ). Beyond that, would go negative — meaningless — so the real path only lives on the arc where the denominator stays positive. That arc is a hyperbola with two "asymptote" directions.

PICTURE. All four curves sharing the same focus (the Sun) and the same , colour-coded, with the runaway arms of the parabola and hyperbola shooting to infinity.


The one-picture summary

Here is the whole journey on one canvas: gravity's inward pull → split into and → the sideways part gives const → the radial part + swap → the spring equation → its cosine solution → the conic. Follow the arrows left to right.

Recall Feynman retelling — the whole walkthrough in plain words

Start with one fact: the Sun pulls the planet straight inward, never sideways. To use that, we set up two little arrows that ride along with the planet — one pointing outward (), one pointing sideways (). We split the planet's acceleration into these two directions. Gravity is entirely outward-inward, so the sideways equation says "no sideways force at all" — and that single line, cleaned up, tells us that can never change. That's the conserved "spin," and it also flattens the whole dance into one plane.

The remaining outward-inward equation is knotty because it mixes distance, angle and time. We play one clever trick: track closeness instead of distance, and ask "where is it at each angle?" instead of "at each second?" The chain rule does the translating. That double swap magically cancels gravity's awkward and hands us the most famous equation in physics: a mass on a spring. A spring's answer is a rest position plus a gentle cosine wobble.

Undo the swap, factor tidily, and that cosine becomes . The size and the shape pop out on their own. Small : a circle or gentle oval. : the planet barely escapes on a parabola. : it's a visitor, swinging past once on a hyperbola and never coming back. One equation, four destinies — all from "gravity only pulls inward."

Recall Rapid self-test
  • Which equation gives const, and how? ::: The tangential (sideways) one, ; times it is .
  • What tool translates into ? ::: The chain rule, with .
  • What does mean? ::: — differentiate twice with respect to .
  • What does buy us? ::: It cancels the force and turns the ODE into , a spring equation.
  • When does the orbit open to infinity? ::: When the denominator can reach , i.e. .