Lawfare Group → Knowledge Institute → Lawfare Academy
← Astrophysics I: Orbits, Radiation, and Stars
Unit 1
Derive and solve the Kepler orbit
Learning objectives
- Derive the orbit form from conserved angular momentum.
- Determine bound or unbound motion from energy.
- Solve for position as a function of time on an ellipse.
For two Newtonian point masses, separate the inertial center-of-mass motion from their relative position vector r. The relative acceleration is −μr/r³, with μ = G(m₁ + m₂). Because the acceleration is central, its torque per unit reduced mass is zero, and the specific angular momentum vector h = r × v is constant. A nonzero h fixes the orbital plane and gives dA/dt = |h|/2. The specific energy ε = v²/2 − μ/r is also conserved. These invariants are expressed per unit reduced mass and set useful checks in a numerical trajectory.
Use the polar angle f measured from periapsis, so h = r²df/dt in the chosen orientation. Substituting u = 1/r into the radial equation yields d²u/df² + u = μ/h². Its solutions have r = p/(1 + e cos f), with p = h²/μ and e² = 1 + 2εh²/μ². For ε < 0 and h ≠ 0, the ellipse has semimajor axis a = −μ/(2ε) and p = a(1 − e²). The circular case has e = 0 and no distinguished periapsis. At ε = 0 the nonradial orbit is parabolic. At ε > 0 it is hyperbolic. If h = 0, handle radial motion separately. Given position and velocity, the eccentricity vector (v × h)/μ − r/r gives the periapsis direction when e > 0.
For an ellipse, the mean motion n = √(μ/a³) gives period T = 2π/n. This is Kepler’s period law, with the total mass supplying the two-body scale. Mean anomaly M = n(t − tₚ) measures elapsed time since periapsis in angular units. It is not the geometric polar angle f. The eccentric anomaly E obeys M = E − e sin E. Solve its residual by iteration or a bracketed root method. Compute r = a(1 − e cos E) and f using atan2(√(1 − e²) sin E, cos E − e). For a hyperbola, use positive length A = μ/(2ε), n = √(μ/A³), and M = e sinh H − H with r = A(e cosh H − 1). In the parabolic limit time can instead be found with D = tan(f/2) and t − tₚ = ½√(p³/μ)(D + D³/3). These are separate conic time equations. The elliptic E equation cannot simply be used for an unbound trajectory.
To recover vectors, take the periapsis direction as one unit basis vector and the orthogonal direction in the orbital plane as the other, oriented by h. Resolve the position into r cos f and r sin f on that basis. If h vanishes, the motion is radial and the conic direction formulas are singular. Along an incoming or outgoing radial branch, integrate dt = ±dr/√[2(ε + μ/r)] and respect any radial turning point where the square root vanishes. A point-mass collision at r = 0 is singular, so the physical model cannot itself describe what happens through a real encounter.
Compare the result with initial position, elapsed time, and the energy and angular-momentum invariants. Perturbations from third bodies, extended mass distributions, or relativistic effects can break the ideal prediction. An ephemeris may include influences absent from a two-body exercise, so a disagreement is not automatically a numerical error.
Apply the idea
Use dimensionless units with μ = 1. At periapsis r = 0.5 and transverse speed √3, with zero radial speed.
Find ε, h, a and e. Then compute M and r at E = π/2 and identify f. Use the computational workbook to solve backward from M.
Read the worked reasoning
ε = 3/2 − 2 = −1/2 and h = √3/2. Thus a = 1 and e² = 1 − 3/4 = 1/4, so e = 0.5. At E = π/2, M = π/2 − 0.5, r = 1, and atan2(√0.75, −0.5) gives f = 120°. Since n = 1, elapsed time equals M in the adopted time units.
Check understanding
A nonradial body has positive specific energy in the ideal two-body model. Which orbit is possible?
- A hyperbola
Feedback
For nonzero angular momentum, positive energy gives e greater than one and an unbound hyperbola.
- A bound ellipse with a longer period
Feedback
A bound ellipse has negative specific energy and a real period.
- A circle with an arbitrary eccentricity
Feedback
Circles have eccentricity zero and negative specific energy.
Further reading
Compare the two-body representation with the notes on coordinate conventions and fitted ephemerides in JPL Horizons.