The full
Lagrangian for two interacting particles is L = L_\text{f} + L_\text{int}, where the
free particle part is L_\text{f} = \frac{1}{2} m_1 v_1^2 + \frac{1}{8c^2} m_1 v_1^4 + \frac{1}{2} m_2 v_2^2 + \frac{1}{8c^2} m_2 v_2^4, The interaction is described by L_\text{int} = L_\text{C} + L_\text{D}, where the
Coulomb interaction in
Gaussian units is L_\text{C} = -\frac{q_1 q_2}{r}, while the
Darwin interaction is L_\text{D} = \frac{q_1 q_2}{r} \frac{1}{2c^2} \mathbf v_1 \cdot \left[\mathbf 1 + \hat\mathbf{r} \hat\mathbf{r}\right] \cdot \mathbf v_2. Here and are the charges on particles 1 and 2 respectively, and are the masses of the particles, and are the velocities of the particles, is the
speed of light, is the vector between the two particles, and \hat\mathbf r is the
unit vector in the direction of . The first part is the
Taylor expansion of free Lagrangian of two relativistic particles to second order in
v. The Darwin interaction term is due to one particle reacting to the
magnetic field generated by the other particle. If higher-order terms in are retained, then the field degrees of freedom must be taken into account, and the interaction can no longer be taken to be instantaneous between the particles. In that case
retardation effects must be accounted for. == Derivation in vacuum ==