Fundamentals / Physics / Classical mechanics

Two-body motion and binary masses

Use the motion of both members of a binary to recover the total mass and distinguish the relative orbit from the two individual orbits.

From first principles

Reduce two gravitational accelerations to one observed orbit

Consider two point masses that interact only through Newtonian gravity. The measured relative separation vector is \(\mathbf r=\mathbf r_2-\mathbf r_1\) with magnitude \(r\). Newton’s gravitational force law is the model input; division by each body's own inertial mass gives opposite accelerations of generally different magnitudes:

\[\ddot{\mathbf r}_1=Gm_2\mathbf r/r^3,\]
\[\ddot{\mathbf r}_2=-Gm_1\mathbf r/r^3 .\]

Subtract these equations to find the relative acceleration and add the mass-weighted equations to establish uniform centre-of-mass motion:

\[\ddot{\mathbf r}=-\frac{G(m_1+m_2)}{r^3}\mathbf r,\qquad (m_1+m_2)\ddot{\mathbf R}_{\rm cm}=0 .\]

The axial torque about the focus is zero, so \(\mathbf r\times\dot{\mathbf r}\) is constant. For a circular relative orbit of radius \(a\), the inward acceleration has magnitude \(a(2\pi/P)^2\). Equality with gravity yields

\[P^2=\frac{4\pi^2a^3}{G(m_1+m_2)} .\]

For elliptic motion the same result uses the relative semimajor axis; it follows by combining constant areal speed with the ellipse’s area and angular momentum. Observing only one component's orbit gives its distance from the centre of mass, which is generally smaller than the required relative orbit.

Background · Reduced mass
\[\mu=m_1m_2/(m_1+m_2)\]

The relative coordinate of an isolated two-body system carries this inertia. The centre-of-mass motion remains a separate degree of freedom.

Derivation and applications

Convert an orbital position into a clock reading

The conic equation tells us where the companion can be seen, but not when it passes a particular position. Work in the relative orbit of an isolated Newtonian binary. Let \(a\) denote its semimajor axis, \(e<1\) its eccentricity, and \(b=a\sqrt{1-e^2}\) its semiminor axis. Fix the origin at the occupied focus and the positive \(x\) axis toward pericentre. Parametrize the ellipse by eccentric anomaly \(u\) using a circle stretched along one axis:

\[x=a(\cos u-e),\]
\[y=b\sin u,\]
\[r=a(1-e\cos u).\]

The parameter \(u\) is measured on the auxiliary circle; it usually differs from the observed direction \(\operatorname{atan2}(y,x)\). A short sector about the focus has oriented area \((x\,dy-y\,dx)/2\). Differentiating the parametrization gives the area swept since pericentre:

\[dA=\tfrac12ab(1-e\cos u)\,du,\]
\[A(u)=\tfrac12ab(u-e\sin u).\]

The central gravitational force produces zero torque, so area is swept at a constant rate. A full period \(P\) sweeps the entire ellipse \(\pi ab\). The fraction of a period elapsed since pericentre is therefore \(A(u)/(\pi ab)\):

\[\frac{2\pi(t-t_p)}{P}=u-e\sin u .\]

This is Kepler’s equation, where \(t_p\) is the time of pericentre. Its derivative with respect to \(u\) is \(1-e\cos u>0\), so there is a unique position within one revolution for every time. The circular limit \(e=0\) makes anomaly grow uniformly; the distinction between an auxiliary-circle angle and the observed bearing then disappears.

Worked example

Time the crossing of the semiminor-axis endpoint

Take a visual binary with \(P=8.00\) yr and \(e=0.600\). At the upper endpoint of the minor axis, \(u=\pi/2\), and \(t-t_p=8(\pi/2-0.600)/(2\pi)=1.24\) yr. Exactly one quarter of the geometric parameter range has passed, but the time is considerably shorter than two years. Relative to the focus this endpoint has coordinates \((-0.600a,0.800a)\) and distance \(a\).

Second application

Recover an orbital eccentricity from timed astrometry

A second binary reaches the same geometric point \(2.10\) yr after pericentre in a \(10.0\) yr orbit. Using \(u=\pi/2\) gives

\[e=\pi/2-2\pi(2.10/10.0)=0.251.\]

The implied ratio of apocentre distance to pericentre distance is

\[(1+e)/(1-e)=1.67.\]

A resolved relative orbit with that ratio gives an independent geometric test of the timing determination.

Try it · Kepler timing

Vary the physical parameters in the derived relation. Use the units and assumptions in the readout to connect the curves to the two worked examples. A parameter study can test the forward prediction; the same relation can then be inverted to infer a parameter from a measurement.

OneSimulation laboratory

Measure a period from an orbit

Start from this chapter. Use the sum of the masses in Kepler’s period law. The supplied Earth orbit is the small-secondary-mass limit. Compare its predicted period with upward crossings of the computed trajectory.

Compare recorded OneSimulation runs on this page. To test your own inputs, download the notebook and model files and run the model in an activated OneSimulation environment.

The orbit notebook integrates Cartesian position and velocity. Its upwards crossings of \(y=0\) measure successive revolutions. Run the supplied time-step study, reading the measured period and maximum radius from the 15 s run. Reset the orbital parameters to their original values before each change. Model equations and worked orbit.

  1. Baseline. Use the supplied closest and farthest radii. Check the crossing period against 10.534 h and the largest radius against 42 164 km. Compare the largest relative energy error at steps of 30 and 15 s.
  2. Bring the outer turning point closer. Set apogee = 26.560e6 m, keeping the original perigee. Run from the orbital parameters onward so the initial velocity updates. Predict 5.909 h and a maximum radius of 26 560 km.
  3. Raise the inner turning point. Restore the original apogee and set perigee = earth_radius + 2000e3. The predicted period becomes 11.106 h while the outer radius stays 42 164 km. Check both periods within 0.1% and both maximum radii within 1 km. Record which quantity distinguishes these orbits even when their maximum radius is identical.
Orbits measured from the 15 s trajectory
Perigee altitude / apogee radius (km)Crossing period (s)Maximum radius (km)
250 / 42 16437921.9642164.00
250 / 26 56021273.5726560.00
2000 / 42 16439980.3342164.00
At fixed perigee the lower apogee shortens the measured period from 10.53 to 5.91 hours. At fixed apogee, raising the perigee lengthens the period.
At fixed perigee the lower apogee shortens the measured period from 10.53 to 5.91 hours. At fixed apogee, raising the perigee lengthens the period.
Download experiment files (ZIP) Extract the files together and open spacecraft_kepler_orbit.ipynb in a local OneSimulation environment.
Try it · The transfer-orbit clock

Start with the same 250 km perigee altitude and 42164 km apogee radius as the OneSimulation orbit. Lower the apogee to 26560 km, then restore it and raise the perigee altitude to 2000 km: compare all three periods with the table. This analytical Kepler curve checks the numerical integration; it does not simulate timestep error.

Open the corresponding OneSimulation notebook, code and output

Problem sheet 4 · Reconstruct an orbit from its clock

Read the model setup and preparatory problems

When the moving centre of light hides a binary orbit

A telescope can detect motion without resolving the two stars separately. The reported position is then the centre of their light, whereas Newton's laws evolve the centre of their mass. The difference changes both the inferred scale and the interpretation of a missing astrometric signal.

Derive the observable before fitting a gravitational orbit

Let \(\mathbf r=\mathbf r_2-\mathbf r_1\) be the companion's position relative to the primary and let \(B=M_2/(M_1+M_2)\). In the centre-of-mass frame the condition \(M_1\mathbf r_1+M_2\mathbf r_2=0\) gives

\[\mathbf r_1=-B\mathbf r,\]
\[\mathbf r_2=(1-B)\mathbf r.\]

For a linear detector and overlapping symmetric images, their combined intensity centroid is the flux-weighted mean. Denoting by \(\beta=L_2/(L_1+L_2)\) the fraction of light in the instrument's particular wavelength band, substitute the two barycentric positions to obtain

\[\mathbf r_{\rm light}=(1-\beta)\mathbf r_1+\beta\mathbf r_2=(\beta-B)\mathbf r .\]

For a circular relative orbit of radius \(a\) viewed at inclination \(i\), choose the line of nodes as the sky \(x\) axis. Projection makes the apparent relative coordinates proportional to \((\cos\theta,\cos i\sin\theta)\). Its major semiaxis stays \(a\); its minor semiaxis becomes \(a|\cos i|\). An unresolved instrument measures the same ellipse scaled by \(|\beta-B|\). Its apparent angular major semiaxis in milliarcseconds is \(1000|\beta-B|a_{\rm AU}/D_{\rm pc}\). A sign change makes the observed motion shift by half a cycle relative to a phase reference.

Projected circular orbits for each star and the unresolved photocentre next to the signed angular size as the companion's fraction of the total light changes.Open full-size diagram
The dots mark one common orbital phase. At equal mass and light fractions the photocentre stays at the origin even though both stars move.
Try it · Photocentre

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Download the corresponding editable notebook. The browser recalculates the reduced equations directly; the notebook exposes the full calculation and its checks.

Take \(a=1\) AU and distance 20 pc. A resolved relative orbit would span 50 mas in semimajor axis. If the companion carries 30 per cent of the mass but only 10 per cent of the light, the measured centroid semiaxis is 10 mas. The primary alone would instead travel with a 15 mas semimajor axis. Treating the centroid as the primary underestimates its displacement in this observation. If \(\beta=B\), the centroid remains at the barycentre for every orbital phase. Better positional precision alone cannot recover an orbit from that observable in the ideal model.

Try changing the light fraction in the notebook while keeping the masses fixed. A hotter companion may contribute a larger fraction in a bluer band, changing the inferred orbit from one filter to another without changing any gravitational force. A variable or eclipsed light source makes \(\beta\) time dependent; the centroid no longer traces a simple uniformly scaled Kepler orbit. Changes of brightness and orbital acceleration then need to be fitted together.

Two filters measure centroid semiaxes of 10 and 5 mas for the same 1 AU, 20 pc binary. If the second filter has \(\beta=0.20\), can its astrometry alone fix the companion mass fraction?

Work through the solution

The second amplitude fixes \(|0.20-B|=5/50=0.10\), giving \(B=0.10\) or \(0.30\). Its unsigned amplitude loses the sign of the orbital phase. With the first filter's known \(\beta=0.10\) and nonzero 10 mas amplitude only \(B=0.30\) survives. A signed velocity or resolved orbital phase could also discriminate between the two branches.

Recover both turning radii from a single position and velocity

Choose length and time units so that the measured initial separation and the gravitational parameter are both one. Resolve the measured velocity into its radial component \(v_r\) and its tangential component \(v_t\). The specific angular momentum is \(h=v_t\), and specific energy is

\[E=(v_r^2+v_t^2)/2-1.\]

Working in the plane with the initial separation along \(+x\), the eccentricity vector is \((h^2-1,-h v_r)\) and has magnitude \(e\). Its direction is the direction of closest approach. The entire ellipse follows from \(r(\phi)=h^2/[1+e_x\cos\phi+e_y\sin\phi]\).

Try \(v_t=1,\ v_r=0\), then change only the radial velocity. The first case is a circle with no distinct pericentre direction. Reversing the radial velocity in the second case reflects the direction of the apses but leaves their radii unchanged. Confirm both turning radii independently by setting radial velocity to zero in the energy equation.

Remove the motion of the whole system

Two stars pull on each other. Fixing one star at the origin would be a poor approximation for comparable masses, but the central-force calculation can still be made exact within Newtonian gravity. Take masses \(m_1,m_2\), inertial positions \(\mathbf r_1,\mathbf r_2\) and relative vector \(\mathbf r=\mathbf r_2-\mathbf r_1\). Assume spherical bodies or sufficiently large separation that departures from point-mass gravity can be neglected. Internal forces cancel when the equations of motion are added. With no external forces, the centre of mass moves uniformly.

Subtract the two accelerations instead. The relative coordinate obeys \(\ddot{\mathbf r}=-G(m_1+m_2)\mathbf r/r^3\). The familiar one-centre orbit therefore applies to the separation vector if the gravitational parameter uses the total mass. In the centre-of-mass frame the individual positions are \(\mathbf r_1=-(m_2/M)\mathbf r\) and \(\mathbf r_2=(m_1/M)\mathbf r\), with \(M=m_1+m_2\). The bodies reach closest approach together while each describes its own scaled ellipse. Confusing either individual semimajor axis with the relative semimajor axis changes the mass inferred from timing.

Account for the relative energy

Write each velocity in terms of the centre-of-mass velocity and \(\dot{\mathbf r}\). Their kinetic energies separate into \(M V^2/2+\mu_r|\dot{\mathbf r}|^2/2\), where \(\mu_r=m_1m_2/M\) and the squared speed is the full squared relative velocity. The interaction energy is \(-Gm_1m_2/r\). Dividing the relative energy by \(\mu_r\) recovers the specific potential \(-GM/r\). For a bound relative ellipse, its semimajor axis \(a\) fixes the relative orbital energy at \(-Gm_1m_2/(2a)\). The energy of the centre of mass can be changed by a uniform frame change without changing any internal separation or phase.

A complete relative orbit sweeps area \(\pi a^2\sqrt{1-e^2}\). With constant areal rate and the inverse-square conic relation this gives

\[P^2=4\pi^2a^3/(GM).\]

Two independent measurements, physical semimajor axis and period, determine the sum of the masses. A third measurement, such as the two individual orbit sizes or speeds in the centre-of-mass frame, determines their ratio.

Read a visual binary

Suppose the relative orbit is circular with radius 2.00 astronomical units and period 2.00 years. In units where a one-year circular orbit at one astronomical unit corresponds approximately to one solar mass, the total mass is \(2^3/2^2=2.00\) solar masses. If the more massive component moves on a circle of radius 0.50 astronomical units, the other radius is 1.50 astronomical units. The mass ratio is inverse to the radii, so the components have masses 1.50 and 0.50 solar masses.

A telescope measures an angular separation on the sky; obtaining lengths requires a distance and an orbital inclination model. In a spectroscopic binary each Doppler amplitude measures a projected speed, so their ratio can reveal the mass ratio even before the inclination is known. An independent inclination is needed to turn those projected speeds into absolute masses. This illustrates why a clean period estimate can coexist with a substantial mass uncertainty. For a nearly negligible secondary mass the same relative equation underlies the orbit experiment.

Derive the shape from angular momentum and the force

The period–mass law uses a bound orbit's overall dimensions. A central-force observation can also recover the shape locally. In the relative two-body problem write \(h=r^2\dot\theta\) for the specific angular momentum and \(\mu_g=G(m_1+m_2)\). The radial equation is

\[\ddot r-r\dot\theta^2=-\mu_g/r^2.\]

Introduce the reciprocal radius \(u=1/r\) and differentiate with respect to the polar angle instead of time. Because \(\dot\theta=h u^2\), the radial velocity becomes

\[\dot r=-h\,du/d\theta.\]

Differentiating once more gives

\[\ddot r=-h^2u^2d^2u/d\theta^2.\]

The geometric acceleration term is \(r\dot\theta^2=h^2u^3\). Combining the terms leaves a linear equation despite the nonlinear time evolution,

\[\frac{d^2u}{d\theta^2}+u=\frac{\mu_g}{h^2},\]
\[r=\frac{p}{1+e\cos(\theta-\theta_p)},\]
\[p=\frac{h^2}{\mu_g}.\]

Two integration constants determine the eccentricity and the direction of closest approach. Choose that direction as zero angle. In a bound ellipse the minimum and maximum radii are \(r_p=p/(1+e)\) and \(r_a=p/(1-e)\). Solving these two geometric equations gives

\[e=(r_a-r_p)/(r_a+r_p),\]
\[p=2r_ar_p/(r_a+r_p).\]

Their arithmetic mean is the semimajor axis. This construction separates what can be inferred from images alone from what requires a gravitational mass or a time measurement.

Reconstruct speed away from either turning point

Suppose a resolved relative orbit has nearest separation 2.00 AU and farthest 6.00 AU. Use an independently known \(\mu_g=4\pi^2\) AU³/yr². The semimajor axis is 4.00 AU, eccentricity \(0.500\) and semilatus rectum 3.00 AU. Specific angular momentum is \(\sqrt{\mu_gp}=10.88\) AU²/yr, so at right angles to periapsis the separation is 3.00 AU and transverse velocity is \(h/r=3.63\) AU/yr.

The orbit is still moving outward there. Differentiating the reciprocal-radius solution gives \(\dot r=(\mu_g/h)e\sin\theta=1.81\) AU/yr. Its total relative speed is \(\sqrt{3.63^2+1.81^2}=4.06\) AU/yr, about 19.2 km/s. Independently the energy relation predicts \(v^2=\mu_g(2/r-1/a)=16.45\) AU²/yr², consistent to rounding. An image sequence can test the transverse speed and the outward sign separately. If the two measured turning radii coincide the eccentricity vanishes, the reconstructed radial velocity is zero at every angle and the orientation \(\theta_p\) becomes unobservable. Nearly circular orbit fits therefore determine a radius more reliably than a direction of periapsis.

The time information missing from a still image can be recovered by integrating the areal law. An area element swept from the focus is \(dA=r^2d\theta/2\); its rate is therefore \(h/2\). The total ellipse area is \(\pi ab\), with semiminor axis \(b=a\sqrt{1-e^2}\). For the reconstructed orbit \(b=3.46\) AU and the swept area is \(43.5\) AU² each revolution. Dividing by \(h/2=5.44\) AU²/yr yields a period of \(8.00\) years, independently matching the orbital-period relation from the semimajor axis. Equal angle intervals around the orbit generally correspond to very unequal time intervals because swept areas also depend on separation.

If only projected separations on the sky are available, this reconstruction needs an inclination or a full orbital fit first. Projecting an inclined ellipse does not in general preserve its true periapsis and apoapsis distances from the focus.

Where does an eccentric binary spend its time?

Observe binaries with the same semimajor axis and total mass at uniformly spaced times. The area law gives

\[dt/d\nu=r^2/h.\]

Divide by \(T/(2\pi)\) so the average over one revolution is one for every curve.

Where does an eccentric binary spend its time?. Horizontal axis: True anomaly from periapsis (degrees). Vertical axis: Time per angle / circular value. Data follow the figure.
At eccentricity 0.6 the density of observations per degree is sixteen times larger at apoapsis than at periapsis. A histogram heavily weighted toward one end of an ellipse can therefore be consistent with a constant observation cadence.
Try it · Orbital dwell

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Read values from the plot
Time per angle / circular value at selected values of True anomaly from periapsis (degrees).
True anomaly from periapsis (degrees)Eccentricity 0Eccentricity 0.3Eccentricity 0.6
010.513660.2
9010.868080.512
18011.77163.2
27010.868080.512
36010.513660.2

Download all 361 plotted samples (CSV)

Study the full derivation

Kepler orbits, the eccentricity vector and the loss of apsidal closure · Analytical mechanics from constraints to invariants

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.