Let xa and xb be arbitrary displacements of the masses from their respective equilibrium positions and let xb be greater than xa. Then the extensions of the upper and lower springs are xa and (xb −xa), respectively, and the directions
of the forces acting upon the two masses are as indicated by the arrow heads. The resultant equations of motion are