The complete two-body problem can be solved by re-formulating it as two one-body problems: a trivial one and one that involves solving for the motion of one particle in an external
potential. Since many one-body problems can be solved exactly, the corresponding two-body problem can also be solved. for two-body problem; Jacobi coordinates are \boldsymbol{R}=\frac {m_1}{M} \boldsymbol{x}_1 + \frac {m_2}{M} \boldsymbol{x}_2 and \boldsymbol{r} = \boldsymbol{x}_1 - \boldsymbol{x}_2 with M = m_1+m_2 \ . Let and be the vector positions of the two bodies, and
m1 and
m2 be their masses. The goal is to determine the trajectories and for all times
t, given the initial positions and and the initial velocities and . When applied to the two masses,
Newton's second law states that {{NumBlk||\mathbf{F}_{12}(\mathbf{x}_{1},\mathbf{x}_{2}) = m_{1} \ddot{\mathbf{x}}_{1} |Equation }} {{NumBlk||\mathbf{F}_{21}(\mathbf{x}_{1},\mathbf{x}_{2}) = m_{2} \ddot{\mathbf{x}}_{2} |Equation }} where
F12 is the force on mass 1 due to its interactions with mass 2, and
F21 is the force on mass 2 due to its interactions with mass 1. The two dots on top of the
x position vectors denote their second derivative with respect to time, or their acceleration vectors. Adding and subtracting these two equations decouples them into two one-body problems, which can be solved independently.
Adding equations (1) and () results in an equation describing the
center of mass (
barycenter) motion. By contrast,
subtracting equation (2) from equation (1) results in an equation that describes how the vector between the masses changes with time. The solutions of these independent one-body problems can be combined to obtain the solutions for the trajectories and . Let \mathbf{R} be the position of the
center of mass (
barycenter) of the system. Addition of the force equations (1) and (2) yields m_1 \ddot{\mathbf{x}}_1 + m_2 \ddot{\mathbf{x}}_2 = (m_1 + m_2)\ddot{\mathbf{R}} = \mathbf{F}_{12} + \mathbf{F}_{21} = 0 where we have used
Newton's third law and where \ddot{\mathbf{R}} \equiv \frac{m_{1}\ddot{\mathbf{x}}_{1} + m_{2}\ddot{\mathbf{x}}_{2}}{m_{1} + m_{2}}. The resulting equation: \ddot{\mathbf{R}} = 0 shows that the velocity \mathbf{v} = \frac{dR}{dt} of the center of mass is constant, from which follows that the total momentum is also constant (
conservation of momentum). Hence, the position of the center of mass can be determined at all times from the initial positions and velocities.
Displacement vector motion (2nd one-body problem) Dividing both force equations by the respective masses, subtracting the second equation from the first, and rearranging gives the equation \ddot {\mathbf{r}} = \ddot{\mathbf{x}}_{1} - \ddot{\mathbf{x}}_{2} = \left( \frac{\mathbf{F}_{12}}{m_{1}} - \frac{\mathbf{F}_{21}}{m_{2}} \right) = \left(\frac{1}{m_{1}} + \frac{1}{m_{2}} \right)\mathbf{F}_{12} where we have again used
Newton's third law and where is the
displacement vector from mass 2 to mass 1, as defined above. The force between the two objects, which originates in the two objects, should only be a function of their separation and not of their absolute positions and ; otherwise, there would not be
translational symmetry, and the laws of physics would have to change from place to place. The subtracted equation can therefore be written: \mu \ddot{\mathbf{r}} = \mathbf{F}_{12}(\mathbf{x}_{1},\mathbf{x}_{2}) = \mathbf{F}(\mathbf{r}) where \mu is the
reduced mass \mu = \frac{1}{\frac{1}{m_1} + \frac{1}{m_2}} = \frac{m_1 m_2}{m_1 + m_2}. Solving the equation for is the key to the two-body problem. The solution depends on the specific force between the bodies, which is defined by \mathbf{F}(\mathbf{r}). For the case where \mathbf{F}(\mathbf{r}) follows an
inverse-square law, see the
Kepler problem. Once and have been determined, the original trajectories may be obtained \mathbf{x}_1(t) = \mathbf{R} (t) + \frac{m_2}{m_1 + m_2} \mathbf{r}(t) \mathbf{x}_2(t) = \mathbf{R} (t) - \frac{m_1}{m_1 + m_2} \mathbf{r}(t) as may be verified by substituting the definitions of
R and
r into the right-hand sides of these two equations. == Two-body motion is planar ==