Until now, you have been considering objects that are symmetrical, in which case the geometric center of the object and the center of mass are at the same position. For non-symmetrical objects, or for systems made up of multiple objects that are not arranged symmetrically, center of mass can be calculated as a weighted average.
Definition13.1.1.Center of Mass for Discrete Objects.
The center of mass for a system of discrete, pointlike objects can be calculated as the average position of all parts of the object weighted by the mass at that position:
Find the center of mass of the system of two cubes, assuming they are made of the same uniform material. Make sure to specify your origin! Why do you not need to integrate?