and the three scalar products and
gives, when magnitude squared of both sides is taken,
Thus the scalar product can be written in terms of the particle masses. The same is true of the other two scalar products.