Why Composite Regions Need Careful Bookkeeping
A region with a cutout, or a shape assembled from several simpler pieces, may not have a convenient centroid formula of its own. But if its pieces have known areas or masses and known centroids, its centroid can be found by combining their contributions.
The key is to combine first moments as well as areas or masses. A large piece far from the origin contributes more to a first moment than a small piece nearby. A hole contributes negatively because its material has been removed.
Area and First-Moment Bookkeeping
For a planar region with area \(A\) and centroid \((\bar{x},\bar{y})\), its first moments about the coordinate axes are \(Q_y=A\bar{x}\) and \(Q_x=A\bar{y}\). Thus, \(Q_y\) tracks horizontal position and \(Q_x\) tracks vertical position. Equivalently, for a region \(R\), \(Q_y=\iint_R x\,dA\) and \(Q_x=\iint_R y\,dA\).
For a union, all pieces have positive signs if their interiors do not overlap. For a region with a hole, the hole has a negative sign. The pieces and holes must be chosen so that the signed combination describes the intended region without counting any part twice.
Why Signed First Moments Work
The formulas follow from additivity of integrals. If \(R_1\) and \(R_2\) have disjoint interiors, their union contains each point of each piece exactly once. Therefore, integrating \(1\), \(x\), or \(y\) over the union gives the sum of the corresponding integrals over the pieces. These integrals are area, \(Q_y\), and \(Q_x\), respectively.
If a hole \(H\) lies inside an outer region \(R\), the remaining region is \(R\setminus H\). The integral over \(R\) is the sum of the integrals over \(R\setminus H\) and \(H\), so subtracting the integral over \(H\) gives the integral over the material that remains. Applying this to each of \(1\), \(x\), and \(y\) proves the signed formulas.
This argument also explains an important limitation: simply adding the areas of overlapping pieces counts the overlap more than once. Before using the formulas, split the shape into pieces with disjoint interiors, or otherwise account for the overlap. A negative sign represents removed material in the bookkeeping; it does not mean that the physical hole has negative area.
Worked Example: A Rectangular Plate with a Circular Hole
Worked Example: A Rectangular Plate with a Circular Hole
A uniform plate occupies the rectangle \(0\le x\le10\), \(0\le y\le8\). A circular hole of radius \(2\), centered at \((6,4)\), is cut from it. Find the area and centroid of the remaining region.
The rectangle has area \(A_1=10\cdot8=80\), and its centroid is \((5,4)\). The circular hole has area \(A_2=\pi(2)^2=4\pi\), and its centroid is its center, \((6,4)\). Give the rectangle a positive sign and the hole a negative sign.
The remaining area is
Its first moment about the \(y\)-axis is
Its first moment about the \(x\)-axis is
Since \(80-4\pi>0\), the centroid is defined. Its coordinates are
To check, multiply the centroid coordinates by the net area. This recovers \(A\bar{x}=400-24\pi=Q_y\) and \(A\bar{y}=320-16\pi=Q_x\), as required. Also, \(\bar{x}<5\): removing area to the right of the rectangle’s center shifts the centroid left. The unchanged value \(\bar{y}=4\) agrees with symmetry about the horizontal line \(y=4\).
Worked Example: A Region Built from Two Rectangles
Worked Example: A Region Built from Two Rectangles
An L-shaped region consists of a horizontal rectangle \(0\le x\le6,\ 0\le y\le2\) and a vertical rectangle \(0\le x\le2,\ 2\le y\le6\). Their interiors do not overlap. Find the area and centroid.
The horizontal rectangle has area \(A_1=6\cdot2=12\) and centroid \((3,1)\). The vertical rectangle has area \(A_2=2\cdot4=8\) and centroid \((1,4)\). Both pieces are present, so both signs are positive.
The total area is
The first moment about the \(y\)-axis is
The first moment about the \(x\)-axis is
Therefore,
For the check, \((20)(11/5)=44\) for each coordinate, recovering both calculated first moments. The equal coordinates are consistent with the component areas and locations, although the L-shaped region itself is not symmetric about the line \(y=x\).
Mass and Centroid for Different Materials
The same method applies when pieces have different uniform densities. For a piece with mass \(m_i\) and centroid \((\bar{x}_i,\bar{y}_i)\), its first moments are \(m_i\bar{x}_i\) and \(m_i\bar{y}_i\). If pieces have densities \(\rho_i\), their masses are \(m_i=\rho_iA_i\). A hole is subtracted using the mass and first moments of the material that would have occupied the removed part.
Worked Example: Two Joined Pieces with Different Densities
Worked Example: Two Joined Pieces with Different Densities
A rectangular piece occupies \(0\le x\le4,\ 0\le y\le2\) and has uniform density \(3\). A circular disk of radius \(1\), density \(2\), and center \((5,1)\) is joined to it. The disk touches the rectangle at its boundary, so their interiors do not overlap. Find the center of mass.
The rectangle has area \(4\cdot2=8\), so its mass is \(m_1=3\cdot8=24\). Its centroid is \((2,1)\). The disk has area \(\pi(1)^2=\pi\), so its mass is \(m_2=2\pi\). Its centroid is \((5,1)\).
The total mass is \(M=24+2\pi\). The first moment about the \(y\)-axis is
The first moment about the \(x\)-axis is
Thus the center of mass is
Checking gives \(M\bar{x}=48+10\pi=Q_y\) and \(M\bar{y}=24+2\pi=Q_x\). The vertical coordinate is \(1\) because both pieces have that vertical centroid coordinate. The different densities matter through the masses, not just through the component areas.
A Common Sign Error
When subtracting a hole, its area and both first moments must be subtracted. A frequent error is to subtract the hole’s area but add its first moment. For the plate in the first example, that incorrect calculation would give
This treats the removed material as if it still contributed to the horizontal first moment, even though it has been removed from the area total. The consistent calculation subtracts both contributions: \(\bar{x}=(400-24\pi)/(80-4\pi)\). As a quick reasonableness check, removing a hole to the right of the rectangle’s centroid should shift the centroid left, not right.
Before accepting a result, check that the net area or mass is positive, that the signs represent the material actually present, and that multiplying the proposed centroid coordinates by the net area or mass recovers the calculated first moments. These checks catch many bookkeeping errors.
Check Your Understanding
For each question, identify the signed areas or masses and first moments that should be combined.
- A region is formed from three rectangles with disjoint interiors. How would you calculate its total area and its two first moments from the rectangles’ areas and centroids?
- A hole is cut from a region. Why must the hole’s first moments be subtracted along with its area?
- A plate consists of two joined pieces with different uniform densities. Should their centroid coordinates be weighted by area or by mass? Explain.
- What can go wrong if two overlapping pieces are simply added as if their interiors were disjoint?
- What calculation verifies that a proposed composite centroid has the correct first moments?