AP® Physics C: Mechanics · Unit 2 · Topic 2.1

Center of Mass by Integration

When mass isn't spread evenly, you find the center of mass by integrating x over every tiny mass element dm, rather than averaging a finite set of point masses.

For a handful of point masses, center of mass is just a weighted average: x_cm = (sum of mi xi) / (sum of mi). But a rod whose density changes along its length isn't a handful of points — it's a continuum. You can't sum infinitely many infinitesimal pieces with a sigma, so the sum turns into an integral. Each tiny slice of the rod has mass dm, sitting at position x, and x_cm = (1/M) times the integral of x dm, where M is the total mass. The integral just does what the sum used to do: multiply each piece's position by its mass, add them all up, divide by the total.

The catch is that you can't integrate over dm directly — you need everything in terms of one variable, usually x. That's where linear density lambda(x) comes in: it tells you mass per unit length at position x, so a tiny slice of length dx has mass dm = lambda(x) dx. Substitute that in, and both the numerator (integral of x lambda dx) and the denominator (integral of lambda dx, which is just the total mass M) become ordinary integrals you can evaluate with calculus.

This is the first place in the course where Newton's laws meet calculus directly: forces act on objects, but real objects have mass distributed through space, and treating them as a single point at their center of mass is what makes F = ma legitimate for extended bodies. The same dm-to-integral trick you learn here — write dm as a density times a length, area, or volume element — reappears constantly, including when you compute moments of inertia in rotational motion.

Key terms

Linear density lambda(x)
Mass per unit length at position x, used to convert a mass element dm into lambda dx.
Center of mass x_cm
The average position of an object's mass, weighted by how much mass sits at each location.
Mass element dm
An infinitesimally small piece of an object's mass, used to turn a discrete sum into an integral.
Continuous mass distribution
A system where mass is spread smoothly through space rather than concentrated at separate points.

Watch it explained

  1. How it worksHow does the sum over point masses turn into the integral of x dm?
  2. How it worksHow do you rewrite dm as lambda dx before you can actually integrate anything?
  3. Worked exampleFind the center of mass of a 2 m rod whose linear density is lambda = 3x kg per meter.
  4. Worked exampleFind the total mass of a 1.5 m rod with lambda(x) = 4 + 2x kg per meter by integrating.

Check yourself

Your turn1 of 2
Find the center of mass, measured from x = 0, of a rod of length 3 m whose linear density is lambda = 4x kg per meter.

End of topic.