Skip to content

Chapter 4: Multiple Integrals

A double integral adds contributions over a plane region. Divide a region RR into small pieces of area Ξ”Ai\Delta A_i, choose a point (xiβˆ—,yiβˆ—)(x_i^*,y_i^*) in each piece, and form

βˆ‘if(xiβˆ—,yiβˆ—)Ξ”Ai.\sum_i f(x_i^*,y_i^*)\Delta A_i.

When these sums approach a common value as the largest piece diameter approaches zero, the limit is ∬Rf dA\iint_R f\,dA. A continuous function on a closed rectangle is integrable.

If fβ‰₯0f\ge0, the integral gives volume below the graph and above the region. If ff changes sign, it gives signed volume. Area itself is A(R)=∬R1 dAA(R)=\iint_R1\,dA.

The definition adds contributions over many tiny patches, but a direct limit of a two-dimensional sum is rarely a convenient calculation. Instead, collect all patches in a thin vertical strip first. Integrating in yy adds up a cross section of the solid at fixed xx; integrating those cross sections in xx adds the whole solid. Collecting horizontal strips reverses the roles.

This is the geometric reason an iterated integral can evaluate a double integral. Fubini’s theorem makes the passage from sums to repeated integration valid under suitable integrability assumptions. For continuous ff on R=[a,b]Γ—[c,d]R=[a,b]\times[c,d], it gives

∬Rf dA=∫ab∫cdf(x,y) dy dx=∫cd∫abf(x,y) dx dy.\iint_Rf\,dA =\int_a^b\int_c^d f(x,y)\,dy\,dx =\int_c^d\int_a^b f(x,y)\,dx\,dy.

In the inner integral, hold the outer variable constant. Evaluate the inner bounds before proceeding to the outer integration. If an integrand factors as g(x)h(y)g(x)h(y) on a rectangle, its integral factors into the product of the two single integrals.

The average value over a region of positive area is

favg=1A(R)∬Rf dA.f_{\mathrm{avg}}=\frac1{A(R)}\iint_Rf\,dA.

Example. Find the average value of f(x,y)=x+2yf(x,y)=x+2y on 0≀x≀20\le x\le2, 0≀y≀10\le y\le1.

First integrate:

∫02∫01(x+2y) dy dx=∫02(x+1) dx=4.\int_0^2\int_0^1(x+2y)\,dy\,dx =\int_0^2(x+1)\,dx=4.

The rectangle has area 22, so favg=4/2=2f_{\mathrm{avg}}=4/2=2.

The units of a double integral come from multiplying the integrand’s units by area. A height function integrated over a horizontal region gives volume. Area density integrated over a region gives mass. A temperature function integrated over area gives temperature times area, so divide by the area to recover an average temperature.

Linearity works as it did for single integrals: constants can be factored out and sums can be integrated term by term. Integrals over adjacent regions also add, provided their interiors do not overlap. This lets us divide a complicated region into manageable pieces without changing the quantity being measured.

Example. On the square βˆ’1≀x,y≀1-1\le x,y\le1, find the signed integral of f(x,y)=xf(x,y)=x and the total volume between its graph and the horizontal plane.

The signed integral is

βˆ«βˆ’11βˆ«βˆ’11x dy dx=2βˆ«βˆ’11x dx=0.\int_{-1}^1\int_{-1}^1x\,dy\,dx =2\int_{-1}^1x\,dx=0.

Positive and negative heights cancel. For total volume, use the absolute height instead:

∬R∣xβˆ£β€‰dA=2βˆ«βˆ’11∣xβˆ£β€‰dx=2.\iint_R\lvert x\rvert\,dA =2\int_{-1}^1\lvert x\rvert\,dx=2.

The zero signed integral does not mean there is no solid between the graph and the plane. It records cancellation between two equal-volume pieces on opposite sides of that plane.

Symmetry can shorten a calculation before any antiderivative is taken. An odd integrand cancels over a region symmetric in the relevant coordinate. Check both the integrand and the region: an odd expression does not cancel if only one side of the region is included.


The bounds describe the region, independently of the integrand. For a region between two graphs of yy,

R={(x,y):a≀x≀b,Β g1(x)≀y≀g2(x)},R=\{(x,y):a\le x\le b,\ g_1(x)\le y\le g_2(x)\},

use vertical slices:

∬Rf dA=∫ab∫g1(x)g2(x)f(x,y) dy dx.\iint_R f\,dA=\int_a^b\int_{g_1(x)}^{g_2(x)}f(x,y)\,dy\,dx.

For a region between graphs of xx, use horizontal slices:

∬Rf dA=∫cd∫h1(y)h2(y)f(x,y) dx dy.\iint_R f\,dA=\int_c^d\int_{h_1(y)}^{h_2(y)}f(x,y)\,dx\,dy.

Some regions require splitting because the upper, lower, left, or right boundary changes. To reverse integration order, reconstruct the region and slice it the other way. Swapping the differentials while keeping the bounds usually changes the problem.

Example. Evaluate ∫01∫x1ey2 dy dx\int_0^1\int_x^1 e^{y^2}\,dy\,dx by reversing the order.

The bounds describe 0≀x≀y≀10\le x\le y\le1. A horizontal slice has 0≀x≀y0\le x\le y, so

∫01∫x1ey2 dy dx=∫01∫0yey2 dx dy=∫01yey2 dy=eβˆ’12.\int_0^1\int_x^1e^{y^2}\,dy\,dx =\int_0^1\int_0^y e^{y^2}\,dx\,dy =\int_0^1ye^{y^2}\,dy =\frac{e-1}2.

The original inner integral has no elementary antiderivative. Changing the order makes the calculation straightforward.

xyy=xy=110
The same triangle can be sliced vertically or horizontally

When the boundary consists of two curves, solve for their intersection points first. These determine the outer interval, but they do not by themselves tell you which curve is on top. Test an interior coordinate or use the sketch before writing the inner bounds. Incorrectly reversing upper and lower limits gives a negative integral even for a positive integrand.

Example. Find the area enclosed by y=x2y=x^2 and y=2βˆ’xy=2-x. Set it up in both orders, explaining why one order requires splitting the region.

The intersections satisfy x2=2βˆ’xx^2=2-x, giving x=βˆ’2,1x=-2,1. Between those points the line is above the parabola, so vertical slices give one integral:

A=βˆ«βˆ’21∫x22βˆ’x1 dy dx=βˆ«βˆ’21(2βˆ’xβˆ’x2) dx=92.A=\int_{-2}^1\int_{x^2}^{2-x}1\,dy\,dx =\int_{-2}^1(2-x-x^2)\,dx=\frac92.

For horizontal slices, the parabola supplies βˆ’y≀x≀y-\sqrt y\le x\le\sqrt y, while staying below the line requires x≀2βˆ’yx\le2-y. Both conditions must hold. The left boundary is always βˆ’y-\sqrt y; the right boundary is the smaller of y\sqrt y and 2βˆ’y2-y.

Those two right-boundary candidates switch at y=1y=1. The region extends from the parabola’s vertex at y=0y=0 to the higher intersection at y=4y=4. Thus the reversed order is

A=∫01βˆ«βˆ’yy1 dx dy+∫14βˆ«βˆ’y2βˆ’y1 dx dy.A=\int_0^1\int_{-\sqrt y}^{\sqrt y}1\,dx\,dy +\int_1^4\int_{-\sqrt y}^{2-y}1\,dx\,dy.

The first integral is 4/34/3 and the second is 19/619/6, again totaling 9/29/2. Using the line as the right boundary for all heights would wrongly include points outside the parabola at the bottom. Using the positive square-root branch for all heights would include points beyond the line at the top. The split records a real change in which boundary a horizontal slice reaches first.

If the inside antiderivative looks difficult, consider changing order before introducing a special function or numerical approximation. The useful question is whether a different slicing makes the integrand simpler to integrate or the boundary simpler to describe; these goals do not always favor the same order.


Polar coordinates suit circular regions and expressions involving x2+y2x^2+y^2:

x=rcos⁑θ,y=rsin⁑θ.x=r\cos\theta,\qquad y=r\sin\theta.

The coordinate formulas change positions, but an integral also needs the physical area represented by a small coordinate rectangle. An angular step has no fixed length: the same angle spans a larger arc farther from the origin. At radius rr, that arc is approximately r dΞΈr\,d\theta long.

Multiplying by radial thickness gives the first-order area r dr dΞΈr\,dr\,d\theta. More explicitly, an annular sector of angle Δθ\Delta\theta between radii rr and r+Ξ”rr+\Delta r has exact area 12((r+Ξ”r)2βˆ’r2)Δθ\tfrac12((r+\Delta r)^2-r^2)\Delta\theta. Its leading term is rΞ”rΔθr\Delta r\Delta\theta; the extra term is of higher order in the radial thickness. Thus

dA=r dr dΞΈ.dA=r\,dr\,d\theta.

For a region with α≀θ≀β\alpha\le\theta\le\beta and r1(ΞΈ)≀r≀r2(ΞΈ)r_1(\theta)\le r\le r_2(\theta),

∬Rf(x,y) dA=∫αβ∫r1(ΞΈ)r2(ΞΈ)f(rcos⁑θ,rsin⁑θ) r dr dΞΈ.\iint_Rf(x,y)\,dA =\int_\alpha^\beta\int_{r_1(\theta)}^{r_2(\theta)} f(r\cos\theta,r\sin\theta)\,r\,dr\,d\theta.

Change the integrand, bounds, and area element together. The factor rr is part of the area element even when the original integrand is 11.

Example. Find the volume below z=4βˆ’x2βˆ’y2z=4-x^2-y^2 and above the disk x2+y2≀4x^2+y^2\le4.

The height becomes 4βˆ’r24-r^2, and the disk has 0≀r≀20\le r\le2, 0≀θ≀2Ο€0\le\theta\le2\pi. Thus

V=∫02Ο€βˆ«02(4βˆ’r2)r dr dΞΈ=2Ο€[2r2βˆ’r44]02=8Ο€.V=\int_0^{2\pi}\int_0^2(4-r^2)r\,dr\,d\theta =2\pi\left[2r^2-\frac{r^4}4\right]_0^2 =8\pi.

A disk centered at the origin gives constant radial bounds, but a shifted circle usually does not. Convert the boundary equation first and then decide which angles produce the desired region. Using a negative radial bound would conflict with the nonnegative-radius convention used in these notes.

Example. Find the area inside x2+y2≀2xx^2+y^2\le2x using polar coordinates.

Completing the square identifies a disk centered at (1,0)(1,0) with radius 11. Substituting polar coordinates into its boundary gives r2=2rcos⁑θr^2=2r\cos\theta, hence r=2cos⁑θr=2\cos\theta away from the origin. The disk is swept by rays with βˆ’Ο€/2≀θ≀π/2-\pi/2\le\theta\le\pi/2:

A=βˆ«βˆ’Ο€/2Ο€/2∫02cos⁑θr dr dΞΈ=2βˆ«βˆ’Ο€/2Ο€/2cos⁑2θ dΞΈ=Ο€.A=\int_{-\pi/2}^{\pi/2}\int_0^{2\cos\theta}r\,dr\,d\theta =2\int_{-\pi/2}^{\pi/2}\cos^2\theta\,d\theta=\pi.

This agrees with the geometric area of the radius-one disk. Using all angles from zero to a full turn with the same radial formula would introduce negative upper bounds and would not describe the region under our convention.

When both integrand and region depend only on distance from the origin, the angular integral often contributes a constant factor. For a full circular region that factor is one full turn; for a sector it is the sector angle. The radial integral must still include the extra factor from the area element.

Polar coordinates can simplify the integrand as well as the boundary. An exponential involving squared distance becomes an exponential in the radial variable, and the area factor supplies exactly the extra radial factor needed for substitution.

Example. Evaluate ∬Deβˆ’(x2+y2) dA\iint_D e^{-(x^2+y^2)}\,dA on the disk x2+y2≀a2x^2+y^2\le a^2, where a>0a>0.

The circular region and squared-distance integrand both favor polar coordinates:

∬Deβˆ’(x2+y2) dA=∫02Ο€βˆ«0aeβˆ’r2r dr dΞΈ.\iint_D e^{-(x^2+y^2)}\,dA =\int_0^{2\pi}\int_0^a e^{-r^2}r\,dr\,d\theta.

Use the derivative of βˆ’r2-r^2 to integrate radially:

2Ο€[βˆ’12eβˆ’r2]0a=Ο€(1βˆ’eβˆ’a2).2\pi\left[-\frac12e^{-r^2}\right]_0^a =\pi(1-e^{-a^2}).

The answer is positive and increases with the disk radius, as expected for a positive integrand over an expanding region. It stays below Ο€\pi because the exponential decreases rapidly away from the origin. Trying to integrate with respect to a rectangular coordinate first would hide this simple substitution.


A double integral over a horizontal base counts projected area. A tilted surface patch has more area than its projection because one or both directions across it climb as well as move horizontally. We need to account for that extra length locally, then add the corrected patch areas.

For a graph, the coordinate slopes determine the tilt. Over a tiny horizontal step in xx, the surface displacement is approximately ⟨dx,0,fxdx⟩\langle dx,0,f_xdx\rangle; over a step in yy it is approximately ⟨0,dy,fydy⟩\langle0,dy,f_ydy\rangle. These two directions span a tangent parallelogram. Its cross-product magnitude supplies the area factor proved below.

For z=f(x,y)z=f(x,y) with continuous first partials over RR,

A=∬R1+fx2+fy2 dA.A=\iint_R\sqrt{1+f_x^2+f_y^2}\,dA.

This measures surface area, not the volume below the graph.

More generally, a parametrized surface has position

r(u,v)=⟨x(u,v),y(u,v),z(u,v)⟩.\mathbf r(u,v)=\langle x(u,v),y(u,v),z(u,v)\rangle.

A small parameter rectangle maps to a surface patch whose two approximate edge vectors are ru du\mathbf r_u\,du and rv dv\mathbf r_v\,dv. These generally are neither perpendicular nor unit length. Multiplying their magnitudes would ignore the angle between them. The cross product accounts for their lengths and that angle together, giving

dS=βˆ₯ruΓ—rvβˆ₯ du dv,A=∬Dβˆ₯ruΓ—rvβˆ₯ du dv.dS=\lVert\mathbf r_u\times\mathbf r_v\rVert\,du\,dv, \qquad A=\iint_D\lVert\mathbf r_u\times\mathbf r_v\rVert\,du\,dv.

Use a parametrization that covers the surface once, apart from boundary overlaps, and is regular where needed: ru×rv≠0\mathbf r_u\times\mathbf r_v\ne\mathbf0. Otherwise the integral may count repeated coverage.

Proof (Area element for a graph). Parametrize the graph by r(x,y)=⟨x,y,f(x,y)⟩\mathbf r(x,y)=\langle x,y,f(x,y)\rangle. Then

rx=⟨1,0,fx⟩,ry=⟨0,1,fy⟩,\mathbf r_x=\langle1,0,f_x\rangle,\qquad \mathbf r_y=\langle0,1,f_y\rangle,

so

rxΓ—ry=βŸ¨βˆ’fx,βˆ’fy,1⟩.\mathbf r_x\times\mathbf r_y=\langle-f_x,-f_y,1\rangle.

Taking its magnitude gives the factor 1+fx2+fy2\sqrt{1+f_x^2+f_y^2}.

For example, the patch z=2xβˆ’yz=2x-y over a rectangle of area 33 has area 363\sqrt6 because the area factor is constantly 1+4+1\sqrt{1+4+1}.

The parameters describe where a surface patch comes from. Holding one fixed gives a curve on the surface; varying both fills the patch. Bounds in the parameter plane are therefore part of the surface description. The same formula with different bounds can cover a patch, a whole surface, or the same surface multiple times.

Example. Find the lateral area of the cylinder x2+y2=a2x^2+y^2=a^2 between z=0z=0 and z=hz=h, where a,h>0a,h>0, using a surface parametrization.

Use angle and height:

r(ΞΈ,z)=⟨acos⁑θ,asin⁑θ,z⟩,0≀θ≀2Ο€,0≀z≀h.\mathbf r(\theta,z)=\langle a\cos\theta,a\sin\theta,z\rangle, \qquad0\le\theta\le2\pi,\quad0\le z\le h.

The tangent vectors are rΞΈ=βŸ¨βˆ’asin⁑θ,acos⁑θ,0⟩\mathbf r_\theta=\langle-a\sin\theta,a\cos\theta,0\rangle and rz=⟨0,0,1⟩\mathbf r_z=\langle0,0,1\rangle. Their cross product has magnitude aa, so

A=∫02Ο€βˆ«0ha dz dΞΈ=2Ο€ah.A=\int_0^{2\pi}\int_0^h a\,dz\,d\theta=2\pi ah.

This counts only the curved side because the parametrization does not include the top and bottom disks. Those caps would require two additional patches, each of area Ο€a2\pi a^2.

A cylinder’s side cannot be represented by a single-valued height function over the full horizontal disk. A parametric representation avoids that difficulty. For an upper hemisphere, a graph is possible, but its derivatives become unbounded at the equator; spherical parameters can give a cleaner calculation.


A triple integral accumulates over a solid region EE. In particular,

V(E)=∭E1 dV.V(E)=\iiint_E1\,dV.

If the solid lies between z=g1(x,y)z=g_1(x,y) and z=g2(x,y)z=g_2(x,y) above a base RR, then

∭Ef dV=∬R∫g1(x,y)g2(x,y)f(x,y,z) dz dA.\iiint_Ef\,dV =\iint_R\int_{g_1(x,y)}^{g_2(x,y)}f(x,y,z)\,dz\,dA.

Other orders are possible. In an iterated integral, the innermost bounds may depend on the two outer variables, the middle bounds may depend on the outermost variable, and the outermost bounds are constants.

Example. Find the volume of the first-octant tetrahedron bounded by x+y+z=2x+y+z=2 and the coordinate planes.

For fixed x,yx,y, height runs from z=0z=0 to z=2βˆ’xβˆ’yz=2-x-y. Its projection is 0≀x≀20\le x\le2, 0≀y≀2βˆ’x0\le y\le2-x. Therefore

V=∫02∫02βˆ’x∫02βˆ’xβˆ’y1 dz dy dx=12∫02(2βˆ’x)2 dx=43.V=\int_0^2\int_0^{2-x}\int_0^{2-x-y}1\,dz\,dy\,dx =\frac12\int_0^2(2-x)^2\,dx =\frac43.

For an integral with vertical integration innermost, project the solid onto the horizontal plane. A point belongs to that projection only if a vertical line above it meets the solid. Then determine the bottom and top surfaces along that line. The boundary of the projection often comes from setting those surfaces equal.

Example. Find the volume between z=x2+y2z=x^2+y^2 and z=2βˆ’x2βˆ’y2z=2-x^2-y^2.

The surfaces meet when x2+y2=1x^2+y^2=1. Inside that disk, the upper paraboloid has height 2βˆ’r22-r^2 and the lower one has height r2r^2. Cylindrical coordinates give

V=∫02Ο€βˆ«01∫r22βˆ’r2r dz dr dΞΈ.V=\int_0^{2\pi}\int_0^1\int_{r^2}^{2-r^2}r\,dz\,dr\,d\theta.

Integrating vertically first leaves the difference of the two heights:

V=2Ο€βˆ«01(2βˆ’2r2)r dr=Ο€.V=2\pi\int_0^1(2-2r^2)r\,dr=\pi.

The thickness vanishes at the outer circle, so the bounds pass a useful geometric check. Extending the radial interval beyond one would reverse which paraboloid is on top and would no longer describe the enclosed solid with these bounds.

A triple integral of a nonconstant function uses exactly the same region bounds as the volume integral. The bounds describe where accumulation occurs; the integrand describes what is accumulated there. Keeping these roles separate makes it easier to reuse a correct setup for volume, mass, or a moment.


Triple Integrals in Cylindrical and Spherical Coordinates

Section titled β€œTriple Integrals in Cylindrical and Spherical Coordinates”

Cylindrical coordinates retain the polar area factor and add vertical thickness:

x=rcos⁑θ,y=rsin⁑θ,z=z,dV=r dz dr dΞΈ.x=r\cos\theta,\quad y=r\sin\theta,\quad z=z, \qquad dV=r\,dz\,dr\,d\theta.

Choose them for cylinders, cones, and surfaces where x2+y2x^2+y^2 appears. The integration order can change, but the factor rr remains.

In spherical coordinates, with Ο•\phi measured from the positive zz-axis,

x=ρsin⁑ϕcos⁑θ,y=ρsin⁑ϕsin⁑θ,z=ρcos⁑ϕ,x=\rho\sin\phi\cos\theta,\quad y=\rho\sin\phi\sin\theta,\quad z=\rho\cos\phi, dV=ρ2sin⁑ϕ dρ dϕ dΞΈ.dV=\rho^2\sin\phi\,d\rho\,d\phi\,d\theta.

The three small lengths are approximately dρd\rho, ρ dΟ•\rho\,d\phi, and ρsin⁑ϕ dΞΈ\rho\sin\phi\,d\theta. Their product explains the scale factor.

A full ball of radius aa uses 0≀ρ≀a0\le\rho\le a, 0≀ϕ≀π0\le\phi\le\pi, and 0≀θ≀2Ο€0\le\theta\le2\pi. The upper hemisphere uses 0≀ϕ≀π/20\le\phi\le\pi/2. A cone from the origin often gives a constant bound on Ο•\phi.

Example. A uniform solid lies inside x2+y2+z2≀2zx^2+y^2+z^2\le2z and above z=x2+y2z=\sqrt{x^2+y^2}. Find its volume and centroid using spherical coordinates.

Completing the square shows the sphere has center (0,0,1)(0,0,1) and radius one. Spherical substitution gives ρ2≀2ρcos⁑ϕ\rho^2\le2\rho\cos\phi, so a ray runs from the origin to ρ=2cos⁑ϕ\rho=2\cos\phi. The upper cone corresponds to Ο•=Ο€/4\phi=\pi/4; being above it means 0≀ϕ≀π/40\le\phi\le\pi/4. Every azimuth is allowed.

The sphere is shifted, so its radial upper bound depends on angle. The volume is

V=∫02Ο€βˆ«0Ο€/4∫02cos⁑ϕρ2sin⁑ϕ dρ dϕ dΞΈ=16Ο€3∫0Ο€/4cos⁑3Ο•sin⁑ϕ dΟ•=Ο€.V=\int_0^{2\pi}\int_0^{\pi/4}\int_0^{2\cos\phi} \rho^2\sin\phi\,d\rho\,d\phi\,d\theta =\frac{16\pi}3\int_0^{\pi/4}\cos^3\phi\sin\phi\,d\phi=\pi.

Rotational symmetry gives xβ€Ύ=yβ€Ύ=0\overline x=\overline y=0. To find the height, weight each volume element by z=ρcos⁑ϕz=\rho\cos\phi:

∭Ez dV=∫02Ο€βˆ«0Ο€/4∫02cos⁑ϕρ3cos⁑ϕsin⁑ϕ dρ dϕ dΞΈ=8Ο€βˆ«0Ο€/4cos⁑5Ο•sin⁑ϕ dΟ•=7Ο€6.\iiint_Ez\,dV =\int_0^{2\pi}\int_0^{\pi/4}\int_0^{2\cos\phi} \rho^3\cos\phi\sin\phi\,d\rho\,d\phi\,d\theta =8\pi\int_0^{\pi/4}\cos^5\phi\sin\phi\,d\phi =\frac{7\pi}6.

For a uniform solid the constant density cancels, giving centroid (0,0,7/6)(0,0,7/6). This lies above the sphere’s center because the cone removes more material from the lower part. The moment formula is developed further in the centers-of-gravity section; here it uses the same bounds as volume, with one extra factor of height.

Cylindrical coordinates are often convenient when vertical bounds are easy to isolate and the horizontal projection is circular. Spherical coordinates are often convenient when rays from the origin meet the boundary at a simple distance. A spherical boundary alone does not force spherical coordinates; a shifted sphere or several intersecting surfaces can make another choice easier.

Example. Evaluate ∭B(x2+y2+z2) dV\iiint_B(x^2+y^2+z^2)\,dV over the ball of radius a>0a>0 centered at the origin.

The integrand becomes ρ2\rho^2. The region is described by 0≀ρ≀a0\le\rho\le a, 0≀ϕ≀π0\le\phi\le\pi, and 0≀θ≀2Ο€0\le\theta\le2\pi. Including the volume factor gives

∭B(x2+y2+z2) dV=∫02Ο€βˆ«0Ο€βˆ«0aρ4sin⁑ϕ dρ dϕ dΞΈ=4Ο€a55.\iiint_B(x^2+y^2+z^2)\,dV =\int_0^{2\pi}\int_0^\pi\int_0^a \rho^4\sin\phi\,d\rho\,d\phi\,d\theta =\frac{4\pi a^5}5.

The power a5a^5 matches the units: the integrand contributes length squared and the volume element contributes length cubed. Dividing by the ball’s volume gives the average squared distance from the origin, 3a2/53a^2/5.

For a region between two cones, find the polar angle of each cone and use the interval between those angles. For a region outside a smaller sphere and inside a larger concentric sphere, use two radial bounds. Translating every boundary separately is safer than trying to recognize a memorized combination of shapes.


Polar coordinates work because their coordinate curves fit circular geometry. We can use the same idea for other boundaries: choose new variables whose constant-value curves match the region. For example, if the boundaries are hyperbolas xy=constantxy=\text{constant}, the product xyxy is a promising new variable.

Changing coordinates stretches small areas. To find the amount, move a small distance in the uu-direction while fixing vv; the physical displacement is approximately ⟨xu,yu⟩du\langle x_u,y_u\rangle du. A small vv-step similarly gives ⟨xv,yv⟩dv\langle x_v,y_v\rangle dv. The signed area spanned by those two edges is their determinant times du dvdu\,dv.

This determinant is the Jacobian of x=x(u,v),y=y(u,v)x=x(u,v),y=y(u,v):

J=βˆ‚(x,y)βˆ‚(u,v)=∣xuxvyuyv∣=xuyvβˆ’xvyu.J=\frac{\partial(x,y)}{\partial(u,v)} =\begin{vmatrix}x_u&x_v\\y_u&y_v\end{vmatrix} =x_uy_v-x_vy_u.

Under a continuously differentiable, one-to-one transformation with nonzero Jacobian in the interior, mapping DD onto RR,

∬Rf(x,y) dA=∬Df(x(u,v),y(u,v))∣Jβˆ£β€‰du dv.\iint_Rf(x,y)\,dA =\iint_Df(x(u,v),y(u,v))\lvert J\rvert\,du\,dv.

Boundary degeneracies such as the polar origin are allowed in the usual piecewise version of this theorem. The absolute value keeps area positive when the transformation reverses orientation.

For triple integrals, use the absolute value of the corresponding 3Γ—33\times3 determinant βˆ‚(x,y,z)/βˆ‚(u,v,w)\partial(x,y,z)/\partial(u,v,w).

Example. Let RR be bounded by x+y=0x+y=0, x+y=2x+y=2, xβˆ’y=0x-y=0, and xβˆ’y=4x-y=4. Evaluate ∬R(x+y) dA\iint_R(x+y)\,dA.

Set u=x+yu=x+y and v=xβˆ’yv=x-y. Then 0≀u≀20\le u\le2 and 0≀v≀40\le v\le4. Solving for the original variables gives

x=u+v2,y=uβˆ’v2,J=βˆ’12.x=\frac{u+v}2,\qquad y=\frac{u-v}2, \qquad J=-\frac12.

Therefore

∬R(x+y) dA=∫02∫04u(12) dv du=4.\iint_R(x+y)\,dA =\int_0^2\int_0^4u\left(\frac12\right)\,dv\,du=4.

Notice that the area factor is the Jacobian of the inverse formulas we actually substituted. Using βˆ‚(u,v)/βˆ‚(x,y)\partial(u,v)/\partial(x,y) instead would give the reciprocal factor.

The columns of the derivative matrix describe how small changes in the new coordinates move a point in the original plane. Their determinant is the signed area of the resulting small parallelogram. Taking its magnitude gives the area scale factor. A linear transformation has a constant Jacobian, while polar coordinates stretch more at larger radii.

Example. In the first quadrant, RR is bounded by xy=1xy=1, xy=4xy=4, x/y=1x/y=1, and x/y=9x/y=9. Choose a change of variables and evaluate ∬R(x/y) dA\iint_R(x/y)\,dA.

The product and ratio are constant on the boundaries, so choose u=xyu=\sqrt{xy} and v=x/yv=\sqrt{x/y}. Positivity makes these single-valued, and the inverse formulas are especially simple:

x=uv,y=uv,1≀u≀2,1≀v≀3.x=uv,\qquad y=\frac uv, \qquad1\le u\le2,\quad1\le v\le3.

Check the inverse by multiplying and dividing: xy=u2xy=u^2 and x/y=v2x/y=v^2. This confirms both the transformed bounds and the transformed integrand. The Jacobian is

βˆ‚(x,y)βˆ‚(u,v)=∣vu1/vβˆ’u/v2∣=βˆ’2uv.\frac{\partial(x,y)}{\partial(u,v)} =\begin{vmatrix}v&u\\1/v&-u/v^2\end{vmatrix} =-\frac{2u}v.

Since u,v>0u,v>0, its magnitude is 2u/v2u/v. Therefore

∬Rxy dA=∫12∫13v22uv dv du=(∫122u du)(∫13v dv)=12.\iint_R\frac xy\,dA =\int_1^2\int_1^3v^2\frac{2u}v\,dv\,du =\left(\int_1^22u\,du\right)\left(\int_1^3v\,dv\right)=12.

The transformation changes orientation, as indicated by the negative determinant, but the scalar integral remains positive. The first-quadrant restriction matters: without it, these new variables would not distinguish points in opposite quadrants, and a single rectangle with this inverse would not cover the entire region.

When composing substitutions, multiply the Jacobian factors in the same direction as the maps. If you computed the determinant for the reverse map, invert it where nonzero before using it as the area factor for the forward substitution.


For a finite collection of point masses, the center coordinate is a weighted average: xβ€Ύ=(βˆ‘ximi)/(βˆ‘mi)\overline x=(\sum x_im_i)/(\sum m_i). A lamina can be approximated by many small pieces, treating each piece as a point mass. Its mass is approximately density times area, Ξ΄(xi,yi)Ξ”Ai\delta(x_i,y_i)\Delta A_i.

Replacing the two sums in that weighted average by their limiting integrals gives the center-of-mass formulas. A first moment weights each piece by its signed coordinate, so pieces on opposite sides of an axis can balance. Dividing by total mass identifies the single coordinate at which the same total mass would have the same first moment.

For area density Ξ΄(x,y)β‰₯0\delta(x,y)\ge0 and positive total mass,

m=∬Rδ dA,Mx=∬Ryδ dA,My=∬Rxδ dA.m=\iint_R\delta\,dA, \qquad M_x=\iint_Ry\delta\,dA, \qquad M_y=\iint_Rx\delta\,dA.

The center of mass is

xβ€Ύ=Mym,yβ€Ύ=Mxm.\overline x=\frac{M_y}{m},\qquad \overline y=\frac{M_x}{m}.

The subscripts name the axis of the moment: distance from the xx-axis is measured by yy. With constant density, the center of mass is the geometric centroid. Symmetry helps only when both the region and the density share that symmetry.

For volume density Ξ΄(x,y,z)\delta(x,y,z), use triple integrals:

m=∭Eδ dV,(xβ€Ύ,yβ€Ύ,zβ€Ύ)=1m(∭Exδ dV,∭Eyδ dV,∭Ezδ dV).m=\iiint_E\delta\,dV,\qquad (\overline x,\overline y,\overline z) =\frac1m\left(\iiint_E x\delta\,dV,\iiint_E y\delta\,dV,\iiint_E z\delta\,dV\right).

In a uniform gravitational field, the center of gravity agrees with the center of mass.

A moment of inertia weights mass by squared distance from an axis. For a lamina in the xyxy-plane,

Ix=∬Ry2δ dA,Iy=∬Rx2δ dA,Iz=Ix+Iy.I_x=\iint_Ry^2\delta\,dA,\qquad I_y=\iint_Rx^2\delta\,dA,\qquad I_z=I_x+I_y.

Example. A lamina occupies the upper unit half-disk with density Ξ΄(x,y)=y\delta(x,y)=y. Find its mass, center of mass, and moment of inertia about the horizontal diameter.

Density is nonnegative here and increases with height. The region is symmetric left-to-right, and density has the same symmetry, so xβ€Ύ=0\overline x=0. Symmetry does not determine the vertical coordinate because the density changes vertically.

Use 0≀r≀10\le r\le1 and 0≀θ≀π0\le\theta\le\pi. Density becomes rsin⁑θr\sin\theta, and the area element contributes a separate factor of rr:

m=∫0Ο€βˆ«01r2sin⁑θ dr dΞΈ=23.m=\int_0^\pi\int_0^1r^2\sin\theta\,dr\,d\theta=\frac23.

To find yβ€Ύ\overline y, the moment about the horizontal diameter weights mass by an additional yy:

Mx=∬Ryδ dA=∫0Ο€βˆ«01r3sin⁑2θ dr dΞΈ=Ο€8.M_x=\iint_Ry\delta\,dA =\int_0^\pi\int_0^1r^3\sin^2\theta\,dr\,d\theta=\frac\pi8.

Thus yβ€Ύ=Mx/m=3Ο€/16\overline y=M_x/m=3\pi/16. For comparison, a uniform upper half-disk has centroid height 4/(3Ο€)4/(3\pi); weighting the upper part more heavily raises the height, as expected.

Inertia uses squared distance from the diameter, introducing two factors of yy in addition to the density factor:

Ix=∬Ry2δ dA=∫0Ο€βˆ«01r4sin⁑3θ dr dΞΈ=15β‹…43=415.I_x=\iint_Ry^2\delta\,dA =\int_0^\pi\int_0^1r^4\sin^3\theta\,dr\,d\theta =\frac15\cdot\frac43=\frac4{15}.

Mass, first moment, and inertia use identical region bounds. Their different physical meanings appear in the extra coordinate factors in the integrand.

A centroid is a geometric average of position. A center of mass is a density-weighted average. Increasing density on one side shifts the center toward that side even if the boundary remains symmetric. A common constant density cancels between every first moment and the total mass, so a uniform lamina’s center does not depend on the numerical value of that constant.

Example. A uniform lamina of density Ξ΄0>0\delta_0>0 occupies the right triangle xβ‰₯0x\ge0, yβ‰₯0y\ge0, x+y≀ax+y\le a. Find its center of mass and moment of inertia about the xx-axis.

The mass is m=Ξ΄0a2/2m=\delta_0a^2/2. The moment used to find the horizontal coordinate is

My=Ξ΄0∫0a∫0aβˆ’xx dy dx=Ξ΄0a36.M_y=\delta_0\int_0^a\int_0^{a-x}x\,dy\,dx =\frac{\delta_0a^3}6.

The region and density are symmetric under exchanging the coordinates, so Mx=MyM_x=M_y. Thus xβ€Ύ=yβ€Ύ=a/3\overline x=\overline y=a/3.

For inertia, squared distance from the xx-axis is y2y^2:

Ix=Ξ΄0∫0a∫0aβˆ’xy2 dy dx=Ξ΄03∫0a(aβˆ’x)3 dx=Ξ΄0a412.I_x=\delta_0\int_0^a\int_0^{a-x}y^2\,dy\,dx =\frac{\delta_0}3\int_0^a(a-x)^3\,dx =\frac{\delta_0a^4}{12}.

The center coordinates have units of length, while inertia has units of mass times length squared. These unit checks distinguish a first moment from a moment of inertia even when the integrals look similar.


Topic and section order follows Anton, Bivens, and Davis, Calculus: Early Transcendentals, 12th edition, Chapter 14, renumbered as Chapter 4 here. Explanations and worked examples on this page are original study notes.