,

and

vanish because the

vanish at the limits of integration, we obtain

Inside the parentheses are the expressions for the momentum of the whole system, multiplied by