If $I = \int r^2 dm$, how do I set up an integral over the volume of any object? I can't use any assumptions about symmetry or shortcuts because the goal is to rotate around an arbitrary axis.
$m = \rho v$ so $I = \rho\int r^2 dv$, but for a cube $v = xyz$ so $dv = yz dx + zx dy + xy dz$. I guess?
How do I go from that to $I = \rho\int\int\int r^2 dx dy dz$?
What is actually going on? Why don't I replace $dv$ with $yz dx + zx dy + xy dz$ and get $I = \rho\int yzr^2 dz + \rho\int zxr^2 dy + \rho\int xyr^2 dz$?
Or for a cylinder, $v = \pi(r_o^2 - r_1^2)h$ and $dr = \pi(r_o^2 - r_1^2)dh + 2\pi hr_o dr_o - 2\pi hr_i dr_i$. How do I set up the volume integral with this?
To clarify: I'm asking for the general principle. When I think of a shape, such as an arbitrarily rotated cylinder, I need to know what to do to set up the volume integral.
How does this work?