Multivariable Calculus · Undergraduate

Surface Integrals

Quick answer

A surface integral adds up a quantity over a curved surface, the way a line integral adds one up along a curve. For a function, ∬f dS weighs each small patch by its area, giving masses of thin shells and averages over surfaces. For a vector field, the flux ∬F · dS adds up the component of F through the surface, which measures how much fluid crosses it per unit time. Flux needs an orientation, a choice of which side counts as positive.

What you'll learn

  • Evaluate ∬f dS with a parametrization
  • Choose and check the orientation of a surface
  • Compute the flux of a vector field through a surface
  • Use the shortcut formula for flux through a graph

Adding up over a surface

Surface area came from cutting a surface into small patches of area ΔS\Delta S and adding. Weighting each patch by the value of a function ff there gives the surface integral of ff:

∬Sf(x,y,z) dS=∬Df(r(u,v)) ∣ru×rv∣ dA\iint_S f(x, y, z)\,dS = \iint_D f\big(\mathbf{r}(u, v)\big)\,|\mathbf{r}_u \times \mathbf{r}_v|\,dA

The area element dS=∣ru×rv∣ dAdS = |\mathbf{r}_u \times \mathbf{r}_v|\,dA is the same one that gave surface area; with f=1f = 1 the integral is the area. If ff is the density of a thin shell, in mass per unit area, the integral is the shell’s mass. This is the surface version of ∫Cf ds\int_C f\,ds from line integrals.

Orientation

To measure flow through a surface, we must say which way counts as through. A surface is oriented when a unit normal n\mathbf{n} is chosen at every point, varying continuously. A closed surface, such as a sphere or the boundary of a box, gets the outward orientation unless stated otherwise. A graph z=g(x,y)z = g(x, y) usually gets the upward one, with a positive zz-component.

A parametrization supplies the normal ru×rv\mathbf{r}_u \times \mathbf{r}_v, but it may point to the wrong side. Check it at one convenient point. For the sphere, Example 3 of the previous lesson found rφ×rθ\mathbf{r}_\varphi \times \mathbf{r}_\theta to be a positive multiple of the position vector, so it points outward.

Why flux is the right way to measure flow

Suppose a fluid moves with velocity F\mathbf{F}, and look at a small patch of area ΔS\Delta S with unit normal n\mathbf{n}. In a short time Δt\Delta t, the fluid that crosses the patch fills a slanted box with base ΔS\Delta S and slant edge F Δt\mathbf{F}\,\Delta t. Its height, measured along n\mathbf{n}, is F⋅n Δt\mathbf{F} \cdot \mathbf{n}\,\Delta t, so its volume is F⋅n ΔS Δt\mathbf{F} \cdot \mathbf{n}\,\Delta S\,\Delta t. Only the normal component of the velocity carries fluid through; the tangential part slides along the surface. Adding the patches gives the flux:

∬SF⋅dS=∬SF⋅n dS=∬DF(r(u,v))⋅(ru×rv) dA\iint_S \mathbf{F} \cdot d\mathbf{S} = \iint_S \mathbf{F} \cdot \mathbf{n}\,dS = \iint_D \mathbf{F}\big(\mathbf{r}(u, v)\big) \cdot (\mathbf{r}_u \times \mathbf{r}_v)\,dA

The last form needs ru×rv\mathbf{r}_u \times \mathbf{r}_v to point along the chosen orientation; the length of the cross product cancels with the ∣ ∣|\ | in dSdS.

The upper hemisphere with outward normals The upper half of the unit sphere. Two outward normal vectors are drawn at points on the dome, each pointing straight away from the center of the sphere. For a closed surface, the outward normal points away from the solid it encloses. x y z n
The upper hemisphere with outward normals

Worked examples

For a graph z=g(x,y)z = g(x, y) with the upward orientation, the normal is (−gx, −gy, 1)(-g_x,\ -g_y,\ 1), and the flux of F=(P,Q,R)\mathbf{F} = (P, Q, R) becomes

∬SF⋅dS=∬D(−P gx−Q gy+R) dA\iint_S \mathbf{F} \cdot d\mathbf{S} = \iint_D \big(-P\,g_x - Q\,g_y + R\big)\,dA

Common mistakes

Practice problems

  1. Evaluate ∬Sz dS\iint_S z\,dS over the upper hemisphere of radius 22.

    Answer

    8π8\pi

    Full solution

    z=2cos⁡φz = 2\cos\varphi and dS=4sin⁡φ dφ dθdS = 4\sin\varphi\,d\varphi\,d\theta, so the integral is 2π∫0π/28cos⁡φsin⁡φ dφ=2π⋅4=8π2\pi\int_0^{\pi/2} 8\cos\varphi\sin\varphi\,d\varphi = 2\pi \cdot 4 = 8\pi.

  2. Evaluate ∬S(x2+y2+z2) dS\iint_S (x^2 + y^2 + z^2)\,dS over the sphere of radius 22.

    Answer

    64π64\pi

    Full solution

    On the sphere the integrand is constant, 44, and the area is 16π16\pi.

  3. A thin hemispherical shell x2+y2+z2=1x^2 + y^2 + z^2 = 1, z≥0z \ge 0, has density zz. Find its mass.

    Answer

    π\pi

    Full solution

    ∫02π∫0π/2cos⁡φsin⁡φ dφ dθ=2π⋅12\int_0^{2\pi}\int_0^{\pi/2} \cos\varphi\sin\varphi\,d\varphi\,d\theta = 2\pi \cdot \tfrac{1}{2}.

  4. Find the average value of z2z^2 over the unit sphere.

    Answer

    13\tfrac{1}{3}

    Full solution

    By symmetry, as in Example 1, ∬Sz2 dS=4π3\iint_S z^2\,dS = \tfrac{4\pi}{3}. Dividing by the area 4π4\pi gives 13\tfrac{1}{3}.

  5. Find the outward flux of F=(x, y, 0)\mathbf{F} = (x,\ y,\ 0) through the side of the cylinder x2+y2=1x^2 + y^2 = 1, 0≤z≤30 \le z \le 3.

    Answer

    6π6\pi

    Full solution

    On the side, the outward unit normal is (x,y,0)(x, y, 0), so F⋅n=x2+y2=1\mathbf{F} \cdot \mathbf{n} = x^2 + y^2 = 1. The flux equals the area, 2π⋅32\pi \cdot 3.

  6. Find the upward flux of F=(0, 0, z)\mathbf{F} = (0,\ 0,\ z) through the paraboloid z=4−x2−y2z = 4 - x^2 - y^2, z≥0z \ge 0.

    Answer

    8π8\pi

    Full solution

    With P=Q=0P = Q = 0, the integrand is R=4−r2R = 4 - r^2. Then ∫02π∫02(4−r2) r dr dθ=2π(8−4)=8π\int_0^{2\pi}\int_0^2 (4 - r^2)\,r\,dr\,d\theta = 2\pi(8 - 4) = 8\pi.

  7. Find the upward flux of F=(0, 0, z)\mathbf{F} = (0,\ 0,\ z) through the part of the plane z=6−3x−2yz = 6 - 3x - 2y in the first octant.

    Answer

    66

    Full solution

    The integrand is R=6−3x−2yR = 6 - 3x - 2y over the triangle with intercepts 22 and 33. That is the volume of the tetrahedron below the plane: 13⋅3⋅6=6\tfrac{1}{3} \cdot 3 \cdot 6 = 6.

  8. Evaluate ∬Sz dS\iint_S z\,dS over the cone z=x2+y2z = \sqrt{x^2 + y^2}, z≤2z \le 2.

    Answer

    162 π3\tfrac{16\sqrt{2}\,\pi}{3}

    Full solution

    dS=2 dAdS = \sqrt{2}\,dA and z=rz = r, so the integral is 2∫02π∫02r2 dr dθ=2⋅2π⋅83\sqrt{2}\int_0^{2\pi}\int_0^2 r^2\,dr\,d\theta = \sqrt{2} \cdot 2\pi \cdot \tfrac{8}{3}.

  9. A student finds the outward flux of F=(x,y,z)\mathbf{F} = (x, y, z) through the unit sphere using rθ×rφ\mathbf{r}_\theta \times \mathbf{r}_\varphi and gets −4π-4\pi. What went wrong?

    Answer

    That cross product points inward; the outward flux is 4π4\pi.

    Full solution

    rθ×rφ=−(rφ×rθ)\mathbf{r}_\theta \times \mathbf{r}_\varphi = -(\mathbf{r}_\varphi \times \mathbf{r}_\theta). Example 5 with a=1a = 1 gives 4π4\pi for the outward normal.

Frequently asked questions

What is a surface integral of a function?

∬_S f dS adds up f times area over the surface S. With a parametrization r(u, v), it equals the double integral of f(r(u, v)) |r_u × r_v| over the parameter region.

What is flux?

The surface integral of the normal component of a vector field, ∬_S F · n dS. If F is the velocity of a fluid, the flux is the volume of fluid crossing S per unit time.

How do you compute flux with a parametrization?

∬_S F · dS = ∬_D F(r(u, v)) · (r_u × r_v) du dv, provided r_u × r_v points to the chosen side of the surface. If it points the other way, change the sign.

What is an oriented surface?

A surface with a chosen unit normal n that varies continuously over it. A closed surface, such as a sphere, is usually given the outward orientation.

What is the flux formula for a graph z = g(x, y)?

With the upward orientation, ∬_S F · dS = ∬_D (−P g_x − Q g_y + R) dA for F = (P, Q, R).

What to learn next