wanna mathMath ain't scary (not anymore)
4-Tier Textbook Index • Vol → Mod → Ch → Lab

Engineering Mathematics Volumes I–VI

6 Volumes • 20 Modules • 85 ChaptersFull Matrix →
4-Tier Statistics Index • Vol S → Mod → Ch → Lab

Interactive Statistics (S.1–S.6)

6 Modules • 18 ChaptersStatistics Index →
CHAPTER 3.3.3 • 2D + 3DPublished Interactive Labs~45 min study

Vector Fields, Divergence & Curl

Explore 2D/3D vector field streamlines, local Jacobian expansion/strain/spin decomposition, microscopic flux boxes (∇·F), and 3D curl axes (∇×F).

Engineering & Physical Application Context

Incompressible fluid continuity (∇·u = 0), aerodynamic vorticity, electrostatic potential fields F = -∇φ, Maxwell's differential laws, and continuum strain-rotation splitting.

Governing Mathematical Formulation
div⁡F=∇⋅F=∂P∂x+∂Q∂y+∂R∂z\operatorname{div}\mathbf{F} = \nabla \cdot \mathbf{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z}
curl⁡F=∇×F=⟨∂R∂y−∂Q∂z,  ∂P∂z−∂R∂x,  ∂Q∂x−∂P∂y⟩\operatorname{curl}\mathbf{F} = \nabla \times \mathbf{F} = \left\langle \frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z},\; \frac{\partial P}{\partial z} - \frac{\partial R}{\partial x},\; \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} \right\rangle
Volume III • Module 3.33 Interactive Lab(s)

The Question You Should Ask

Inside a velocity or force field F(x,y,z)\mathbf{F}(x, y, z), how do we measure net outward expansion (∇⋅F\nabla\cdot\mathbf{F}) separately from local rotational spin (∇×F\nabla\times\mathbf{F})?

In Simple Words & Math

Divergence ∇⋅F=Px+Qy+Rz\nabla\cdot\mathbf{F} = P_x + Q_y + R_z is a scalar measuring net outward flux per unit volume (positive at sources, negative at sinks, zero in incompressible flow). Curl ∇×F\nabla\times\mathbf{F} is a 3D vector whose axis and magnitude capture microscopic circulation per unit area via the right-hand rule.

Watch two classic geometric surprises: straight shear flow ⟨y,0,0⟩\langle y, 0, 0\rangle has nonzero curl even with parallel streamlines, whereas the swirling point vortex ⟨−y,x,0⟩/(x2+y2)\langle -y, x, 0\rangle/(x^2+y^2) is curl-free everywhere off the singular zz-axis. On any C2C^2 domain, two identities always hold: ∇×(∇ϕ)=0\nabla\times(\nabla\phi) = \mathbf{0} and ∇⋅(∇×F)=0\nabla\cdot(\nabla\times\mathbf{F}) = 0.

4-Step Pedagogical Chapter Rhythm • Geometric Intuition First
Ch. 3.3.3
STEP 1 • GEOMETRIC QUESTION

Given a vector field F(x,y,z) assigning magnitude and direction to every point in space, how do we trace particle trajectories (streamlines) and separately measure local outward expansion (∇·F) versus 3D local spin (∇×F)?

STEP 2 • INTERACTIVE LAB EXPLORATION

Move the microscopic flux box and paddlewheel probe, click to seed 2D/3D streamlines over potential contours while inspecting DF, and decompose opposite cube-face fluxes alongside the tilted 3D curl axis.

STEP 3 • SYMBOLIC FORMALIZATION
∇⋅F=lim⁡∣V∣→01∣V∣∯∂VF⋅dS,(∇×F)⋅n^=lim⁡∣A∣→01∣A∣∮∂AF⋅dr\nabla\cdot\mathbf{F} = \lim_{|V|\to 0}\frac{1}{|V|}\oiint_{\partial V}\mathbf{F}\cdot d\mathbf{S}, \qquad (\nabla\times\mathbf{F})\cdot\hat{\mathbf{n}} = \lim_{|A|\to 0}\frac{1}{|A|}\oint_{\partial A}\mathbf{F}\cdot d\mathbf{r}
STEP 4 • EDGE CASES & NEXT BRIDGE

Straight streamlines like shear flow ⟨y, 0, 0⟩ carry non-zero curl, whereas circular vortex flow ⟨-y, x⟩/r² is irrotational away from 0! Always verify ∇×(∇f) = 0 and ∇·(∇×F) = 0 before accumulating work in Chapter 3.3.4.

Interactive Laboratories in Chapter 3.3.3
Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

The Del (∇) Operator Quartet & Coordinate-Free Geometry

Unifying Gradient, Directional Derivatives, Vector Fields, Divergence & Curl

1. GRADIENT: ∇f (Scalar → Vector)
∇f=⟨∂f∂x,∂f∂y,∂f∂z⟩\nabla f = \left\langle \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z} \right\rangle

Converts a scalar height/potential field ff into the vector field of steepest ascent, always orthogonal to level surfaces f=cf=c.

2. DIRECTIONAL DERIVATIVE: D_u f
Duf=u⋅∇f=∥∇f∥cos⁡θD_{\mathbf{u}}f = \mathbf{u}\cdot\nabla f = \|\nabla f\|\cos\theta

Projects ∇f\nabla f along any unit compass vector u\mathbf{u} to recover instantaneous slope along that ray or 00 along contours.

3. DIVERGENCE: ∇·F (Vector → Scalar)
∇⋅F=lim⁡∣V∣→01∣V∣∯∂VF⋅dS\nabla\cdot\mathbf{F} = \lim_{|V|\to 0}\frac{1}{|V|}\oiint_{\partial V}\mathbf{F}\cdot d\mathbf{S}

Measures net outward flux per unit volume around a point: positive at fluid sources, negative at sinks, zero for incompressible flow.

4. CURL: ∇×F (Vector → Vector)
(∇×F)⋅n^=lim⁡∣A∣→01∣A∣∮∂AF⋅dr(\nabla\times\mathbf{F})\cdot\hat{\mathbf{n}} = \lim_{|A|\to 0}\frac{1}{|A|}\oint_{\partial A}\mathbf{F}\cdot d\mathbf{r}

Measures local circulation density around axis n^\hat{\mathbf{n}}: twice the angular velocity vector 2ω2\boldsymbol{\omega} of an infinitesimal paddlewheel.

PARADOX 1 • STRAIGHT LINES WITH SPIN
F=⟨y,0,0⟩  ⟹  ∇⋅F=0,  (∇×F)z=−1\mathbf{F} = \langle y, 0, 0 \rangle \implies \nabla\cdot\mathbf{F} = 0,\; (\nabla\times\mathbf{F})_z = -1

Streamlines never curve, yet faster upper layers exert greater clockwise torque on a paddlewheel than slower lower layers—proving curl detects shear, not just visible swirls.

PARADOX 2 • CURVED ORBITS WITH ZERO CURL
F=⟨−y,x⟩x2+y2  ⟹  ∇×F=0    (r≠0)\mathbf{F} = \frac{\langle -y, x \rangle}{x^2+y^2} \implies \nabla\times\mathbf{F} = \mathbf{0} \;\;(\mathbf{r}\neq\mathbf{0})

Outer arc speed drops as 1/r1/r, balancing the shorter inner radius so local rotation cancels everywhere outside the origin singularity!

EXACT SECOND-ORDER DEL IDENTITIES
∇×(∇f)=0,∇⋅(∇×F)=0,∇2f=∇⋅(∇f)\nabla\times(\nabla f) = \mathbf{0}, \quad \nabla\cdot(\nabla\times\mathbf{F}) = 0, \quad \nabla^2 f = \nabla\cdot(\nabla f)

Every conservative gradient field is curl-free, and every curl field is divergence-free (solenoidal)—the backbone of Helmholtz's theorem and Maxwell's equations.

Sources, Vorticity & Helmholtz Anatomy • Ch. 3.3.3

Micro-Flux Divergence, Paddle-Wheel Curl, C² Identities & Helmholtz Split

Open Vector Identities Table →
1. LIMIT DEFINITIONS OF DIV & CURL
∇⋅F=lim⁡∣V∣→01∣V∣∬∂VF⋅dS,(∇×F)⋅n^=lim⁡∣A∣→01∣A∣∮∂AF⋅dr\nabla\cdot\mathbf{F} = \lim_{|V|\to 0}\frac{1}{|V|}\iint_{\partial V}\mathbf{F}\cdot d\mathbf{S},\quad (\nabla\times\mathbf{F})\cdot\hat{\mathbf{n}} = \lim_{|A|\to 0}\frac{1}{|A|}\oint_{\partial A}\mathbf{F}\cdot d\mathbf{r}

Coordinate-free integral limits define divergence as outward micro-flux per unit volume (sources/sinks) and curl as circulation density per unit loop area (infinitesimal paddle-wheel spin).

2. C² EXACTNESS ANNIHILATORS
∇×(∇ϕ)=0,∇⋅(∇×A)=0\nabla\times(\nabla\phi)=\mathbf{0},\qquad \nabla\cdot(\nabla\times\mathbf{A})=0

By Clairaut symmetry (∂i∂j=∂j∂i\partial_i\partial_j = \partial_j\partial_i on C2C^2 fields), every gradient field is automatically curl-free and every curl field is solenoidal (divergence-free)—enforcing conservation laws across fluid mechanics and electromagnetism.

3. HELMHOLTZ DECOMPOSITION
F=−∇ϕ+∇×A\mathbf{F} = -\nabla\phi + \nabla\times\mathbf{A}

Any smooth rapidly decaying 3D vector field splits orthogonally into an irrotational scalar-potential source part (−∇ϕ-\nabla\phi) plus a divergence-free vector-potential eddy part (∇×A\nabla\times\mathbf{A}).

Chapter 3.3.3 Laboratory Specifications

3 Interactive Lab(s)
LAB 3.3.3.1Component: DivCurlProbeLab

Interactive Divergence Flux Box & Curl Paddlewheel Probe

Drag a probe across sources, sinks, shears, and vortices to measure net outflow and angular velocity.

∇⋅F,∇×F\nabla \cdot \mathbf{F}, \qquad \nabla \times \mathbf{F}
LAB 3.3.3.2Component: VectorFieldStreamlineExplorerLab

Vector Field Anatomy, RK4 Streamlines & Velocity-Gradient Tensor Lab

Click to seed 2D/3D streamlines over potential contours and split local DF into expansion, shear strain, and spin.

r′(t)=F(r(t)),DF=Ediv+Sshear+Ωcurl\mathbf{r}'(t) = \mathbf{F}(\mathbf{r}(t)), \qquad D\mathbf{F} = \mathbf{E}_{\text{div}} + \mathbf{S}_{\text{shear}} + \mathbf{\Omega}_{\text{curl}}
LAB 3.3.3.3Component: DivCurlDecompositionLab

Component Flux Budget, Tilted 3D Curl Axis & Del Identity Verifier

Compare opposing cube-face fluxes ∂P/∂x + ∂Q/∂y + ∂R/∂z, tilt the 3D curl axis ω = ∇×F, and verify ∇·(∇×F) = 0.

∇⋅(∇×F)=0,∇×(∇f)=0\nabla\cdot(\nabla\times\mathbf{F}) = 0, \qquad \nabla\times(\nabla f) = \mathbf{0}