Mass and Density
Mass Density Function and Total Mass
The mass density function tells you the mass per unit area at each point in a planar region. Think of it as a map of how "heavy" each tiny piece of the region is. When density varies across the region, you need a double integral to add up all those tiny contributions.
The total mass of a region is:
If the density is constant (uniform), this collapses to , where is the area of the region.
Example: A rectangular plate measuring has constant density . Then .
For variable density, you have to actually evaluate the integral. Suppose a square plate over , has density . You'd compute:
Evaluate the inner integral first with respect to , then the outer with respect to .
Planar Regions and Setting Up Double Integrals
A planar region is the two-dimensional domain in the -plane over which you integrate. The shape of this region determines your limits of integration, and choosing the right coordinate system can simplify things dramatically.
- For rectangular regions, Cartesian coordinates with constant limits work directly.
- For circular or radial regions, polar coordinates are almost always the better choice. The area element transforms as .
Example (polar): For a circular disk of radius centered at the origin:
Don't forget the extra factor of in polar coordinates. Leaving it out is one of the most common mistakes in these problems.

Moments
First Moments
First moments measure how mass is distributed relative to an axis. They're the building blocks for finding the center of mass.
For a region with density :
- First moment about the -axis:
- First moment about the -axis:
Notice the pattern: uses (the distance from the -axis), and uses (the distance from the -axis). This notation trips people up constantly. The subscript tells you which axis you're taking the moment about, but the integrand uses the other variable because that's the perpendicular distance to that axis.

Second Moments (Moments of Inertia)
The second moment, or moment of inertia, measures an object's resistance to rotational acceleration about a given axis. Larger moment of inertia means harder to spin.
- About the -axis:
- About the -axis:
- About the -axis (origin):
The -axis version, also called the polar moment of inertia, uses because that's the squared distance from the origin. Notice that , which is the perpendicular axis theorem for planar objects.
Example: A thin circular disk of radius with constant density has moment of inertia about its center:
To see where this comes from, set it up in polar coordinates:
Since the total mass is , this can also be written as , which you may recognize from physics.
Center of Mass
Center of Mass and Centroid
The center of mass is the point where the region would balance perfectly if placed on a pin. It's computed from the first moments and total mass:
Again, watch the subscripts: uses (not ), and uses (not ).
When density is constant, it cancels from the numerator and denominator, and the center of mass becomes the centroid, which depends only on geometry:
where is the area of the region.
Calculating Center of Mass: Step-by-Step
For a region with variable density :
- Sketch the region and determine appropriate limits of integration (Cartesian or polar).
- Compute total mass:
- Compute the first moment about the -axis:
- Compute the first moment about the -axis:
- Divide to get the center of mass:
You're evaluating three separate double integrals over the same region. Often you can reuse intermediate calculations, so look for shared factors.
Example: Consider the upper half of a disk of radius (a semicircular region, ) with constant density . By symmetry, . For , you compute:
So . The center of mass sits above the geometric midpoint because more area is concentrated near the base.
Common pitfall: If the problem gives a non-constant density like , you can't assume symmetry shortcuts without checking. A density that's asymmetric in or will shift the center of mass away from the centroid.