My current research at Rutgers focuses on identifying the cognitive mechanisms that are employed when perceiving the shape and structure of 3D objects. One of the little problems that I had to overcome was finding out how to calculate the center of mass/gravity of a 3D surface of revolution analytically. Specifically, I needed to calculate the COM for conical frustums with and without an attached part (which was also analytically generated).
Unfortunately, it wasn’t as easy to derive as I assumed, but the steps toward that end are pretty straightforward. After the break you can see the general equation I ultimately derived for calculating the COM in 3D-space.
A conical frustum will be defined with attributes (the top radius), (the bottom radius), and (the height of the truncated cone).
The radius of the frustum at any given height is:
The area of this slice at any given height is:
Then the volume can be calculated by integrating across all heights:
Combine these three equations together and we have:
Ok, so now we have the radius, area, and volume of the conical frustum. Using this information, we can now calculate the center of mass.
Doing a little substitution with :
Note that because the conical frustum is radially symmetric around the z-axis, the COM for both x and y will be 0. This obviously will not be the case for shapes with more complex surfaces of revolution, but is a nice little proof.
Complex, you want complex??
So, we will add a simple part onto the shape (like the one in the image above), defined using both a radial function, , and a vertical function, . The functions themselves can be any analytical functions, as long as they are continuous. And frankly, it doesn’t matter for this proof, so we’ll leave them undefined for the time being.
Remember how simple the radius at any given height was? (Just to remind you: ). Now we need to add our radial and vertical functions, making the function dependent upon not only height, but also angle:
Given that the radius is now a bit more complex, the area of this slice at any given height is now:
Then the volume is now a bit more complicated:
And now we can calculate the COMs:
The good news, all you really need to define is and h. The bad news, pentuple integrals. Substituting all of the necessary equations, we get these monstrosities:
Not very pretty, ehh? Well, in the meantime, I’ll leave the final calculations for you to work on. Suffice to say, it is a pain in the butt.