3.2.3Orbital Mechanics & Astrodynamics

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

1,970 words9 min readdifficulty · medium

What we are deriving


HOW: derivation from first principles

Step 1 — Newton's law for the relative motion

Newton's gravity gives the acceleration of the orbiting body toward the central mass: r¨=μr2r^,μGM.\ddot{\vec r} = -\frac{\mu}{r^2}\,\hat{r}, \qquad \mu \equiv GM.

Why this step? This is just F=ma\vec F = m\vec a with F=GMm/r2F = GMm/r^2 pointing inward (r^-\hat r); dividing by mm removes the orbiting mass, so all bodies follow the same path for given μ\mu.

Step 2 — Angular momentum is conserved (central force)

The specific angular momentum is h=r×r˙\vec h = \vec r \times \dot{\vec r}. Differentiate: dhdt=r˙×r˙+r×r¨=0+r×(μr2r^)=0.\frac{d\vec h}{dt} = \dot{\vec r}\times\dot{\vec r} + \vec r\times\ddot{\vec r} = 0 + \vec r\times\left(-\frac{\mu}{r^2}\hat r\right) = 0.

Why this step? r\vec r and r^\hat r are parallel, so their cross product is zero. Hence h\vec h is constant ⇒ motion is planar, and its magnitude is h=r2θ˙=const.h = r^2\dot\theta = \text{const.}

Step 3 — Substitution u=1/ru = 1/r (the trick that linearizes it)

Working in the plane with polar (r,θ)(r,\theta), the radial acceleration is r¨rθ˙2=μr2.\ddot r - r\dot\theta^2 = -\frac{\mu}{r^2}.

We want rr as a function of θ\theta, not tt. Use h=r2θ˙h = r^2\dot\theta, so θ˙=hu2\dot\theta = h u^2 where u=1/ru=1/r.

Convert time derivatives to θ\theta derivatives. Why? Because θ\theta is monotonic (it always increases), so it's a clean independent variable. r˙=drdθθ˙=ddθ ⁣(1u)hu2=1u2dudθhu2=hdudθ.\dot r = \frac{dr}{d\theta}\dot\theta = \frac{d}{d\theta}\!\left(\frac1u\right) h u^2 = -\frac1{u^2}\frac{du}{d\theta}\cdot h u^2 = -h\frac{du}{d\theta}. Differentiate again: r¨=ddt ⁣(hdudθ)=hd2udθ2θ˙=hd2udθ2hu2=h2u2d2udθ2.\ddot r = \frac{d}{dt}\!\left(-h\frac{du}{d\theta}\right) = -h\frac{d^2u}{d\theta^2}\dot\theta = -h\frac{d^2u}{d\theta^2}\,h u^2 = -h^2 u^2 \frac{d^2u}{d\theta^2}.

Why this step? The uu-substitution turns the nasty 1/r21/r^2 force into a constant, converting a hard nonlinear ODE into a simple linear one.

Step 4 — The linear oscillator equation

Plug r¨\ddot r and rθ˙2=1u(hu2)2=h2u3r\dot\theta^2 = \frac1u (hu^2)^2 = h^2 u^3 into the radial equation: h2u2d2udθ2h2u3=μu2.-h^2u^2\frac{d^2u}{d\theta^2} - h^2 u^3 = -\mu u^2. Divide by h2u2-h^2 u^2: d2udθ2+u=μh2\boxed{\frac{d^2u}{d\theta^2} + u = \frac{\mu}{h^2}}

Why this step? This is the equation of a simple harmonic oscillator with a constant driving term μ/h2\mu/h^2. We know its solution by heart.

Step 5 — Solve and interpret

General solution = particular + homogeneous: u(θ)=μh2+Acos(θθ0).u(\theta) = \frac{\mu}{h^2} + A\cos(\theta - \theta_0). Choose θ0=0\theta_0 = 0 (measure angle from where rr is smallest, i.e. perihelion). Then 1r=μh2(1+ecosθ),eAh2μ.\frac1r = \frac{\mu}{h^2}\bigl(1 + e\cos\theta\bigr), \qquad e \equiv \frac{A h^2}{\mu}. Invert: r=h2/μ1+ecosθ=p1+ecosθ\boxed{\,r = \frac{h^2/\mu}{1 + e\cos\theta} = \frac{p}{1+e\cos\theta}\,}

Why this step? AA is an integration constant set by initial conditions; bundling it into the dimensionless ee gives the standard conic form. p=h2/μp = h^2/\mu falls out automatically.

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

Worked examples


Common mistakes (steel-manned)


Active recall

Recall Quick self-test (cover the answers!)
  • What conserved quantity makes the orbit planar? → angular momentum h\vec h.
  • What substitution linearizes the equation? → u=1/ru=1/r.
  • What is the resulting ODE? → u+u=μ/h2u''+u=\mu/h^2.
  • What is rr when θ=90\theta=90^\circ? → r=pr=p.
Recall Feynman: explain to a 12-year-old

Imagine swinging a ball on a stretchy string around your head, but the string only pulls inward, never sideways. Because it only pulls toward your hand, the ball can never gain or lose its "spin amount" (that's angular momentum) — so it stays in one flat circle of motion. Gravity is exactly that inward-only pull. When we do the math, the ball's path turns out to be a perfectly smooth oval (or circle, or open swoosh). The formula r=p/(1+ecosθ)r=p/(1+e\cos\theta) is just a recipe: tell me the angle θ\theta you're at, and it tells you how far rr you are from the Sun. The number ee decides if the oval is fat or skinny; pp decides how big it all is.


Flashcards

What force property makes orbital angular momentum constant?
It is a central force (Fr^\vec F \parallel \hat r), so r×r¨=0\vec r\times\ddot{\vec r}=0 and h\vec h is conserved.
Define the semi-latus rectum pp in terms of hh and μ\mu.
p=h2/μp = h^2/\mu.
What substitution linearizes the radial equation of motion?
u=1/ru = 1/r, giving u+u=μ/h2u'' + u = \mu/h^2.
What is the full orbit equation?
r=p/(1+ecosθ)r = p/(1+e\cos\theta).
Where is perihelion (closest approach) in this convention?
At θ=0\theta=0, where rmin=p/(1+e)r_{\min}=p/(1+e).
What is rr at true anomaly θ=90\theta=90^\circ?
r=pr=p (the semi-latus rectum).
Relate pp and semi-major axis aa.
p=a(1e2)p = a(1-e^2).
Which eccentricity gives a parabola?
e=1e=1.
What does the constant h=r2θ˙h=r^2\dot\theta physically encode?
Twice the areal velocity (Kepler's 2nd law: equal areas in equal times).
From what point is rr measured in the orbit equation?
From the focus (location of the central mass), not the center.

Connections

  • Kepler's Laws — orbit equation is the first law; h=h=const is the second.
  • Conic Sectionsr=p/(1+ecosθ)r=p/(1+e\cos\theta) is the polar conic about a focus.
  • Specific Angular Momentum h — sets pp and the area-sweep rate.
  • Vis-viva Equation — energy version that pairs with this geometry version.
  • Eccentricity and Orbital Energye=1+2Eh2/μ2e=\sqrt{1+2Eh^2/\mu^2} links shape to energy.
  • Central Force Motion — the general framework this is a special case of.

Concept Map

divide by m

cross product r x r-ddot = 0

implies

gives

radial component

enables substitution

converts t to theta derivs

combine

solve

scale p = h2 over mu

shape e

yields

Newton gravity central force

Acceleration -mu over r2 r-hat

Angular momentum h conserved

Motion is planar

h = r2 theta-dot const

Radial eqn r-ddot - r theta-dot2 = -mu over r2

Let u = 1 over r

Linear oscillator ODE in u

Orbit eqn r = p over 1 + e cos theta

Semi-latus rectum

Eccentricity sets conic

Conic section circle ellipse parabola hyperbola

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, basic idea ye hai: gravity hamesha Sun ki taraf seedha andar khinchti hai — koi sideways force nahi. Aise central force ka ek bada faida hai: angular momentum h=r2θ˙h=r^2\dot\theta constant rehta hai, aur orbit ek hi plane mein flat reh jaati hai. Yahi conservation Kepler ke second law (equal area in equal time) ka asli reason hai.

Derivation ka asli "jugaad" hai u=1/ru=1/r wala substitution. Direct rr ke saath equation nonlinear aur tedhi ban jaati hai, par jab tum u=1/ru=1/r daalte ho aur time ki jagah θ\theta ko independent variable bana lete ho, to equation seedhi simple harmonic oscillator ban jaati hai: u+u=μ/h2u'' + u = \mu/h^2. Iska solution to humein zabani yaad hai — constant plus cosine. Wahi se r=p/(1+ecosθ)r = p/(1+e\cos\theta) nikal aata hai, with p=h2/μp=h^2/\mu.

Formula ka har symbol ka meaning samjho: pp size set karta hai, ee shape (0 = circle, 0–1 = ellipse, 1 = parabola, >1 = hyperbola), aur θ\theta (true anomaly) ye batata hai tum perihelion se kitne angle par ho — aur ye angle focus se measure hota hai, center se nahi. Yahi sabse common galti hai exam mein. Jab θ=0\theta=0, planet sabse paas (rminr_{\min}); jab θ=90\theta=90^\circ, r=pr=p exactly.

Ye matter kyun karta hai? Kyunki ek hi chhoti formula se tum satellites, planets, comets, sabki trajectory predict kar sakte ho — bas pp aur ee chahiye. Spacecraft ki orbit design, planet ki position prediction, sab isi pe khada hai. Isliye derivation ko ratne ke bajaye, u=1/ru=1/r wala flow khud likhke practice karo.

Go deeper — visual, from zero

Test yourself — Orbital Mechanics & Astrodynamics

Connections