Calculus 3 • Vector Fields & Line/Surface Integrals

Flux Integrals

Quantifying the net flow of a vector field through a surface in three-dimensional space.

Three-dimensional axes with spatial movement and a multivariable function.
Inside this lesson 10 sections 5 questions 10 figures

SECTION 1

Historical Context & Motivation

The concept of flux — from the Latin fluxus, meaning "flow" — arose naturally in the eighteenth and nineteenth centuries as physicists and mathematicians sought rigorous ways to describe how fluid, heat, and electromagnetic fields pass through surfaces. Before the language of vector calculus was formalized, scientists like Euler and Fourier already wrestled with the idea that a quantity's rate of passage through an imaginary boundary carried deep physical meaning. The flux integral provided the mathematical apparatus to make those intuitions precise, ultimately becoming one of the cornerstones of both classical physics and modern engineering analysis.

1760s • Euler's Fluid Dynamics

Leonhard Euler formulated the equations governing ideal fluid flow, implicitly relying on the idea of fluid volume passing through cross-sectional surfaces per unit time — the earliest precursor to the modern flux integral.

1813 • Gauss's Divergence Concept

Carl Friedrich Gauss introduced the relationship between the surface integral of a vector field over a closed surface and the volume integral of its divergence, laying the groundwork for what would become the Divergence Theorem.

1828 • Green's Theorem

George Green published his essay connecting double integrals over regions to line integrals around their boundaries, providing a two-dimensional analogue of the flux integral that bridged potential theory and boundary-value problems.

1850s • Stokes & Maxwell Unify Electromagnetism

George Gabriel Stokes generalized Green's ideas to surfaces in ℝ³, and James Clerk Maxwell used surface flux integrals to encode Faraday's law and Gauss's law, embedding flux at the heart of Maxwell's equations.

20th Century • Modern Vector Calculus

The formalism of differential forms and manifold theory, developed by Élie Cartan and others, placed flux integrals within a unified framework of integration on manifolds, extending their reach to arbitrary dimensions and curved spaces.

The central question that flux integrals answer is deceptively simple: how much of a vector field passes through a given surface, and in which direction? Whether you are computing the electric field emanating from a charge distribution, the mass of fluid crossing a membrane per second, or the heat flowing out of a solid body, the mathematical structure is the same — a surface integral of the field's normal component. Understanding flux integrals equips you with one of the most powerful tools in multivariable calculus and mathematical physics.

SECTION 2

Core Principles & Definitions

A flux integral (also called a surface integral of a vector field) measures the net quantity of a vector field F that flows through an oriented surface S. The integral captures only the component of F that is perpendicular to the surface at each point, because the tangential component slides along the surface without crossing it. Building up from infinitesimal area elements, the integral sums these normal contributions across the entire surface. The sign of the result encodes the net direction of flow relative to the chosen orientation of S: positive flux means net outward (or "with" the chosen normal), and negative flux means net inward (or "against" the chosen normal).

1

Oriented Surface

A surface S equipped with a continuous unit normal vector field n̂. Orientation assigns a "positive" side to the surface, which determines the sign convention of flux. Closed surfaces are conventionally oriented with outward-pointing normals.
2

Normal Component of F

At each point on S, only the projection F · n̂ contributes to the flux. This scalar quantity is positive when F points in the same hemisphere as n̂ and negative when it opposes it.
3

Area Element dS

The infinitesimal vector area element dS = n̂ dA combines the unit normal direction with the scalar area element dA. When the surface is parametrized by r(u, v), this equals (ru × rv) du dv.
4

Parametrization

To evaluate a flux integral, the surface S is expressed as r(u, v) over a parameter domain D in the uv-plane. Common choices include polar, cylindrical, and spherical coordinates, selected to match the surface geometry.
✦

KEY TAKEAWAY

Think of a flux integral like holding a window screen in a rainstorm. The total amount of rain passing through the screen depends on two things: how hard the rain is falling (the field's magnitude) and the angle at which the screen is tilted relative to the rain (the alignment between F and n̂). When the screen faces the rain head-on, maximum flux passes through; when tilted parallel to the rain, the flux drops to zero. The flux integral systematically accounts for this angle dependence over every infinitesimal patch of the surface.

SECTION 3

Visual Explanation

Flux Through an Oriented SurfaceSn̂n̂n̂F (vector field)Unit normal n̂ (orientation of S)Vector field F passing through SSurface S (oriented)Flux = ∬ F · n̂ dA
The surface S (violet/cyan region) is equipped with outward-pointing unit normals n̂ (pink arrows). The vector field F (amber arrows) passes through the surface at various angles. The flux integral sums F · n̂ over every infinitesimal patch dA of the surface.

In the diagram above, observe that each amber field vector has a component along the pink normal direction and a component tangent to the surface. Only the normal component — captured by the dot product F · n̂ — contributes to the flux. Where F is nearly parallel to the surface, the dot product is small; where F aligns closely with n̂, the contribution is large. The integral aggregates these local contributions to produce a single scalar value representing the total net flow through S.

SECTION 4

Mathematical Framework

To compute a flux integral, one must (1) choose an appropriate parametrization of the surface, (2) compute the cross product of the partial derivatives to obtain the vector area element, and (3) form the dot product with the field and integrate over the parameter domain. The following equations formalize each stage of this process.

FLUX INTEGRAL (ABSTRACT FORM)

Φ=∬SF⋅dS=∬SF⋅n^dAΦ = ∬_S F · dS = ∬_S F · n̂ dA

Φ = total flux (scalar), F = vector field, n̂ = outward unit normal to S, dA = scalar area element.

PARAMETRIC SURFACE AREA ELEMENT

dS=(ru×rv)dudvdS = (r_u × r_v) du dv

If r(u, v) parametrizes S, then ru = ∂r/∂u, rv = ∂r/∂v. The cross product gives a vector normal to S whose magnitude equals the infinitesimal area.

FLUX IN PARAMETER COORDINATES

Φ=∬DF(r(u,v))⋅(ru×rv)dudvΦ = ∬_D F(r(u,v)) · (r_u × r_v) du dv

D is the parameter domain in the uv-plane. The orientation of S is encoded by the ordering of the cross product: reversing the order of u and v negates the integral.

SPECIAL CASE: GRAPH z = g(x,y)

Φ=∬DF(x,y,g(x,y))⋅⟨−gx,−gy,1⟩dxdyΦ = ∬_D F(x, y, g(x,y)) · ⟨−g_x, −g_y, 1⟩ dx dy

When S is the graph of z = g(x, y) with upward orientation, the vector area element simplifies to ⟨−gx, −gy, 1⟩ dx dy. This is one of the most commonly used formulas for flux computations.

⚠

Orientation Matters

Flipping the orientation of S (i.e., replacing n̂ with −n̂) negates the value of the flux integral. Always verify that your parametrization produces a normal consistent with the problem's stated orientation before integrating.

SECTION 5

Common Surface Parametrizations

The practical difficulty of computing a flux integral often lies in choosing an efficient parametrization and correctly computing the cross product. Different surface geometries call for different coordinate systems. Below we catalog the most common surfaces encountered in Calculus 3, along with their standard parametrizations, vector area elements, and orientation conventions.

Three Common Surface ParametrizationsGraph z = g(x,y)xzyn̂r(x,y) = ⟨x, y, g(x,y)⟩dS = ⟨−gₓ, −gᵧ, 1⟩ dx dyUpward orientation:z-component of n̂ > 0Cylinder x²+y²=R²n̂r(θ,z)=⟨Rcosθ,Rsinθ,z⟩dS = ⟨cosθ,sinθ,0⟩R dθ dzOutward orientation:normal points awayfrom z-axisSphere x²+y²+z²=R²Rn̂r(θ,φ)=⟨Rsinφcosθ,Rsinφsinθ, Rcosφ⟩dS = R²sinφ ⟨sinφcosθ,sinφsinθ, cosφ⟩ dθ dφOutward orientation:normal points awayfrom the origin
Three standard surface types — a graph surface, a cylinder, and a sphere — with their parametrizations and oriented area elements. The pink arrow shows the outward unit normal n̂ for each surface.
SurfaceParametersdS (oriented)Bounds
Graph z = g(x,y)u = x, v = y⟨−gx, −gy, 1⟩ dx dy(x, y) ∈ D ⊂ ℝ²
Cylinder r = Ru = θ, v = zR⟨cos θ, sin θ, 0⟩ dθ dzθ ∈ [0, 2π], z ∈ [a, b]
Sphere ρ = Ru = θ, v = φR² sin φ ⟨sin φ cos θ, sin φ sin θ, cos φ⟩ dθ dφθ ∈ [0, 2π], φ ∈ [0, π]
Cone z = √(x² + y²)u = θ, v = r⟨−cos θ, −sin θ, 1⟩ r dr dθθ ∈ [0, 2π], r ∈ [0, R]

Standard parametrizations and oriented area elements for common surfaces

SECTION 6

Worked Example

Let us compute the flux of the vector field F(x, y, z) = ⟨x, y, z⟩ through the upper hemisphere S of the unit sphere x² + y² + z² = 1, z ≥ 0, oriented with the outward-pointing normal. This is a classic example that illustrates the parametric method with spherical coordinates.

Flux of F = ⟨x, y, z⟩ Through the Upper Unit Hemisphere

  1. 1

    Step 1 — Parametrize the Surface

    Use spherical coordinates with R = 1. The upper hemisphere is parametrized by r(θ, φ) = ⟨sin φ cos θ, sin φ sin θ, cos φ⟩ where θ ∈ [0, 2π] and φ ∈ [0, π/2]. Note that φ ranges only to π/2 because we want only the upper hemisphere (z = cos φ ≥ 0).
  2. 2

    Step 2 — Compute the Cross Product r_θ × r_φ

    The partial derivatives are rθ = ⟨−sin φ sin θ, sin φ cos θ, 0⟩ and rφ = ⟨cos φ cos θ, cos φ sin θ, −sin φ⟩. Computing the cross product yields rθ × rφ = ⟨−sin²φ cos θ, −sin²φ sin θ, −sin φ cos φ⟩. This vector points inward (toward the origin), so for outward orientation we negate it.
    Outward dS = ⟨sin²φ cos θ, sin²φ sin θ, sin φ cos φ⟩ dθ dφ
  3. 3

    Step 3 — Form F · dS

    On the surface, F(r(θ,φ)) = ⟨sin φ cos θ, sin φ sin θ, cos φ⟩. The dot product with the outward dS is:
    F · dS = sin³φ cos²θ + sin³φ sin²θ + sin φ cos²φ = sin³φ + sin φ cos²φ = sin φ
  4. 4

    Step 4 — Integrate Over the Parameter Domain

    The flux is Φ = ∫₀²π ∫₀^{π/2} sin φ dφ dθ. The inner integral gives ∫₀^{π/2} sin φ dφ = [−cos φ]₀^{π/2} = −cos(π/2) + cos(0) = 0 + 1 = 1. Then the outer integral gives ∫₀²π 1 dθ = 2π.
    Φ = 2π
  5. 5

    Step 5 — Interpret the Result

    The positive flux of 2π indicates a net outward flow of F through the upper hemisphere. Since F = ⟨x, y, z⟩ points radially outward from the origin and the hemisphere's outward normal also points away from the origin, every infinitesimal contribution is positive. One can verify this via the Divergence Theorem: div F = 3, and the volume of the upper unit half-ball is 2π/3, giving 3 × (2π/3) = 2π for the total flux through the closed surface (hemisphere plus disk), with the disk contributing zero since F · n̂ = 0 on z = 0.

SECTION 7

Flux Integrals vs. Related Integral Types

Calculus 3 introduces several types of integrals involving vector fields and surfaces. It is easy to confuse them, so a careful comparison is valuable. The flux integral ∬S F · dS is distinct from the line integral of a vector field, the scalar surface integral, and the scalar line integral. Each answers a different physical question. The following table highlights the key distinctions.

Integral TypeNotationWhat It ComputesDomain
Flux integral∬_S F · dSNet flow of F through surface SOriented surface in ℝ³
Line integral of a vector field∫_C F · drWork done by F along curve COriented curve in ℝ² or ℝ³
Scalar surface integral∬_S f dATotal of scalar f over surface (e.g., mass, charge)Surface in ℝ³ (no orientation needed)
Scalar line integral∫_C f dsTotal of scalar f along curve (e.g., arc length if f = 1)Curve in ℝ² or ℝ³ (no orientation needed)

Comparison of integral types in Calculus 3

✦

KEY TAKEAWAY

The flux integral is to a surface what the work integral ∫C F · dr is to a curve. In a line integral, you project F onto the tangent direction of the path and integrate; in a flux integral, you project F onto the normal direction of the surface and integrate. Think of the work integral as measuring how much the field "pushes along" the path, while the flux integral measures how much the field "pushes through" the surface.

SECTION 8

Connection to the Divergence Theorem

The Divergence Theorem (also known as Gauss's Theorem) provides the deepest connection between flux integrals and volume integrals. It states that the total outward flux of a vector field through a closed surface equals the triple integral of the field's divergence over the enclosed volume. This theorem transforms difficult surface integrals into potentially simpler volume integrals, and vice versa. It also reveals a profound physical interpretation: the divergence at a point measures the flux per unit volume, the local rate at which the field is "sourcing" or "sinking."

THE DIVERGENCE THEOREM

∬SF⋅dS=∭E(∇⋅F)dV∬_S F · dS = ∭_E (∇ · F) dV

S is a closed, outward-oriented surface bounding a solid region E. ∇ · F = ∂F₁/∂x + ∂F₂/∂y + ∂F₃/∂z is the divergence of the field.

FeatureDirect Flux IntegralVia Divergence Theorem
ApplicabilityAny oriented surface (open or closed)Closed surfaces bounding a solid region only
Integral dimension2D surface integral3D volume integral
When advantageousSimple parametrization; open surfaceComplex surface but simple divergence; symmetric region
Key requirementSurface must be orientableF must be C¹ on E and its boundary

Direct computation vs. Divergence Theorem approach

Looking ahead, the Divergence Theorem generalizes to arbitrary dimensions via the Generalized Stokes' Theorem, which unifies Green's Theorem, the classical Stokes' Theorem, and the Divergence Theorem into a single statement: the integral of a differential form's exterior derivative over a manifold equals the integral of the form itself over the manifold's boundary. This perspective, rooted in differential geometry, reveals that flux integrals are but one instance of a universal principle connecting interiors and boundaries.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A vector field F is everywhere tangent to a surface S. Without performing any calculation, what is the flux of F through S? Explain your reasoning.
Show answer
The flux is zero. Since F is tangent to S at every point, F is perpendicular to the unit normal n̂ everywhere on the surface. Therefore, F · n̂ = 0 at each point, and the integrand of the flux integral vanishes identically. No matter how strong the field is or how large the surface, the net flow through S is zero because the field slides along the surface without crossing it.

Question 2: BASIC CALCULATION

Compute the flux of F = ⟨0, 0, 3⟩ through the portion of the plane z = 2 over the square 0 ≤ x ≤ 1, 0 ≤ y ≤ 1, oriented upward.
Show answer
The surface is the graph z = g(x,y) = 2 with upward orientation, so dS = ⟨−gx, −gy, 1⟩ dx dy = ⟨0, 0, 1⟩ dx dy. Then F · dS = ⟨0, 0, 3⟩ · ⟨0, 0, 1⟩ dx dy = 3 dx dy. Integrating: Φ = ∫₀¹ ∫₀¹ 3 dx dy = 3 × 1 × 1 = 3. The constant upward field passes uniformly through the unit square, giving a flux of 3.

Question 3: INTERMEDIATE

Find the flux of F = ⟨x, y, 0⟩ through the part of the paraboloid z = 1 − x² − y² lying above the xy-plane, with upward orientation.
Show answer
Set g(x,y) = 1 − x² − y², so gx = −2x and gy = −2y. The upward-oriented area element is dS = ⟨2x, 2y, 1⟩ dx dy. The dot product is F · dS = ⟨x, y, 0⟩ · ⟨2x, 2y, 1⟩ = 2x² + 2y². The projection of the paraboloid onto the xy-plane is the disk x² + y² ≤ 1. Switching to polar: Φ = ∫₀²π ∫₀¹ 2r² × r dr dθ = 2 × 2π × ∫₀¹ r³ dr = 4π × [r⁴/4]₀¹ = 4π × (1/4) = π. The flux is π.

Question 4: APPLIED

A fluid has velocity field v = ⟨y, −x, 1⟩ (in m/s). Compute the volumetric flow rate (in m³/s) of the fluid through the disk x² + y² ≤ 4 in the plane z = 0, oriented in the +z direction.
Show answer
On the disk in the plane z = 0 with upward orientation, n̂ = ⟨0, 0, 1⟩ and dA = dx dy. Thus v · n̂ dA = ⟨y, −x, 1⟩ · ⟨0, 0, 1⟩ dx dy = 1 × dx dy. The volumetric flow rate is Φ = ∬D 1 dx dy = area of the disk = π × 2² = 4π m³/s. Note that the swirling components (y and −x) are tangential to the disk and contribute nothing to the flux; only the constant upward component z = 1 drives fluid through the surface.

Question 5: CRITICAL THINKING

Let F = ⟨x³, y³, z³⟩. Use the Divergence Theorem to compute the total outward flux of F through the closed surface of the unit sphere x² + y² + z² = 1. Then explain geometrically why the flux is positive.
Show answer
By the Divergence Theorem, Φ = ∭E (∇ · F) dV where E is the unit ball. The divergence is ∇ · F = 3x² + 3y² + 3z² = 3(x² + y² + z²) = 3ρ². Switching to spherical coordinates: Φ = ∫₀²π ∫₀π ∫₀¹ 3ρ² × ρ² sin φ dρ dφ dθ = 3 × 2π × 2 × ∫₀¹ ρ⁴ dρ = 12π × [ρ⁵/5]₀¹ = 12π/5. Geometrically, the flux is positive because F = ⟨x³, y³, z³⟩ always points radially outward (in the same octant direction as the position vector ⟨x, y, z⟩), so F · n̂ > 0 everywhere on the sphere. The divergence 3ρ² ≥ 0 confirms that F is a "source" field — it expands outward everywhere — ensuring net positive outward flux.

SUMMARY

Summary

Summary

A flux integral measures the net flow of a vector field F through an oriented surface S by integrating the normal component F · n̂ over every infinitesimal area element. The computation requires a parametrization r(u,v) of the surface, from which the vector area element dS = (rur_u × rvr_v) du dv is obtained via the cross product of partial derivatives. The sign of the resulting scalar depends on the chosen orientation: reversing the direction of n̂ negates the flux.

For closed surfaces, the Divergence Theorem converts the surface flux integral into a volume integral of ∇ · F, often simplifying the computation dramatically. Common surface types — graphs, cylinders, and spheres — each have standard parametrizations and area elements that should be committed to memory. Mastery of flux integrals is essential for electromagnetism (Gauss's law), fluid mechanics (mass flow rate), and the broader framework of differential forms on manifolds.

Varsity Tutors • Calculus 3 • Flux Integrals