Multivariable CalculusSurface Integrals3 of 6
Surface Integrals · 3

Surface Integrals of Scalar Functions

We already know how to integrate a function over a flat region and how to find the area of a curved surface, and now we want to add up a function f(x,y,z)\func{f(x, y, z)} across a curved surface SS.

Adding Up a Function Over a Curved Surface
∬f(x,y) dx dy\accum{\iint} \func{f(x, y)}\,dx\,dy
xx
yy
zz
f(x,y,z)\func{f(x, y, z)}

To evaluate a surface integral over a graph z=g(x,y)z = g(x, y), we integrate over its flat shadow in the xyxy-plane and multiply dx dydx\,dy by the stretch factor from the surface's slopes:

∬Sf(x,y,z)⏟value on S 1+(∂z∂x)2+(∂z∂y)2 dx dy⏟dS (patch area)\displaystyle \iint_S \underbrace{\func{f(x, y, z)}}_{\func{\text{value on } S}}\,\underbrace{\accum{\sqrt{1 + \left(\change{\frac{\partial z}{\partial x}}\right)^2 + \left(\change{\frac{\partial z}{\partial y}}\right)^2}}\,dx\,dy}_{\accum{dS\text{ (patch area)}}}
1

Integrating Over a Graph z=g(x,y)z = g(x, y)

Let's evaluate

∬Sz dS\displaystyle \iint_S \func{z}\,\accum{dS}

where SS is the part of the paraboloid z=4−x2−y2z = 4 - x^2 - y^2 that lies above the xyxy-plane.

Integrating Over a Surface z = g(x, y)
xx
yy
zz
z=4−x2−y2z = 4 - x^2 - y^2
∬Sz dS=  ?\iint_S \func{z}\,\accum{dS} = \;?
Text solution
Find the patch area dS\accum{dS} from the slopes of z=4−x2−y2z = 4 - x^2 - y^2Taking the partial derivatives of z=4−x2−y2z = 4 - x^2 - y^2 gives the xx- and yy-slopes that stretch each shadow rectangle dx dydx\,dy into a tilted surface patch.
zx=−2x,zy=−2y  ⟹  dS\displaystyle \change{z_x = -2x}, \quad \change{z_y = -2y} \implies \accum{dS} =1+(−2x)2+(−2y)2 dx dy\displaystyle = \accum{\sqrt{1 + \change{(-2x)}^2 + \change{(-2y)}^2}}\,dx\,dy =1+4x2+4y2 dx dy\displaystyle = \accum{\sqrt{1 + 4x^2 + 4y^2}}\,dx\,dy
Substitute the surface equation into f(x,y,z)=z\func{f(x, y, z) = z}Because we are only adding up points on the paraboloid, we replace z\func{z} in the integrand with 4−x2−y24 - x^2 - y^2 so the function is written entirely in xx and yy.
f(x,y,z)=z=4−x2−y2\displaystyle \func{f(x, y, z) = z = 4 - x^2 - y^2}
Find the shadow disk at z=0z = 0 and convert to polar coordinatesSetting z=0z = 0 gives the boundary circle x2+y2=4x^2 + y^2 = 4, so we integrate over the disk x2+y2≤4x^2 + y^2 \le 4 using x2+y2=r2x^2 + y^2 = r^2 and dx dy=r dr dθdx\,dy = r\,dr\,d\theta (which finishes with the substitution u=1+4r2u = 1 + 4r^2).
∬Sz dS=∬x2+y2≤4(4−x2−y2)1+4x2+4y2 dx dy=∫02π∫02(4−r2)1+4r2 r dr dθ\displaystyle \begin{aligned} \iint_S \func{z}\,\accum{dS} &= \iint_{x^2 + y^2 \le 4} \func{(4 - x^2 - y^2)}\accum{\sqrt{1 + 4x^2 + 4y^2}}\,dx\,dy \\ &= \int_0^{2\pi} \int_0^2 \func{(4 - r^2)}\accum{\sqrt{1 + 4r^2}}\,r\,dr\,d\theta \end{aligned}

Near the peak of the paraboloid, the surface patch sits high up (z=4\func{z = 4}) and is nearly flat (dS≈dx dy\accum{dS} \approx dx\,dy). Toward the rim, the height drops to z=0z = 0 while the steeper tilt stretches dS\accum{dS} much larger than dx dydx\,dy. At every (x,y)(x, y) in the shadow, both factors in (4−x2−y2) dS\func{(4 - x^2 - y^2)}\,\accum{dS} are evaluated at the point on the surface directly above (x,y)(x, y).

Each rectangle in the flat shadow picks out the patch directly above it on the paraboloid, setting both the patch's height and how much its tilted area stretches.
2

Mass and Center of Mass of a Curved Shell

The mass M\accum{M} of a thin curved shell is its density ρ(x,y,z)\func{\rho(x, y, z)} added up over the surface, and its center of mass (xˉ,yˉ,zˉ)\accum{(\bar{x}, \bar{y}, \bar{z})} is the balance point found by averaging each coordinate weighted by the mass of each patch.

Mass and Center of Mass of a Curved Shell
xx
yy
zz
ρ(x,y,z)\func{\rho(x, y, z)}
mass per unit area\text{mass per unit area}
M=  ?\accum{M} = \;?
(xˉ,yˉ,zˉ)=  ?(\accum{\bar x}, \accum{\bar y}, \accum{\bar z}) = \;?

For a curved shell SS with density ρ(x,y,z)\func{\rho(x, y, z)} (mass per unit area), the total mass and center of mass are:

M\displaystyle \accum{M} =∬Sρ(x,y,z) dS\displaystyle = \iint_S \func{\rho(x, y, z)}\,\accum{dS}
xˉ\displaystyle \accum{\bar{x}} =1M∬Sx ρ(x,y,z) dS,yˉ\displaystyle = \frac{1}{\accum{M}}\iint_S \weight{x}\,\func{\rho(x, y, z)}\,\accum{dS}, \qquad \accum{\bar{y}} =1M∬Sy ρ(x,y,z) dS,zˉ\displaystyle = \frac{1}{\accum{M}}\iint_S \weight{y}\,\func{\rho(x, y, z)}\,\accum{dS}, \qquad \accum{\bar{z}} =1M∬Sz ρ(x,y,z) dS\displaystyle = \frac{1}{\accum{M}}\iint_S \weight{z}\,\func{\rho(x, y, z)}\,\accum{dS}

For the paraboloid z=4−x2−y2z = 4 - x^2 - y^2 with constant density ρ=1\func{\rho = 1}, the integral ∬Sz dS\iint_S \func{z}\,\accum{dS} we just set up is the numerator of zˉ\accum{\bar{z}}, and dividing it by the surface area M=∬S1 dS\accum{M} = \iint_S \func{1}\,\accum{dS} gives the height where the shell balances.

3

Integrating Over a Cylinder

Projecting onto the xyxy-plane doesn't work when a surface stands vertically or wraps back under itself.

Instead, we want to evaluate

∬Sx2z dS\displaystyle \iint_S \func{x^2 z}\,\accum{dS}

over the vertical cylinder wall x2+y2=9x^2 + y^2 = 9 between z=0z = 0 and z=5z = 5 by parameterizing the surface directly.

Integrating Over a Cylinder
xx
zz
x2+y2=9x^2 + y^2 = 9

When we describe a surface with two dials r(u,v)=⟨x(u,v),y(u,v),z(u,v)⟩\dial{\mathbf{r}(u, v)} = \langle x(u, v), y(u, v), z(u, v) \rangle, each tiny dudu by dvdv rectangle on the dial grid turns into a surface patch of area dS=∣ru×rv∣ du dv\accum{dS} = \accum{|\change{\mathbf{r}_u} \times \change{\mathbf{r}_v}|}\,du\,dv. On a cylinder of radius 33, you can read the patch edges right off the wall without taking a cross product.

Text solution
Parameterize the cylinder of radius 33 using θ\theta and zzAn angle θ\theta goes around the circle of radius 33 while zz moves straight up the wall from 00 to 55.
x\displaystyle x =3cos⁡θ,y\displaystyle = 3\cos\theta, \quad y =3sin⁡θ,z\displaystyle = 3\sin\theta, \quad z =z(0≤θ≤2π,  0≤z≤5)\displaystyle = z \qquad (0 \le \theta \le 2\pi,\; 0 \le z \le 5)
Write dS\accum{dS} from the horizontal arc 3 dθ\change{3\,d\theta} and vertical height dz\change{dz}Increasing θ\theta by dθd\theta traces an arc of length 3 dθ\change{3\,d\theta} and increasing zz by dzdz moves up by dz\change{dz}, forming a rectangular patch of area 3 dz dθ\accum{3}\,dz\,d\theta.
dS\displaystyle \accum{dS} =(3 dθ)(dz)\displaystyle = (\change{3\,d\theta})(\change{dz}) =3 dz dθ\displaystyle = \accum{3}\,dz\,d\theta
Substitute the cylinder coordinates into f(x,y,z)=x2z\func{f(x, y, z) = x^2 z} and set up the integralReplacing xx with 3cos⁡θ3\cos\theta turns the surface integral into an ordinary double integral over the flat (θ,z)\dial{(\theta, z)} rectangle.
∬Sx2z dS\displaystyle \iint_S \func{x^2 z}\,\accum{dS} =∫02π∫05(3cos⁡θ)2z⋅3 dz dθ\displaystyle = \int_0^{2\pi} \int_0^5 \func{(3\cos\theta)^2 z} \cdot \accum{3}\,dz\,d\theta =∫02π∫05(9cos⁡2θ z)⋅3 dz dθ\displaystyle = \int_0^{2\pi} \int_0^5 \func{(9\cos^2\theta\,z)} \cdot \accum{3}\,dz\,d\theta
4

Integrating Over a Sphere

Now let's evaluate

∬Sz2 dS\displaystyle \iint_S \func{z^2}\,\accum{dS}

over the entire sphere x2+y2+z2=4x^2 + y^2 + z^2 = 4 of radius 22.

Integrating Over a Sphere
xx
yy
zz
22
x2+y2+z2=4x^2 + y^2 + z^2 = 4
∬Sz2 dS=  ?\iint_S \func{z^2}\,\accum{dS} = \;?

On a sphere of radius 22, the north-south meridian has full radius 22, while the horizontal latitude ring at angle ϕ\phi from the North Pole has smaller radius 2sin⁡ϕ2\sin\phi.

Text solution
Parameterize the sphere of radius 22 with spherical angles ϕ\phi and θ\thetaWith the radius fixed at 22, the angle ϕ\phi from the North Pole and the angle θ\theta around the equator reach every point on the sphere.
x\displaystyle x =2sin⁡ϕcos⁡θ,y\displaystyle = 2\sin\phi\cos\theta, \quad y =2sin⁡ϕsin⁡θ,z\displaystyle = 2\sin\phi\sin\theta, \quad z =2cos⁡ϕ(0≤ϕ≤π,  0≤θ≤2π)\displaystyle = 2\cos\phi \qquad (0 \le \phi \le \pi,\; 0 \le \theta \le 2\pi)
Write dS\accum{dS} from the meridian edge 2 dϕ\change{2\,d\phi} and latitude arc (2sin⁡ϕ) dθ\change{(2\sin\phi)\,d\theta}Multiplying the north-south arc length 2 dϕ\change{2\,d\phi} by the horizontal latitude arc length (2sin⁡ϕ) dθ\change{(2\sin\phi)\,d\theta} gives the spherical patch area.
dS\displaystyle \accum{dS} =(2 dϕ)(2sin⁡ϕ dθ)\displaystyle = (\change{2\,d\phi})(\change{2\sin\phi\,d\theta}) =4sin⁡ϕ dϕ dθ\displaystyle = \accum{4\sin\phi}\,d\phi\,d\theta
Substitute z=2cos⁡ϕz = 2\cos\phi into f(x,y,z)=z2\func{f(x, y, z) = z^2} and integrateRewriting z2\func{z^2} as 4cos⁡2ϕ\func{4\cos^2\phi} gives an integral we can split into θ\theta and ϕ\phi, and we finish the ϕ\phi integral with the substitution u=cos⁡ϕu = \cos\phi, du=−sin⁡ϕ dϕdu = -\sin\phi\,d\phi.
∬Sz2 dS=∫02π∫0π(4cos⁡2ϕ)(4sin⁡ϕ) dϕ dθ=(∫02πdθ)(∫0π16cos⁡2ϕsin⁡ϕ dϕ)=2π[−163cos⁡3ϕ]0π=2π⋅323=64π3\displaystyle \begin{aligned} \iint_S \func{z^2}\,\accum{dS} &= \int_0^{2\pi} \int_0^\pi \func{(4\cos^2\phi)}\accum{(4\sin\phi)}\,d\phi\,d\theta \\ &= \left(\int_0^{2\pi} d\theta\right)\left(\int_0^\pi 16\cos^2\phi\sin\phi\,d\phi\right) \\ &= 2\pi \left[-\frac{16}{3}\cos^3\phi\right]_0^\pi \\ &= 2\pi \cdot \frac{32}{3} = \accum{\frac{64\pi}{3}} \end{aligned}

Changing θ\theta moves the patch around a single latitude ring without changing either dS\accum{dS} or z2\func{z^2}. Increasing ϕ\phi from the poles toward the equator widens the latitude ring, so dS=4sin⁡ϕ dϕ dθ\accum{dS} = \accum{4\sin\phi}\,d\phi\,d\theta grows from 0\accum{0} to 4 dϕ dθ\accum{4}\,d\phi\,d\theta while z2=4cos⁡2ϕ\func{z^2} = \func{4\cos^2\phi} shrinks from 4\func{4} to 0\func{0}.

Moving around a latitude ring keeps the patch area and function value the same, while moving from the poles to the equator widens the ring so the patch area grows as the function value drops to zero.
5

Integrating Over a Closed Surface in Pieces

When a closed surface has sharp corners where different shapes meet, a single parameterization cannot cover the whole surface at once. Let's evaluate

∬Sx2z dS\displaystyle \iint_S \func{x^2 z}\,\accum{dS}

over the entire closed cylinder bounded by the vertical wall x2+y2=9x^2 + y^2 = 9, the bottom disk at z=0z = 0, and the top disk at z=5z = 5.

Integrating Over a Closed Surface in Pieces
zz
x2+y2=9x^2 + y^2 = 9
z=5z = 5
z=0z = 0
SS
∬Sx2z dS=  ?\iint_S \func{x^2 z}\,\accum{dS} = \;?
Text solution
Break the integral into one integral for each smooth pieceBecause the curved side wall, flat top disk, and flat bottom disk have different equations, we add their surface integrals separately.
∬Sx2z dS\displaystyle \iint_S \func{x^2 z}\,\accum{dS} =∬sidex2z dS+∬topx2z dS+∬bottomx2z dS\displaystyle = \iint_{\text{side}} \func{x^2 z}\,\accum{dS} + \iint_{\text{top}} \func{x^2 z}\,\accum{dS} + \iint_{\text{bottom}} \func{x^2 z}\,\accum{dS}
Set up the curved side wall using θ\theta and zzOn the vertical wall x2+y2=9x^2 + y^2 = 9 for 0≤z≤50 \le z \le 5, we use our earlier cylinder setup with x=3cos⁡θx = 3\cos\theta and dS=3 dz dθ\accum{dS} = \accum{3}\,dz\,d\theta.
∬sidex2z dS\displaystyle \iint_{\text{side}} \func{x^2 z}\,\accum{dS} =∫02π∫05(9cos⁡2θ z)⋅3 dz dθ\displaystyle = \int_0^{2\pi} \int_0^5 \func{(9\cos^2\theta\,z)} \cdot \accum{3}\,dz\,d\theta
Set up the flat top disk at z=5z = 5 using polar coordinates rr and θ\thetaOn the horizontal disk z=5z = 5 of radius 33, the slopes are zx=zy=0\change{z_x = z_y = 0} so dS=dA=r dr dθ\accum{dS} = dA = r\,dr\,d\theta, and substituting z=5z = 5 turns x2z\func{x^2 z} into 5x2=5(rcos⁡θ)2\func{5x^2} = \func{5(r\cos\theta)^2}.
∬topx2z dS\displaystyle \iint_{\text{top}} \func{x^2 z}\,\accum{dS} =∬top5x2 dA\displaystyle = \iint_{\text{top}} \func{5x^2}\,dA =∫02π∫035(rcos⁡θ)2⋅r dr dθ\displaystyle = \int_0^{2\pi} \int_0^3 \func{5(r\cos\theta)^2} \cdot r\,dr\,d\theta
Substitute z=0z = 0 on the flat bottom diskEverywhere on the bottom disk z=0z = 0, so plugging z=0z = 0 into x2z\func{x^2 z} makes the integrand zero across the entire disk.
∬bottomx2z dS\displaystyle \iint_{\text{bottom}} \func{x^2 z}\,\accum{dS} =∬bottomx2(0) dA\displaystyle = \iint_{\text{bottom}} \func{x^2(0)}\,dA =0\displaystyle = \accum{0}

Key concepts

Every scalar surface integral ∬Sf(x,y,z) dS\iint_S \func{f(x, y, z)}\,\accum{dS} follows the same three-step plan: pick two dials that cover the surface, write the patch area dS\accum{dS} for those dials, and substitute the surface equation into f(x,y,z)\func{f(x, y, z)} so the integrand uses only those two dials.

When not to compute a stretch factor (flat horizontal surface z=cz = c)

A flat horizontal disk or rectangle has zero tilt (zx=zy=0\change{z_x = z_y = 0}), so dS\accum{dS} is just the ordinary flat area dA=dx dy=r dr dθdA = dx\,dy = r\,dr\,d\theta. Simply set z=cz = c in f(x,y,z)\func{f(x, y, z)}, as in ∬topx2z dS=∫02π∫035(rcos⁡θ)2 r dr dθ\iint_{\text{top}} \func{x^2 z}\,\accum{dS} = \int_0^{2\pi}\int_0^3 \func{5(r\cos\theta)^2}\,r\,dr\,d\theta on the disk z=5z = 5.

Tilted graph z=g(x,y)z = g(x, y) over a single shadow in the xyxy-plane

Use (x,y)\dial{(x, y)} in the shadow, replace zz with g(x,y)g(x, y) in f(x,y,z)\func{f(x, y, z)}, and multiply by the slope stretch factor:

∬Sf(x,y,z) dS\displaystyle \iint_S \func{f(x, y, z)}\,\accum{dS} =∬shadowf(x,y,g(x,y))1+(∂z∂x)2+(∂z∂y)2 dx dy\displaystyle = \iint_{\text{shadow}} \func{f(x, y, g(x, y))}\accum{\sqrt{1 + \left(\change{\frac{\partial z}{\partial x}}\right)^2 + \left(\change{\frac{\partial z}{\partial y}}\right)^2}}\,dx\,dy
For z=4−x2−y2z = 4 - x^2 - y^2, ∬Sz dS=∬x2+y2≤4(4−x2−y2)1+4x2+4y2 dx dy\iint_S \func{z}\,\accum{dS} = \iint_{x^2+y^2 \le 4} \func{(4 - x^2 - y^2)}\accum{\sqrt{1 + 4x^2 + 4y^2}}\,dx\,dy.

Vertical cylinder wall x2+y2=R2x^2 + y^2 = R^2 (shadow has zero area)

Use dials (θ,z)\dial{(\theta, z)} with x=Rcos⁡θx = R\cos\theta, y=Rsin⁡θy = R\sin\theta, z=zz = z, and patch area from the circular arc R dθ\change{R\,d\theta} and height dz\change{dz}:

dS\displaystyle \accum{dS} =R dz dθ\displaystyle = \accum{R}\,dz\,d\theta
For x2+y2=9x^2 + y^2 = 9, ∬Sx2z dS=∫02π∫05(9cos⁡2θ z)⋅3 dz dθ\iint_S \func{x^2 z}\,\accum{dS} = \int_0^{2\pi}\int_0^5 \func{(9\cos^2\theta\,z)}\cdot \accum{3}\,dz\,d\theta.

Sphere or hemisphere x2+y2+z2=R2x^2 + y^2 + z^2 = R^2 (a whole sphere covers its shadow twice)

Use spherical angles (ϕ,θ)\dial{(\phi, \theta)} with x=Rsin⁡ϕcos⁡θx = R\sin\phi\cos\theta, y=Rsin⁡ϕsin⁡θy = R\sin\phi\sin\theta, z=Rcos⁡ϕz = R\cos\phi, and patch area from the meridian edge R dϕ\change{R\,d\phi} and latitude arc (Rsin⁡ϕ) dθ\change{(R\sin\phi)\,d\theta}:

dS\displaystyle \accum{dS} =R2sin⁡ϕ dϕ dθ\displaystyle = \accum{R^2\sin\phi}\,d\phi\,d\theta
For x2+y2+z2=4x^2 + y^2 + z^2 = 4, ∬Sz2 dS=∫02π∫0π(4cos⁡2ϕ)(4sin⁡ϕ) dϕ dθ\iint_S \func{z^2}\,\accum{dS} = \int_0^{2\pi}\int_0^\pi \func{(4\cos^2\phi)}\accum{(4\sin\phi)}\,d\phi\,d\theta.

Closed or multi-piece surface

Add the integrals over each smooth piece separately, choosing dials and substituting the surface equation for one piece at a time.

6

Practice

1

Evaluate ∬S(x+z) dS\iint_S \func{(x + z)}\,\accum{dS}, where SS is the part of the plane z=2x+2yz = 2x + 2y that lies above the rectangle 0≤x≤10 \le x \le 1, 0≤y≤20 \le y \le 2.

The plane is a graph z=g(x,y)z = g(x, y) over a rectangle in the xyxy-plane: how do you replace zz in (x+z)\func{(x + z)} and find the constant stretch factor from zx\change{z_x} and zy\change{z_y}?

Find the stretch factor from the slopes of z=2x+2yz = 2x + 2y:
zx=2,zy=2  ⟹  dS\displaystyle \change{z_x = 2}, \quad \change{z_y = 2} \implies \accum{dS} =1+22+22 dx dy\displaystyle = \accum{\sqrt{1 + \change{2}^2 + \change{2}^2}}\,dx\,dy =9 dx dy\displaystyle = \accum{\sqrt{9}}\,dx\,dy =3 dx dy\displaystyle = \accum{3}\,dx\,dy
(Watch out: leaving off the stretch factor 1+zx2+zy2=3\accum{\sqrt{1 + \change{z_x}^2 + \change{z_y}^2} = 3} and integrating with dx dydx\,dy alone gives 77, and forgetting the 1+1 + inside the square root gives 14214\sqrt{2}.)
Substitute z=2x+2yz = 2x + 2y into x+z\func{x + z} and integrate over the rectangle 0≤x≤10 \le x \le 1, 0≤y≤20 \le y \le 2:
∬S(x+z) dS=∫02∫01(x+(2x+2y))⋅3 dx dy=3∫02∫01(3x+2y) dx dy=3∫02[32x2+2xy]x=0x=1dy=3∫02(32+2y)dy=3[32y+y2]02=3(3+4)=21\displaystyle \begin{aligned} \iint_S \func{(x + z)}\,\accum{dS} &= \int_0^2 \int_0^1 \func{\big(x + (2x + 2y)\big)} \cdot \accum{3}\,dx\,dy \\ &= \accum{3} \int_0^2 \int_0^1 \func{(3x + 2y)}\,dx\,dy \\ &= 3 \int_0^2 \left[\frac{3}{2}x^2 + 2xy\right]_{x=0}^{x=1} dy \\ &= 3 \int_0^2 \left(\frac{3}{2} + 2y\right) dy \\ &= 3 \left[\frac{3}{2}y + y^2\right]_0^2 \\ &= 3(3 + 4) = \accum{21} \end{aligned}
21
2

Evaluate ∬Sz dS\iint_S \func{z}\,\accum{dS}, where SS is the part of the paraboloid z=2−x2−y2z = 2 - x^2 - y^2 that lies above the xyxy-plane.

Set z=0z = 0 to find the radius of the shadow disk in the xyxy-plane, then convert (2−x2−y2)\func{(2 - x^2 - y^2)} and dS\accum{dS} to polar coordinates.

From z=2−x2−y2z = 2 - x^2 - y^2, the slopes are zx=−2x\change{z_x = -2x} and zy=−2y\change{z_y = -2y}, so:
dS\displaystyle \accum{dS} =1+4x2+4y2 dx dy\displaystyle = \accum{\sqrt{1 + 4x^2 + 4y^2}}\,dx\,dy
Setting z=0z = 0 gives the shadow disk x2+y2≤2x^2 + y^2 \le 2 of radius r=2r = \sqrt{2} (watch out: the circle x2+y2=2x^2 + y^2 = 2 has radius 2\sqrt{2}, not 22). Substitute z=2−x2−y2z = 2 - x^2 - y^2 and switch to polar coordinates:
∬Sz dS\displaystyle \iint_S \func{z}\,\accum{dS} =∫02π∫02(2−r2)1+4r2 r dr dθ\displaystyle = \int_0^{2\pi} \int_0^{\sqrt{2}} \func{(2 - r^2)}\accum{\sqrt{1 + 4r^2}}\,r\,dr\,d\theta
Use the substitution u=1+4r2u = 1 + 4r^2, so du=8r drdu = 8r\,dr, r2=u−14r^2 = \frac{u - 1}{4}, 2−r2=9−u4\func{2 - r^2} = \func{\frac{9 - u}{4}}, and the bounds r=0r = 0 to r=2r = \sqrt{2} become u=1u = 1 to u=9u = 9 (watch out: at r=0r = 0, the lower bound is u=1u = 1, not 00; using 00 as the lower bound gives 81π20\frac{81\pi}{20}):
∬Sz dS=2π∫19(9−u4)u1/2du8=π16∫19(9u1/2−u3/2)du=π16[6u3/2−25u5/2]19=π16((162−4865)−(6−25))=π16⋅2965=37π10\displaystyle \begin{aligned} \iint_S \func{z}\,\accum{dS} &= 2\pi \int_1^9 \func{\left(\frac{9 - u}{4}\right)} \accum{u^{1/2}} \frac{du}{8} \\ &= \frac{\pi}{16} \int_1^9 \left(9u^{1/2} - u^{3/2}\right) du \\ &= \frac{\pi}{16} \left[6u^{3/2} - \frac{2}{5}u^{5/2}\right]_1^9 \\ &= \frac{\pi}{16} \left(\left(162 - \frac{486}{5}\right) - \left(6 - \frac{2}{5}\right)\right) \\ &= \frac{\pi}{16} \cdot \frac{296}{5} = \accum{\frac{37\pi}{10}} \end{aligned}
37π/10
3

Evaluate ∬Sxz dS\iint_S \func{xz}\,\accum{dS}, where SS is the part of the vertical cylinder x2+y2=4x^2 + y^2 = 4 in the first octant (x≥0x \ge 0, y≥0y \ge 0) between z=0z = 0 and z=3z = 3.

Which range of θ\theta keeps a cylinder of radius 22 in the first octant (x≥0x \ge 0, y≥0y \ge 0), and what is the patch width along a circle of radius 22?

Parameterize the cylinder of radius 22 in the first octant with x=2cos⁡θx = 2\cos\theta, y=2sin⁡θy = 2\sin\theta, z=zz = z for 0≤θ≤π20 \le \theta \le \frac{\pi}{2} and 0≤z≤30 \le z \le 3, with patch area dS=2 dz dθ\accum{dS} = \accum{2}\,dz\,d\theta (watch out: forgetting the radius factor 2\accum{2} in dS=2 dz dθ\accum{dS} = \accum{2}\,dz\,d\theta gives 99, and integrating from 00 to 2π2\pi instead of the first octant 00 to π2\frac{\pi}{2} gives 00):
∬Sxz dS=∫0π/2∫03(2cos⁡θ) z⋅2 dz dθ=(∫0π/24cos⁡θ dθ)(∫03z dz)=[4sin⁡θ]0π/2[12z2]03=4⋅92=18\displaystyle \begin{aligned} \iint_S \func{xz}\,\accum{dS} &= \int_0^{\pi/2} \int_0^3 \func{(2\cos\theta)\,z} \cdot \accum{2}\,dz\,d\theta \\ &= \left(\int_0^{\pi/2} 4\cos\theta\,d\theta\right)\left(\int_0^3 z\,dz\right) \\ &= \Big[4\sin\theta\Big]_0^{\pi/2} \left[\frac{1}{2}z^2\right]_0^3 \\ &= 4 \cdot \frac{9}{2} = \accum{18} \end{aligned}
18
4

A thin metal shell has the shape of the upper hemisphere x2+y2+z2=9x^2 + y^2 + z^2 = 9, z≥0z \ge 0, with density ρ(x,y,z)=z\func{\rho(x, y, z) = z}. Find the total mass M\accum{M} and the center of mass (xˉ,yˉ,zˉ)\accum{(\bar{x}, \bar{y}, \bar{z})} of the shell.

On an upper hemisphere of radius 33, where does the angle ϕ\phi from the North Pole stop, and which coordinates of (xˉ,yˉ,zˉ)\accum{(\bar{x}, \bar{y}, \bar{z})} are zero by symmetry?

On the upper hemisphere of radius 33, z=3cos⁡ϕz = 3\cos\phi and dS=9sin⁡ϕ dϕ dθ\accum{dS} = \accum{9\sin\phi}\,d\phi\,d\theta with 0≤ϕ≤π20 \le \phi \le \frac{\pi}{2} and 0≤θ≤2π0 \le \theta \le 2\pi (watch out: stopping ϕ\phi at π\pi instead of the equator π2\frac{\pi}{2} integrates over the whole sphere and makes M\accum{M} cancel to 00):
M=∬Sz dS=∫02π∫0π/2(3cos⁡ϕ)(9sin⁡ϕ) dϕ dθ=2π∫0π/227cos⁡ϕsin⁡ϕ dϕ=2π[−272cos⁡2ϕ]0π/2=2π⋅272=27π\displaystyle \begin{aligned} \accum{M} = \iint_S \func{z}\,\accum{dS} &= \int_0^{2\pi} \int_0^{\pi/2} \func{(3\cos\phi)}\accum{(9\sin\phi)}\,d\phi\,d\theta \\ &= 2\pi \int_0^{\pi/2} 27\cos\phi\sin\phi\,d\phi \\ &= 2\pi \left[-\frac{27}{2}\cos^2\phi\right]_0^{\pi/2} \\ &= 2\pi \cdot \frac{27}{2} = \accum{27\pi} \end{aligned}
Because both the hemisphere and ρ(x,y,z)=z\func{\rho(x, y, z) = z} are symmetric around the zz-axis, xˉ=0\accum{\bar{x} = 0} and yˉ=0\accum{\bar{y} = 0}. For zˉ\accum{\bar{z}}, integrate z ρ(x,y,z)=z2\weight{z}\,\func{\rho(x, y, z)} = z^2 (watch out: forgetting to multiply z\weight{z} by the density ρ=z\func{\rho = z} integrates zz instead of z2\func{z^2} and gives zˉ=1\bar{z} = 1):
∬Sz2 dS=∫02π∫0π/2(3cos⁡ϕ)2(9sin⁡ϕ) dϕ dθ=2π∫0π/281cos⁡2ϕsin⁡ϕ dϕ=2π[−27cos⁡3ϕ]0π/2=2π(27)=54π\displaystyle \begin{aligned} \iint_S z^2\,\accum{dS} &= \int_0^{2\pi} \int_0^{\pi/2} (3\cos\phi)^2 \accum{(9\sin\phi)}\,d\phi\,d\theta \\ &= 2\pi \int_0^{\pi/2} 81\cos^2\phi\sin\phi\,d\phi \\ &= 2\pi \left[-27\cos^3\phi\right]_0^{\pi/2} \\ &= 2\pi(27) = \accum{54\pi} \end{aligned}
Divide by M=27π\accum{M = 27\pi}:
zˉ\displaystyle \accum{\bar{z}} =54π27π\displaystyle = \frac{\accum{54\pi}}{\accum{27\pi}} =2\displaystyle = \accum{2}
M = 27π, (x̄, ȳ, z̄) = (0, 0, 2)
5

Evaluate ∬S(x2+y2+z) dS\iint_S \func{(x^2 + y^2 + z)}\,\accum{dS} over the entire closed cylinder bounded by the vertical wall x2+y2=4x^2 + y^2 = 4, the bottom disk at z=0z = 0, and the top disk at z=3z = 3.

Split the surface into the side wall, bottom disk, and top disk, and substitute each piece's equation into x2+y2+z\func{x^2 + y^2 + z} before integrating.

Split the integral into the three pieces of the closed cylinder:
Curved side wall (x2+y2=4x^2 + y^2 = 4, 0≤z≤30 \le z \le 3)Here x2+y2=4x^2 + y^2 = 4, so x2+y2+z=4+z\func{x^2 + y^2 + z} = \func{4 + z}, and dS=2 dz dθ\accum{dS} = \accum{2}\,dz\,d\theta:
∬side(x2+y2+z) dS=∫02π∫03(4+z)⋅2 dz dθ=4π[4z+12z2]03=4π(12+92)=66π\displaystyle \begin{aligned} \iint_{\text{side}} \func{(x^2 + y^2 + z)}\,\accum{dS} &= \int_0^{2\pi} \int_0^3 \func{(4 + z)} \cdot \accum{2}\,dz\,d\theta \\ &= 4\pi \left[4z + \frac{1}{2}z^2\right]_0^3 \\ &= 4\pi \left(12 + \frac{9}{2}\right) = \accum{66\pi} \end{aligned}
Flat bottom disk (z=0z = 0, x2+y2≤4x^2 + y^2 \le 4)Setting z=0z = 0 leaves x2+y2=r2\func{x^2 + y^2} = \func{r^2} with dS=r dr dθ\accum{dS} = r\,dr\,d\theta (watch out: z=0z = 0 only makes the z\func{z} term zero, leaving x2+y2\func{x^2 + y^2} on the disk; assuming the whole bottom integral is 00 misses 8π8\pi and gives 86π86\pi):
∬bottom(x2+y2+0) dS=∫02π∫02r2⋅r dr dθ=2π[14r4]02=8π\displaystyle \begin{aligned} \iint_{\text{bottom}} \func{(x^2 + y^2 + 0)}\,\accum{dS} &= \int_0^{2\pi} \int_0^2 \func{r^2} \cdot r\,dr\,d\theta \\ &= 2\pi \left[\frac{1}{4}r^4\right]_0^2 = \accum{8\pi} \end{aligned}
Flat top disk (z=3z = 3, x2+y2≤4x^2 + y^2 \le 4)Setting z=3z = 3 gives x2+y2+3=r2+3\func{x^2 + y^2 + 3} = \func{r^2 + 3} with dS=r dr dθ\accum{dS} = r\,dr\,d\theta (watch out: on the flat disk, x2+y2=r2\func{x^2 + y^2} = \func{r^2} varies from r=0r = 0 to r=2r = 2; plugging in the boundary value x2+y2=4x^2 + y^2 = 4 across the whole top disk gives 28π28\pi instead of 20π20\pi):
∬top(x2+y2+3) dS=∫02π∫02(r2+3)⋅r dr dθ=2π[14r4+32r2]02=2π(4+6)=20π\displaystyle \begin{aligned} \iint_{\text{top}} \func{(x^2 + y^2 + 3)}\,\accum{dS} &= \int_0^{2\pi} \int_0^2 \func{(r^2 + 3)} \cdot r\,dr\,d\theta \\ &= 2\pi \left[\frac{1}{4}r^4 + \frac{3}{2}r^2\right]_0^2 \\ &= 2\pi(4 + 6) = \accum{20\pi} \end{aligned}
Add the three pieces together:
∬S(x2+y2+z) dS\displaystyle \iint_S \func{(x^2 + y^2 + z)}\,\accum{dS} =66π+8π+20π\displaystyle = \accum{66\pi} + \accum{8\pi} + \accum{20\pi} =94π\displaystyle = \accum{94\pi}
94π