Worked examples — Centre of mass — derivation for common shapes (rod, triangle, semicircle, hemisphere)
The scenario matrix
Before solving anything, let's list every case class this topic can throw at you. Each worked example below is tagged with the cell(s) it covers.
| Cell | Case class | What's tricky | Example |
|---|---|---|---|
| A | Uniform 1D, positive coords | baseline sanity | E1 |
| B | Non-uniform density | no longer cancels | E2 |
| C | Coordinates of both signs (origin inside body) | negative pulls average left | E3 |
| D | 2D lamina, symmetry kills one axis | must use symmetry | E4 |
| E | Composite / "subtraction" body (hole cut out) | negative mass trick | E5 |
| F | Degenerate / limiting input (length → 0, uniform limit) | formula must stay finite & sensible | E6 |
| G | Real-world word problem | translate words → integral | E7 |
| H | Exam twist (find density given a target COM) | run the recipe backwards | E8 |
We solve 8 examples, one per cell.
E1 — Uniform rod, positive coordinates (Cell A)
Forecast: guess before reading — where does your gut put it? Write down a number.
- Write . Uniform ⇒ constant, and a slice of width at position has . Why this step? A rod is a line of mass, so we use linear density (mass per length). Constant is the fingerprint of "uniform."
- Slice coordinate. The slice sits at ; nothing to simplify.
- Integrate. Why this step? cancels top and bottom — that's why a uniform body's COM is purely geometric (the centroid).
Verify: By symmetry the rod is identical left-to-right about its midpoint, so the COM must be at the middle . Units: metres. ✓
E2 — Non-uniform rod, (Cell B)
Forecast: More mass sits toward the far end () than in E1, so the COM should be past the midpoint . Guess the fraction.
- Write . . Why this step? Now depends on position, so it will not cancel — this is the whole difference from Cell A.
- Mass .
- Weighted position.
- Divide. Why this step? The mass-weighted average is dragged toward the heavy end, landing at — past the middle, exactly as forecast.
Verify: Check the limit — if instead were constant, we'd get back . Since our density leans toward , : the answer moved the right direction. Units: metres. ✓
E3 — Two blocks, coordinates of both signs (Cell C)
Forecast: The heavy block is on the negative side, so the answer should be negative (left of origin).
- Use the discrete formula. Why this step? For point masses we don't integrate — the mass-weighted average is a direct sum. Signs of coordinates carry through untouched.
- Compute.
Verify: The COM lies between the two blocks ( and ) — good. It's much closer to the block, as a heavy mass should pull the balance point toward it. Sign is negative, matching the forecast. ✓
E4 — Semicircular disc, symmetry kills the -axis (Cell D)
Forecast: The shape is a mirror image left↔right, so should be exactly . And we derived in the parent as .

- Symmetry first. The disc is symmetric about the -axis (see the dashed mirror line in the figure). For every slice at there is an identical slice at ; their contributions cancel. Why this step? Symmetry gives for free — never integrate what symmetry already answers (Error 4 in the parent note).
- Reuse the parent result for the vertical coordinate: Why this step? We already built this by stacking half-rings (continuous summation); no need to redo it.
- Plug in .
Verify: ✓. It sits below the wire's , as expected (filled area near the centre drags the average down). ✓
E5 — Disc with a hole cut out (Cell E, negative mass)
Forecast: We removed mass from the right side, so the COM of what remains should shift left of the origin — a small negative .

- The subtraction trick. Treat "full disc" minus "hole disc" as two bodies: a positive-mass full disc, and a negative-mass disc where the hole is. Why this step? The COM formula is linear in mass. Removing material is the same as adding a body of negative mass at the hole's location — this saves us a messy integral.
- Masses (uniform ⇒ mass ∝ area). Let full disc mass . Area of full disc ; area of hole . So hole "mass" . Why this step? With constant , mass ratios equal area ratios — no need for the actual .
- Positions. Full disc COM at ; hole COM at . Apply the discrete formula with the hole as :
- Plug in . , and (both discs sit on the -axis, symmetric in ).
Verify: Sign is negative → shifted away from the removed material, as forecast. Magnitude is small () because only of the area was removed. Units: cm. ✓
E6 — Degenerate & limiting inputs (Cell F)
Forecast: (a) A vanishing rod collapses to a point, so its COM should sit at that point (). (b) A uniform rod's COM is , so we should recover that.
- (a) Take the limit. . Why this step? A degenerate (zero-length) body is just a point at the origin; the formula must not blow up or give nonsense. It gives — sensible.
- (b) Generalise E2. For , Why this step? This one formula contains every uniform-power rod at once — a limiting-behaviour sanity net.
- Check the special values.
- (uniform): ✓ (matches E1).
- (E2's linear): ✓ (matches E2).
- (all mass crushed at the far end): ✓.
Verify: Each limit reproduces an independently known answer, and the extreme pushes the COM onto the far tip exactly where all the mass concentrates. ✓
E7 — Real-world word problem (Cell G)
Forecast: The person adds mass at the very front, so the combined COM should sit past the canoe's own middle () but not all the way to the front.
- Model as two point masses. Canoe's own COM (uniform rod) is at its midpoint: . Person at the front tip: . Why this step? We collapse the extended canoe to a point at its centroid — the whole reason COM exists (see Centre of mass — definition and system of particles).
- Weighted average.
Verify: lies between the canoe centre () and the person (), leaning toward the canoe because the canoe is heavier (). Units: metres. ✓
E8 — Exam twist: run the recipe backwards (Cell H)
Forecast: Positive makes the rod heavier toward the far end, pushing past . Since , we expect a positive .
- Set up both integrals. Why this step? We don't yet know , so we carry both letters and impose the target at the end — that's "backwards" running of the recipe.
- Write the COM condition.
- Solve. Divide numerator and denominator by , let : Cross-multiply and cancel : So .
Verify: Plug back into step 2: numerator ; denominator ; ratio ✓. And , matching the forecast. ✓
Recall Which cell did each example hit?
E1 (A: uniform 1D) ::: rod midpoint E2 (B: non-uniform density) ::: E3 (C: both-sign coordinates) ::: E4 (D: symmetry kills an axis) ::: E5 (E: subtraction / negative mass) ::: E6 (F: degenerate & limiting) ::: general E7 (G: word problem) ::: from back E8 (H: reverse-engineer density) :::