Skip to content
Tutorials Center
My learning

Topics

Lesson 31 of 39 · Line and Surface Integrals

Surface Integrals and Flux

Parametrize surfaces, compute surface area and scalar surface integrals, and measure flux of a vector field through a surface with the normal vector.

A line integral adds up a quantity along a curve. A surface integral adds up a quantity over a surface in space: the heat radiated by a curved plate, the mass of a thin shell, or the amount of fluid flowing through a membrane. Just as before, there is a scalar version and a vector version (called flux).

Parametrized surfaces

A surface S is described by two parameters:

Text
r(u, v) = ⟨x(u, v), y(u, v), z(u, v)⟩,   (u, v) in a region D

Common parametrizations:

Surface Parametrization
Sphere of radius R ⟨R sin φ cos θ, R sin φ sin θ, R cos φ⟩, 0 ≤ φ ≤ π, 0 ≤ θ ≤ 2π
Cylinder of radius a ⟨a cos θ, a sin θ, z⟩
Graph z = g(x, y) ⟨x, y, g(x, y)⟩
Plane through P₀ with directions a, b P₀ + u a + v b

Holding v fixed and varying u traces a curve with tangent r_u = ∂r/∂u; the same for v gives r_v. The two tangent vectors span the tangent plane. A tiny patch du × dv becomes a tiny parallelogram with area

Text
dS = |r_u × r_v| du dv

and the cross product r_u × r_v is a normal vector to the surface.

Surface area and scalar surface integrals

The area of S is

Text
Area(S) = ∬_D |r_u × r_v| dA

For a scalar function f:

Text
∬_S f dS = ∬_D f(r(u, v)) |r_u × r_v| dA

Example: area of a paraboloid cap. For z = x² + y² with z ≤ 1, use r(x, y) = ⟨x, y, x² + y²⟩ over the unit disk. Then r_x = ⟨1, 0, 2x⟩, r_y = ⟨0, 1, 2y⟩ and

Text
r_x × r_y = ⟨-2x, -2y, 1⟩,    |r_x × r_y| = √(1 + 4x² + 4y²)

In polar coordinates, Area = ∫₀^{2π} ∫₀¹ √(1 + 4r²) r dr dθ = 2π · (5√5 - 1)/12 = π(5√5 - 1)/6.

Python Surface area of a paraboloid cap and a sphere

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

For the sphere, the magnitude simplifies to R² sin φ (for 0 ≤ φ ≤ π), and the area comes out as 4πR².

Orientation and flux

A surface has two sides. An orientation chooses which unit normal n counts as positive. For a closed surface like a sphere, the standard choice is the outward normal.

The flux of a vector field F through an oriented surface S measures how much of the field passes through, counting direction:

Text
Flux = ∬_S F · n dS

If F is a fluid's velocity (length per time), the flux is volume of fluid per unit time crossing S. In terms of a parametrization where r_u × r_v points the way you want (the same side as n), the unit normal and area element combine neatly:

Text
∬_S F · n dS = ∬_D F(r(u, v)) · (r_u × r_v) dA

Notice that no square root is needed. If r_u × r_v points to the wrong side, swap the order or change the sign.

Example: flux through a sphere. Take F = ⟨x, y, z⟩ and the sphere of radius R, oriented outward. On the sphere, the outward unit normal is n = ⟨x, y, z⟩ / R, so F · n = (x² + y² + z²)/R = R. The flux is R times the surface area:

Text
Flux = R · 4πR² = 4πR³
Python Flux through a sphere by parametrization

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Flux through a graph

For a surface z = g(x, y) oriented upward, r_x × r_y = ⟨-g_x, -g_y, 1⟩, and the flux of F = ⟨P, Q, R⟩ is

Text
∬_D ( -P g_x - Q g_y + R ) dA

Example. Find the upward flux of F = ⟨0, 0, z⟩ through z = x² + y² for x² + y² ≤ 1. Here g_x = 2x and g_y = 2y, so the integrand is 0 + 0 + z = x² + y². In polar form,

Text
∫₀^{2π} ∫₀¹ r² · r dr dθ = 2π · 1/4 = π/2
Python Flux through a paraboloid, with a numerical check

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Mass of a surface

If a thin shell has surface density σ(x, y, z) (mass per unit area), its total mass is ∬_S σ dS. For a hemisphere of radius R with constant density σ₀, the mass is σ₀ · 2πR².

Not every surface can be oriented. The Möbius strip has only one side, so flux through it is not defined. In this course all surfaces are two-sided.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. For a parametrized surface r(u, v), the surface area element dS is:

    The tangent vectors r_u du and r_v dv span a parallelogram whose area is the magnitude of their cross product.
  2. 2. The flux of F through an oriented surface S is:

    Flux counts the component of F normal to the surface, so it uses the dot product with the unit normal n.
  3. 3. The flux of F = ⟨x, y, z⟩ outward through a sphere of radius R is:

    On the sphere F · n = R, and the area is 4πR², so the flux is 4πR³.
  4. 4. Which surface has no consistent orientation?

    A Möbius strip is one-sided, so a continuous choice of normal does not exist.

Summary

  • Parametrize a surface as r(u, v); r_u × r_v is normal and dS = |r_u × r_v| du dv.
  • Surface area and scalar surface integrals use the magnitude of the cross product.
  • Flux ∬_S F · n dS uses F · (r_u × r_v) with the orientation you want.
  • For a graph z = g(x, y) oriented upward, flux is ∬ (-P g_x - Q g_y + R) dA.
  • Flux of ⟨x, y, z⟩ through a sphere of radius R is 4πR³.

Next: Green's Theorem