In a previous post I
derived the inertia matrix for an ellipsoidal shell. This time, we're going to
look at inertia matrices for cuboids (that is, rectangular prisms) with various
mass distributions. All of these inertia computations are implemented in my
rigid body library
rigeo, including the symbolic
derivations (shell, wireframe, vertices) and Monte Carlo
simulations to validate them (shell, wireframe).
A cuboid.
Uniform-Density Cuboid
Let's start with the simplest case: a cuboid with uniform density. The value of
the inertia matrix for a uniform-density cuboid with mass m and side lengths
2a,2b,2c (the quantities a,b,c are known as the half extents) is
well-known
to be I=(1/3)mS, where
S=b2+c2000a2+c2000a2+b2.
When we have a cube, such that a=b=c=r, then this reduces to
I=(2/3)mr213, where 13 is the 3×3 identity matrix.
Hollow Cuboid Shell
Suppose instead we want to calculate the inertia matrix for a hollow cuboid
shell; that is, a cuboid in which all of the mass is uniformly distributed
across its boundary. The most straightforward way to calculate this is to
allocate mass to each of the cuboid's six sides in proportion to their
respective areas, and then sum them together about the origin. The result is
which is a bit messier than the uniform-density result above. However, when we
have a cube, this reduces to I=(10/9)mr213.
Cuboid Wireframe
Let's take it further and suppose that all the mass is now concentrated
uniformly in the edges of the cuboid, as if we have a wireframe model with
infinitely thin wires. We can again allocate mass to each of the 12 edges in
proportion to their respective lengths, and sum the resulting inertias about
the origin to obtain