Sub topic 4
Locating the Centre of Mass
What you need before starting
This chapter assumes you know vectors in components, basic integration, and the idea of a weighted average. It also assumes you know what torque and uniform gravity mean at a school level. The next chapter covers how the centre of mass moves. This chapter only covers where it is.
The definition
The centre of mass (COM) of a system is the point whose position is the mass-weighted average of all the particle positions. For particles of mass m₁, m₂, ..., mₙ at position vectors r₁, r₂, ..., rₙ:
- R = (m₁r₁ + m₂r₂ + ... + mₙrₙ) / M, where M = m₁ + m₂ + ... + mₙ.
In components, each coordinate is computed on its own:
- x_cm = Σ mᵢxᵢ / M
- y_cm = Σ mᵢyᵢ / M
- z_cm = Σ mᵢzᵢ / M
The heavier a particle is, the more it pulls the COM toward itself. The COM always lies within the convex hull of the particles, which means on the line between two particles or inside the polygon they form.
Two particles
For two masses on a line, put the origin at m₁. Then x_cm = m₂d / (m₁ + m₂), where d is the separation. The COM divides the line joining the particles in the inverse ratio of the masses:
- m₁ · r₁ = m₂ · r₂, where r₁ and r₂ are the distances of each mass from the COM.
So the COM sits closer to the heavier particle.
def centre_of_mass(masses, positions):
"""Return the COM of point masses. positions is a list of coordinate tuples."""
total = sum(masses)
dims = len(positions[0])
return tuple(
sum(m * p[k] for m, p in zip(masses, positions)) / total
for k in range(dims)
)
# A 3 kg and a 1 kg particle, 4 m apart on the x-axis
print(centre_of_mass([3.0, 1.0], [(0.0, 0.0), (4.0, 0.0)]))
# (1.0, 0.0): 1 m from the heavy mass, 3 m from the light oneThe origin does not matter
The COM is a physical point of the system. Shifting the origin shifts every rᵢ and R by the same vector, so the COM stays at the same place in the body. A useful consequence follows. Σ mᵢ(rᵢ − R) = 0 when measured from the COM. The mass-weighted displacements cancel. You can use this fact to check a COM calculation.
Choose the origin to make the arithmetic short. Put it at a particle, at the centre of a symmetric object, or at a corner.
Continuous bodies
For a continuous body, replace the sum with an integral over mass elements dm:
- R = (1/M) ∫ r dm
You then express dm through a density:
| Body | Density | dm |
|---|---|---|
| Rod (1D) | λ = mass per unit length | λ dx |
| Plate (2D) | σ = mass per unit area | σ dA |
| Solid (3D) | ρ = mass per unit volume | ρ dV |
For a uniform body the density is constant and cancels. The COM then depends only on geometry, and it is called the centroid.
If the density varies, you must keep it inside the integral. Suppose a rod of length L has λ = kx, with x measured from one end. Then:
- M = ∫₀ᴸ kx dx = kL²/2
- x_cm = (1/M) ∫₀ᴸ x · kx dx = (kL³/3) / (kL²/2) = 2L/3
The COM lies toward the denser end, as expected.
from scipy.integrate import quad
L, k = 3.0, 2.0
density = lambda x: k * x
M, _ = quad(density, 0, L)
moment, _ = quad(lambda x: x * density(x), 0, L)
print(moment / M, 2 * L / 3) # both 2.0Symmetry shortcuts
Symmetry often removes the need for any integral.
- If a uniform body has a centre of symmetry, a symmetry axis, or a symmetry plane, the COM lies at that centre, on that axis, or in that plane.
- A uniform rod, rectangle, circle, sphere, and cube each have the COM at the geometric centre.
- A uniform triangle has the COM at the intersection of its medians, at one third of the height from the base.
Standard results for JEE
These results come up repeatedly. Memorise them, and know how to derive each one.
| Body (uniform) | COM position |
|---|---|
| Semicircular wire, radius R | 2R/π from the centre, on the symmetry axis |
| Semicircular disc, radius R | 4R/(3π) from the centre |
| Hemispherical shell (hollow) | R/2 from the centre |
| Solid hemisphere | 3R/8 from the centre |
| Solid cone, height h | h/4 from the base |
| Hollow cone (curved surface), height h | h/3 from the base |
| Triangular plate | 1/3 of height from the base |
Notice that the wire and the disc differ. The wire has all its mass at distance R, so its COM is further from the centre than that of the disc, whose mass is spread inward.
Worked derivation: semicircular wire
Place the centre of the semicircle at the origin, with the wire in the upper half plane. By symmetry, x_cm = 0. Take an element at angle θ from the x-axis. Its length is R dθ, and its mass is dm = (M/πR) · R dθ = (M/π) dθ. Its height is R sin θ.
- y_cm = (1/M) ∫₀^π R sin θ · (M/π) dθ = (R/π) [−cos θ]₀^π = 2R/π
Composite bodies and the method of negative mass
When a body is made of simple parts, find the COM of each part and treat each part as a point mass at its own COM. Then apply the weighted-average formula.
For a body with a hole, treat the hole as a body of negative mass at the hole's centre. The full uncut body has mass Mfull and COM at its own centre. The removed piece has mass mcut. Then:
- R = (Mfull · Rfull − mcut · Rcut) / (Mfull − mcut)
Worked example: disc with a hole
A uniform disc of radius R has a circular hole of radius R/2 cut out. The hole's centre is at R/2 from the disc's centre. Find the COM.
Mass is proportional to area. The full disc has area πR², and the hole has area πR²/4, so the hole's mass is one quarter of the full disc's mass. Let the full mass be M_full. Put the origin at the disc centre and the hole on the +x side.
- xcm = (Mfull · 0 − (Mfull/4)(R/2)) / (Mfull − M_full/4) = (−R/8) / (3/4) = −R/6
The COM is at R/6 from the centre, on the side opposite the hole. This is the sensible direction, because the missing material was on the other side.
def com_with_hole(R_full, M_full, hole_centre, hole_radius):
"""x-coordinate of COM of a disc with a circular hole (hole on the x-axis)."""
m_cut = M_full * (hole_radius / R_full) ** 2
return (0.0 * M_full - m_cut * hole_centre) / (M_full - m_cut)
print(com_with_hole(R_full=1.0, M_full=1.0, hole_centre=0.5, hole_radius=0.5))
# -0.1666... which is -R/6Common errors
- Using the wrong density variable. Mass per length applies to a rod, and mass per area applies to a plate. Check the units of dm.
- Using the volume ratio for a plate. For a flat plate of uniform thickness, mass is proportional to area. For a solid sphere with a spherical cavity, it is proportional to volume, so the ratio is cubed.
- Forgetting the sign in the negative-mass method. The removed part is subtracted in both the numerator and the denominator.
- Mixing up the COM of a solid hemisphere (3R/8) with that of a hollow one (R/2).
- Treating the COM as a point where the body is physically present. A ring has its COM at its centre, where there is no material.
- Adding the x and y coordinates together. Each coordinate is a separate calculation.
COM and the centre of gravity
The centre of gravity is the point where the total gravitational torque acts as if the whole weight were concentrated. In a uniform gravitational field, it coincides with the COM, because the weight of each element is proportional to its mass. For an object so large that g varies noticeably across it, the two points differ slightly. In JEE problems with uniform g, treat them as the same.
Diagram: choosing a method
Exercises
Exercise
Particles of mass 1 kg, 2 kg and 3 kg sit at (0, 0), (6, 0) and (0, 6), with coordinates in metres. Find the COM.
Show answer
M = 6 kg. xcm = (1·0 + 2·6 + 3·0)/6 = 2 m. ycm = (1·0 + 2·0 + 3·6)/6 = 3 m. The COM is at (2 m, 3 m).
Exercise
A uniform rod of length L has linear density λ = λ₀(1 + x/L), with x measured from the left end. Find the COM distance from the left end.
Show answer
M = ∫₀ᴸ λ₀(1 + x/L) dx = λ₀(L + L/2) = 3λ₀L/2. The moment is ∫₀ᴸ x λ₀(1 + x/L) dx = λ₀(L²/2 + L²/3) = 5λ₀L²/6. So x_cm = (5L²/6)/(3L/2) = 5L/9.
Exercise
A uniform solid sphere of radius R has a spherical cavity of radius R/2. The cavity's centre is at R/2 from the sphere's centre. Find the COM of the remaining solid.
Show answer
Mass is proportional to volume, so the cavity has (1/2)³ = 1/8 of the full sphere's mass. With the origin at the sphere's centre and the cavity on the +x side: x_cm = −(M/8)(R/2) / (M − M/8) = −(R/16)/(7/8) = −R/14. The COM is R/14 from the centre, on the side opposite the cavity.