Vector Calculus Preliminaries

Chapter 5: Integral Theorems of Vector Calculus

Learning objectives

  • Compute gradient, divergence, and curl of vector fields in R3\mathbb{R}^3
  • Read the geometric meaning of \nabla, \nabla\cdot, and ×\nabla\times off the symbol
  • Use the second-derivative identities ×(f)=0\nabla\times(\nabla f)=\mathbf{0} and (×F)=0\nabla\cdot(\nabla\times\mathbf{F})=0
  • Recognise where these operators appear in fluid mechanics, electromagnetism, and optimisation
Vector Field VisualizerInteractive figure — enable JavaScript to interact.

Vector calculus is the bridge between point-wise differential reasoning and global integral statements about flow, flux, and circulation. Before we can state the Divergence Theorem or Stokes' Theorem, we need three differential operators that act on functions and vector fields in R3\mathbb{R}^3. Each one has a precise algebraic definition, but more importantly each one tells a geometric story: the gradient points uphill, the divergence measures expansion, and the curl measures rotation. Once you can read these meanings off the symbols, the integral theorems stop looking like formulas to memorise and start looking like conservation laws to apply.

The gradient

For a scalar function f(x,y,z)f(x,y,z), the gradient is the vector field

f=(fx,  fy,  fz).\nabla f = \left(\dfrac{\partial f}{\partial x},\; \dfrac{\partial f}{\partial y},\; \dfrac{\partial f}{\partial z}\right).

f\nabla f points in the direction of steepest increase of ff, and its magnitude is the rate of increase in that direction. Perpendicular to f\nabla f, the function is locally constant — this is why level surfaces of ff are everywhere perpendicular to f\nabla f.

Divergence

For a vector field F=(F1,F2,F3)\mathbf{F}=(F_1, F_2, F_3), the divergence is the scalar

F=F1x+F2y+F3z.\nabla \cdot \mathbf{F} = \dfrac{\partial F_1}{\partial x} + \dfrac{\partial F_2}{\partial y} + \dfrac{\partial F_3}{\partial z}.

The divergence at a point measures the net outward flux per unit volume of an infinitesimal box centred there. Positive divergence: a source. Negative: a sink. Zero everywhere: incompressible.

Curl

The curl of F\mathbf{F} is the vector field

×F=(F3yF2z,  F1zF3x,  F2xF1y).\nabla \times \mathbf{F} = \left(\dfrac{\partial F_3}{\partial y} - \dfrac{\partial F_2}{\partial z},\; \dfrac{\partial F_1}{\partial z} - \dfrac{\partial F_3}{\partial x},\; \dfrac{\partial F_2}{\partial x} - \dfrac{\partial F_1}{\partial y}\right).

The curl at a point is twice the angular velocity of an infinitesimal paddle wheel placed in the flow. Its direction is the rotation axis (by the right-hand rule). Zero curl everywhere: irrotational.

Two second-derivative identities you will use everywhere

For any C2C^2 function ff: ×(f)=0\nabla\times(\nabla f) = \mathbf{0} — the curl of a gradient is zero. For any C2C^2 field F\mathbf{F}: (×F)=0\nabla\cdot(\nabla\times\mathbf{F}) = 0 — the divergence of a curl is zero. Both follow from equality of mixed partial derivatives. In chapter 6 you will see these are both manifestations of one structural fact: d2=0d^2 = 0 for differential forms.

Pause and think: If F=f\mathbf{F}=\nabla f for some potential ff, what does that force the curl of F\mathbf{F} to be? Conversely, if you encounter a field whose curl is nonzero, can it possibly be a gradient?

Try it

  • Predict first, then compute: for F(x,y,z)=(x2,y2,z2)\mathbf{F}(x,y,z) = (x^2, y^2, z^2), is the divergence at (1,1,1)(1,1,1) positive, negative, or zero? Then compute it.
  • For f(x,y,z)=x2+y2+z2f(x,y,z) = x^2 + y^2 + z^2, compute f\nabla f at (1,2,3)(1,2,3). Where does it point? (Answer in words.)
  • For F=(y,x,0)\mathbf{F} = (-y, x, 0) (a rotational flow about the zz-axis), predict the direction of ×F\nabla\times\mathbf{F} before computing. Then compute and check.
  • True or false: every vector field F\mathbf{F} with ×F=0\nabla\times\mathbf{F}=\mathbf{0} can be written F=f\mathbf{F}=\nabla f for some ff. (Hint: the answer depends on the topology of the domain. We will revisit this in §6.2.)

A trap to watch for

Beginners often write F\nabla\cdot\mathbf{F} when they mean f\nabla f, or use a dot where they should use a cross. Anchor on the shapes: f\nabla f takes a scalar to a vector, F\nabla\cdot\mathbf{F} takes a vector to a scalar, ×F\nabla\times\mathbf{F} takes a vector to a vector. If the output type does not match what you wrote, you have used the wrong operator.

What you now know

You can compute f\nabla f, F\nabla\cdot\mathbf{F}, and ×F\nabla\times\mathbf{F} symbolically; you can read each one as a geometric statement; and you know the two identities that drop out whenever an operator is iterated. Next we use these to state the Divergence Theorem (§5.2) and Stokes' Theorem (§5.3), then unpack their physical meaning (§5.4) and proof strategies (§5.5).

References

  • Garrity, T. (2002). All the Mathematics You Missed. Cambridge University Press, ch. 5.
  • Marsden, J. E., Tromba, A. J. (2011). Vector Calculus (6th ed.). W. H. Freeman.
  • Schey, H. M. (2004). Div, Grad, Curl, and All That (4th ed.). W. W. Norton.
  • Griffiths, D. J. (2017). Introduction to Electrodynamics (4th ed.). Cambridge UP, ch. 1.
  • Spivak, M. (1965). Calculus on Manifolds. W. A. Benjamin, ch. 4.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.