[Math] Center of mass of 1 dimensional rod

calculusphysics

In my calculus 2 course, we have been studying how to calculate the center of mass of a 1 dimensional "rod" with dimensions $[a,b]$ (so that the left end of the rod is at $x=a$ and the right end of the rod is at $x=b$). My instructor has taught us to calculate center of mass using the following formula:

$$\bar{x} = \frac{\int_a^b{x\rho(x)dx}}{\int_a^b{\rho(x)dx}}$$

Where $x=\bar{x}$ is the center of mass, and $\rho(x)$ is the density function.

From what I understand, this formula essentially calculates the mean of the distribution of mass along the rod. However, I have developed a different equation to calculate center of mass:

$$\int_a^t{(t-x)\rho(x)dx}=\int_t^b{(x-t)\rho(x)dx}$$

Where $x=t$ is the center of mass.

This equation appears to calculate the median of the distribution of mass along the rod.

Since the mean and the median are not always equal to each other, one of these methods is not always correct. I assume my instructor's method is correct, but- when calculating the center of mass- why would calculating the mean of the mass distribution be more advantageous than calculating the median of the mass distribution?

Thanks in advance!

Best Answer

The two expressions might look different at first glance but lead to the same thing in the end.

Your expression evaluates as$$ \int_{a}^{t} (t-x) \rho(x)dx=\int_{t}^{b} (x-t) \rho(x) dx $$ $$ \implies \int_{a}^{b} (t-x) \rho(x)dx - \int_{t}^{b} (t-x) \rho(x)dx =\int_{t}^{b} (x-t) \rho(x) dx $$ $$ \implies \int_{a}^{b} (t-x) \rho(x)dx = \int_{t}^{b} (t-x) \rho(x)dx +\int_{t}^{b} (x-t) \rho(x) dx$$ $$ \implies \int_{a}^{b} (t-x) \rho(x)dx =0 $$ $$ \implies \int_{a}^{b} t \rho(x)dx = \int_{a}^{b} x\rho(x)dx$$ $$ \large \implies t=\frac{\int_{a}^{b} x\rho(x)dx}{\int_{a}^{b}\rho(x)dx}$$ thus equivalently reducing it to the earlier definition of the center of mass.