MULTIVARIABLE CALCULUS • MULTIPLE INTEGRALS

Mass, Center of Mass & Moments — Compute mass, center of mass, and moments (intro)

Use double integrals to find where objects balance and how their mass is distributed.

Historical Context & Motivation

Long before calculus existed, ancient engineers needed to know where to place a support so a beam wouldn't tip over. The Greeks called this special balancing point the center of gravity, and finding it accurately was crucial for building stable structures, designing ships, and constructing levers. As mathematics advanced, scholars realized that the same question — 'Where does an object balance?' — could be answered precisely using integration, especially when the object's density varies from point to point.

~250 BC
Archimedes & the Lever
Archimedes formalized the law of the lever and showed how to locate the center of gravity of simple shapes like triangles and parabolic segments using geometric reasoning.
1600s
Newton & Leibniz Invent Calculus
With the tools of integration, mathematicians could extend Archimedes' ideas to objects with continuously varying density, turning balance problems into integrals.
1700s
Euler & Mechanics
Leonhard Euler applied moments and center-of-mass calculations systematically to rigid-body mechanics, laying the foundation for modern engineering analysis.
1800s
Multiple Integrals Formalized
Mathematicians like Riemann and Lebesgue rigorously defined double and triple integrals, making it possible to compute mass and center of mass for any region with a known density function.

The central question this lesson addresses is straightforward: if you have a flat plate (called a lamina) whose density might change from one point to another, how do you compute its total mass, and where exactly would you place a single support so it balances perfectly? Double integrals give us the answer.

Core Principles & Definitions

Before diving into formulas, let's establish the key ideas. We work with a thin, flat plate — a lamina — that occupies some region R in the xy-plane. The plate can have a density function ρ(x, y) that tells us how much mass is packed into each tiny piece of area. When density is constant, the problem simplifies; when density varies, double integrals are essential.

1

Mass (m)

The total amount of matter in the lamina. Computed by integrating the density function ρ(x, y) over the entire region R.
2

Moment

A measure of how mass is distributed relative to an axis. The moment about the x-axis (Mx) uses the y-coordinate as a 'lever arm,' and the moment about the y-axis (My) uses the x-coordinate.
3

Center of Mass (x̄, ȳ)

The single point where you could balance the entire lamina on a pin. Found by dividing each moment by the total mass: x̄ = My / m and ȳ = Mx / m.
4

Density Function ρ(x, y)

Describes mass per unit area at each point. Units are typically kg/m² or g/cm². A constant ρ means uniform (homogeneous) density.
KEY TAKEAWAY
Think of a lamina like a cookie that might be thicker (denser) in some spots. If the cookie is perfectly uniform, its balance point is at the geometric center. But if one side has extra chocolate chips (more mass), the balance point shifts toward the heavier side. The center of mass is that shifted balance point, and moments are the mathematical tool that tells us exactly how far to shift.

Visual Explanation

The diagram below shows a lamina (shaded region) in the xy-plane with varying density. Notice how the density is represented by color intensity — darker areas are denser. The center of mass is marked and sits closer to the denser region, not at the geometric center of the shape.

The elliptical lamina has density increasing from left to right. The center of mass (pink dot) is shifted right of the geometric center (cyan dot) because more mass is concentrated on the right side.

This visual captures the core idea: when density is not uniform, the balance point (center of mass) does not coincide with the geometric center. The moments Mx and My quantify exactly how much the mass distribution is 'weighted' toward one side, and dividing by total mass yields the precise balance coordinates.

Mathematical Framework

All three quantities — mass, moments, and center of mass — are computed using double integrals over the region R. The density function ρ(x, y) plays the starring role in every formula. Let's walk through each one.

TOTAL MASS
m = ∬_R ρ(x, y) dA
m = total mass of the lamina; ρ(x, y) = density at point (x, y); dA = differential area element (dx dy or dy dx); R = region occupied by the lamina.

To find the total mass, you integrate the density over every tiny piece of the region. If ρ is constant, this simplifies to ρ × (area of R). When ρ varies, the integral 'adds up' different densities at each point.

MOMENT ABOUT THE x-AXIS
Mₓ = ∬_R y · ρ(x, y) dA
Mx measures how mass is distributed relative to the x-axis. The factor y acts as a 'lever arm' — points farther from the x-axis contribute more.
MOMENT ABOUT THE y-AXIS
Mᵧ = ∬_R x · ρ(x, y) dA
My measures how mass is distributed relative to the y-axis. Here x is the lever arm — points farther right or left from the y-axis contribute more.
CENTER OF MASS
x̄ = Mᵧ / m , ȳ = Mₓ / m
x̄ = x-coordinate of the center of mass; ȳ = y-coordinate of the center of mass. Notice the 'cross' pattern: x̄ uses My and ȳ uses Mx.
⚠️ Watch the Subscripts!
A common mistake is mixing up which moment goes with which coordinate. Remember: x̄ = My / m (moment about the y-axis gives the x-coordinate). The subscripts 'swap.' Think of it this way: the moment about an axis tells you how far to go in the perpendicular direction.

Setting Up the Integrals — Step by Step

The hardest part of these problems is usually setting up the limits of integration correctly. Let's look at a concrete example: a triangular lamina with a density function, and see how the integral gets built from the region's geometry.

A triangular region R with vertices at (0, 0), (4, 0), and (0, 3). The hypotenuse has equation y = 3 − (3/4)x. For a fixed x-value (pink dashed line), y ranges from 0 up to the hypotenuse. The outer integral sweeps x from 0 to 4.

The process always follows the same pattern. First, sketch the region R and identify its boundaries. Second, decide whether to integrate with respect to y first (vertical strips) or x first (horizontal strips). Third, express the limits of the inner integral in terms of the outer variable. Finally, write the integrand as ρ(x, y) for mass, y · ρ(x, y) for Mx, or x · ρ(x, y) for My.

  1. Sketch the region R and label all boundary curves.
  2. Choose order of integration (dy dx or dx dy) — pick whichever makes limits simpler.
  3. Write limits — inner limits depend on the outer variable; outer limits are constants.
  4. Place the correct integrand — ρ for mass, y·ρ for Mx, x·ρ for My.
  5. Evaluate the inner integral first, then the outer integral.

Worked Example

Let's compute the mass and center of mass of a rectangular lamina occupying the region 0 ≤ x ≤ 2, 0 ≤ y ≤ 3, with density function ρ(x, y) = 1 + x. This density increases linearly as we move to the right.

Mass & Center of Mass of a Rectangle with ρ(x, y) = 1 + x
1
Step 1 — Identify the Region and DensityThe region R is a rectangle with 0 ≤ x ≤ 2 and 0 ≤ y ≤ 3. The density is ρ(x, y) = 1 + x. Because the density depends only on x, the lamina gets heavier as we move right.
2
Step 2 — Compute the Mass mm = ∫₀² ∫₀³ (1 + x) dy dx. Evaluate the inner integral first: ∫₀³ (1 + x) dy = (1 + x) × y |₀³ = 3(1 + x). Now the outer integral: m = ∫₀² 3(1 + x) dx = 3[x + x²/2]₀² = 3[2 + 2] = 3 × 4 = 12.
m = 12
3
Step 3 — Compute the Moment Mᵧ (about the y-axis)My = ∫₀² ∫₀³ x(1 + x) dy dx. Inner integral: ∫₀³ x(1 + x) dy = 3x(1 + x) = 3x + 3x². Outer integral: My = ∫₀² (3x + 3x²) dx = 3[x²/2 + x³/3]₀² = 3[2 + 8/3] = 3 × 14/3 = 14.
Mᵧ = 14
4
Step 4 — Compute the Moment Mₓ (about the x-axis)Mx = ∫₀² ∫₀³ y(1 + x) dy dx. Inner integral: ∫₀³ y(1 + x) dy = (1 + x) × y²/2 |₀³ = (9/2)(1 + x). Outer integral: Mx = ∫₀² (9/2)(1 + x) dx = (9/2)[x + x²/2]₀² = (9/2)(4) = 18.
Mₓ = 18
5
Step 5 — Find the Center of Mass (x̄, ȳ)x̄ = My / m = 14/12 = 7/6 ≈ 1.167. ȳ = Mx / m = 18/12 = 3/2 = 1.5. The center of mass is at (7/6, 3/2). Notice that x̄ ≈ 1.167 is to the right of the geometric center x = 1, which makes sense because the density increases toward the right.
Center of mass: (7/6, 3/2) ≈ (1.167, 1.5)
SANITY CHECK
Always verify your answer makes physical sense. The geometric center of the rectangle is (1, 1.5). Since the density increases in the x-direction, x̄ should be greater than 1, and ȳ should remain 1.5 (density doesn't depend on y). Our answer (7/6, 3/2) checks out perfectly!

Uniform vs. Variable Density

Many problems you encounter will specify either uniform (constant) density or variable density. It's important to understand how these two cases compare, because uniform density problems simplify dramatically.

Comparison of uniform vs. variable density problems
FeatureUniform Density (ρ = constant)Variable Density (ρ = f(x, y))
Mass formulam = ρ × Area(R) — no integration needed for mass if area is knownm = ∬ ρ(x,y) dA — must integrate
Center of massEquals the centroid (geometric center) — ρ cancels out of the formulaShifts toward regions of higher density
DifficultySimpler — focus is on geometry of RHarder — density adds complexity to the integrand
Real-world exampleUniform sheet of aluminumA metal plate that is thicker on one end
KEY TAKEAWAY
When density is constant, the center of mass is the same as the centroid — a purely geometric quantity. The centroid is found using the same formulas, just with ρ set to 1. This means every centroid problem you've solved in geometry is actually a special case of center-of-mass calculation!

Connection to Triple Integrals & Advanced Theory

Everything we've done with double integrals for flat plates extends naturally to three-dimensional objects using triple integrals. Instead of a lamina in the xy-plane, you work with a solid occupying a region in 3D space, and the density function becomes ρ(x, y, z).

From 2D to 3D: the same ideas, one more dimension
Quantity2D (Double Integral)3D (Triple Integral)
Massm = ∬ ρ(x, y) dAm = ∭ ρ(x, y, z) dV
MomentMx = ∬ y·ρ dAMxy = ∭ z·ρ dV (and similar)
Center of mass(x̄, ȳ) — two coordinates(x̄, ȳ, z̄) — three coordinates
RegionFlat region R in the planeSolid region E in space

You'll also encounter moments of inertia in more advanced courses, which measure how mass is distributed relative to rotation. Instead of multiplying by x or y (first power), you multiply by x² or y², giving you a 'second moment.' Moments of inertia are essential in physics for analyzing spinning objects, from figure skaters to car engines.

Practice Problems

PROBLEM 1CONCEPTUAL
A lamina has uniform density ρ = 5 and is shaped like a perfect square centered at the origin. Without computing any integrals, where is the center of mass? Explain your reasoning.
PROBLEM 2BASIC CALCULATION
Find the mass of a lamina occupying the rectangular region 0 ≤ x ≤ 1, 0 ≤ y ≤ 2, with constant density ρ = 3.
PROBLEM 3INTERMEDIATE
A lamina occupies the region bounded by y = 0, x = 0, and y = 4 − 2x (a triangle). The density is ρ(x, y) = xy. Set up and evaluate the integral for the total mass.
PROBLEM 4APPLIED
A rectangular metal plate has dimensions 0 ≤ x ≤ 3, 0 ≤ y ≤ 2 (meters). Its density is ρ(x, y) = 2 + y kg/m² (denser toward the top). Find the center of mass. An engineer needs to know where to place a support so the plate balances.
PROBLEM 5CRITICAL THINKING
Suppose a lamina has density ρ(x, y) = k − x² − y² over the disk x² + y² ≤ k, where k > 0 is a constant. Without evaluating the integrals fully, explain why the center of mass must be at the origin. Then describe what would happen to the center of mass if the density were changed to ρ(x, y) = k − x² − y² + x.

Summary & Review

The mass of a lamina with density ρ(x, y) is computed as m = ∬ ρ(x, y) dA. The moments Mx and My measure how mass is distributed relative to the x- and y-axes, respectively, by weighting the density with y or x as a lever arm. The center of mass (x̄, ȳ) = (My/m, Mx/m) is the balance point of the lamina.

When density is uniform, the center of mass equals the centroid — a purely geometric quantity. When density varies, the center of mass shifts toward the denser regions. Use symmetry as a shortcut whenever both the region and density function share symmetry about an axis. These 2D concepts extend to 3D via triple integrals, and lead to more advanced topics like moments of inertia in physics and engineering.

Varsity Tutors • Multivariable Calculus • Mass, Center of Mass & Moments