Tutorials › Calculus II › Mixed Mass, Moment, and Centroid Problems

Mass, Moments, and Centroids · Tutorial 498 of 998

Mixed Mass, Moment, and Centroid Problems

Set up mass and moment integrals for different physical models, combine their contributions correctly, and test whether the resulting centroid is physically plausible.

Intermediate 10 min read

What You'll Learn

  • Set up mass and first-moment integrals for a rod with variable linear density.
  • Compute the centroid of a lamina whose density varies across its region.
  • Combine masses and moments for adjacent regions with different densities.
  • Find a solid’s coordinate along its slicing axis from cross-sectional area and density.
  • Check centroid calculations using units, moment balances, and physical bounds.

One Framework for Several Physical Models

A rod, a thin sheet, and a three-dimensional solid have different geometries, but their mass and centroid calculations follow the same principle: add up small contributions of mass, then weight each contribution by its position to obtain a first moment. The key is choosing the correct expression for each small mass element.

For a rod, the element is linear; for a lamina, it is an area element; and for a solid described by slices, it is a thin volume slice. Composite objects require one more step: calculate the mass and moments of each part, then add them. A reliable solution keeps track of the geometry, density, units, and coordinate used in every integral.

Definition: For a mass distribution with total mass \(m>0\), its centroid coordinate along \(x\) is \(\bar{x}=Q_x/m\), where \(Q_x=\int x\,dm\) is the first moment of mass about the plane \(x=0\). In a plane, \(Q_x=\int y\,dm\) and \(Q_y=\int x\,dm\), so \(\bar{x}=Q_y/m\) and \(\bar{y}=Q_x/m\). These formulas require finite mass and finite first moments.

The names of the planar moments can initially seem reversed: the moment about the \(x\)-axis weights mass by its \(y\)-coordinate, while the moment about the \(y\)-axis weights it by its \(x\)-coordinate. This convention follows the perpendicular distance to the relevant axis. For a one-dimensional coordinate calculation, it is often clearer to write \(Q_x=\int x\,dm\) and state explicitly that this is the first moment for the \(x\)-coordinate.

Why Mass and Moment Add

Suppose an object consists of separate parts indexed by \(i\), with masses \(m_i\) and centroid coordinates \((\bar{x}_i,\bar{y}_i)\). The total mass is \(\sum_i m_i\). The total first moment in the \(x\)-direction is \(\sum_i m_i\bar{x}_i\): each part contributes its own mass times its own centroid coordinate. Therefore, the centroid of the whole object is

$$ \bar{x}=\frac{\sum_i m_i\bar{x}_i}{\sum_i m_i}, \qquad \bar{y}=\frac{\sum_i m_i\bar{y}_i}{\sum_i m_i}. $$

The same reasoning applies when the object is divided into continuously many small elements. Each element contributes \(dm\) to mass and \(x\,dm\) to the first moment. Summing those contributions in the limit gives \(m=\int dm\) and \(Q_x=\int x\,dm\). This explains why the integral formula and the mass-weighted formula for composite objects are consistent.

Takeaway: Calculate mass and first moments for each component using that component’s own density and geometry. Add masses and matching moments separately, then divide the total moment by the total mass.

Worked Example: A Rod With Variable Linear Density

Worked Example: A Rod With Variable Linear Density

A straight rod lies along the \(x\)-axis from \(x=0\) m to \(x=2\) m. Its linear density is \(\lambda(x)=1+x\) kg/m. Find its mass and centroid coordinate.

For a small length \(dx\), the mass is \(dm=\lambda(x)\,dx\). Thus the total mass is

$$ m=\int_0^2(1+x)\,dx =\left[x+\frac{x^2}{2}\right]_0^2 =2+2 =4\text{ kg}. $$

The first moment for the \(x\)-coordinate is

$$ Q_x=\int_0^2x\,dm =\int_0^2x(1+x)\,dx =\left[\frac{x^2}{2}+\frac{x^3}{3}\right]_0^2 =2+\frac{8}{3} =\frac{14}{3}\text{ kg}\cdot\text{m}. $$

Therefore,

$$ \bar{x}=\frac{Q_x}{m} =\frac{14/3}{4} =\frac{7}{6}\text{ m}. $$

Check: multiplying the mass by the proposed centroid gives \(4\text{ kg}\times(7/6)\text{ m}=14/3\text{ kg}\cdot\text{m}\), the calculated first moment. Also, \(0<7/6<2\), so the centroid lies within the rod. The units are consistent: a first moment has units of mass times length, and division by mass gives length.

Worked Example: A Lamina With Density Varying Across It

Worked Example: A Variable-Density Rectangular Lamina

A rectangular lamina occupies \(0\leq x\leq2\) m and \(0\leq y\leq1\) m. Its area density is \(\sigma(x,y)=1+x\) kg/m². Find its mass and centroid.

For an area element \(dA=dx\,dy\), the mass element is \(dm=\sigma\,dA\). Integrate first with respect to \(y\), then \(x\):

$$ m=\int_0^2\int_0^1(1+x)\,dy\,dx =\int_0^2(1+x)\,dx =\left[x+\frac{x^2}{2}\right]_0^2 =4\text{ kg}. $$

The moment about the \(y\)-axis weights mass by \(x\):

$$ Q_y=\int_0^2\int_0^1x(1+x)\,dy\,dx =\int_0^2(x+x^2)\,dx =\left[\frac{x^2}{2}+\frac{x^3}{3}\right]_0^2 =2+\frac{8}{3} =\frac{14}{3}\text{ kg}\cdot\text{m}. $$

The moment about the \(x\)-axis weights mass by \(y\):

$$ Q_x=\int_0^2\int_0^1y(1+x)\,dy\,dx =\int_0^2(1+x)\left[\frac{y^2}{2}\right]_0^1dx =\frac{1}{2}\int_0^2(1+x)\,dx =2\text{ kg}\cdot\text{m}. $$

Divide each moment by the total mass:

$$ \bar{x}=\frac{Q_y}{m}=\frac{14/3}{4}=\frac{7}{6}\text{ m}, \qquad \bar{y}=\frac{Q_x}{m}=\frac{2}{4}=\frac{1}{2}\text{ m}. $$

Check: \(m\bar{x}=4(7/6)=14/3\text{ kg}\cdot\text{m}=Q_y\), and \(m\bar{y}=4(1/2)=2\text{ kg}\cdot\text{m}=Q_x\). The centroid satisfies \(0<7/6<2\) and \(0<1/2<1\), as required for a positive-density lamina contained in this rectangle. The mass units are kg because \(\text{kg}/\text{m}^2\) is multiplied by area in m².

Worked Example: Combining Regions With Different Densities

Worked Example: Two Rectangles With Different Densities

A lamina is made from two rectangles joined along an edge. The left rectangle occupies \(0\leq x\leq2\) m and \(0\leq y\leq1\) m, with density \(2\) kg/m². The right rectangle occupies \(2\leq x\leq3\) m and \(0\leq y\leq2\) m, with density \(1\) kg/m². Find the centroid of the combined lamina.

For the left rectangle, the area is \(2\text{ m}^2\), so its mass is \(2\text{ kg/m}^2\times2\text{ m}^2=4\) kg. Its geometric center is \((1,1/2)\) m. Since its density is constant, its centroid is also \((1,1/2)\) m. Its moments are \(Q_y=4(1)=4\text{ kg}\cdot\text{m}\) and \(Q_x=4(1/2)=2\text{ kg}\cdot\text{m}\).

For the right rectangle, the area is \(1\text{ m}\times2\text{ m}=2\text{ m}^2\), so its mass is \(1\text{ kg/m}^2\times2\text{ m}^2=2\) kg. Its center, and hence its centroid, is \((5/2,1)\) m. Its moments are \(Q_y=2(5/2)=5\text{ kg}\cdot\text{m}\) and \(Q_x=2(1)=2\text{ kg}\cdot\text{m}\).

Add the two masses and the corresponding moments:

$$ m=4+2=6\text{ kg},\qquad Q_y=4+5=9\text{ kg}\cdot\text{m},\qquad Q_x=2+2=4\text{ kg}\cdot\text{m}. $$

The combined centroid is therefore

$$ \bar{x}=\frac{Q_y}{m}=\frac{9}{6}=\frac{3}{2}\text{ m}, \qquad \bar{y}=\frac{Q_x}{m}=\frac{4}{6}=\frac{2}{3}\text{ m}. $$

Check: \(6(3/2)=9\text{ kg}\cdot\text{m}\) and \(6(2/3)=4\text{ kg}\cdot\text{m}\), reproducing both total moments. The centroid lies within the overall bounding rectangle \(0\leq x\leq3\), \(0\leq y\leq2\). Its \(x\)-coordinate is between the component centroids \(1\) m and \(5/2\) m, and its \(y\)-coordinate is between \(1/2\) m and \(1\) m, consistent with the masses and positions.

Worked Example: A Solid Described by Cross-Sectional Slices

Worked Example: A Solid With Varying Area and Density

A solid extends from \(x=0\) m to \(x=2\) m. The cross-sectional area perpendicular to the \(x\)-axis is \(A(x)=1+x\) m², and the density is \(\rho(x)=1+x\) kg/m³. Find the mass and the centroid coordinate along \(x\).

A slice of thickness \(dx\) has volume \(dV=A(x)\,dx\), so its mass is \(dm=\rho(x)A(x)\,dx\). The mass is

$$ m=\int_0^2(1+x)^2\,dx =\int_0^2(1+2x+x^2)\,dx =\left[x+x^2+\frac{x^3}{3}\right]_0^2 =2+4+\frac{8}{3} =\frac{26}{3}\text{ kg}. $$

The slice at position \(x\) contributes \(x\,dm\) to the first moment for the \(x\)-coordinate:

$$ Q_x=\int_0^2x(1+x)^2\,dx =\int_0^2(x+2x^2+x^3)\,dx =\left[\frac{x^2}{2}+\frac{2x^3}{3}+\frac{x^4}{4}\right]_0^2 =2+\frac{16}{3}+4 =\frac{34}{3}\text{ kg}\cdot\text{m}. $$

Thus,

$$ \bar{x}=\frac{Q_x}{m} =\frac{34/3}{26/3} =\frac{17}{13}\text{ m}. $$

Check: \((26/3)(17/13)=34/3\text{ kg}\cdot\text{m}\), which matches the calculated moment. Also, \(0<17/13<2\), so the coordinate lies within the solid’s extent along the \(x\)-axis. The density times area has units \((\text{kg}/\text{m}^3)(\text{m}^2)=\text{kg}/\text{m}\); integrating with respect to \(x\) gives kilograms.

This slice calculation determines the \(x\)-coordinate because each slice is at a known \(x\). To find transverse coordinates, such as \(\bar{y}\) or \(\bar{z}\), one would also need the locations of the cross-sectional centroids and their mass contributions.

A Common Mistake: Using the Geometric Center for Unequal Density

The geometric center of a region is not automatically its centroid of mass. The shortcut works for a uniform-density rectangle because every area element has the same mass per unit area. If density varies, regions with greater density contribute more strongly to both mass and moments.

For the variable-density rectangle in the earlier example, a tempting but incorrect calculation is to use its geometric center, \((1,1/2)\) m, as the centroid. That would predict \(Q_y=m\bar{x}=4(1)=4\text{ kg}\cdot\text{m}\). But direct integration gives \(Q_y=14/3\text{ kg}\cdot\text{m}\), not \(4\text{ kg}\cdot\text{m}\). The corrected coordinate is \(\bar{x}=(14/3)/4=7/6\) m. The larger density at larger \(x\) shifts the centroid to the right.

Physical check: For a positive mass distribution contained between \(x=a\) and \(x=b\), its centroid coordinate must satisfy \(a\leq\bar{x}\leq b\). For a planar region contained in a rectangle, check both coordinate bounds. A result outside the object’s coordinate range usually signals an incorrect density, moment, boundary, or unit.

A Reliable Setup for Mixed Problems

1
Identify the model and coordinates.
Use linear density \(\lambda\) for a rod, area density \(\sigma\) for a lamina, and volume density \(\rho\) for a solid. State the coordinate or axes whose centroid is required.
2
Write the mass element.
Use \(dm=\lambda\,dx\), \(dm=\sigma\,dA\), or \(dm=\rho\,dV\). For slices, \(dV=A(x)\,dx\) when slices are perpendicular to the \(x\)-axis.
3
Form the matching moment.
Multiply each mass element by the coordinate that measures its contribution to the desired first moment. For an \(x\)-coordinate, this is \(x\,dm\).
4
Combine components before dividing.
For a composite object, add all component masses and all corresponding moments. Divide the total moment by the total mass, not by a component mass.
5
Validate the result.
Check that units reduce to length, that \(m\bar{x}\) reproduces the calculated first moment, and that the centroid is physically consistent with the object and its density.

These checks do not replace the integral setup, but they catch many errors before a result is accepted. In particular, dimensions help distinguish a density from a mass, while the moment balance checks whether the final coordinate agrees with the integral that produced it.

Check Your Understanding

For each question, identify which mass and moment quantities are needed before evaluating any integrals.

  1. A rod lies on \(0\leq x\leq L\) with linear density \(\lambda(x)\). Write the integrals for its mass and \(x\)-coordinate of its centroid.
  2. For a lamina with area density \(\sigma(x,y)\), which coordinate weights the mass in the moment used to find \(\bar{x}\)?
  3. Two components have masses \(m_1,m_2\) and centroid coordinates \(x_1,x_2\). Write the total \(x\)-coordinate of their combined centroid.
  4. A solid has slice area \(A(x)\) and density \(\rho(x)\). Write the mass element for a slice of thickness \(dx\), including its units.
  5. Why is the geometric center generally not sufficient to find the centroid of a variable-density lamina?

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon