Sub topic 14
Two bodies orbiting a common center of mass
This chapter assumes you know Newton's third law, momentum conservation, the circular-orbit result v = sqrt(GM/r), and Kepler's third law from earlier chapters. Those chapters treated the heavy body as fixed. Here we remove that approximation and see what changes.
Why "the planet orbits the star" is not quite true
Newton's third law says the Sun pulls on Jupiter with the same force that Jupiter pulls on the Sun. The Sun is far more massive, so its acceleration is much smaller, but it is not zero. Both bodies move, and they move around a shared point called the barycenter, the center of mass of the pair.
For bodies of mass m₁ and m₂ at positions r₁ and r₂, the barycenter is
R = (m₁r₁ + m₂r₂) / (m₁ + m₂)
The only forces on the pair are their mutual gravitational forces. These are equal and opposite, so the net external force is zero. The total momentum is therefore constant, and the barycenter moves in a straight line at constant speed. In the frame that moves with it, the barycenter sits still at the origin. Every result below uses that frame.
Where the barycenter sits
Let d be the separation of the two bodies. Place the origin at the barycenter. Then m₁r₁ = m₂r₂, and r₁ + r₂ = d, which gives
- r₁ = d · m₂ / (m₁ + m₂)
- r₂ = d · m₁ / (m₁ + m₂)
Here r₁ and r₂ are each body's distance from the barycenter. The heavier body sits closer to it. The ratio of distances is the inverse of the ratio of masses: r₁ / r₂ = m₂ / m₁.
Both bodies complete one orbit in the same time, because the line joining them rotates as a rigid rod. Speed is distance traveled per period, so the speeds follow the same ratio: v₁ / v₂ = m₂ / m₁. The lighter body moves faster.
Reducing to one body: the relative motion
Write the relative position as r = r₂ − r₁. Newton's second law for each body gives
- m₁ r̈₁ = +G m₁ m₂ r̂ / r²
- m₂ r̈₂ = −G m₁ m₂ r̂ / r²
Here r̂ points from body 1 to body 2. Divide each equation by its own mass and subtract the first from the second:
r̈ = −G (m₁ + m₂) r̂ / r²
This is the single-body equation of motion from the earlier chapters, with GM replaced by G(m₁ + m₂). The vector r therefore follows the same conic-section orbits we already derived: ellipse, parabola, or hyperbola. The origin of that orbit is one body, not the barycenter. Each real orbit is the relative orbit scaled down. Body 1 traces the shape scaled by m₂/(m₁+m₂), and body 2 traces it scaled by m₁/(m₁+m₂), both about the barycenter.
The equivalent statement uses the reduced mass
μ = m₁ m₂ / (m₁ + m₂)
The relative coordinate moves as if a single particle of mass μ were attracted by a fixed center with force G m₁ m₂ / r². Note that μ is smaller than either mass. When m₂ ≪ m₁, μ ≈ m₂ and the fixed-center approximation is recovered.
Kepler's third law, corrected
Because only the combination G(m₁ + m₂) appears, the circular-orbit and ellipse results carry over with M replaced by m₁ + m₂:
T² = 4π² a³ / (G (m₁ + m₂))
Here a is the semi-major axis of the relative orbit, which is the separation d for a circular orbit. Kepler's version, T² ∝ a³ with one constant for all planets, holds only when every planet's mass is negligible against the Sun's. The correction is about 0.1% for Jupiter and about 0.0003% for Earth.
The total mechanical energy, measured in the barycenter frame, also keeps its familiar form:
E = −G m₁ m₂ / (2a)
The magnitude of the angular momentum is L = μ · sqrt(G(m₁+m₂) · a(1−e²)). The formula looks different, but it is the one-body result with μ as the mass and m₁ + m₂ as the central mass.
Worked example: Earth–Moon and Sun–Jupiter
The script below computes the barycenter distances and the period for two systems. It also shows the period you would get by treating the heavy body as fixed.
import math
G = 6.674e-11 # m^3 kg^-1 s^-2
# name: (m1 heavy [kg], m2 light [kg], separation a [m], radius of heavy body [m])
systems = {
"Earth-Moon": (5.972e24, 7.348e22, 3.844e8, 6.371e6),
"Sun-Jupiter": (1.989e30, 1.898e27, 7.785e11, 6.957e8),
}
for name, (m1, m2, a, radius) in systems.items():
total = m1 + m2
r1 = a * m2 / total # heavy body's distance from the barycenter
r2 = a * m1 / total # light body's distance from the barycenter
t_fixed = 2 * math.pi * math.sqrt(a**3 / (G * m1))
t_true = 2 * math.pi * math.sqrt(a**3 / (G * total))
print(name)
print(f" barycenter from heavy body's center: {r1 / 1000:.0f} km "
f"({r1 / radius:.2f} heavy-body radii)")
print(f" barycenter from light body's center: {r2 / 1000:.3e} km")
print(f" period, heavy body fixed: {t_fixed / 86400:.2f} days")
print(f" period, both bodies move: {t_true / 86400:.2f} days")For the Earth–Moon system, the barycenter lies about 4,670 km from Earth's center, which is roughly 0.73 Earth radii. It is inside Earth, so Earth wobbles around a point beneath its own surface. The period drops from about 27.5 days (Earth fixed) to about 27.3 days when the Moon's mass is included, which is closer to the observed sidereal month.
For Sun–Jupiter, the barycenter lies at about 1.07 solar radii from the Sun's center. It is just outside the Sun's surface. The Sun therefore circles a point in space once per Jupiter year, about 11.9 years. Astronomers detect planets around other stars through this kind of stellar wobble.
Edge cases and common errors
- Equal masses. The barycenter lies exactly halfway between the bodies, and both trace identical circles of radius d/2 around it. The period is T = 2π sqrt(d³ / (2Gm)).
- Comparing Kepler's constant across systems. The ratio T²/a³ equals 4π²/(G(m₁+m₂)), so it differs between systems with different total mass. It is the same for all planets of one star only because planet masses are tiny compared with the star's mass.
- Which body is at the focus? In the relative orbit, the focus is the origin of r, which is one body. In the barycenter frame, each body's own path has the barycenter at its focus.
- Energy bookkeeping. The kinetic energy in the barycenter frame is the sum ½m₁v₁² + ½m₂v₂², and it equals ½μv_rel². Using only the light body's kinetic energy and ignoring the heavy body's motion leaves out a small part of the total.
- Ignoring barycenter motion. If the pair as a whole drifts, such as the Earth–Moon pair circling the Sun, you must subtract the barycenter's velocity before applying any of the formulas above.
Exercise
Two stars with masses 2M and M orbit each other in circles with a separation of 3 AU. How far is each star from the barycenter, and what is the ratio of their orbital speeds?
Show answer
Barycenter distances follow r₁ = d·m₂/(m₁+m₂) and r₂ = d·m₁/(m₁+m₂). The heavy star (2M) is at r₁ = 3 AU × M/(3M) = 1 AU. The light star (M) is at r₂ = 3 AU × 2M/(3M) = 2 AU. Both share one period, so speed is proportional to distance, and the lighter star moves twice as fast as the heavier one: vlight / vheavy = 2.
Exercise
Why is the Sun-Jupiter period slightly shorter than the period you get by treating the Sun as fixed?
Show answer
The relative orbit obeys Kepler's third law with G(m₁+m₂) in place of GM. Including Jupiter's mass makes the total larger, so the denominator grows and T = 2π sqrt(a³ / (G(m₁+m₂))) gets slightly smaller. Jupiter's mass is about 0.1% of the Sun's, so the period drops by roughly 0.05%.