# Difficulty understanding the center of mass formula for a lamina

My derivation/intuition:

For four weighted boxes $B1, B2, B3, B4$, placed on a massless flat lever with a pivot at position $p$, the sum of distances to $p$ times weight, must be $0$ for the lever to be balanced. If we restrict movement on the lever along the x-axis, and denote the positions of the boxes as $x_{B1}, x_{B2}, x_{B3}, x_{B4},$ and the masses as $m_{B1}, m_{B2}, m_{B3}, m_{B4},$ we could therefore say:

$(x_{B1} - p)*m_{B1}+(x_{B2} - p)*m_{B2}+(x_{B3} - p)*m_{B3}+(x_{B4} - p)*m_{B4}=0$

This concept could be generalized to any $n$ amount of point masses restricted to movement along $x$. If we then solve for $p$ we get:

$x_{c.o.m} = p = \frac{\sum_{i=1}^{n}m_ix_i}{\sum_{i=1}^{n}m_i}$

On KhanAcademy, i read that to find the x position of the center of mass on a 2D massless plate with point masses, we do exactly the same thing. The argument being, that an object (3,2) away from the center of mass, doesn't have more "x-rotation power" than an object (3,6) away. While this is vague, it feels intuitive enough for me to accept it.

It would mean that to find the center of mass on a lamina, i should add up all the mass times positions, for every single point. I could imagine this as taking "slices" that move along only x.Then one could add up $\sum_{i=1}^{n}m_ix_i$ for each slice as a function of y, at every value of y in the region. Since the mass at every single point is rarely given, but instead the density, $p(x,y)$, i could write mass as $p(x,y)*dA$. This would allow me to create for $\sum_{i=1}^{n}m_ix_i$ the double integral:

$\int_{R}^{}(\int_{}^{}x*P(x,y)dx)dy$

Doing something similair for $\sum_{i=1}^{n}m_i$ and putting it back into the original formula, i get:

$\frac{\int_{R}^{}(\int_{}^{}x*P(x,y)dx)dy}{\int_{R}^{}(\int_{}^{}P(x,y)dx)dy}$

Wich could be simplified to:

$\frac{\int_{R}^{}(\int_{}^{}x*P(x,y)dx)dy}{total mass}$

My doubts and difficulties with the formula:

First of all this doesn't always seem to be the correct formula, such as in this video https://www.youtube.com/watch?v=WNZ8vMgaPgg by proffesor leonard, where we don't divide by the total mass, and for the x center of mass, the inner integral is timed by $y$ instead. Secondly, how could we use this in real world applications? We only care about the shape and density distribution of an object, not where it would be placed on an imaginary coordinate system. Wouldn't we be able to find a whole family of density-distribution functions that all had the same values in a shape, but different positions on the XY plane? Wich would be the right one? Any help is appreciated, sorry for the long question.

one could add up $\sum_{i=1}^{n}{m_{i}x_{i}}$ for each slice as a function of y, at every value of y in the region
If you are adding up all the mass at a given $x_{i}$, then $m_{i}$ should be the total mass for all values of y at that $x_{i}$. Add up the contribution from all masses at that value of y first, and then use that m to see their net contribution to a moment about the y axis. Remember, while you're just looking at x, you're calculating the moment to the axis of rotation, which is infinitely long in y. You're not calculating the moment to the point p.
• I think i might understand what you're saying. So we should actually calculate the x center of mass in the following way: $\frac{\int_{R}^{}(\int_{}^{}x*P(x,y)dy)dx}{total mass}$ And we call $\int_{R}^{}(\int_{}^{}x*P(x,y)dy)dx$ the moment of y. Similarly, we could call $\int_{R}^{}(\int_{}^{}y*P(x,y)dx)dy$ for the moment of x. And that's why people say: $x_{c.o.m} = \frac{y_{moment}}{M}$ This all actually seems to make sense so i just want to ask if my terminology is correct here? – Buster Bie Oct 17 '17 at 11:51