Historical Context & Motivation
The concepts of mass, density, and center of mass lie at the intersection of physics, engineering, and mathematics. Ancient Greek mathematicians were among the first to formalize the notion of a balance point for rigid bodies, and the development of calculus in the seventeenth century unlocked the ability to handle objects whose density varies continuously from point to point. The transition from discrete sums to continuous integrals was not merely a technical upgrade—it fundamentally changed how scientists model real-world objects, from the mass distribution of planets to the structural analysis of bridges.
In a first course on calculus, you likely computed the mass of a one-dimensional rod with variable linear density using a single integral. In Calculus 3 we extend this idea to two- and three-dimensional regions using double and triple integrals. The central question this lesson addresses is: given a planar lamina or a solid whose density varies from point to point, how do we compute its total mass and locate the unique point—the center of mass—at which the object would balance perfectly under uniform gravity?
Core Principles & Definitions
Before diving into integrals, it is essential to pin down several foundational ideas. The notion of density bridges geometry and physics: it encodes how much matter occupies each infinitesimal piece of a region. Once density is given as a function, every quantity of interest—mass, moments, center of mass—is expressed as an integral of density over the region.
Density Function ρ(x, y)
Total Mass via Integration
Moment About an Axis
Center of Mass (x̄, ȳ)
Centroid vs. Center of Mass
Visual Explanation — Density Distribution on a Lamina
The diagram above illustrates the fundamental principle at work: when density is not uniform, the center of mass is pulled away from the geometric centroid and toward the region of greater density. Each infinitesimal rectangle of area dA = dx dy carries mass ρ(x, y) dx dy. The double integral sums all such contributions to yield the total mass M. The first moments Mx and My then compute the mass-weighted average of the y- and x-coordinates, respectively. This averaging process is the continuous analogue of computing a weighted mean in statistics.
Mathematical Framework
We now formalize the definitions introduced in Section 2. Let D be a bounded region in ℝ² and let ρ(x, y) be a continuous, non-negative density function defined on D. All of the quantities below follow from the idea that mass = density × area, extended to infinitesimal elements and summed via integration.
For three-dimensional solids, the framework extends naturally. If E is a region in ℝ³ and ρ(x, y, z) is the volume density, then M = ∭E ρ dV, and the center of mass has three coordinates: x̄ = (1/M) ∭ x ρ dV, ȳ = (1/M) ∭ y ρ dV, z̄ = (1/M) ∭ z ρ dV. The conceptual structure is identical—only the dimensionality of the integral changes.
From Discrete Point Masses to Continuous Distributions
The continuous formulas above are direct generalizations of the familiar discrete case. Recall that for n point masses m₁, m₂, …, mₙ located at positions (x₁, y₁), …, (xₙ, yₙ), the center of mass is x̄ = Σ mᵢxᵢ / Σ mᵢ and ȳ = Σ mᵢyᵢ / Σ mᵢ. The transition to continuous distributions replaces each finite mass mᵢ with the infinitesimal mass element ρ(x, y) dA, and the finite sum becomes a double integral. Understanding this passage from summation to integration is essential because it reveals that every integral formula in this lesson is simply a continuous weighted average.
| Quantity | Discrete (n point masses) | Continuous (2D lamina) |
|---|---|---|
| Total Mass | M = Σ mᵢ | M = ∬ ρ(x, y) dA |
| Moment about y-axis | My = Σ mᵢ xᵢ | My = ∬ x ρ(x, y) dA |
| Moment about x-axis | Mx = Σ mᵢ yᵢ | Mx = ∬ y ρ(x, y) dA |
| Center of Mass x̄ | x̄ = Σ mᵢ xᵢ / Σ mᵢ | x̄ = My / M |
| Center of Mass ȳ | ȳ = Σ mᵢ yᵢ / Σ mᵢ | ȳ = Mx / M |
Worked Example — Triangular Lamina with Variable Density
Find the mass and center of mass of the triangular lamina with vertices (0, 0), (2, 0), and (0, 4) if the density function is ρ(x, y) = 1 + x + y.
Uniform vs. Variable Density — When It Matters
A natural question is: when does variable density actually change the computation? If ρ is constant, it factors out of every integral, and the center of mass formulas simplify dramatically. In that case x̄ = (1/A)∬ x dA and ȳ = (1/A)∬ y dA, where A = Area(D), and we are computing the centroid of the region—a purely geometric quantity that depends only on shape, not material properties. The table below highlights the key contrasts.
| Feature | Uniform Density (ρ = const) | Variable Density ρ(x, y) |
|---|---|---|
| Mass formula | M = ρ · Area(D) | M = ∬ ρ(x, y) dA |
| Center of mass = centroid? | Yes — density cancels | No — shifts toward heavier region |
| Computation difficulty | Only need area and centroid integrals | Three separate double integrals (M, Mx, My) |
| Symmetry shortcuts | If D is symmetric about an axis, the centroid lies on that axis | Symmetry of D alone is not sufficient; ρ must also be symmetric about the axis |
| Typical applications | Thin metal plates, homogeneous fluids | Temperature-dependent materials, alloys, geological strata |
Connections to Moments of Inertia and Higher Dimensions
The first moments Mx and My studied in this lesson represent only the beginning of a hierarchy of mass moments. The next level—second moments or moments of inertia—are obtained by integrating the square of the distance from an axis, weighted by density. These quantities govern rotational dynamics: how resistant an object is to angular acceleration. The table below contrasts the concepts introduced here with their advanced counterparts.
| Concept | This Lesson (First Moments) | Advanced (Second Moments) |
|---|---|---|
| What it measures | Balance point (center of mass) | Resistance to rotation (moment of inertia) |
| Integrand | x · ρ or y · ρ | x² · ρ, y² · ρ, or (x² + y²) · ρ |
| Notation | Mx, My | Ix, Iy, I₀ |
| Physical application | Locating supports, balancing objects | Designing flywheels, analyzing vibrations |
| Dimensionality extensions | 2D → 3D via triple integrals | Full inertia tensor (3 × 3 matrix) in 3D |
Beyond moments of inertia, these ideas extend to probability theory (where ρ becomes a probability density function and the center of mass becomes the expected value), fluid mechanics (where density-weighted integrals determine buoyancy and flow characteristics), and even general relativity (where the stress-energy tensor generalizes mass distribution). Mastering the integral setup for mass and center of mass provides a template for all of these advanced applications.
Practice Problems
Summary & Key Formulas
This lesson introduced the integral formulation for computing mass, first moments, and center of mass of two-dimensional laminae with variable density function ρ(x, y). The total mass is M = ∬ ρ dA; the first moments are Mx = ∬ y ρ dA and My = ∬ x ρ dA; and the center of mass coordinates are x̄ = My / M and ȳ = Mx / M. When density is uniform, the center of mass reduces to the centroid, a purely geometric average of position.
These formulas are direct continuous analogues of the discrete weighted-average formulas for point masses. The key computational steps are: (1) describe the region D with appropriate integration bounds, (2) set up three double integrals for M, Mx, and My, and (3) divide moments by mass to obtain the center of mass. Symmetry arguments can often eliminate one or more integrals entirely. Looking ahead, these ideas extend to triple integrals in 3D, moments of inertia (second moments), and applications in probability, physics, and engineering.