Integrating a function across a curved surface in three-dimensional space, from computing total mass and area, to measuring the flux of a vector field through a membrane.
Surface parameterisationScalar surface integralsVector surface integralsFlux ∬ F·dS10 worked examples
Share this page
§ 01What Is a Surface Integral?
A surface integral extends the idea of integration from curves and flat regions to curved surfaces in ℝ³. Just as a line integral sums a function along a path, a surface integral sums it across a two-dimensional surface.
You are already familiar with double integrals ∬D f(x,y) dA over flat regions in the xy-plane. A surface integral generalises this: the region of integration is now a curved surface S sitting in three-dimensional space, and the infinitesimal area element dA must be replaced by a surface area element dS that accounts for how steeply the surface tilts relative to the coordinate planes.
There are two fundamentally different kinds of surface integral, and keeping them distinct is the first priority:
Two types of surface integral1. Scalar surface integral: ∬S f(x,y,z) dS
Integrates a scalar function over S. Used for total mass (density × area), average value, surface area. The element dS is always positive — orientation does not matter.
2. Vector surface integral (flux): ∬S F·dS
Integrates the dot product of a vector field F with the outward normal of S. Used to measure flux — how much of the field passes through the surface. Here orientation does matter.
Before we can evaluate either type, we need to understand how surfaces are described mathematically. That is the topic of the next section.
§ 02Parameterising a Surface
Just as a curve in ℝ³ is parameterised by a single variable t via r(t) = ⟨x(t), y(t), z(t)⟩, a surface is parameterised by two variables u and v:
At a given point, ru points in the direction of increasing u (holding v fixed), and rv points in the direction of increasing v (holding u fixed). Together they span the tangent plane to S at that point.
The Surface Area Element dS
The cross product ru × rv is perpendicular to the tangent plane: it is a normal vector to the surface. Its magnitude gives the local area scaling factor: a small rectangle of area du dv in parameter space maps to a parallelogram of area |ru × rv| du dv on the surface.
Surface area element — parametric form
dS = |ru × rv| du dv
Parameter rectangle du dv maps to surface patch of area |ru × rv| du dv. The cross product is normal to S.
Three Common Cases
In practice surfaces are presented in one of three standard forms. Each gives a specific formula for dS:
Surface form
Normal vector (unnormalised)
dS
Parametric: r(u,v)
ru × rv
|ru × rv| du dv
Graph: z = g(x,y)
⟨−gx, −gy, 1⟩
√(gx² + gy² + 1) dA
Implicit: F(x,y,z) = 0
∇F
|∇F| / |∇F · k̂| dA (projecting onto xy-plane)
The graph formula derived
Take r(x,y) = ⟨x, y, g(x,y)⟩ as the parameterisation. Then rx = ⟨1,0,gx⟩ and ry = ⟨0,1,gy⟩. Their cross product is ⟨−gx, −gy, 1⟩ with magnitude √(gx² + gy² + 1). This is the factor you multiply dA by to account for the tilt of the surface relative to the horizontal.
§ 03Scalar Surface Integrals
A scalar surface integral integrates a real-valued function f(x,y,z) over a surface S. The result is a number, it does not depend on which direction you declare as "positive normal".
Scalar surface integral — parametric
∬S f(x,y,z) dS = ∬D f(r(u,v)) · |ru × rv| du dv
Scalar surface integral — graph z = g(x,y)
∬S f dS = ∬D f(x, y, g(x,y)) · √(gx² + gy² + 1) dA
Surface Area as a Scalar Integral
Setting f ≡ 1 gives the total surface area of S. This is the most basic scalar surface integral:
Surface area
Area(S) = ∬S dS = ∬D |ru × rv| du dv
Physical Applications
If δ(x,y,z) is the surface mass density (mass per unit area) of a thin shell, the total mass is ∬S δ dS. The average value of f over S is (1/Area(S)) ∬S f dS. Moments of inertia and centres of mass of thin shells are computed in the same way.
§ 04Vector Surface Integrals — Flux
When the integrand is a vector field F(x,y,z) rather than a scalar, we measure how much of the field passes through the surface. This is the flux of F through S.
At each point of S, project F onto the unit normal n̂. The component F·n̂ is positive when the field flows in the direction of n̂ (through the surface "forward"), negative when it flows against n̂. Integrating this component over the whole surface gives the net flux.
Vector surface integral (flux) — definition
∬SF · dS = ∬SF · n̂ dS
Here dS = n̂ dS is the vector area element, a tiny surface patch with both area (magnitude) and direction (the outward normal). In parametric form:
Flux — parametric form
∬SF · dS = ∬DF(r(u,v)) · (ru × rv) du dv
Note there are no absolute value bars here, the sign of the cross product determines the orientation. For a graph z = g(x,y) with upward normal:
Flux — graph z = g(x,y), upward normal
∬SF · dS = ∬D (−P gx − Q gy + R) dAwhere F = ⟨P, Q, R⟩
Orientation
The flux integral depends on a choice of orientation: which side of the surface is "positive". For a closed surface (like a sphere), convention is the outward-pointing normal. Reversing orientation negates the integral: ∬S, inward F·dS = −∬S, outward F·dS.
The 4-Step Method for Evaluating Flux
4-Step Flux Strategy
Parameterise the surface. Write r(u,v) = ⟨x(u,v), y(u,v), z(u,v)⟩ and identify the parameter domain D. For a graph z = g(x,y), use r(x,y) = ⟨x, y, g(x,y)⟩ directly.
Compute the cross product ru × rv. Check the direction of this normal vector against the required orientation. If the sign is wrong, negate it.
Set up the double integral. Substitute the parameterisation into F, then form F(r(u,v)) · (ru × rv). This gives a scalar function of u and v.
Evaluate the double integral over D using standard techniques: iterated integrals, polar coordinates, symmetry.
Do not confuse dS (scalar) with dS (vector)
In a scalar integral ∬f dS, the element dS = |ru × rv| du dv is a positive scalar. In a vector integral ∬F·dS, the element dS = (ru × rv) du dv is a vector. The dot product with F produces a scalar, but orientation matters. Always note which type of integral you are computing.
§ 05Worked Examples
Examples 1–4 are scalar integrals (surface area, mass, average value). Examples 5–10 are vector integrals (flux). In each example the first step is always to identify the surface type and choose a parameterisation.
Example 01Surface area of a cone
Find the surface area of the cone z = √(x² + y²) for z ≤ 2 (i.e., inside the cylinder x² + y² ≤ 4).
Step 1 — Parameterise as a graph: z = g(x,y) = √(x²+y²)
gx = −2x, gy = −2y√(4x²+4y²+1) = √(4r²+1) in polar
Step 2 — Mass = ∬ δ dS = ∬D (4−x²−y²)√(4x²+4y²+1) dA
= ∫₀2π ∫₀2 (4−r²)√(4r²+1) · r dr dθ
Step 3 — Integrate (let u = 4r²+1, du = 8r dr)
= 2π ∫₀2 (4−r²)√(4r²+1) · r drSplitting: ∫₀² 4r√(4r²+1) dr − ∫₀² r³√(4r²+1) drFirst: let u=4r²+1 → ∫₁17 (u^{½}/2) du = [u^{3/2}/3]₁17 = (17^{3/2}−1)/3After full evaluation: M = 2π·[(17√17−1)/6·... ]
Step 4 — Closed form result (exact)
M = π(391√17 + 1)/60 ≈ 84.0
M = π(391√17 + 1)/60
Example 04Scalar integral — integrating f = x² + y² over a cylinder
Evaluate ∬S (x²+y²) dS where S is the lateral surface of the cylinder x²+y²=1, 0 ≤ z ≤ 3.
Find the upward flux of F = ⟨x², y², z²⟩ through the disk z = 2, x²+y² ≤ 1.
Step 1 — The surface is z = 2 (constant), so g(x,y) = 2; gx = gy = 0
Upward normal dS = ⟨0, 0, 1⟩ dA
Step 2 — Flux = ∬ F·⟨0,0,1⟩ dA = ∬ z² dA; on S, z=2 so z²=4
∬D 4 dA = 4 · π(1)² = 4π
Flux = 4π
§ 06Common Mistakes
Mistake 1: Confusing dS (scalar) and dS (vector)
In a scalar integral ∬f dS, the element is |ru × rv| du dv — always positive. In a flux integral ∬F·dS, the element is (ru × rv) du dv — a vector that changes sign with orientation. Mixing these up is the most common source of sign errors.
Mistake 2: Forgetting the Jacobian |ru × rv| in scalar integrals
You cannot simply substitute the parameterisation and integrate over D without including the scaling factor. The factor |ru × rv| converts the flat area element du dv in parameter space into the actual curved area element on S. Omitting it gives the wrong answer.
Mistake 3: Wrong orientation on the cross product
For a flux integral, ru × rv may point inward when you need outward, or downward when you need upward. Always check the direction of the cross product at a test point. If it points the wrong way, swap the order: rv × ru = −(ru × rv).
Mistake 4: Using the wrong formula for a graph surface
The formula ∬(−P gx − Q gy + R) dA applies specifically to the upward normal on z = g(x,y). For the downward normal, negate all three signs. If the graph is over y (e.g. y = g(x,z)), the corresponding formula changes entirely — re-derive from ru × rv.
Mistake 5: Not simplifying F on the surface before integrating
Before computing F(r(u,v))·(ru × rv), substitute the parameterisation into F. On a sphere of radius a, for example, x²+y²+z²=a² simplifies many expressions dramatically. Always substitute first; integrate second.
§ 07Practice Quiz
Ten questions covering parameterisation, scalar integrals, and flux. Work through Examples 1–10 before attempting these. Use hints and worked solutions freely.
Score: 0 / 0
Question 1 — Multiple Choice
For a surface parameterised by r(u,v), the scalar surface area element dS equals:
Question 2 — Numeric
Find the surface area of the portion of the plane z = 3x + 4y over the unit square 0 ≤ x,y ≤ 1.
Find the upward flux of F = ⟨0, 0, 5⟩ through the disk z = 1, x² + y² ≤ 4.
Flux =
The surface is flat (z=1) with upward normal ⟨0,0,1⟩. F·n̂ = 5. Flux = 5 × Area(disk) = 5π(2)².
dS = ⟨0,0,1⟩ dA (upward normal on z=1)
F·dS = ⟨0,0,5⟩·⟨0,0,1⟩ dA = 5 dA
Flux = 5·π(2²) = 20π ≈ 62.832
Question 5 — Multiple Choice
For the surface z = g(x,y) with upward normal, the vector flux formula ∬F·dS equals:
Question 6 — Numeric
Compute the outward flux of F = ⟨x, y, z⟩ through the closed surface of the cube [0,2]³ using the Divergence Theorem. (This previews the connection to surface integrals.)
If you reverse the orientation of a surface, what happens to the flux integral ∬S F·dS?
Question 8 — Numeric
Find the surface area of the sphere x²+y²+z² = 9 (radius 3). Express as a multiple of π; enter the coefficient.
Area = · π
Area of sphere radius a = 4πa². Here a=3, so Area = 4π·9 = 36π.
Area = 4π(3)² = 4π·9 = 36π, coefficient = 36
Question 9 — Multiple Choice
On the surface z = g(x,y), the upward-pointing normal vector (before normalising) produced by the parameterisation r(x,y)=⟨x,y,g⟩ is:
rx=⟨1,0,gx⟩, ry=⟨0,1,gy⟩. Compute rx×ry using the determinant formula.
Question 10 — Numeric
The lateral surface of the cylinder x²+y²=4 (radius 2), 0≤z≤3. For F = ⟨x, y, 0⟩, find the total outward flux. (Hint: on the surface, x²+y²=4.)
Flux =
Parameterise: r(θ,z) = ⟨2cosθ, 2sinθ, z⟩. The outward normal from rθ×rz = ⟨2cosθ, 2sinθ, 0⟩. Then F·(rθ×rz) = 4cos²θ+4sin²θ = 4. Integrate over θ∈[0,2π], z∈[0,3].
Surface integrals sit at the intersection of parameterisation, double integration, and vector field theory. Each page below is a direct prerequisite or natural extension.