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) across a curved surface S.
Adding Up a Function Over a Curved Surface
To evaluate a surface integral over a graph z=g(x,y), we integrate over its flat shadow in the xy-plane and multiply dxdy by the stretch factor from the surface's slopes:
∬Svalue on Sf(x,y,z)dS (patch area)1+(∂x∂z)2+(∂y∂z)2dxdy
1
Integrating Over a Graph z=g(x,y)
Let's evaluate
∬SzdS
where S is the part of the paraboloid z=4−x2−y2 that lies above the xy-plane.
Integrating Over a Surface z = g(x, y)
Text solution
Find the patch area dS from the slopes of z=4−x2−y2Taking the partial derivatives of z=4−x2−y2 gives the x- and y-slopes that stretch each shadow rectangle dxdy into a tilted surface patch.
Substitute the surface equation into f(x,y,z)=zBecause we are only adding up points on the paraboloid, we replace z in the integrand with 4−x2−y2 so the function is written entirely in x and y.
f(x,y,z)=z=4−x2−y2
Find the shadow disk at z=0 and convert to polar coordinatesSetting z=0 gives the boundary circle x2+y2=4, so we integrate over the disk x2+y2≤4 using x2+y2=r2 and dxdy=rdrdθ (which finishes with the substitution u=1+4r2).
Near the peak of the paraboloid, the surface patch sits high up (z=4) and is nearly flat (dS≈dxdy). Toward the rim, the height drops to z=0 while the steeper tilt stretches dS much larger than dxdy. At every (x,y) in the shadow, both factors in (4−x2−y2)dS are evaluated at the point on the surface directly above (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 of a thin curved shell is its density ρ(x,y,z) added up over the surface, and its center of mass (xˉ,yˉ,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
For a curved shell S with density ρ(x,y,z) (mass per unit area), the total mass and center of mass are:
For the paraboloid z=4−x2−y2 with constant density ρ=1, the integral ∬SzdS we just set up is the numerator of zˉ, and dividing it by the surface area M=∬S1dS gives the height where the shell balances.
3
Integrating Over a Cylinder
Projecting onto the xy-plane doesn't work when a surface stands vertically or wraps back under itself.
Instead, we want to evaluate
∬Sx2zdS
over the vertical cylinder wall x2+y2=9 between z=0 and z=5 by parameterizing the surface directly.
Integrating Over a Cylinder
When we describe a surface with two dials r(u,v)=⟨x(u,v),y(u,v),z(u,v)⟩, each tiny du by dv rectangle on the dial grid turns into a surface patch of area dS=∣ru×rv∣dudv. On a cylinder of radius 3, you can read the patch edges right off the wall without taking a cross product.
Text solution
Parameterize the cylinder of radius 3 using θ and zAn angle θ goes around the circle of radius 3 while z moves straight up the wall from 0 to 5.
x=3cosθ,y=3sinθ,z=z(0≤θ≤2π,0≤z≤5)
Write dS from the horizontal arc 3dθ and vertical height dzIncreasing θ by dθ traces an arc of length 3dθ and increasing z by dz moves up by dz, forming a rectangular patch of area 3dzdθ.
dS=(3dθ)(dz)=3dzdθ
Substitute the cylinder coordinates into f(x,y,z)=x2z and set up the integralReplacing x with 3cosθ turns the surface integral into an ordinary double integral over the flat (θ,z) rectangle.
On a sphere of radius 2, the north-south meridian has full radius 2, while the horizontal latitude ring at angle ϕ from the North Pole has smaller radius 2sinϕ.
Text solution
Parameterize the sphere of radius 2 with spherical angles ϕ and θWith the radius fixed at 2, the angle ϕ from the North Pole and the angle θ around the equator reach every point on the sphere.
x=2sinϕcosθ,y=2sinϕsinθ,z=2cosϕ(0≤ϕ≤π,0≤θ≤2π)
Write dS from the meridian edge 2dϕ and latitude arc (2sinϕ)dθMultiplying the north-south arc length 2dϕ by the horizontal latitude arc length (2sinϕ)dθ gives the spherical patch area.
dS=(2dϕ)(2sinϕdθ)=4sinϕdϕdθ
Substitute z=2cosϕ into f(x,y,z)=z2 and integrateRewriting z2 as 4cos2ϕ gives an integral we can split into θ and ϕ, and we finish the ϕ integral with the substitution u=cosϕ,du=−sinϕdϕ.
Changing θ moves the patch around a single latitude ring without changing either dS or z2. Increasing ϕ from the poles toward the equator widens the latitude ring, so dS=4sinϕdϕdθ grows from 0 to 4dϕdθ while z2=4cos2ϕ shrinks from 4 to 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
∬Sx2zdS
over the entire closed cylinder bounded by the vertical wall x2+y2=9, the bottom disk at z=0, and the top disk at z=5.
Integrating Over a Closed Surface in Pieces
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.
∬Sx2zdS=∬sidex2zdS+∬topx2zdS+∬bottomx2zdS
Set up the curved side wall using θ and zOn the vertical wall x2+y2=9 for 0≤z≤5, we use our earlier cylinder setup with x=3cosθ and dS=3dzdθ.
∬sidex2zdS=∫02π∫05(9cos2θz)⋅3dzdθ
Set up the flat top disk at z=5 using polar coordinates r and θOn the horizontal disk z=5 of radius 3, the slopes are zx=zy=0 so dS=dA=rdrdθ, and substituting z=5 turns x2z into 5x2=5(rcosθ)2.
∬topx2zdS=∬top5x2dA=∫02π∫035(rcosθ)2⋅rdrdθ
Substitute z=0 on the flat bottom diskEverywhere on the bottom disk z=0, so plugging z=0 into x2z makes the integrand zero across the entire disk.
∬bottomx2zdS=∬bottomx2(0)dA=0
Key concepts
Every scalar surface integral ∬Sf(x,y,z)dS follows the same three-step plan: pick two dials that cover the surface, write the patch area dS for those dials, and substitute the surface equation into f(x,y,z) so the integrand uses only those two dials.
When not to compute a stretch factor (flat horizontal surface z=c)
A flat horizontal disk or rectangle has zero tilt (zx=zy=0), so dS is just the ordinary flat area dA=dxdy=rdrdθ. Simply set z=c in f(x,y,z), as in ∬topx2zdS=∫02π∫035(rcosθ)2rdrdθ on the disk z=5.
Tilted graph z=g(x,y) over a single shadow in the xy-plane
Use (x,y) in the shadow, replace z with g(x,y) in f(x,y,z), and multiply by the slope stretch factor:
For z=4−x2−y2,∬SzdS=∬x2+y2≤4(4−x2−y2)1+4x2+4y2dxdy.
Vertical cylinder wall x2+y2=R2 (shadow has zero area)
Use dials (θ,z) with x=Rcosθ,y=Rsinθ,z=z, and patch area from the circular arc Rdθ and height dz:
dS=Rdzdθ
For x2+y2=9,∬Sx2zdS=∫02π∫05(9cos2θz)⋅3dzdθ.
Sphere or hemisphere x2+y2+z2=R2 (a whole sphere covers its shadow twice)
Use spherical angles (ϕ,θ) with x=Rsinϕcosθ,y=Rsinϕsinθ,z=Rcosϕ, and patch area from the meridian edge Rdϕ and latitude arc (Rsinϕ)dθ:
dS=R2sinϕdϕdθ
For x2+y2+z2=4,∬Sz2dS=∫02π∫0π(4cos2ϕ)(4sinϕ)dϕdθ.
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, where S is the part of the plane z=2x+2y that lies above the rectangle 0≤x≤1,0≤y≤2.
Watch out: leaving off the stretch factor 1+zx2+zy2=3 and integrating with dxdy alone gives 7.Watch out: forgetting the 1+ inside the square root gives 142.
The plane is a graph z=g(x,y) over a rectangle in the xy-plane: how do you replace z in (x+z) and find the constant stretch factor from zx and zy?
Find the stretch factor from the slopes of z=2x+2y:
zx=2,zy=2⟹dS=1+22+22dxdy=9dxdy=3dxdy
(Watch out: leaving off the stretch factor 1+zx2+zy2=3 and integrating with dxdy alone gives 7, and forgetting the 1+ inside the square root gives 142.)
Substitute z=2x+2y into x+z and integrate over the rectangle 0≤x≤1,0≤y≤2:
Evaluate ∬SzdS, where S is the part of the paraboloid z=2−x2−y2 that lies above the xy-plane.
Watch out: at r=0, the lower bound is u=1, not 0; using 0 as the lower bound gives 2081π.
Set z=0 to find the radius of the shadow disk in the xy-plane, then convert (2−x2−y2) and dS to polar coordinates.
From z=2−x2−y2, the slopes are zx=−2x and zy=−2y, so:
dS=1+4x2+4y2dxdy
Setting z=0 gives the shadow disk x2+y2≤2 of radius r=2(watch out: the circle x2+y2=2 has radius 2, not 2). Substitute z=2−x2−y2 and switch to polar coordinates:
∬SzdS=∫02π∫02(2−r2)1+4r2rdrdθ
Use the substitution u=1+4r2, so du=8rdr,r2=4u−1,2−r2=49−u, and the bounds r=0 to r=2 become u=1 to u=9(watch out: at r=0, the lower bound is u=1, not 0; using 0 as the lower bound gives 2081π):
Evaluate ∬SxzdS, where S is the part of the vertical cylinder x2+y2=4 in the first octant (x≥0,y≥0) between z=0 and z=3.
Watch out: forgetting the radius factor 2 in dS=2dzdθ gives 9.Watch out: integrating from 0 to 2π instead of the first octant 0 to 2π gives 0.
Which range of θ keeps a cylinder of radius 2 in the first octant (x≥0,y≥0), and what is the patch width along a circle of radius 2?
Parameterize the cylinder of radius 2 in the first octant with x=2cosθ,y=2sinθ,z=z for 0≤θ≤2π and 0≤z≤3, with patch area dS=2dzdθ(watch out: forgetting the radius factor 2 in dS=2dzdθ gives 9, and integrating from 0 to 2π instead of the first octant 0 to 2π gives 0):
A thin metal shell has the shape of the upper hemisphere x2+y2+z2=9,z≥0, with density ρ(x,y,z)=z. Find the total mass M and the center of mass (xˉ,yˉ,zˉ) of the shell.
Watch out: stopping ϕ at π instead of the equator 2π integrates over the whole sphere and makes M cancel to 0.
On an upper hemisphere of radius 3, where does the angle ϕ from the North Pole stop, and which coordinates of (xˉ,yˉ,zˉ) are zero by symmetry?
On the upper hemisphere of radius 3,z=3cosϕ and dS=9sinϕdϕdθ with 0≤ϕ≤2π and 0≤θ≤2π(watch out: stopping ϕ at π instead of the equator 2π integrates over the whole sphere and makes M cancel to 0):
Because both the hemisphere and ρ(x,y,z)=z are symmetric around the z-axis, xˉ=0 and yˉ=0. For zˉ, integrate zρ(x,y,z)=z2(watch out: forgetting to multiply z by the density ρ=z integrates z instead of z2 and gives zˉ=1):
Flat bottom disk (z=0,x2+y2≤4)Setting z=0 leaves x2+y2=r2 with dS=rdrdθ(watch out: z=0 only makes the z term zero, leaving x2+y2 on the disk; assuming the whole bottom integral is 0 misses 8π and gives 86π):
Flat top disk (z=3,x2+y2≤4)Setting z=3 gives x2+y2+3=r2+3 with dS=rdrdθ(watch out: on the flat disk, x2+y2=r2 varies from r=0 to r=2; plugging in the boundary value x2+y2=4 across the whole top disk gives 28π instead of 20π):