Post · 5 min read· pp. 21–23

Two-Body Equations of Motion in an Inertial Frame

In this section, we will develop the equations of motion for two masses, m1m_1 and m2m_2, each affected by the other’s gravitational pull. Remember that an inertial reference frame may move with constant velocity, but it cannot rotate or accelerate.

The origin of this inertial frame of reference is arbitrary. We don’t specify where the origin of the frame is, only that the frame exists and is inertial. Finding a truly inertial reference frame can be tricky, since picking a fixed location in space is tricky. Even Newton deferred this question!

Relative Position Vector

We will use capital letters to refer to coordinates in the inertial reference frame, XX, YY, and ZZ with unit vectors \uvecI\uvec{I}, \uvecJ\uvec{J}, and \uvecK\uvec{K}, respectively.

Two point masses in an inertial reference frame

Figure 8:The locations of two point masses, m1m_1 and m2m_2, in an inertial reference frame

The position vectors \vectorR1\vector{R}_1 and \vectorR2\vector{R}_2 of two point masses in this reference frame are:

\vectorR1=X1\uvecI+Y1\uvecJ+Z1\uvecK\vectorR2=X2\uvecI+Y2\uvecJ+Z2\uvecK\begin{aligned} \vector{R}_1 &= X_1\uvec{I} + Y_1\uvec{J} + Z_1\uvec{K}\\ \vector{R}_2 &= X_2\uvec{I} + Y_2\uvec{J} + Z_2\uvec{K} \end{aligned}

(13)

Let \vectorr\vector{r} be the vector pointing from m1m_1 to m2m_2, which we also phrase as m2m_2 relative to m1m_1. Then:

\vectorr=\vectorR2−\vectorR1\vectorr=(X2−X1)\uvecI+(Y2−Y1)\uvecJ+(Z2−Z1)\uvecK\begin{aligned} \vector{r} &= \vector{R}_2 - \vector{R}_1\\ \vector{r} &= \left(X_2 - X_1\right)\uvec{I} + \left(Y_2 - Y_1\right)\uvec{J} + \left(Z_2 - Z_1\right)\uvec{K} \end{aligned}

(14)

We also define a unit vector pointing from m1m_1 toward m2m_2:

\uvecur=\vectorrr\uvec{u}_r = \frac{\vector{r}}{r}

(15)

where rr is the magnitude of \vectorr\vector{r}, or the distance between the two masses.

Forces in the Two-Body System

The two masses are acted upon only by their mutual gravitational pull. \vectorF12\vector{F}_{12} is the force exerted on m1m_1 by m2m_2 and \vectorF21\vector{F}_{21} is the force exerted on m2m_2 by m1m_1. By Newton’s third law:

\vectorF12=−\vectorF21\vector{F}_{12} = -\vector{F}_{21}

(16)

Newton’s second law says that the force is equal to the mass times the acceleration:

\vectorF12=m1\vectorR¨1\vectorF21=m2\vectorR¨2\begin{aligned} \vector{F}_{12} &= m_1\ddot{\vector{R}}_1 \\ \vector{F}_{21} &= m_2\ddot{\vector{R}}_2 \end{aligned}

(17)

where \vectorR¨\ddot{\vector{R}} is the absolute acceleration of the subscripted mass. Absolute means that the acceleration is taken relative to an inertial reference frame. This is important because Newton’s second law only applies for absolute accelerations.

Since the only force in this system is the gravitational attraction, the force is also equal to Newton’s law of gravitation, Eq. 1. The force of m2m_2 on m1m_1, F12F_{12}, points in the positive direction of \uvecur\uvec{u}_r. Because of Newton’s third law, as represented by Eq. 16, the force of m1m_1 on m2m_2, F21F_{21}, points in the negative direction of \uvecur\uvec{u}_r. This is shown in Eq. 18:

\vectorF12=Gm1m2r2\uvecur\vectorF21=−Gm1m2r2\uvecur\begin{aligned} \vector{F}_{12} &= \frac{G m_1 m_2}{r^2}\uvec{u}_r\\ \vector{F}_{21} &= -\frac{G m_1 m_2}{r^2}\uvec{u}_r \end{aligned}

(18)

Finding the Equations of Motion

Combining Eq. 17 and Eq. 18, we find:

m1\vectorR¨1=Gm1m2r2\uvecurm2\vectorR¨2=−Gm1m2r2\uvecur\begin{aligned} m_1 \ddot{\vector{R}}_1 &= \frac{G m_1 m_2}{r^2}\uvec{u}_r\\ m_2 \ddot{\vector{R}}_2 &= -\frac{G m_1 m_2}{r^2}\uvec{u}_r \end{aligned}

(19)

Finally, we divide through by the mass on the left side of each equation and replace \uvecur\uvec{u}_r with its definition, Eq. 15 to arrive at the two-body inertial equations of motion:

\vectorR¨1=Gm2\vectorrr3\vectorR¨2=−Gm1\vectorrr3\begin{aligned} \ddot{\vector{R}}_1 &= G m_2 \frac{\vector{r}}{r^3}\\ \ddot{\vector{R}}_2 &= -G m_1 \frac{\vector{r}}{r^3} \end{aligned}

(20)

This is a coupled, nonlinear, vector system of ordinary differential equations.

Finding the System State as a Function of Time

Our goal is now to determine equations that will let us solve for the position, velocity, and acceleration of the two masses as a function of time. We split Eq. 20 into components to find the absolute acceleration of each mass:

X¨1=Gm2X2−X1r3Y¨1=Gm2Y2−Y1r3Z¨1=Gm2Z2−Z1r3X¨2=Gm1X1−X2r3Y¨2=Gm1Y1−Y2r3Z¨2=Gm1Z1−Z2r3\begin{aligned} \ddot{X}_1 &= G m_2 \frac{X_2 - X_1}{r^3} & \ddot{Y}_1 &= G m_2 \frac{Y_2 - Y_1}{r^3} & \ddot{Z}_1 &= G m_2 \frac{Z_2 - Z_1}{r^3}\\ \ddot{X}_2 &= G m_1 \frac{X_1 - X_2}{r^3} & \ddot{Y}_2 &= G m_1 \frac{Y_1 - Y_2}{r^3} & \ddot{Z}_2 &= G m_1 \frac{Z_1 - Z_2}{r^3} \end{aligned}

(21)

Now we have a system of six nonlinear ordinary differential equations. Since the highest order derivative in the system is the second derivative, we need 6 equations * 2nd order = 12 initial conditions to solve the problem. The most convenient set of initial conditions are the six position components and six velocity components of m1m_1 and m2m_2.

These components are called the state vector of the system. This is because when all 12 values are known, the state of the system is completely determined. This happens in two steps:

  1. By using the positions, we can find all the acceleration components using Eq. 21
  2. By integrating the acceleration from step 1 and adding the known velocity components, we can find the absolute velocity

Although these steps can be done by hand, in practice it is more convenient to solve them with a computer, numerically.