Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random  

volume integral

(Definition)

Volume Integral: Definition, Geometry, Density, and Physical Applications

A volume integral extends integration to a three-dimensional region.

Its most basic form is

|∫∫-∫----------|
|      f(r)dV, |
|    V         |
----------------
(1)

where:

  • V is a three-dimensional region;
  • f(r) is a scalar field defined throughout that region;
  • dV is an infinitesimal volume element.

Volume integrals are fundamental because many physical quantities are distributed throughout space rather than concentrated on a line or surface.

Examples include:

  • mass distributed through a solid body;
  • Electric Charge distributed through a volume;
  • internal or electromagnetic energy density;
  • probability density in quantum mechanics;
  • source density in field equations;
  • moments of inertia and center of mass;
  • total divergence inside a region.

A useful physical interpretation is

|----------------∫-∫∫--------------------------------|
|total quantity =      density per unit volume × dV. |
-----------------------------------------------------|
(2)

1 From sums to volume integrals

Divide a region V into many small subvolumes

ΔVi.
(1)

Choose a point ri in each subvolume.

A Riemann sum is

∑
    f(ri)ΔVi.
  i
(2)

As the largest subvolume dimension approaches zero, the sum approaches the volume integral:

|--------------------------------------|
∫ ∫∫                      ∑            |
|     f (r)dV  =    lim        f(ri)ΔVi. |
|    V           maxΔVi→0  i           |
----------------------------------------
(3)

This definition makes clear that dV represents a geometrically small volume over which the field is approximately constant.

PIC

Figure 1. A volume integral is the limit of a sum over increasingly small subvolumes that fill the three-dimensional region.

2 Volume itself as an integral

Setting

f = 1
(3)

gives

|----------------|
|     ∫∫ ∫       |
|𝒱 =        1dV. |
----------V------
(4)

Thus the geometric volume of a region is itself the simplest volume integral.

This parallels:

∫
   1 ds
  C
(4)

for curve length and

∫ ∫

     1dS
   S
(5)

for surface area.

3 Cartesian coordinates

In Cartesian coordinates,

r = xex + yey + zez.
(6)

A small rectangular box has side lengths

dx,     dy,     dz.
(7)

Therefore

|--------------|
dV  = dx dy dz.|
----------------
(5)

A Cartesian triple integral is

|------------------------|
|∫∫ ∫                    |
|      f(x,y, z)dx dydz. |
-----V-------------------
(6)

PIC

Figure 2. In Cartesian coordinates the local volume element is a rectangular box with volume dx times dy times dz.

4 Iterated integrals

Under suitable regularity conditions, a triple integral can be evaluated as nested one-dimensional integrals.

For a rectangular box,

a ≤ x ≤ b,     c ≤ y ≤ d,    e ≤  z ≤ h,
(8)

we may write

|------------------------------------------|
|∫∫ ∫         ∫  b∫ d∫  h                  |
|      f dV =            f(x, y,z)dz dy dx.|
-----V----------a--c---e--------------------
(7)

The order may often be changed, provided the bounds are transformed consistently.

For more complicated regions, one or more limits depend on the outer variables.

5 Example 1: volume under a paraboloid

Find the volume bounded by

z = 4 − x2 − y2
(9)

and the plane

z = 0.
(10)

The intersection satisfies

x2 + y2 = 4.
(11)

Using cylindrical coordinates in the horizontal plane,

0 ≤ r ≤ 2,    0 ≤  ϕ < 2π,     0 ≤ z ≤ 4 − r2.
(12)

Then

𝒱 = ∫ 02π ∫ 02 ∫ 04−r2 r dz dr dϕ (13)
= 2π ∫ 02r(4 − r2) dr (14)
= 2π[         ]
 2r2 − 1r4
       402 (15)
= 8π. (8)

This example already hints that the volume element changes when coordinates change.

6 Coordinate transformations and the Jacobian

Suppose coordinates (u,v,w) are related to Cartesian coordinates by

x = x (u, v,w),     y = y(u,v,w ),     z = z(u,v,w ).
(16)

A small coordinate box

du dv dw
(17)

maps to a small parallelepiped in physical space.

The volume scaling is given by the Jacobian determinant:

|-----||----------||---------|
dV  = |-∂(x,y,z)-|du dvdw. |
|     |∂ (u,v,w )|         |
----------------------------
(9)

The determinant is

            |                       |
            |∂x ∕∂u  ∂x ∕∂v  ∂x ∕∂w |
∂(x,-y,z)-= ||∂y∕ ∂u  ∂y ∕∂v  ∂y ∕∂w ||.
∂(u,v,w )   ||                       ||
             ∂z∕ ∂u  ∂z ∕∂v  ∂z ∕∂w
(18)

The absolute value is used because a volume measure is nonnegative.

7 Geometric form of the Jacobian

Define the coordinate tangent vectors

r  =  ∂r-,    r  = ∂r-,    r  =  ∂r-.
 u    ∂u       v   ∂v       w    ∂w
(19)

The small parallelepiped volume is

|------------------------------|
|dV  = |ru ⋅ (rv × rw)|du dv dw.
-------------------------------
(10)

The scalar triple product is exactly the Jacobian volume scaling.

8 Cylindrical coordinates

Use

x = ρ cos ϕ, (20)
y = ρ sin ϕ, (21)
z = z. (22)

The coordinate scale factors are:

  • radial length dρ;
  • azimuthal arc length ρdϕ;
  • vertical length dz.

Therefore

|----------------|
-dV-=--ρdρ-dϕ-dz.-
(11)

The factor ρ is the cylindrical-coordinate Jacobian.

PIC

Figure 3. In cylindrical coordinates the azimuthal side of a small volume element has length rho times d phi, producing the Jacobian factor rho.

9 Example 2: volume of a cylinder

For a cylinder of radius R and height H,

0 ≤ ρ ≤ R, (23)
0 ≤ ϕ < 2π, (24)
0 ≤ z ≤ H. (25)

Hence

𝒱 = ∫ 0H ∫ 02π ∫ 0Rρdρdϕdz (26)
= H(2π)(     )
  1- 2
  2R (27)
= πR2H. (12)

10 Spherical coordinates

Use the convention

x = r sin 𝜃 cos ϕ, (28)
y = r sin 𝜃 sin ϕ, (29)
z = r cos 𝜃, (30)

where:

r ≥ 0, (31)
0 ≤ 𝜃 ≤ π, (32)
0 ≤ ϕ < 2π. (33)

The local side lengths are approximately

dr, (34)
r d𝜃, (35)
r sin 𝜃 dϕ. (36)

Therefore

|----------------------|
|dV  = r2sin𝜃 dr d𝜃dϕ. |
-----------------------
(13)

PIC

Figure 4. The spherical-coordinate volume element is a small wedge whose three local dimensions produce the factor r squared times sine theta.

11 Example 3: volume of a sphere

For a sphere of radius R,

0 ≤ r ≤ R, (37)
0 ≤ 𝜃 ≤ π, (38)
0 ≤ ϕ < 2π. (39)

Then

𝒱 = ∫ 02π ∫ 0π ∫ 0Rr2 sin 𝜃 dr d𝜃 dϕ (40)
= (2π) (2) (   )
  R3-
  3. (41)

Thus

|-----------|
𝒱 =  4πR3.  |
-----3-------
(14)

The familiar sphere-volume formula is therefore a direct triple-integral result.

12 Mass from volume density

Let the mass density be

ρm (r)    [kg m− 3].
(42)

A small volume contains mass

dm  =  ρm dV.
(43)

Therefore the total mass is

|-----∫∫-∫-----------|
M  =        ρm (r) dV.|
----------V-----------
(15)

For constant density ρ0,

M  = ρ0𝒱.
(44)

13 Example 4: nonuniform spherical mass distribution

Suppose a sphere of radius R has density

           (      r2)
ρm (r) = ρ0  1 − ---  .
                 R2
(45)

The mass is

M = ∫ 02π ∫ 0π ∫ 0Rρ 0(       )
      r2-
 1 −  R2r2 sin 𝜃 dr d𝜃 dϕ (46)
= 4πρ0 ∫ 0R(       4)
 r2 − -r-
      R2dr (47)
= 4πρ0( R3    R3 )
  --- − ---
   3     5. (48)

Hence

|--------------|
|M  = 8-πρ0R3. |
-------15------|
(16)

The density vanishes at the surface and reaches ρ0 at the center.

14 Average value over a volume

The average value of a scalar field f over a region of volume 𝒱 is

|----------------------|
|        1 ∫ ∫∫        |
|⟨f⟩V =  --      f dV. |
---------𝒱-----V-------
(17)

For the density in Example 4,

           M        |2---|
⟨ρm⟩ =  ---------=  |-ρ0.|
        (4 ∕3)πR3    -5----
(18)

15 Center of mass

For a continuous body,

|----------∫∫-∫------------|
r    =  1--      rρ (r) dV.|
| CM    M      V   m       |
----------------------------
(19)

Componentwise,

xCM = -1-
M∫∫ ∫V xρm dV, (49)
yCM =  1
---
M∫∫ ∫V yρm dV, (50)
zCM = -1-
M∫∫ ∫V zρm dV. (51)

Symmetry can eliminate many of these integrals immediately.

PIC

Figure 5. A nonuniform volume density weights some parts of a body more strongly than others and can shift the center of mass away from the geometric center.

16 Example 5: center of mass of a vertically graded block

Consider the rectangular block

0 ≤ x ≤  a,    0 ≤ y ≤  b,    0 ≤ z ≤  H,
(52)

with density

           (       z )
ρm (z) = ρ0  1 + α--- ,
                  H
(53)

where α > −1.

By symmetry,

x    = a-,    y    = b-.
 CM    2       CM    2
(54)

The mass is

M = abρ0 ∫ 0H(        )
       z--
 1 + α Hdz (55)
= abρ0H(     α)
  1 + --
      2. (56)

The vertical moment is

∫∫ ∫V zρm dV = abρ0 ∫ 0Hz(        )
  1 + α-z-
       Hdz (57)
= abρ0H2( 1    α)
  --+  --
  2    3. (58)

Therefore

|--------------------|
|zCM =  H 1∕2-+-α∕3-.|
-----------1-+-α∕2---|
(20)

For α > 0, the density increases upward and the center of mass lies above H∕2.

17 Moment of inertia

For rotation about a chosen axis, each mass element contributes

      2
dI = r⊥ dm,
(59)

where r⊥ is the perpendicular distance to the axis.

Since

dm  =  ρm dV,
(60)

the moment of inertia is

|-------------------|
|   ∫ ∫∫   2        |
I =       r⊥ ρm dV. |
---------V-----------
(21)

This is the continuum version of

     ∑
I =     mir2⊥,i.
      i
(61)

18 Example 6: moment of inertia of a uniform solid sphere

Let the sphere have radius R, mass M, and uniform density

         M
ρ0 = --------3-.
     (4∕3 )πR
(62)

Take the rotation axis to be the z axis.

In spherical coordinates,

r⊥ = r sin 𝜃.
(63)

Thus

Iz = ∫ ∫∫r2 sin 2𝜃ρ 0r2 sin 𝜃 dr d𝜃 dϕ (64)
= ρ0[∫  R     ]
     r4dr
   0[∫ π        ]
    sin3𝜃 d𝜃
  0[∫  2π  ]
      dϕ
   0. (65)

Using

∫ R         R5
    r4dr =  --,
 0          5
(66)

and

∫  π
       3       4-
  0 sin  𝜃 d𝜃 = 3,
(67)

we obtain

Iz = ρ0R5-
 54-
32π (68)
= 8π
---
15ρ0R5. (69)

Substitute the uniform density:

|------------|
|     2-   2 |
-Iz =-5M-R--.-
(22)

PIC

Figure 6. The moment of inertia weights each volume element by the square of its perpendicular distance from the rotation axis.

19 Electric charge from volume charge density

Let

ρq(r)     [C m −3]
(70)

be a volume charge density.

Then

dq = ρ  dV,
       q
(71)

and the total charge is

|----∫-∫∫--------|
Q  =       ρq dV.|
---------V--------
(23)

This source integral appears directly in Gauss’s Law through

       ∫ ∫∫
Q    =       ρ  dV.
  enc       V  q
(72)

Then

|∮---------------∫∫-∫--------|
|             -1             |
|    E ⋅ dA = 𝜖        ρq dV.|
--∂V-----------0-----V--------
(24)

The volume integral supplies the enclosed source; the surface integral measures its outward electric flux.

20 Energy density

If a physical system has energy density

            −3
u(r)    [Jm   ],
(73)

then the total energy is

|----∫-∫∫----------|
|                  |
E  =       u (r) dV.|
---------V----------
(25)

For the electromagnetic field in vacuum,

                   2
uEM  =  1𝜖0E2 +  B--.
        2        2μ0
(74)

Thus

|-------∫-∫∫--(------------2-)-----|
|UEM  =         1-𝜖0E2 + -B--  dV. |
-------------V--2--------2μ0-------|
(26)

21 Example 7: energy stored in a parallel-plate capacitor

Consider an ideal parallel-plate capacitor with plate area A, separation d, and approximately uniform electric field E between the plates.

The electric-energy density is

      1-   2
uE  = 2 𝜖0E  .
(75)

The field-filled volume is

𝒱 = Ad.
(76)

Therefore

     ∫∫ ∫
U =        uE dV =  1𝜖0E2Ad.
                    2
(77)

Since

E =  V-,
     d
(78)

we obtain

U = 1-
2𝜖0V-2
d2Ad (79)
= 1
--
2𝜖0A
----
 dV 2. (80)

For an ideal parallel-plate capacitor,

C =  𝜖0A-.
      d
(81)

Hence

|------------|
|     1      |
|U =  -CV  2.|
------2------
(27)

The familiar circuit formula is therefore also a volume integral of field-energy density.

PIC

Figure 7. The energy of an ideal capacitor can be interpreted as electromagnetic energy distributed throughout the volume between its plates.

22 Probability density in quantum mechanics

For a normalized three-dimensional wavefunction,

ψ (r,t),
(82)

the probability density is

|ψ |2.
(83)

The probability of finding the particle in region V is

|--------∫∫-∫--------------|
|                     2    |
P (V ) =       |ψ (r,t)| dV.|
-------------V--------------
(28)

Normalization requires

∫-∫∫--------------------|
|          |ψ|2dV  = 1. |
|    all space            |
-------------------------
(29)

Thus the same mathematical structure used for mass density and charge density also appears in quantum probability.

23 Vector-valued volume integrals

A vector field can also be integrated over a volume:

∫-∫∫-----------|
|     A (r) dV.|
-----V----------
(30)

This is understood componentwise:

∫∫ ∫             ∫∫ ∫             ∫ ∫∫             ∫ ∫∫
      A dV  = ex       Ax dV + ey       Ay dV  + ez      Az dV.
    V                V                V                 V
(84)

The center of mass formula is an important example because it integrates the vector position r weighted by scalar mass density.

24 The divergence theorem as a bridge between volume and surface integrals

The divergence theorem states

∮-------------∫∫-∫-----------|
|   F  ⋅ dA =       ∇ ⋅ F dV.|
| ∂V              V          |
------------------------------
(31)

It converts a flux through the boundary into a volume integral of the local source-like quantity

∇ ⋅ F.
(85)

This theorem is one of the deepest connections between the surface-integral and volume-integral articles.

PIC

Figure 8. The divergence theorem equates a boundary surface flux with a volume integral of divergence throughout the enclosed region.

25 Example 8: divergence theorem on a sphere

Let

F =  xex + yey + zez.
(86)

Then

∇ ⋅ F = 3.
(87)

For a sphere of radius R,

∫∫ ∫V ∇⋅ FdV = 3(4     )
 --πR3
 3 (88)
= 4πR3. (32)

On the spherical boundary,

F = R ˆr,
(89)

so

∮ ∂V F ⋅ dA = R(4πR2) (90)
= 4πR3. (33)

The volume and surface calculations agree exactly.

26 Local conservation laws

Many conservation laws can be written in differential form as

|----------------|
|∂-ρ+  ∇ ⋅ J = s.|
-∂t--------------|
(34)

Here:

  • ρ is a volume density of a conserved or tracked quantity;
  • J is its flux;
  • s is a local source term.

Integrate over a fixed volume:

∫ ∫∫   ∂ρ      ∫∫ ∫             ∫ ∫∫
       --dV  +       ∇ ⋅ JdV  =       s dV.
     V ∂t          V                 V
(91)

Using the divergence theorem,

|--∫-∫∫----------∮------------∫∫-∫-------|
|d-                                      |
|dt       ρdV  +     J ⋅ dA =       sdV. |
--------V---------∂V--------------V-------
(35)

This says:

|------------------------------------------------------------------|
-rate-of change-inside-+-net-outward--flux-=-total-production-inside.-|
(92)

This structure appears in mass conservation, charge conservation, energy conservation, fluid dynamics, and transport theory.

27 Choosing the best coordinates

Coordinate choice is often the difference between a simple integral and a difficult one.

Use Cartesian coordinates when:

  • the region is box-like;
  • boundaries are planes aligned with coordinate axes;
  • the integrand is simple in x, y, and z.

Use cylindrical coordinates when:

  • the geometry is rotationally symmetric about an axis;
  • circles or cylinders appear naturally;
  • the integrand depends on x2 + y2.

Use spherical coordinates when:

  • the geometry is centered on a point;
  • spheres or cones appear;
  • the integrand depends primarily on r.

A coordinate system should match the symmetry of both the region and the field whenever possible.

28 Dimensional checks

A volume integral should have dimensions equal to the integrand times volume.

For mass density,

            −3
[ρm ] = kg m  ,
(93)

so

[ρm dV ] = kg.
(94)

For energy density,

[u ] = J m −3,
(95)

so

[u dV ] = J.
(96)

For charge density,

[ρq] = C m − 3,
(97)

so

[ρq dV ] = C.
(98)

Dimensional analysis is a powerful way to catch missing Jacobian factors.

29 Common mistakes

  1. Using dxdy dz after changing to cylindrical or spherical coordinates.
  2. Forgetting the cylindrical Jacobian factor ρ.
  3. Forgetting the spherical Jacobian factor r2 sin 𝜃.
  4. Confusing density per unit volume with total quantity.
  5. Integrating over the wrong geometric region.
  6. Using constant bounds when the actual boundary depends on another coordinate.
  7. Mixing the cylindrical radius ρ with a physical density symbol without defining notation clearly.
  8. Forgetting that the Jacobian appears because coordinate cells have different physical volumes.
  9. Treating center of mass as an unweighted geometric average when density is nonuniform.
  10. Using total distance from the origin instead of perpendicular distance to the rotation axis in a moment-of-inertia integral.
  11. Confusing a volume integral with a surface flux integral.
  12. Applying the divergence theorem without a closed boundary.
  13. Forgetting units and thereby missing a dimensional error.

30 Connections to other PhysicsLibrary articles

The volume integral connects directly to mass:

|-----∫-∫∫---------|
|M  =       ρm dV. |
----------V---------
(99)

It connects to charge:

|----∫-∫∫--------|
|                |
Q  =       ρq dV.|
---------V--------
(100)

It connects to energy:

|-----∫∫-∫-------|
|                |
|E =        udV. |
----------V-------
(101)

It connects to center of mass:

|----------∫∫-∫----------|
|r   =  -1-      rρ  dV. |
| CM    M      V   m     |
-------------------------
(102)

It connects to rotational mechanics:

|---∫-∫∫------------|
|          2        |
I =       r⊥ ρm dV. |
---------V-----------
(103)

It connects to the surface-integral article through

∮-------------∫∫-∫-----------|
|   F  ⋅ dA =       ∇ ⋅ F dV.|
| ∂V              V          |
------------------------------
(104)

31 Summary

A volume integral adds a field throughout a three-dimensional region:

|∫-∫∫--------|
|      f dV. |
|    V       |
-------------
(105)

In Cartesian coordinates,

|--------------|
dV--=-dx-dy-dz.-
(106)

In cylindrical coordinates,

|----------------|
|dV =  ρdρ dϕ dz.|
------------------
(107)

In spherical coordinates,

|----------------------|
|dV  = r2sin𝜃 dr d𝜃dϕ. |
-----------------------
(108)

For a general coordinate transformation,

|--------------------------|
|     || ∂(x,y,z) ||         |
dV  = ||----------||du dvdw. |
-------∂-(u,v,w-)-----------
(109)

The central physical pattern is

|-----------------∫∫-∫---------------------|
|                                          |
|total quantity =       volume  density dV. |
----------------------V--------------------
(110)

This single structure produces mass, charge, energy, probability, center of mass, moments of inertia, and the volume side of the divergence theorem.

References

References

[1]   J. Stewart, Calculus: Early Transcendentals, Cengage Learning.

[2]   H. M. Schey, Div, Grad, Curl, and All That, W. W. Norton.

[3]   J. E. Marsden and A. J. Tromba, Vector Calculus, W. H. Freeman.

[4]   G. B. Arfken, H. J. Weber, and F. E. Harris, Mathematical Methods for Physicists, Academic Press.

[5]   D. J. Griffiths, Introduction to Electrodynamics, 4th ed., Pearson, 2013.

[6]   J. R. Taylor, Classical Mechanics, University Science Books, 2005.


"volume integral" is owned by bloftin.
(view preamble)
View style:
See Also: surface integral

Also defines:  volume integral, triple integral, volume element, Jacobian, cylindrical volume element, spherical volume element, volume density, center of mass, moment of inertia
Keywords:  volume integral, triple integral, Jacobian, density, mass, charge, energy density, probability density, cylindrical coordinates, spherical coordinates, center of mass, moment of inertia, divergence theorem

Attachments:
examples of volume integral (Example) by bloftin

Cross-references: flux integral, unit, coordinate system, fluid dynamics, energy conservation, boundary, theorem, position, vector field, particle, electric field, system, flux, surface integral, Gauss's Law, spherical coordinates, formula, scalar triple product, vectors, determinant, cylindrical coordinates, Cartesian coordinates, dimension, divergence, mechanics, energy, volume, Electric Charge, solid, mass, physical quantities, scalar
There are 15 references to this object.

This is version 1 of volume integral, born on 2026-10-07.
Object id is 1435, canonical name is VolumeIntegral.
Accessed 13 times total.

Classification:
Physics Classification: 02.30.-f (Function theory, analysis)
 02.40.-k (Geometry, differential geometry, and topology )

Pending Errata and Addenda

None.

Discussion

No messages.

Interact