Mechanics
Two particles on a line
The working formula for this page. With m1 = 2 at x1 = 1 and m2 = 3 at x2 = 7, the numerator is 2 times 1 plus 3 times 7, or 23, and the denominator is 5, giving x_cm = 4.6.
Last updated
The Formula
x_cm = (m1 x1 + m2 x2) / (m1 + m2)
The working formula for this page. With m1 = 2 at x1 = 1 and m2 = 3 at x2 = 7, the numerator is 2 times 1 plus 3 times 7, or 23, and the denominator is 5, giving x_cm = 4.6.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| m1 | Mass of the first particle | kg | 2 kilograms in the default example. |
| m2 | Mass of the second particle | kg | 3 kilograms in the default example. |
| x1, x2 | Positions of the two particles on the chosen line | m | Both measured from the same origin, here 1 and 7 metres. They act as the two position values in the numerator. |
What Each Symbol Means
m1kg
Mass of the first particle
2 kilograms in the default example.
m2kg
Mass of the second particle
3 kilograms in the default example.
x1, x2m
Positions of the two particles on the chosen line
Both measured from the same origin, here 1 and 7 metres. They act as the two position values in the numerator.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate the center of mass page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate The Center Of Mass, filed under Science. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Two particles on a line?
The formula for Two particles on a line is x_cm = (m1 x1 + m2 x2) / (m1 + m2). The working formula for this page. With m1 = 2 at x1 = 1 and m2 = 3 at x2 = 7, the numerator is 2 times 1 plus 3 times 7, or 23, and the denominator is 5, giving x_cm = 4.6.
What does each symbol in Two particles on a line stand for?
m1 is mass of the first particle; m2 is mass of the second particle; x1, x2 is positions of the two particles on the chosen line.
What units should I use with Two particles on a line?
Substitute m1 in kilograms, m2 in kilograms, x1, x2 in metres. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Two particles on a line?
Pairing a mass with the wrong position. Swapping the positions while keeping the masses gives (2 times 7 plus 3 times 1) divided by 5, or 3.4, which moves the answer towards the lighter mass. Write each mass and its position together on one line before substituting, so the pairing is unambiguous.