Visual walkthrough — Centre of mass — derivation for common shapes (rod, triangle, semicircle, hemisphere)
Step 1 — The see-saw: what "balance point" really means
WHAT. Put two kids on a plank. A light kid of mass at position , a heavy kid of mass at position . Where do you put the pivot so the plank does not tip?
WHY. This is the seed of everything. A plank balances when the two sides exert equal turning effect about the pivot. The turning effect of a kid is really her weight — her mass times gravity (the pull of the Earth, the same number for everyone) — times how far she sits from the pivot. That product is the moment (or torque). "No tipping" means the left moment equals the right moment. Let us turn that sentence into a formula and watch disappear.
PICTURE. In the figure, the heavy kid drags the pivot toward himself. The balance point is not the middle — it leans toward the mass.

Call the pivot position . Kid 1 sits a distance from the pivot; kid 2 sits . Balance = the two moments cancel: Every term carries the same factor , so we can divide the whole equation by — gravity cancels and never affects where the balance point is. (This is exactly why the centre of mass and the centre of gravity coincide in uniform gravity — see Centroid vs centre of mass vs centre of gravity.) What is left is pure mass: Now solve for . Expand and collect it:
If the kids were equal () this collapses to , the plain middle — the mass-weighting is exactly the correction for unequal kids. See Centre of mass — definition and system of particles for the full force picture.
Step 2 — From a few kids to a crowd: the sign
WHAT. Add more particles. The recipe does not change — every particle contributes its own on top, and its own to the total.
WHY. We are about to have infinitely many particles (a solid body is a dense crowd of atoms). Before we can go to infinity, we write the finite crowd cleanly. The same "moments cancel about the pivot" argument (with again cancelling), done for particles, gives the sum below.
PICTURE. Five particles on a line; each contributes a stack of height sitting at . The COM is the "centre of the stacks".

Step 3 — Slicing a solid body: what and mean
WHAT. A rod is not five kids — it is a continuous smear of mass. So we chop it into slices so thin that each slice is basically a point particle. One slice carries a tiny mass we call ("a little bit of mass"), sitting at position .
WHY this tool — the integral? A sum works for a countable pile of particles. But our slices are infinitely thin and infinitely many. The integral sign is exactly the tool invented for "add up infinitely many infinitely small pieces" — see Integration as continuous summation. It answers the question a plain cannot: how do you total a smooth continuum?
PICTURE. The rod carved into vertical slivers; one sliver highlighted, width , sitting at distance from the left end.

How big is one slice's ? It depends on how the mass is spread. For a line of mass we use the linear density (Greek "lambda") = mass per unit length, , so a slice of length holds . Two cousins appear later:
- For a flat sheet ("lamina") we use the surface density (Greek "sigma") = mass per unit area, so a slice of area holds .
- For a solid 3-D body we use the volumetric density (Greek "rho") = mass per unit volume, so a slab of volume holds .
In every case density is "how much mass is packed into one unit of the thing", and — being the same top and bottom for a uniform body — it will cancel. On this page we use (line) and (sheet); (solid) is defined here so the word "density" in Step 7 has a meaning.
Step 4 — The rod falls out (and why the density vanishes)
WHAT. Feed the rod into the master formula. Origin at the left end, rod running from to — so the limits are to .
WHY. This is the simplest possible shape, so it is where we check the machinery works before trusting it on harder shapes.
PICTURE. Same sliced rod, now with the running position marked and the answer flagged dead centre.

- — the mass-weighted total, area under the line .
- — the total length, which times is the total mass .
- cancels top and bottom. This is huge: for a uniform body the answer is purely about shape, not about how heavy it is. That shape-only balance point is the centroid — see Centroid vs centre of mass vs centre of gravity.
Step 5 — The triangle: why mass piles at the base
WHAT. A flat triangle (a "lamina"), base , height . Fix the origin at the mid-point of the base, with the -axis running along the base and the -axis pointing straight up to the apex. So the base runs from (left corner) to (right corner) at , and the apex sits at . In particular is the base and is the apex — every height below is measured from the base upward. Slice the triangle into thin horizontal strips parallel to the base; a strip at height is a thin rectangle.
WHY horizontal strips? Because each such strip sits at a single clean height , so it behaves like one particle at that height. That converts the 2D shape into a 1D stack of strips — back to Step 3's machinery. This is a slice-cleverly move.
PICTURE. A wide strip near the base, a short strip near the apex — you can see the base strips carry more area (more mass). The strip width shrinks linearly with height.

First, the horizontal coordinate — for free. Because the origin sits at the mid-base and the apex is straight above it, the triangle is a mirror image left↔right about the -axis (). Every strip is centred on that axis, so each strip's own balance point sits at its middle, at . By this symmetry the whole triangle's COM lies on that axis: So we only have to work out the height , measured from the base.
By similar triangles, a strip at height has width
- at (base): (full width, heaviest).
- at (apex): (vanishes).
Its mass is , where (surface density, defined in Step 3) plays the role did. Because is the base and is the apex, the strips sweep the whole triangle as runs — those are the limits:
The and cancel (they multiply top and bottom equally). Now do the four little integrals one at a time, using the single rule (the area under ):
- — area under the straight line .
- , so .
- — the plain length.
- .
Substitute these pieces:
- Numerator : heights weighted by strip mass.
- Denominator : total (mass in units of ).
- Result : one-third up from the base, exactly as the "bottom-heavy" picture promised. Not — the narrowing kills the top.
Step 6 — The semicircular wire: bringing in angles and
WHAT. A bent wire, a half-ring of radius , flat side on the -axis, arching up. We want its balance height.
WHY a new coordinate? The wire is curved, so slicing by or is ugly — a tiny piece is most naturally located by the angle it makes with the -axis. We measure position with and because those are exactly the tools that turn an angle into a height and a width on a circle.
PICTURE. The arc with one tiny piece marked at angle ; its height drawn as a vertical drop from the piece to the axis.

A tiny arc of angle has length (arc = radius × angle). Total length is , so and The piece's height is — is the fraction of that counts as height. The angle sweeps from to to cover the whole half-ring, so those are the limits.
- : the total "height-pull" of all the arc pieces.
- — high up, because all the wire's mass sits out on the rim near the top.
Step 7 — Edge & degenerate cases: does the machine break?
WHAT. Test the formula on the limits, where formulas love to explode.
WHY. A derivation you trust must survive the corners: zero size, all-mass-at-one-point, a symmetry axis. The parent note states these; here we see why they hold.
PICTURE. Three panels: (a) a degenerate zero-height triangle collapsing to a rod, (b) a symmetric shape with its COM pinned on the axis, (c) a point mass where COM = the point.

The one-picture summary
Everything above is a single sentence in four frames: weight each position by its mass, sum, divide. The rod, triangle, and wire differ only in how one slice is shaped.

So far each shape used one coordinate (, or , or a height) because symmetry killed the rest. In general a point in space needs all its coordinates at once. We bundle them into one symbol — the position vector, an arrow from the origin to the point. Applying the master formula to each coordinate separately, , , , is exactly what the single vector line below packages:
Recall Feynman: the whole walk in plain words
Picture balancing a stick on your finger. Your finger has to sit where the stuff on the left pulls exactly as hard as the stuff on the right — heavy stuff pulls harder, so the finger slides toward it. That "fair balance" spot is the centre of mass. Gravity pulls on every bit equally, so it drops out of the sum entirely — only where the mass sits matters. For two kids on a see-saw it's a simple weighted average, and you can prove it by demanding the two turning-effects about the finger cancel. A solid object is just a huge crowd of tiny kids, so instead of adding a few numbers we use the integral — a machine for adding infinitely many tiny pieces. Chop the object into slivers, note how much mass each sliver has and where it sits, multiply, add them all up, and divide by the total mass. For a plain stick the fair spot is the middle. For a triangle the wide bottom is heavier, so the spot sits a third of the way up (and dead-centre left-to-right by symmetry). For a wire bent into a half-circle all the weight rides out on the rim, so the spot floats high, about two-thirds of the radius up. Same recipe every single time — only the shape of one sliver changes.
Recall Self-test
- What replaced for a continuous body? :::
- Why does gravity not appear in the COM formula? ::: It multiplies every moment equally, so dividing the balance equation by removes it — only mass and position remain.
- Before applying the master formula, what two things must you fix? ::: An origin to measure from, and the integration limits covering the whole body.
- Why does cancel for a uniform rod? ::: It sits on top and bottom equally; uniform bodies give a shape-only (centroid) answer.
- Why and not for the triangle? ::: Strips near the base are wider (more mass), so the average height is pulled down.
- Where is the triangle COM horizontally, and why? ::: On the mid-base line — left-right symmetry pins it there.
- Which tool turns an arc angle into height, and why? ::: , because is the vertical part of a point on the circle.
- How does symmetry save work? ::: A mirror axis makes off-axis contributions cancel in pairs, so that coordinate is instantly.
Connected ideas: Centre of mass — definition and system of particles · Integration as continuous summation · Symmetry arguments in physics · Centroid vs centre of mass vs centre of gravity · Moment of inertia — derivation for common shapes · Momentum conservation