Source

Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree

A volume integral adds up a scalar function over a solid region :

For cylinders and spheres, switching coordinates makes the limits much simpler.

Cylindrical Coordinates

The extra comes from the small box having sides , and .

Spherical Coordinates

with and ( is measured down from the axis, so to already covers top to bottom).

from the small box with sides , and .

Method

Steps:

  1. Pick coordinates that match the shape (box: Cartesian, cylinder: cylindrical, sphere: spherical)
  2. Rewrite and the limits in those coordinates
  3. Include the correct factor ( or )
  4. Integrate one variable at a time, innermost first

Worked Example 1: Cube

over the unit cube:

Worked Example 2: Hemisphere

over the upper half of . In spherical coordinates :

Worked Example 3: Cylinder

, find over , . Here :

Volume integrals of a divergence like this one are exactly what appears in the Divergence Theorem.