Statics and Dynamics • Statics

Centroids — Compute centroid of composite areas using first moments

Locate the geometric center of complex cross-sections by decomposing them into simple shapes and summing first moments of area.

Statics and dynamics illustration with coordinate axes, force weight, and three-dimensional motion
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

The idea of a centroid — the geometric center of an area, line, or volume — traces back to antiquity, but it became indispensable when engineers needed to predict how beams, columns, and machine parts respond to load. The centroid is where the first moment of area vanishes, and it coincides with the center of mass whenever material density is uniform. For an engineer sizing a structural section, knowing this point is the prerequisite for computing bending stresses, deflections, and buckling loads, because the neutral axis of a symmetric beam passes directly through the centroid.

Real cross-sections — I-beams, angles, channels, welded plate assemblies — are rarely simple rectangles or circles. The composite-area method exploits a key property of integration: the first moment of a whole equals the sum of the first moments of its parts. This lets us skip integration entirely by decomposing a complex shape into standard geometric primitives whose centroids and areas are tabulated.

c. 250 BCE • Archimedes and the Law of the Lever

Archimedes established the principle of moments and located centers of gravity of parabolic segments, laying the conceptual foundation for the first moment.

1635 • Pappus–Guldinus Theorems Revived

Paul Guldin formalized the theorems relating centroids to surfaces and volumes of revolution, cementing the centroid as a computational tool.

1687 • Newton's Principia

Newton's formalization of the center of mass unified centroid concepts with dynamics, connecting geometry to force and motion.

19th c. • Structural Engineering Standardization

With the rise of iron and steel construction, section tables listing areas and centroids of rolled shapes made composite-area analysis routine practice.

The central question this lesson answers is deceptively simple: given an arbitrary planar region built from recognizable pieces, where is its centroid, and how do we find it without calculus?

SECTION 2

Core Principles & Definitions

The first moment of area about an axis measures how the area is distributed relative to that axis. For an area element dA located a distance x from the y-axis, the first moment about the y-axis is Qy = ∫x dA. The centroid coordinate is simply this first moment divided by the total area.

For composite areas, we replace the integral with a finite sum. Each subarea Aᵢ contributes a first moment equal to its own area multiplied by the distance from its centroid (x̄ᵢ, ȳᵢ) to the reference axis. Regions that represent holes or removed material are assigned negative areas, so they subtract their contribution automatically.

1

First Moment of Area

Qᵧ = Σ Aᵢx̄ᵢ and Qₓ = Σ Aᵢȳᵢ. It has units of length cubed and can be positive, negative, or zero.
2

Centroid Location

X̄ = Qᵧ / ΣAᵢ and Ȳ = Qₓ / ΣAᵢ. The centroid is the area-weighted average of the component centroids.
3

Superposition of Parts

The first moment of a whole equals the algebraic sum of the first moments of its parts — the property that makes decomposition valid.
4

Negative Areas

Holes, cutouts, and notches are treated as subareas with negative area, elegantly subtracting their moment contribution.
✦

KEY TAKEAWAY

Think of the centroid as the balance point of a thin sheet cut into the shape of your cross-section. Just as a machinist balances an irregular flywheel by treating it as the weighted average of its lobes, we locate a section's centroid by taking the area-weighted average of the centroids of its simple pieces. Larger pieces pull the balance point toward themselves in proportion to their area.

SECTION 3

Visual Explanation

Consider an L-shaped cross-section (an unequal-leg angle). We decompose it into two rectangles. Each rectangle has a known area and a centroid at its own geometric center. The composite centroid lies somewhere between the two component centroids, closer to the larger rectangle.

xyC₁ (60, 20)C₂ (20, 90)C (X̄, Ȳ)A₁A₂120 mm140 mmL-Section DecompositionA₁ = 120 × 40 = 4800 mm²A₂ = 40 × 100 = 4000 mm²Centroid pulled toward larger area
The L-section is split into rectangle A₁ (cyan) and rectangle A₂ (violet). Each component centroid (C₁, C₂) is marked at its geometric center. The composite centroid C (pink) is the area-weighted average, lying nearer to the larger of the two rectangles.

Notice how the composite centroid C never lies outside the region for this shape, but it can fall in empty space for shapes with holes or re-entrant corners. The reference origin is arbitrary — choose it to simplify arithmetic, typically at a corner where several dimensions align.

SECTION 4

Mathematical Framework

We begin with the integral definition and reduce it to a discrete sum. For a continuous planar region, the centroid coordinates follow directly from the first moments of area.

CONTINUOUS DEFINITION

Xˉ=(∫xdA)/(∫dA),Yˉ=(∫ydA)/(∫dA)X̄ = (∫ x dA) / (∫ dA) , Ȳ = (∫ y dA) / (∫ dA)

Here dA is a differential area element, x and y are its coordinates, and the denominators equal the total area A. The numerators ∫x dA = Qᵧ and ∫y dA = Qₓ are the first moments about the y- and x-axes respectively.

COMPOSITE FIRST MOMENT

Qγ=ΣiAixˉi,Qx=ΣiAiyˉiQᵧ = Σᵢ Aᵢ x̄ᵢ , Qₓ = Σᵢ Aᵢ ȳᵢ

Because integration is additive, the first moment of the whole equals the sum over each part i. Aᵢ is the area of part i and (x̄ᵢ, ȳᵢ) is the centroid of that part relative to the chosen reference axes.

COMPOSITE CENTROID

Xˉ=(ΣAixˉi)/(ΣAi),Yˉ=(ΣAiyˉi)/(ΣAi)X̄ = (Σ Aᵢ x̄ᵢ) / (Σ Aᵢ) , Ȳ = (Σ Aᵢ ȳᵢ) / (Σ Aᵢ)

Dividing the summed first moment by the summed area gives the area-weighted average position. Assign Aᵢ < 0 for cutouts so their moments subtract. The result is independent of how the region is partitioned.

💡

Choosing the Reference Frame

The centroid is a geometric property, so its physical location does not depend on the axes you pick — only its coordinate values do. Placing the origin along an axis of symmetry sets one first moment to zero and halves your work, because the centroid must lie on every axis of symmetry.

SECTION 5

Detailed Breakdown & Tabular Method

Practicing engineers organize composite-centroid calculations in a tabular format to avoid errors. Each row is a component; columns hold the area, the component centroid coordinates, and the products Aᵢx̄ᵢ and Aᵢȳᵢ. Summing columns yields ΣA and the first moments, from which the centroid follows in one division.

PartAᵢ (mm²)x̄ᵢ (mm)ȳᵢ (mm)Aᵢx̄ᵢ (mm³)Aᵢȳᵢ (mm³)
Rectangle 14800602028800096000
Rectangle 24000209080000360000
Σ8800——368000456000

Tabular computation for the L-section of Section 3

Negative-Area (Cutout) MethodSolid plate (+A)C_plateC_hole (−A)X̄ = (A_p x̄_p − A_h x̄_h)/ (A_p − A_h)The hole subtracts both itsarea and its first moment.200 mm
When a shape contains a hole, model it as a positive solid plate combined with a negative-area disk located at the hole's centroid. Both the area and its first moment are subtracted in the summations.

SECTION 6

Worked Example

Find the centroid of a 200 mm × 200 mm square steel plate with a 40 mm-radius circular hole centered at (130, 150) mm, measured from the plate's lower-left corner.

Centroid of a Plate with a Circular Hole

  1. 1

    Step 1 — Define Parts and Reference

    Place the origin at the lower-left corner. Part 1 is the solid plate (positive area); Part 2 is the hole (negative area). The plate centroid is at its center (100, 100); the hole centroid is given at (130, 150).
  2. 2

    Step 2 — Compute Areas

    A₁ = 200 × 200 = 40000 mm². A₂ = −πr² = −π(40)² = −5026.5 mm² (negative because it is removed material).
    ΣA = 40000 − 5026.5 = 34973.5 mm²
  3. 3

    Step 3 — First Moments About y-axis

    Qᵧ = A₁x̄₁ + A₂x̄₂ = (40000)(100) + (−5026.5)(130) = 4000000 − 653445 = 3346555 mm³.
    Qᵧ = 3.3466 × 10⁶ mm³
  4. 4

    Step 4 — First Moments About x-axis

    Qₓ = A₁ȳ₁ + A₂ȳ₂ = (40000)(100) + (−5026.5)(150) = 4000000 − 753975 = 3246025 mm³.
    Qₓ = 3.2460 × 10⁶ mm³
  5. 5

    Step 5 — Divide to Locate Centroid

    X̄ = Qᵧ / ΣA = 3346555 / 34973.5 = 95.69 mm. Ȳ = Qₓ / ΣA = 3246025 / 34973.5 = 92.81 mm.
    Centroid ≈ (95.7, 92.8) mm
  6. 6

    Step 6 — Sanity Check

    The hole sits above and to the right of the plate center, so removing it should shift the centroid down and left of (100, 100). Both coordinates dropped below 100 as expected, confirming the result is physically reasonable.

SECTION 7

Strengths & Limitations of the Method

The composite-area method is fast and error-resistant for shapes made of tabulated primitives, but it has boundaries where direct integration or numerical methods take over.

AspectStrengthLimitation
Shape typeExact for rectangles, triangles, circles, and standard rolled sectionsCurved or free-form boundaries require integration or CAD area properties
SpeedHand-computable in minutes via a tableMany small parts multiply arithmetic and rounding error
Holes/cutoutsHandled elegantly with negative areasOverlapping or nested regions demand careful bookkeeping of signs
AccuracyAnalytically exact when component centroids are knownApproximate if primitives only partially match the true geometry

Trade-offs of the composite-area centroid method

✦

WHERE THIS FITS

In modern practice, finite-element and CAD packages report centroids automatically, yet the composite method remains the engineer's mental model and verification tool. Just as you estimate a sum before trusting a calculator, you use hand centroid calculations to sanity-check software output and to build the intuition needed for second-moment (moment-of-inertia) analysis, which depends on knowing the centroid first.

SECTION 8

Connection to Advanced Theory

The first moment of area is the first in a family of area moments. Once you have located the centroid, the second moment of area (moment of inertia) is computed about centroidal axes using the parallel-axis theorem, which itself relies on centroid locations. The centroid is therefore the gateway to bending-stress and deflection analysis.

PropertyFirst Moment (This Lesson)Second Moment (Next Step)
DefinitionQ = ∫ x dAI = ∫ x² dA
Unitslength³length⁴
PurposeLocates the centroid; shear-flow analysisGoverns bending stiffness and stress distribution
SignZero about a centroidal axisAlways positive about any axis
Key theoremAdditivity of partsParallel-axis theorem: I = Ī + Ad²

First moment versus second moment of area

Looking ahead, the parallel-axis theorem I = Ī + Ad² transports a component's centroidal inertia to the composite centroidal axis, where d is the distance between the two centroids. Mastering the first-moment method here makes that next layer of analysis almost mechanical.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Why must the centroid of a planar region lie on every axis of symmetry, and what does this imply about the first moment of area computed about such an axis?
Show answer
An axis of symmetry pairs each area element on one side with an identical element at the mirrored position on the other side, so their first-moment contributions cancel. The net first moment about a symmetry axis is therefore zero, meaning Q = 0. Since the centroid coordinate is Q/A, that coordinate is zero relative to the axis — the centroid lies on it. If two symmetry axes exist, the centroid sits at their intersection, requiring no calculation.

Question 2: BASIC CALCULATION

A rectangle 60 mm wide and 100 mm tall has its lower-left corner at the origin. Compute the coordinates of its centroid.
Show answer
For a rectangle, the centroid lies at its geometric center. X̄ = width/2 = 60/2 = 30 mm, and Ȳ = height/2 = 100/2 = 50 mm. Thus the centroid is at (30, 50) mm. This tabulated result — half of each dimension — is the building block used for every composite calculation involving rectangles.

Question 3: INTERMEDIATE

A T-section consists of a horizontal flange 120 mm × 20 mm on top of a vertical web 20 mm × 100 mm. The web sits below the flange, centered. Taking the origin at the bottom of the web, find Ȳ (the vertical centroid).
Show answer
Web: A₁ = 20 × 100 = 2000 mm², ȳ₁ = 50 mm. Flange: A₂ = 120 × 20 = 2400 mm², ȳ₂ = 100 + 10 = 110 mm. ΣA = 4400 mm². Qₓ = (2000)(50) + (2400)(110) = 100000 + 264000 = 364000 mm³. Ȳ = 364000 / 4400 = 82.7 mm. The centroid lies above the web-flange junction, pulled upward by the larger flange area.

Question 4: APPLIED

A rectangular steel bracket 150 mm × 90 mm has a 30 mm-radius bolt hole centered at (110, 45) mm from the lower-left corner. Locate the centroid of the remaining material.
Show answer
Plate: A₁ = 150 × 90 = 13500 mm², centroid (75, 45). Hole: A₂ = −π(30)² = −2827.4 mm², centroid (110, 45). ΣA = 10672.6 mm². Qᵧ = (13500)(75) + (−2827.4)(110) = 1012500 − 311014 = 701486 mm³, so X̄ = 65.7 mm. Qₓ = (13500)(45) + (−2827.4)(45) = 45(10672.6) = 480267 mm³, so Ȳ = 45.0 mm. The hole lies on the plate's horizontal centerline, so Ȳ is unchanged, while X̄ shifts left of center because material was removed on the right.

Question 5: CRITICAL THINKING

Prove that the composite centroid formula X̄ = ΣAᵢx̄ᵢ / ΣAᵢ follows directly from the integral definition X̄ = ∫x dA / ∫dA when the region is partitioned into non-overlapping subregions, and explain why negative areas are legitimate for cutouts.
Show answer
Partition the region R into disjoint subregions R₁,…,Rₙ. Because the integral is additive over disjoint domains, ∫_R x dA = Σᵢ ∫_{Rᵢ} x dA. By definition each subregion's first moment is ∫_{Rᵢ} x dA = Aᵢx̄ᵢ, so ∫_R x dA = Σ Aᵢx̄ᵢ. Similarly ∫_R dA = Σ Aᵢ. Dividing yields X̄ = ΣAᵢx̄ᵢ / ΣAᵢ. For a cutout, we express the true region as a larger solid minus a removed piece: R = R_solid − R_hole. Additivity then gives ∫_R x dA = ∫_{solid} x dA − ∫_{hole} x dA, which is exactly the sum with A_hole entered as a negative area. The negative-area convention is thus not a trick but a direct consequence of set subtraction under the integral.

SUMMARY

Summary

Summary

The centroid of a composite area is the area-weighted average of the centroids of its constituent shapes. Using the first moment of area — Qᵧ = ΣAᵢx̄ᵢ and Qₓ = ΣAᵢȳᵢ — we bypass integration entirely: divide each summed first moment by the total area ΣAᵢ to obtain X̄ and Ȳ. This works because integration is additive, so the first moment of a whole equals the sum of the first moments of its parts.

Organize the work in a table of areas, component centroids, and products; treat holes as negative areas so their moments subtract automatically. Exploit symmetry to set one coordinate immediately, and always sanity-check that the centroid shifts toward larger regions and away from cutouts. Mastery of this first-moment method is the prerequisite for the parallel-axis theorem and moment-of-inertia analysis that govern bending stress and structural deflection.

Varsity Tutors • Statics and Dynamics • Centroids — Compute centroid of composite areas using first moments