Consider a 1 meter long metal pipe covered with a layer of insulation.
How would we find the total mass of the pipe? We would need to add up the masses of the metal and the insulation, and these masses can be found by taking density times volume:
But note that the density of the layer depends on its distance from the center: close to the center of the pipe, the hollow core of the pipe has 0 density, at a radius of the metal pipe has a high density, and at a radius of the insulation has a low density. Let us use to denote the density as a function of distance from the center.
Next, to get we can use approximate volume as circumference times thickness times length, so Thus the mass of a single layer is approximately
Summing both layers, we get that
is the total mass of the pipe.