The kinetic energy of a rigid system of particles can be formulated in terms of the center of mass and a matrix of mass moments of inertia of the system. Let the system of n particles P_i, i = 1, \dots, n be located at the coordinates \mathbf{r}_i with velocities \mathbf{v}_i, then the kinetic energy is
