A robot component's inertia record can contain three diagonal numbers and three independent off-diagonal numbers. Deleting the off-diagonal terms makes the file simpler, but generally changes the represented mass distribution. Those entries can determine whether angular momentum points along the angular-velocity vector.
The distinction matters when moving an inertia description between CAD axes, a simulation link frame, and principal axes. A diagonal inertia matrix in one orientation does not normally remain diagonal after its axes are rotated.
Modern Robotics describes symmetric rotational inertia matrices, angular momentum, energy, and principal axes. MIT's inertia-tensor lecture explicitly distinguishes the matrix entries from products of inertia defined with a separate minus sign. The following mass arrangement and calculations are original hypothetical constructions, not measurements or validation of a robot model.
Define the entries before using their names
Use a right-handed Cartesian frame at the center of mass. Represent positions, angular velocity, and angular momentum in that same frame. For point masses, define the inertia matrix directly as the sum of m[(r dot r)I − rr transpose]. Here I denotes the identity matrix, not a scalar moment.
This definition gives diagonal entry Ixx = sum of m(y² + z²), while the actual xy matrix entry is minus the sum of mxy. The xz and yz entries follow the same convention.
Some references call the unsigned integral of xy the product of inertia and place its minus sign explicitly in the matrix. Other data descriptions label the signed matrix entry itself. A label such as Ixy is therefore insufficient without the associated convention. In this article, every displayed off-diagonal value is the actual signed matrix entry.
Construct a small mass model
Invent four one-kilogram point masses connected by ideal massless rigid links. Their coordinates, in meters, are (0.20, 0.10, 0), (−0.20, −0.10, 0), (0, 0, 0.10), and (0, 0, −0.10).
Opposite pairs put the center of mass at the origin. The total mass is four kilograms. This idealized collection is used only to make the matrix calculation transparent; it is not a proposed manufactured component.
The first pair contributes 0.02 to Ixx, 0.08 to Iyy, 0.10 to Izz, and −0.04 to each xy off-diagonal entry, all in kilogram meter squared. The second pair adds 0.02 to both Ixx and Iyy, with zero contribution to Izz or the off-diagonal entries.
The combined matrix has rows:
(0.04, −0.04, 0)
(−0.04, 0.10, 0)
(0, 0, 0.10),
in kilogram meter squared. The equal xy and yx entries express symmetry. The negative entries are consistent with positive rotational energy; positive definiteness does not require every individual entry to be positive.
Angular momentum can point sideways
For rotation about the center of mass, angular momentum is H = Iω. Choose angular velocity ω = (1, 0, 0) radians per second. Matrix multiplication gives H = (0.04, −0.04, 0) kilogram meter squared per second.
Although angular velocity has no y component, angular momentum has a negative y component. Replacing the matrix by only its diagonal would instead give (0.04, 0, 0), changing the vector.
This does not imply that a stationary body begins moving sideways. Angular momentum is a rotational quantity. Nor is H itself the applied torque. Computing torque requires the time evolution of angular momentum with the appropriate frame derivatives; a single instantaneous multiplication does not supply that evolution.
The useful conclusion is narrower: an arbitrary rotation axis need not be a principal axis, and angular momentum need not be parallel to angular velocity.
Cross terms change energy as well
Rotational kinetic energy about the center is T = one half ω transpose Iω. For ω = (1, 1, 0) radians per second, the quadratic expression is 0.04 + 0.10 − 0.08, giving T = 0.03 joule.
The two symmetric off-diagonal entries together produce the −0.08 cross contribution. Including only one would be another bookkeeping error. Using the diagonal alone would give 0.07 joule.
Now choose ω = (1, −1, 0). Its magnitude is still the square root of two radians per second, but the cross contribution changes sign. Energy becomes one half of 0.04 + 0.10 + 0.08, or 0.11 joule.
Equal angular-speed magnitudes do not establish equal rotational energy for an anisotropic body. The direction relative to the mass distribution matters. The off-diagonal terms encode part of that direction dependence in the chosen axes.
Find axes that make the matrix diagonal
For this constructed matrix, the principal moments are 0.02, 0.12, and 0.10 kilogram meter squared. Corresponding unit principal-axis vectors, expressed in the original frame, are (2, 1, 0)/√5, (−1, 2, 0)/√5, and (0, 0, 1).
Let R have those vectors as its columns. It is a proper orthogonal rotation matrix. The principal-axis matrix is R transpose I R, which is diagonal with those three moments. Angular-velocity components must also change: ωprincipal = R transpose ωoriginal.
For the earlier ωoriginal = (1, 0, 0), the new components are (2/√5, −1/√5, 0). Computing energy with the diagonal matrix gives one half of [0.02 × 4/5 + 0.12 × 1/5] = 0.02 joule, matching the original-frame calculation.
A coordinate change preserved the physical energy. Simply deleting entries while keeping the old components would not perform that coordinate change.
Retain the reference point too
The calculations kept the origin at the center of mass. Rotating axes and translating their origin are different operations. A principal-axis rotation does not, by itself, transfer inertia to a flange or another offset point.
A useful robot inertia record therefore retains mass, center of mass, the inertia reference point, axis orientation, units, and the sign convention for off-diagonal entries. The six independent matrix values become meaningful through those definitions, rather than through their numeric precision alone.
Sources checked October 23, 2026: Modern Robotics, Section 8.2 video supplement, Dynamics of a Single Rigid Body, Part 1: https://modernrobotics.northwestern.edu/nu-gm-book-resource/8-2-dynamics-of-a-single-rigid-body-part-1-of-2/
MIT OpenCourseWare, Lecture L26, PDF marked Fall 2008, Version 2.1, hosted in the Fall 2009 course: https://ocw.mit.edu/courses/16-07-dynamics-fall-2009/dd277ec654440f4c2b5b07d6c286c3fd_MIT16_07F09_Lec26.pdf
Illustration note: An accompanying generic robot or mechanical-component image is a concept illustration. It does not depict the four invented masses, measured inertia, or a verified payload configuration.