Tutorials › Calculus II › Centroid Bounds From Weighted Averages

Mass, Moments, and Centroids · Tutorial 486 of 998

Centroid Bounds From Weighted Averages

Use the weighted-average principle to prove coordinate bounds for lamina centroids and to detect implausible results.

Intermediate 9 min read

What You'll Learn

  • State the mass and first-moment conditions needed for a centroid to be defined.
  • Prove that each centroid coordinate lies between the corresponding bounds of the mass.
  • Interpret a centroid coordinate as a normalized weighted average.
  • Check computed centroid coordinates against the lamina’s coordinate ranges.
  • Identify why nonnegative density is essential to the bounds.

Why Centroid Bounds Are Useful

A centroid calculation combines the positions of all parts of a lamina, weighted by their mass. This gives an immediate way to check a result: if all the mass lies between two vertical lines, its horizontal centroid coordinate cannot lie outside those lines. The same reasoning applies to horizontal lines and the vertical coordinate.

This check is useful after setting up and evaluating mass and moment integrals. It does not replace those calculations, but it can reveal a sign error, an incorrect limit, or a mistaken moment before the result is used further.

Mass, Moments, and Conditions for a Centroid

Let \(R\) be a region in the plane with nonnegative areal density \(\rho(x,y)\). The mass is the double integral of the density over the region. The first moments are integrals of the coordinates weighted by density: the moment about the \(y\)-axis weights by \(x\), and the moment about the \(x\)-axis weights by \(y\).

$$ M=\iint_R \rho(x,y)\,dA,\qquad M_y=\iint_R x\rho(x,y)\,dA,\qquad M_x=\iint_R y\rho(x,y)\,dA. $$

For a finite, positive mass and finite first moments, the centroid coordinates are \(\bar{x}=M_y/M\) and \(\bar{y}=M_x/M\). In a general region, finite mass alone is not enough: the first moments must also exist as finite quantities. A convenient sufficient condition is that the absolute first moments are finite. Bounded regions with integrable density satisfy this condition.

Definition: Suppose \(\rho\geq 0\), \(0<M<\infty\), and \(\iint_R |x|\rho\,dA<\infty\) and \(\iint_R |y|\rho\,dA<\infty\). The centroid is the point \((\bar{x},\bar{y})\), where \(\bar{x}=M_y/M\) and \(\bar{y}=M_x/M\).

These assumptions make both coordinate averages well-defined. For example, a region may extend infinitely far in the \(x\)-direction while its total mass remains finite, yet its horizontal first moment may be infinite. In that case the centroid’s horizontal coordinate is not defined by the moment ratio.

The Weighted-Average Principle

For a finite collection of positions, a weighted average with nonnegative weights lies between the smallest and largest positions receiving weight. A lamina follows the same principle: each small portion of mass contributes its coordinate, and nonnegative mass cannot pull the average outside the range of those coordinates.

To state this precisely, let \(a\) and \(b\) be finite numbers such that \(a\leq x\leq b\) wherever the lamina has mass, apart from a set of mass zero. In integral language, it is enough that these inequalities hold for \(\rho(x,y)\,dA\)-almost every point of \(R\). This allows us to ignore points or sets carrying no mass. If the lamina lies within a rectangle \([a,b]\times[c,d]\), then the corresponding bounds hold for both coordinates.

Theorem: If \(0<M<\infty\), the first moments are finite, \(\rho\geq 0\), and \(a\leq x\leq b\) wherever there is mass (up to sets of mass zero), then \(a\leq\bar{x}\leq b\). If likewise \(c\leq y\leq d\) wherever there is mass, then \(c\leq\bar{y}\leq d\).

Why the Bounds Hold

The proof comes directly from multiplying the coordinate inequalities by a nonnegative density and integrating. Since \(\rho\) is nonnegative, multiplying by it preserves the direction of each inequality. Division by the positive mass then preserves the direction again.

1
Apply the coordinate bounds.
From \(a\leq x\leq b\) and \(\rho\geq 0\), we have \(a\rho\leq x\rho\leq b\rho\) wherever there is mass.
2
Integrate over the lamina.
Integration preserves inequalities, so \(aM\leq M_y\leq bM\), using \(\iint_R\rho\,dA=M\) and \(\iint_R x\rho\,dA=M_y\).
3
Divide by positive mass.
Because \(M>0\), division gives \(a\leq M_y/M\leq b\), which is \(a\leq\bar{x}\leq b\).
4
Repeat for the other coordinate.
Integrating \(c\rho\leq y\rho\leq d\rho\) gives \(cM\leq M_x\leq dM\), hence \(c\leq\bar{y}\leq d\).

This is a complete proof of both bounds. It also shows exactly where the hypotheses matter: nonnegative density is needed to preserve the inequalities, and positive finite mass is needed to divide by \(M\). The first-moment conditions ensure the moment ratios used in the conclusion are finite and defined.

The centroid need not be at the midpoint of the coordinate range. The midpoint would be the average only in special circumstances, such as a symmetric distribution of mass about that midpoint. The bounds say where the coordinate must lie, not where it lies within that interval.

Worked Example: A Rectangle With Density Increasing in \(x\)

Worked Example: A Rectangle With Density Increasing in \(x\)

Let \(R=[0,2]\times[0,1]\) and let \(\rho(x,y)=1+x\). Find the centroid and check it against the coordinate bounds.

The density is positive on the rectangle, whose area is finite, so the mass and first moments are finite. First compute the mass:

$$ 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 =2+2=4. $$

The moment about the \(y\)-axis is:

$$ M_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}. $$

Therefore \(\bar{x}=M_y/M=(14/3)/4=7/6\). The moment about the \(x\)-axis is:

$$ M_x=\int_0^2\int_0^1y(1+x)\,dy\,dx =\int_0^2(1+x)\left[\frac{y^2}{2}\right]_0^1 dx =\frac12\int_0^2(1+x)\,dx =2. $$

Thus \(\bar{y}=M_x/M=2/4=1/2\). The rectangle has \(0\leq x\leq2\) and \(0\leq y\leq1\), so the bounds require \(0\leq\bar{x}\leq2\) and \(0\leq\bar{y}\leq1\). The computed values \(7/6\) and \(1/2\) satisfy both checks.

Finally, substitution into the centroid definitions gives \(M\bar{x}=4(7/6)=14/3=M_y\) and \(M\bar{y}=4(1/2)=2=M_x\), confirming the moment ratios.

Worked Example: A Triangular Lamina

Worked Example: A Triangular Lamina

Let \(R\) be the triangle described by \(0\leq x\leq1\) and \(0\leq y\leq x\), with constant density \(\rho(x,y)=2\). Compute the centroid and check the bounds.

Integrating first with respect to \(y\), the mass is:

$$ M=\int_0^1\int_0^x2\,dy\,dx =\int_0^1 2x\,dx =\left[x^2\right]_0^1 =1. $$

The moment about the \(y\)-axis is:

$$ M_y=\int_0^1\int_0^x2x\,dy\,dx =\int_0^1 2x^2\,dx =\left[\frac{2x^3}{3}\right]_0^1 =\frac23. $$

Hence \(\bar{x}=(2/3)/1=2/3\). The moment about the \(x\)-axis is:

$$ M_x=\int_0^1\int_0^x2y\,dy\,dx =\int_0^1\left[y^2\right]_0^x dx =\int_0^1x^2\,dx =\left[\frac{x^3}{3}\right]_0^1 =\frac13. $$

Thus \(\bar{y}=(1/3)/1=1/3\). The triangle lies within \(0\leq x\leq1\) and \(0\leq y\leq1\), so both coordinates satisfy the bounds. The result also passes the defining checks \(M\bar{x}=1(2/3)=M_y\) and \(M\bar{y}=1(1/3)=M_x\).

Bounds for Coordinates Below Zero

Coordinate bounds do not require the region to lie in the first quadrant. The same proof applies when the coordinate interval includes negative values. What matters is that the centroid coordinate is an average of positions with nonnegative mass weights.

Worked Example: A Lamina Extending Across the \(y\)-Axis

Let \(R=[-2,1]\times[1,3]\), with density \(\rho(x,y)=2-x\). The density is positive throughout this rectangle because \(2-x\geq1\) there. Find the centroid and check its bounds.

The mass is:

$$ M=\int_{-2}^1\int_1^3(2-x)\,dy\,dx =2\int_{-2}^1(2-x)\,dx =2\left[2x-\frac{x^2}{2}\right]_{-2}^1 =2\left(\frac32-(-6)\right) =15. $$

The moment about the \(y\)-axis is:

$$ M_y=2\int_{-2}^1x(2-x)\,dx =2\left[x^2-\frac{x^3}{3}\right]_{-2}^1 =2\left(\frac23-\frac{20}{3}\right) =-12. $$

Therefore \(\bar{x}=M_y/M=-12/15=-4/5\). For the moment about the \(x\)-axis, separate the \(x\)- and \(y\)-integrals:

$$ M_x=\left(\int_{-2}^1(2-x)\,dx\right) \left(\int_1^3y\,dy\right) =\frac{15}{2}\left[\frac{y^2}{2}\right]_1^3 =\frac{15}{2}\cdot4 =30. $$

Hence \(\bar{y}=30/15=2\). The region’s coordinate ranges are \(-2\leq x\leq1\) and \(1\leq y\leq3\). The values \(-4/5\) and \(2\) lie within those intervals. Substitution confirms \(M\bar{x}=15(-4/5)=-12=M_y\) and \(M\bar{y}=15(2)=30=M_x\).

When the Bounds Are Strict

The theorem gives inclusive bounds. It does not always give strict inequalities: for example, its assumptions allow mass to be concentrated entirely on a boundary coordinate. More precisely, equality \(\bar{x}=a\) means \(M_y=aM\), or equivalently \(\iint_R(x-a)\rho\,dA=0\). Since \((x-a)\rho\geq0\), this occurs exactly when \(x=a\) for almost all mass. The corresponding statement holds for \(\bar{x}=b\) and for the vertical coordinate.

For an ordinary areal density on a two-dimensional region, a line by itself has area zero and cannot carry positive mass. Thus, in the usual nondegenerate lamina setting, if mass is spread over points with \(a<x<b\), the horizontal centroid lies strictly between \(a\) and \(b\). The general inclusive statement remains useful because it does not require such an extra condition.

A Common Pitfall: Ignoring the Sign of Density

Nonnegative density is essential. If a signed function is used instead, multiplication may reverse or disrupt the inequalities, and the centroid ratio need not lie inside the coordinate range. For a concrete calculation, take the unit square and the signed function \(\rho(x,y)=3x-1\). Its total integral is positive, but the function is negative for \(0\leq x<1/3\), so it is not a physical mass density.

$$ M=\int_0^1\int_0^1(3x-1)\,dy\,dx =\int_0^1(3x-1)\,dx =\frac12, \qquad M_y=\int_0^1x(3x-1)\,dx =1-\frac12 =\frac12. $$

The resulting ratio is \(\bar{x}=M_y/M=1\), which is at the edge rather than outside; this particular choice does not demonstrate failure of the bound. To see an actual failure, use \(\rho(x,y)=1-2x\) on the unit square. Then:

$$ M=\int_0^1(1-2x)\,dx=0, \qquad M_y=\int_0^1x(1-2x)\,dx =\frac12-\frac23=-\frac16. $$

Here the mass is zero, so the centroid is not defined at all. A signed density with positive total mass can also produce an out-of-range ratio. For \(\rho(x,y)=3x-1\), the calculations above actually give \(M=1/2\) and \(M_y=1/2\), so \(\bar{x}=1\); changing the function to \(\rho(x,y)=4x-1\) gives \(M=1\) and \(M_y=4/3-1/2=5/6\), still within the interval. This illustrates why one should not claim a violation without checking the integrals.

A direct example that does violate the bound is \(\rho(x,y)=5x-2\) on the unit square: \(M=1/2\) and \(M_y=5/3-1=2/3\), so \(\bar{x}=4/3\), outside \(0\leq x\leq1\). The sign-changing function is not a valid physical density, but it confirms that the nonnegativity assumption cannot simply be omitted. In centroid work, a negative computed density or a centroid outside the region’s coordinate bounds should prompt a check of the model and integrals.

Using the Bounds as a Calculation Check

After computing the mass and moments, compare each coordinate separately with the minimum and maximum coordinates of the mass-bearing region. For a lamina inside \([a,b]\times[c,d]\), the required checks are \(a\leq\bar{x}\leq b\) and \(c\leq\bar{y}\leq d\). A failed check does not by itself identify the error, but it proves that at least one relevant assumption or calculation is wrong.

Take care to use bounds for the region carrying mass, not merely the largest region mentioned in a diagram if part of it has been excluded. Likewise, a zero-density part contributes no weight. The tightest useful bounds come from the coordinate range over which positive mass is actually distributed.

The weighted-average interpretation is the key: with finite positive mass and nonnegative density, the centroid coordinate cannot be pulled beyond the positions contributing that mass. That simple fact provides a rigorous theorem and a practical diagnostic for integral calculations.

Check Your Understanding

Use the definitions and bounds above to answer the following questions.

  1. Why must the first moments be finite in addition to requiring finite positive mass?
  2. A lamina has nonnegative density and lies inside \([-1,3]\times[2,5]\). What bounds must its centroid satisfy?
  3. In the proof of the horizontal bound, where is nonnegativity of \(\rho\) used?
  4. What does equality \(\bar{x}=a\) imply about the mass distribution?
  5. A calculation gives \(\bar{y}=6\) for a lamina whose mass lies only between \(y=0\) and \(y=4\). What can you conclude?