Fundamentals / Physics / Classical mechanics / Analytical mechanics from constraints to invariants

Kepler orbits, the eccentricity vector and the loss of apsidal closure

An orbit can conserve energy and angular momentum yet gradually rotate its periapsis. The inverse-square problem possesses one more conserved vector that fixes the direction of closest approach. Derive it, turn a single position and velocity measurement into a conic, and measure what a weak perturbation does to the inferred apsidal direction.

Reduce the two-body system without freezing either mass

Two bodies of masses \(m_1,m_2\) have positions \(\mathbf r_1,\mathbf r_2\). Define total mass \(M=m_1+m_2\), centre \(\mathbf R=(m_1\mathbf r_1+m_2\mathbf r_2)/M\), relative coordinate \(\mathbf r=\mathbf r_1-\mathbf r_2\), and reduced mass \(\mu=m_1m_2/M\). Substitution into the kinetic energy cancels the cross terms, giving \(M\dot{\mathbf R}^2/2+\mu\dot{\mathbf r}^2/2\). Newtonian gravitational potential is \(-\kappa/r\) with \(\kappa=Gm_1m_2\). The centre moves uniformly when isolated, while the relative motion obeys \(\mu\ddot{\mathbf r}=-\kappa\hat r/r^2\). Dividing by the reduced mass gives the acceleration parameter \(k=\kappa/\mu=GM\); replacing it by \(Gm_1\) is the test-particle approximation.

Use specific energy \(\epsilon=v^2/2-k/r\) and specific angular momentum \(\mathbf h=\mathbf r\times\mathbf v\), both per unit reduced mass. A central force makes \(\dot{\mathbf h}=0\), fixing the plane of nonradial motion. The area of the triangle swept in time \(dt\) is \(r^2d\varphi/2=h\,dt/2\), yielding the constant areal rate. The radial energy is \(\dot r^2/2+h^2/(2r^2)-k/r\). Its turning points determine the accessible radii, but energy and \(h\) alone cannot specify where the major axis lies in the chosen inertial plane.

Construct a vector whose derivative vanishes

The derivative of \(\mathbf v\times\mathbf h\) is \((-k\hat r/r^2)\times\mathbf h\). Use \(\mathbf h=r^2\dot\varphi\,\hat z\) with an oriented plane in which motion is positive. Since \(\hat r\times\hat z=-\hat\varphi\), the derivative becomes

\[k\dot\varphi\hat\varphi=k\,d\hat r/dt.\]

Consequently the eccentricity vector

\[\mathbf e=\frac{\mathbf v\times\mathbf h}{k}-\hat r\]

is constant. The dimensional Runge–Lenz vector is proportional to this choice: for relative momentum \(\mathbf p=\mu\mathbf v\),

\[\mathbf A=\mathbf p\times\mathbf L-\mu\kappa\hat r=\mu\kappa\mathbf e.\]

Every term in the specific expression is dimensionless. The step equating the derivative to \(k\,d\hat r/dt\) uses exactly the inverse-square radial force. General central forces retain areal velocity but lose this cancellation.

Dot \(\mathbf e\) with \(\hat r\). The triple product \((\mathbf v\times\mathbf h)\cdot\hat r=h^2/r\) gives

\[e\cos(\varphi-\varpi)=h^2/(kr)-1,\]

where \(\varpi\) is the fixed direction of \(\mathbf e\). Thus \(r=p/[1+e\cos(\varphi-\varpi)]\), \(p=h^2/k\), the conic in focus-centred polar coordinates. Squaring \(\mathbf e\) and eliminating \(v^2\) with the energy gives

\[e^2=1+2\epsilon h^2/k^2.\]

Bound ellipses have \(\epsilon<0,e<1\), parabolic escape has \(\epsilon=0,e=1\), and positive energy gives hyperbolas for nonzero angular momentum. Radial trajectories require separate care because their orbital plane and apsidal angle are degenerate.

Recover the orbit from a single state vector

In units chosen so \(k=1\), a measured relative position is \((2,0,0)\) and velocity is \((0.2,0.6,0)\). Compute \(h_z=1.2\), \(\epsilon=(0.04+0.36)/2-1/2=-0.30\), and \(p=1.44\). The cross product \(\mathbf v\times\mathbf h=(0.72,-0.24,0)\) gives \(\mathbf e=(-0.28,-0.24,0)\), with \(e=\sqrt{0.136}\approx0.369\). The direction of periapsis is about \(220.6^\circ\) from the positive \(x\) axis. At the measured point \(\dot r>0\), so the body is travelling from periapsis toward apoapsis. Dropping the radial component of velocity would rotate the eccentricity vector and change the inferred shape.

The semimajor axis is

\[a=-k/(2\epsilon)=1.667.\]

Periapsis and apoapsis radii \(a(1-e)\) and \(a(1+e)\) are approximately \(1.05\) and \(2.28\), consistent with the observed radius of two. The orbital period is \(2\pi\sqrt{a^3/k}=13.52\) time units. Derive this last result by dividing ellipse area \(\pi ab\) by the areal speed \(h/2\). Using \(b=a\sqrt{1-e^2}\) and \(h^2=ka(1-e^2)\) cancels eccentricity exactly. This shows why changing the initial radial velocity can change shape and orientation while the period depends only on binding energy.

Determine time along an ellipse and check limiting cases

Introduce the eccentric anomaly \(E\) by \(x=a(\cos E-e)\), \(y=a\sqrt{1-e^2}\sin E\) in axes centred on the focus, with \(x\) pointing toward periapsis. Then \(r=a(1-e\cos E)\). Compute \(x\,dy-y\,dx=ab(1-e\cos E)\,dE\) and equate it to \(h\,dt\). Integrating from periapsis gives

\[n(t-t_p)=E-e\sin E,\]

where \(n=\sqrt{k/a^3}\). This relation turns orbital geometry into an observation clock. The true anomaly is generally different from the linearly advancing mean anomaly because the body sweeps angle faster at small radius.

For \(e=0.6\) and the time \(t-t_p=T/4\), the mean anomaly is \(\pi/2\). Newton iteration for \(F(E)=E-0.6\sin E-\pi/2\) uses denominator \(1-0.6\cos E\), which stays positive. Starting near \(E=2.0\) yields \(E\simeq2.091\) radians and \(r\simeq1.30a\). The orbit has already moved beyond its semimajor radius at a quarter period. At \(e=0\), \(E\) equals the mean and true anomalies up to an arbitrary origin, and \(\mathbf e=0\) has no definable periapsis direction. Estimating a periapsis angle for a nearly circular noisy orbit is therefore poorly conditioned even when the radius and period are well measured.

Perturb the force and measure apsidal precession

For any central acceleration \(f(r)\hat r\), put \(u=1/r\). Since \(\dot\varphi=hu^2\), radial velocity is \(-h\,du/d\varphi\). Substituting into the radial acceleration gives Binet's equation \(u''+u=-f(1/u)/(h^2u^2)\), where primes denote angular derivatives. Choose \(f(r)=-k/r^2-\alpha/r^3\). Then \(u''+(1-\alpha/h^2)u=k/h^2\). If \(0<\alpha<h^2\), a radial oscillation requires angular advance \(2\pi/\sqrt{1-\alpha/h^2}\), greater than one full turn. Successive periapses advance by that value minus \(2\pi\), approximately \(\pi\alpha/h^2\) for a weak perturbation.

With \(\alpha/h^2=0.010\), the exact precession per radial cycle is approximately \(0.03165\,{\rm rad}=1.81^\circ\). Ordinary energy and angular momentum remain constant in this conservative central potential. The Kepler eccentricity vector evaluated from instantaneous position and velocity now changes. Track periapses using zeros of the radial velocity with positive radial acceleration, then compare their inertial angles. A numerical Kepler integrator can precess even for \(\alpha=0\); refine the time step and repeat the unperturbed control before assigning a small precession to the physical perturbation.

Infer an orbit using quantities that remain well conditioned

Suppose positions and velocities are measured with finite precision. A circular orbit has exact eccentricity vector zero, so even tiny perpendicular perturbations can swing the direction of that vector through large angles. Keep its Cartesian components when computing a fit near circularity. For an initially transverse circular state at radius \(r\) and speed \(v_c=\sqrt{k/r}\), perturb the velocity by radial \(\delta v_r\) and tangential \(\delta v_t\). In the local \((\hat r,\hat\varphi)\) basis the eccentricity components are \(rv_t^2/k-1\) and \(-rv_rv_t/k\). At first order they become \(2\delta v_t/v_c\) and \(-\delta v_r/v_c\). This linear response is well behaved even though taking an inverse tangent to quote periapsis longitude can become meaningless.

For a circular speed of \(10.0\,{\rm m/s}\), radial and tangential measurement errors each of \(0.010\,{\rm m/s}\) correspond to component uncertainties about \(0.0010\) and \(0.0020\). A reported eccentricity of \(0.0012\) is not accompanied by a precise preferred direction under those uncertainties. Repeated orbital samples reduce independent noise but do not remove a persistent tangential velocity bias. Measuring the radius and period independently supplies an additional constraint on \(k\) and the orbital energy. A model that regards the primary as fixed also introduces a systematic mass error when the secondary has non-negligible mass.

At the opposite extreme, a near-parabolic orbit can have a well-defined eccentricity direction but a badly conditioned energy estimate. Its energy is the small difference of \(v^2/2\) and \(k/r\). Since \(a=-k/(2\epsilon)\), a small energy uncertainty produces a very large uncertainty in semimajor axis and period. Report the measured state vector, eccentricity vector and energy uncertainty before interpreting an enormous best-fit period. If the energy uncertainty straddles zero, bounded and unbounded conics are both consistent with the measured data. Integrating a single best-fit ellipse for many revolutions does not resolve that ambiguity.

Calculate the velocity impulse to transfer between circular radii

The same two-body invariants reconstruct a transfer between circular trajectories without requiring a time-stepped simulation. Set a lower radius \(r_1\) and an upper radius \(r_2>r_1\). An ellipse tangent to both has periapsis \(r_1\), apoapsis \(r_2\), semimajor axis \(a_t=(r_1+r_2)/2\), and eccentricity \((r_2-r_1)/(r_2+r_1)\). At either apsis its speed follows from energy:

\[v_t(r)=\sqrt{k(2/r-1/a_t)}.\]

A first instantaneous tangential velocity change moves the particle from its lower circular trajectory to the transfer ellipse. A second tangential change at the opposite apsis matches the upper circular speed. These formulas describe impulses idealised as short compared with the orbital period.

Choose normalised \(k=r_1=1\), \(r_2=2\). Initial speed is one, transfer semimajor axis \(1.5\), and periapsis speed \(\sqrt{4/3}=1.1547\). The first change is \(0.1547\). At the upper radius the transfer speed is \(\sqrt{1/3}=0.57735\), while the circular speed there is

\[1/\sqrt2=0.70711.\]

The second change must also be forward, by \(0.12976\). The flight time between the two impulses is \(\pi\sqrt{1.5^3}=5.77\) time units, half the transfer period. Simply increasing the initial speed until the path reaches radius two does not make it circular upon arrival. Matching position and angular momentum at the final boundary requires the second change.

Verify the energy increment from an impulse independently. A change \(\Delta\mathbf v\) at fixed position gives

\[\Delta\epsilon=\mathbf v\cdot\Delta\mathbf v+|\Delta\mathbf v|^2/2.\]

At the lower radius our impulse raises \(\epsilon\) from \(-0.5\) to \(-1/3\), an increase of \(1/6\). Substitution of the rounded \(0.1547\) gives the same value. The same velocity increment generally changes energy more when applied where the initial speed is larger and aligned with the impulse. This is a statement about mechanical work at different initial states, not an exception to conservation between impulses.

A laboratory analogue uses a central potential engineered over a limited radius range. A small finite-duration tangential push changes radius as well as speed during the push. To check the impulse approximation compute the change in angular momentum as \(\int\mathbf r\times\mathbf a_{\rm applied}\,dt\) and energy as \(\int\mathbf v\cdot\mathbf a_{\rm applied}\,dt\). Compare these with the instantaneous predictions and shorten the pulse while holding its integrated velocity change fixed. If the return radius still drifts, map the force against radius to distinguish a finite-pulse error from an actual deviation from inverse-square attraction.

Continue the time law across the escape boundary

A hyperbolic Kepler orbit can be described without calling a divergent ellipse period a clock. Define a positive hyperbolic length \(a_h=k/(2\epsilon)\) for \(\epsilon>0\), and let \(e>1\). With periapsis on the positive \(x\) axis use \(x=a_h(e-\cosh H)\),

\[y=a_h\sqrt{e^2-1}\sinh H.\]

Then \(r=a_h(e\cosh H-1)\), and the swept-area relation gives

\[t-t_p=\sqrt{a_h^3/k}(e\sinh H-H).\]

The hyperbolic anomaly \(H\) increases monotonically from negative to positive along the passage. At large positive \(H\) the ratio \(dr/dt\) approaches \(\sqrt{k/a_h}=\sqrt{2\epsilon}\), the asymptotic speed predicted by the conserved energy.

At the parabolic boundary \(e=1,\epsilon=0\), put \(D=\tan(\varphi/2)\) with \(\varphi\) measured from periapsis. If \(q_p\) is the periapsis distance, the semilatus rectum is \(p=2q_p\) and \(r=q_p(1+D^2)\). Since \(dt=r^2d\varphi/h\), \(d\varphi=2dD/(1+D^2)\) and \(h=\sqrt{2kq_p}\), integration gives Barker's relation \(t-t_p=\sqrt{2q_p^3/k}(D+D^3/3)\). This expression is finite on either side of the periapsis for finite radius, even as the time to reach infinity diverges. A parabolic passage therefore has an entirely useful local time-of-flight law despite having no period.

For \(k=1\), \(q_p=1\) in scaled units, a parabolic trajectory reaches \(\varphi=90^\circ\) at \(D=1,\ r=2\). Its elapsed time is

\[4\sqrt2/3=1.886.\]

Using the instantaneous angular speed at periapsis for the entire quarter turn would predict \((\pi/2)/\sqrt2=1.111\), much too short. The areal speed stays constant, but angular speed decreases by a factor of four by the time radius has doubled. Integrating \(r^2d\varphi/h\) along the conic captures that slowdown directly.

Near zero energy, formulas involving a semimajor axis of enormous magnitude can lose numerical accuracy through cancellation. For example \(r=a(1-e\cos E)\) involves subtracting two near-equal terms near periapsis in a high-eccentricity ellipse. Expressions in \(q_p=a(1-e)\) and half-angle quantities, such as \(r=q_p+2ae\sin^2(E/2)\), avoid one damaging subtraction. A state-based numerical propagation should preserve angular momentum, compare the periapsis passage time with a quadrature, and test both small positive and small negative energies. Agreement only in the well-bound ellipse regime is a weak test of an algorithm used for near-escape trajectories.

Relate the Runge–Lenz direction to a velocity-space circle

The spatial Kepler conic has a simpler partner in velocity space. In the orbital plane,

\[d\mathbf v/d\varphi=\mathbf a/\dot\varphi=(-k\hat r/r^2)/(h/r^2)=-(k/h)\hat r.\]

Since \(d\hat\varphi/d\varphi=-\hat r\), integration gives

\[\mathbf v=(k/h)\hat\varphi+\mathbf v_c,\]

where \(\mathbf v_c\) is a constant vector. Thus the velocity vector traces a circle of radius \(k/h\), or part of that circle on an unbound orbit. At periapsis a prograde orbit has speed \((k/h)(1+e)\), so the circle centre is shifted in the prograde tangential direction by \(ke/h\). The offset direction is perpendicular to the eccentricity vector.

One can recover \(k/h\) and \(e\) from a set of calibrated velocity samples by fitting a circle in the orbital plane and comparing its radius with the offset of its centre from zero velocity. This method still needs the correct inertial frame: adding a constant observer velocity translates every velocity-space point, moving the fitted centre while preserving the circle radius. A time sequence of relative velocities between the two masses removes a common boost. If the force departs from inverse square, the derivative \(d\mathbf v/d\varphi\) acquires radius dependence and the velocity circle generally distorts. Simultaneously checking the spatial conic and the velocity circle makes a more discriminating test than plotting either shape alone.

Derive which central orbits remain nearly closed

A circular orbit at radius \(r_c\) in a smooth potential per mass \(U(r)\) has \(h^2=r_c^3U'(r_c)\). Its angular frequency obeys \(\Omega^2=U'(r_c)/r_c\). Small radial deviations at fixed \(h\) see the effective potential \(U+h^2/(2r^2)\), so their squared epicyclic frequency is

\[\kappa_r^2=U''(r_c)+3U'(r_c)/r_c.\]

During one radial oscillation the orbital angle advances roughly \(2\pi\Omega/\kappa_r\). If the two frequencies differ, the apsidal orientation generally rotates, even though energy and angular momentum remain constants. This local result distinguishes near-circular closure from the much stronger claim that all bounded orbits close for a given force law.

For an attractive radial acceleration \(-k r^{-s}\), \(U'=k r^{-s}\) and \(\kappa_r^2=(3-s)\Omega^2\). A stable circular orbit requires \(s<3\). For inverse square, \(s=2\), radial and angular frequencies agree, so the apsis returns to its starting orientation each revolution. For an isotropic harmonic potential the force is proportional to \(r\), so \(s=-1\) and \(\kappa_r=2\Omega\). There are two radial minima per full turn; its closed ellipse is centred on the force centre rather than focused there. A rational near-circular ratio at one energy or radius does not by itself prove global closure for all eccentricities. The Runge–Lenz derivation supplied much stronger information for the inverse-square case.

Suppose a weak field calibration drift changes the local logarithmic force slope from \(s=2\) to \(s=1.98\), approximately constant over a narrow radial range. The near-circular radial frequency is \(1.00995\Omega\). Consecutive closest approaches are separated by \(2\pi/\sqrt{1.02}\approx6.221\,{\rm rad}\), giving a retrograde change about \(0.062\,{\rm rad}\) per radial period. The sign is opposite the advance induced by the additional attractive inverse-cube contribution considered before. Estimating the radial oscillation frequency and orbital frequency independently can therefore diagnose deviations that an energy test would miss. At larger eccentricity the sampled force covers a broader radial interval and the local-power approximation must be replaced by the full turning-point integral.

Reconstruct a Kepler ellipse from one state

Vary initial radial and tangential velocity separately. Infer the direction of the eccentricity vector and compare both turning radii with the energy equation.

Use conservation of the eccentricity vector to test an orbital integrator

A code integrating \(\ddot{\mathbf r}=-k\mathbf r/r^3\) can be tested on a moderate ellipse where both apses are well resolved. Choose \(k=1\), semimajor axis \(a=1\), eccentricity \(e=0.6\), and start at periapsis \(\mathbf r=(0.4,0)\), \(\mathbf v=(0,2.0)\). Then \(h=0.8\), \(\epsilon=-0.5\), and the eccentricity vector is exactly \((0.6,0)\). The apoapsis must lie at \((-1.6,0)\) with speed \(0.5\), and the return time is \(2\pi\). This one initial condition tests two-dimensional direction, speed, position and clock against independent invariant predictions.

A kick–drift method for a central force can preserve angular momentum exactly at each substep. A radial kick changes velocity along position and gives zero torque; a free drift changes position along velocity and likewise preserves the cross product. Such a method can nevertheless rotate the eccentricity vector slowly or distort the time of periapsis. A symmetric velocity-Verlet step often produces bounded energy errors but still a systematic numerical periapsis shift. Record the eccentricity vector just after each interpolated periapsis crossing over a fixed number of physical periods and compare its direction as the step is halved. Do not locate a closest approach merely by selecting the nearest stored time sample if that timing error is comparable to the shift under study.

A high-eccentricity orbit requires a smaller near-periapsis time step than its full period alone suggests. At the example periapsis, a local bend time is \(r_p/v_p=0.20\) in the scaled units, about one thirtieth of the period. For \(e=0.95\) at the same semimajor axis it becomes \(0.05/\sqrt{39}\approx0.0080\), almost eight hundred times smaller than the period. A time step that produces a smooth-looking wide ellipse at \(e=0.6\) may skip much of the rapid turning near \(e=0.95\). Refine according to the fastest relevant local dynamics as well as the final integration length.

How could a simulation distinguish a real apsidal advance from an error in fitting the coordinate origin?

Work through the solution

Translate the calculated orbit to a candidate force centre and evaluate both the radial force law and the eccentricity vector at many positions. A constant wrong origin changes the measured radius and radial direction in a phase-correlated way even within a single orbit. A physical perturbation about the true centre can preserve zero torque and produce a gradual cycle-to-cycle change. Check angular momentum about the candidate centre, the direction of the measured acceleration, and convergence under grid or time-step refinement. Several diagnostics are needed because a short arc alone may admit many fitted centres and apsidal directions.

Determine the total mass from a visual binary

If the two bodies can both be resolved, measure their relative semimajor axis \(a\) and period \(T\). Kepler's area relation gives \(M=4\pi^2 a^3/(GT^2)\), the sum of masses. Motion about the common centre divides the same relative semimajor axis in inverse proportion to the masses: \(a_1/a_2=m_2/m_1\). For a visual orbit with \(a_1/a_2=0.50\) and a dynamically inferred total of three mass units, the bodies have masses two and one in those units. An orbit of only one luminous body around an unobserved centre normally supplies fewer independent constraints.

A projected semimajor axis and a measured angular period require additional geometric information before applying the mass law. The apparent ellipse on the sky can be shortened by inclination and the focus of the spatial ellipse does not in general map to a focus of the apparent ellipse. Distances converting an angular semimajor axis to metres enter cubed: an independent distance bias of two percent produces approximately a six-percent mass bias at fixed angular scale and period. This makes the gravitational invariant a sensitive quantitative measurement rather than simply a qualitative statement that the relative trajectory looks elliptical.

Tutorial on orbital inference

A body passes periapsis of an ellipse at \(r_p\) with purely transverse speed \(v_p\). Express its eccentricity in terms of these measurements. Which ambiguity occurs if the apsis has not been identified?

Work through the solution

At an apsis the eccentricity vector is \((r v^2/k-1)\hat r\). At periapsis it points outward along \(\hat r\), giving \(e=r_pv_p^2/k-1\). At apoapsis the coefficient is negative and its magnitude is the eccentricity. A purely transverse velocity identifies a turning point of radius but does not by itself distinguish which apsis without comparing \(v\) with the circular value \(\sqrt{k/r}\) or measuring radial acceleration.

At fixed orbital radius the speed is increased tangentially from circular speed to exactly \(\sqrt2\) times circular speed. What has changed in \(a,e\) and the apsidal interpretation?

Work through the solution

The specific kinetic energy now equals \(k/r\), giving total energy zero. The resulting orbit is parabolic with \(e=1\) and no finite semimajor axis or orbital period. The launch point is periapsis since radial speed is initially zero and the transverse speed exceeds the circular value. Taking the ellipse period formula with a very large fitted \(a\) near this energy boundary makes tiny measurement errors produce enormous period uncertainties.

Two solutions report nearly identical energy histories but their eccentricity vectors rotate in opposite directions as time advances. What can a controlled comparison establish?

Work through the solution

Compute angular momentum and eccentricity vector from positions and velocities using one common force parameter and frame. Run both at decreasing time steps over a fixed physical number of orbits, with the same periapsis event interpolation. If the rotation vanishes under refinement in the inverse-square problem, the original precession was a discretisation effect. If a prescribed conservative non-Kepler term remains present, a finite shift can survive with energy conserved. Energy conservation is one scalar condition and cannot determine the apsidal direction.

Test a state vector and compare the predicted turning radii.

Torsten Fließbach's mechanics course includes dynamics in central potentials.