The total angular momentum of the body (about the origin) is written
where use has been made of Equation (8.4), and some standard vector identities. (See Section A.4.) The preceding formula can be written as a matrix equation of the form where Here, is called the moment of inertia about the -axis, the moment of inertia about the -axis, the product of inertia, the product of inertia, and so on. The matrix of the values is known as the moment of inertia tensor. Each component of the moment of inertia tensor can be written as either a sum over separate mass elements, or as an integral over infinitesimal mass elements. In the integrals, , where is the mass density, and a volume element. Equation (8.6) can be written more succinctly as Here, it is understood that and are both column vectors, and is the matrix of the values. Note that is a real symmetric matrix; that is, and .In general, the angular momentum vector, , obtained from Equation (8.13), points in a different direction to the angular velocity vector, . In other words, is generally not parallel to .
Finally, although the preceding results were obtained assuming a fixed angular velocity they remain valid, at each instant in time, if the angular velocity varies.