# Relative Motion in the Two-Body Problem#

In this section, we will solve the two-body problem in *relative coordinates*, rather than absolute or inertial coordinates. There are several advantages to this approach:

The state vector only has 6 elements instead of 12

We remove the problem of finding an inertial reference frame

We can convert the vector equation for relative motion to a scalar equation which is easier to work with

According to Prussing and Conway [PC13]:

The solution for the allowed relative motion [in the two-body problem] was first obtained by Isaac Newton in 1683. Newton was arguably the first person capable of obtaining it since the solution requires a law of gravitation, a law of motion, and differential calculus, all of which he invented.

pp. 11

## Equation of Relative Motion#

Recall the equation for the position of \(m_2\) relative to \(m_1\), Eq. (14), and repeated here:

where lowercase \(\vector{r}\) indicates that the vector is relative and uppercase \(\vector{R}\) indicates that the vector is absolute.

The equation of motion is derived from (14) by differentiating twice:

The absolute acceleration is found from Eq. (20). Plugging in the results for the two absolute acceleration vectors:

This simplifies to:

We now define a parameter, \(\mu\), called the **standard gravitational parameter**:

The utility of this parameter is mostly for the case where \(m_1 \gg m_2\). Fortunately, this is the case for many practical problems. For instance, human-built devices orbiting around a planet have a much smaller mass than the planet. Thus, if \(m_2\) is the mass of the device and \(m_1\) is the mass of the planet, then \(m_1 + m_2 \approx m_1\) and we can set:

Therefore, we can tabulate values of \(\mu\) for various celestial bodies, as shown in Table 1. To use any of the values here in your code, replace the `× 10^{<number>}`

with `E<number>`

, so `1.32712 × 10^{11}`

becomes `1.32712E11`

.

Notice that the smallest object in Table 1 is Pluto, whose mass is on the order of 10^{22} kg. Any human-made object is currently no more than 10^{6} kg (1,000,000 kg), so there are at least 16 orders of magnitude difference in masses. This justifies the assumptions in Eq. (32).

Celestial Body |
Mass [kg] |
\(\mu\) [km |
---|---|---|

Sun |
1.98842 × 10 |
1.32712 × 10 |

Mercury |
3.30101 × 10 |
2.20319 × 10 |

Venus |
4.86732 × 10 |
3.24859 × 10 |

Earth |
5.97219 × 10 |
3.98600 × 10 |

Moon |
7.34581 × 10 |
4.90280 × 10 |

Mars |
6.41693 × 10 |
4.28284 × 10 |

Jupiter |
1.89852 × 10 |
1.26713 × 10 |

Saturn |
5.68460 × 10 |
3.79406 × 10 |

Uranus |
8.68192 × 10 |
5.79456 × 10 |

Neptune |
1.02431 × 10 |
6.83653 × 10 |

Pluto |
1.46158 × 10 |
9.75500 × 10 |

Returning to Eq. (30) and substituting \(\mu\), we find:

This is a nonlinear, second-order ordinary differential equation. It can be solved analytically, if we can find the constants of integration. There are two vector constants of integration, each of which have three scalar components. Thus, there are six constants of integration that must be determined from the initial conditions.

Note

Interestingly, the roles of \(m_1\) and \(m_2\) can be interchanged by multiplying Eq. (33) by -1. Thus, the motion of \(m_1\) relative to \(m_2\) has the same shape as the reverse. In other words, if you were standing on the Moon, the Earth would appear to be orbiting you!

## Motion Relative to the Center of Mass#

Now, referring to the Motion of the Barycenter, we will find the motion of the masses relative to the center of mass, \(\COG\), of the system. Let \(\vector{r}_1\) and \(\vector{r}_2\) be the position vectors of \(m_1\) and \(m_2\) relative to the center of mass, respectively. We also note that, in this definition, \(\uvec{u}_r\) points in the same direction as \(\vector{r}_2\).

Skipping all the algebra, it turns out that the equation of motion for \(m_2\) relative to \(G\) is:

where

and \(\mu\) is as given previously. Similarly, the equation of motion for \(m_1\) relative to \(\COG\) is:

where

Thus, we can see that all three equations of relative motion:

\(m_2\) relative to \(m_1\), Eq. (33)

\(m_2\) relative to \(\COG\), Eq. (34)

\(m_1\) relative to \(\COG\), Eq. (36)

have the same form, differing only in the constants. The solutions to these equations will all have the same shape! This means that if we find the solution in one reference frame, the solution will be the same shape in any other reference frame.

## Equation of Motion in a Co-moving Frame#

Now we are going to transform Eq. (14) into a more convenient form. Since it is hard to define an inertial reference frame, the vectors \(\vector{R}_1\) and \(\vector{R}_2\) are unknown in general.

In most of the problems that we work with, it is convenient to treat \(m_1\) as the origin of the coordinate system. For example, in solving the motion of a satellite around Earth, we are most interested in where the satellite is relative to Earth. So a reference frame attached to the center of the Earth and moving with the Earth is quite convenient.

A reference frame attached to, and moving with, \(m_1\) is shown in Fig. 12. In this reference frame, the components of \(\vector{r}\) are:

Note that the position here uses lowercase \(x\), \(y\), and \(z\) and does not involve the difference between two absolute coordinates.

We can find the relative velocity and acceleration:

The absolute acceleration is equal to the relative acceleration only in the case where \(\vector{\Omega}\) and \(\dot{\vector{\Omega}}\), the angular velocity and angular acceleration respectively, of the moving reference frame, are zero. Therefore, this reference frame attached to \(m_1\) cannot be rotating.

Using the definition of \(\vector{r}\) from Eq. (38) and \(\ddot{\vector{r}}\) from Eq. (39), we can rewrite the equation of relative motion, Eq. (33):

In the reference frame attached to \(m_1\), Eq. (33) can be solved numerically in exactly the same way as Eq. (20) from Two-Body Equations of Motion in an Inertial Frame. Since the relative position, velocity, and acceleration vectors only have three components (\(x\), \(y\), \(z\), etc.) the state vector will have 6 components instead of 12.