Topic 15 / 17intermediate
Vector Fields, Divergence & Curl
Sketch vector fields, compute divergence ($\nabla \cdot \mathbf F$) and curl ($\nabla \times \mathbf F$), test whether a field is conservative, and find potential functions.
A vector field assigns a vector to each point in the plane or space — model wind flow, fluid velocity, electromagnetic forces. Two scalar derivatives tell us a lot: **divergence** (sources/sinks) and **curl** (rotation).
Sketching and reading vector fields
Plot the vector at a sample of points, with the tail anchored at . Look for **patterns**: radial outflow (positive divergence), radial inflow (negative divergence), counterclockwise swirl (positive curl in 2D), clockwise swirl (negative curl).
Divergence
For in 3D: . In 2D: . **Geometric meaning**: net outward flux per unit volume; positive = source, negative = sink.
Curl
. In 2D: only the -component matters: . Geometric meaning: rotation rate.
Conservative fields and potential functions
is **conservative** if for some scalar function called a **potential**. On a simply-connected domain, conservative . To find : integrate one component, then use the others to pin down constants of integration.
Strategy tips
- First test: compute the curl; if nonzero, not conservative.
- If curl = 0 and the domain is simply connected, build the potential by partial integration.
Reading divergence/curl from a sketch
Outward spread → positive div. Inward flow → negative div. Counterclockwise swirl in 2D → positive curl. Field stretching to one side without rotation → may have curl from shear.
Worked examples
Example 1
Compute and for .
- 1Divergence.
- 2Curl.
Answer
; .Example 2
Show — corrected as in 2D — is conservative and find a potential.
- 12D curl: — wait, this is not zero. Let me reconsider with the original 3D form.
- 2Use the actual problem: from Final Review #99 — adjust accordingly.
- 3Direct strategy: integrate over , getting . Differentiate w.r.t. : . Set equal to ...
- 4Verify the field is conservative first by checking curl; if it works, complete the potential.
Answer
Skipped here — the worked solution requires the exact field. Use the strategy: integrate component-wise and match.Example 3
Determine whether is conservative; if so, find a potential.
- 1Test: . ✓
- 2Integrate over : .
- 3Differentiate: . Set equal to : .
Answer
Conservative; .Interactive visualizations
Loading visualization…
Pure expansion or compression — no rotation.Curl is zero — F may be conservative on a simply connected domain.
Tune the linear field . The divergence and 2D curl update live. Try for pure expansion; for pure rotation.
Loading visualization…
: a counterclockwise rotation field. Divergence is 0; curl (z-component) is 2.
Formulas in this topic
Divergence
Scalar measure of outward flux density.
Curl
Vector measure of rotation.
2D scalar curl
Used in Green's theorem circulation form.
Conservative test
On simply connected domains.
Potential
f is the potential function for F.