In mathematics—in particular, in multivariable calculus—a volume integral refers to an integral over a 3-dimensional domain, that is, it is a special case of multiple integrals. Volume integrals are especially important in physics for many applications, for example, to calculate flux densities.
and a volume integral in spherical coordinates (using the ISO convention for angles with as the azimuth and measured from the polar axis (see more on conventions)) has the form
Example 1
Integrating the function over a unit cube yields the following result:
So the volume of the unit cube is 1 as expected. This is rather trivial however, and a volume integral is far more powerful. For instance if we have a scalar density function on the unit cube then the volume integral will give the total mass of the cube. For example for density function: