- Calculate the mass of linear and circular objects using their density distributions
- Compute the work required in various situations, such as pumping fluids or moving objects along a path
- Determine the force exerted by water on a vertical surface underwater
Mass and Density
Mass–Density Formula of a One-Dimensional Object
We can use integration to calculate the mass of a thin rod based on a density function. Let’s consider a rod oriented along the -axis from to (Figure 1).

Note that although we depict the rod with some thickness in the figures, for mathematical purposes we assume the rod is thin enough to be treated as a one-dimensional object.
If the rod has constant density given in terms of mass per unit length, then the mass of the rod is just the product of the density and the length of the rod:
If the density varies along the rod, we use a linear density function . Let be an integrable linear density function. Partition the interval into segments, each of width Δx.

The mass of a segment is:
Summing these segments gives an approximation for the total mass:
This is a Riemann sum. Taking the limit as we get an expression for the exact mass of the rod:
We state this result in the following theorem.
mass–density formula of a one-dimensional object
Given a thin rod oriented along the over the interval let denote a linear density function giving the density of the rod at a point in the interval. Then the mass of the rod is given by
Consider a thin rod oriented on the -axis over the interval If the density of the rod is given by what is the mass of the rod?