1. Home
  2. Explore
  3. Mathematics
  4. Vector Calculus Operators

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Vector Calculus Operators

Vector Differential Operators: Relationships and Physical Meaning

Gradient, divergence, and curl

The del operator, written ∇\nabla∇, combines partial derivatives with the operations of vector calculus. Its effect depends on the object to which it is applied:

  • For a scalar field fff, the gradient is

    ∇f=(∂f∂x,∂f∂y,∂f∂z).\nabla f = \left( \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z} \right).∇f=(∂x∂f​,∂y∂f​,∂z∂f​).

    It is a vector pointing in the direction of the steepest increase of fff. Its magnitude indicates how rapidly fff increases in that direction. The negative gradient, −∇f-\nabla f−∇f, points in the direction of steepest decrease and often describes a flow from higher values toward lower values.

  • For a vector field F=(P,Q,R)\mathbf{F}=(P,Q,R)F=(P,Q,R), the divergence is

    ∇⋅F=∂P∂x+∂Q∂y+∂R∂z.\nabla\cdot\mathbf{F} = \frac{\partial P}{\partial x} +\frac{\partial Q}{\partial y} +\frac{\partial R}{\partial z}.∇⋅F=∂x∂P​+∂y∂Q​+∂z∂R​.

    It is a scalar that measures the field’s net outward flow per unit volume near a point.

  • For a vector field F=(P,Q,R)\mathbf{F}=(P,Q,R)F=(P,Q,R), the curl is

    ∇×F=(∂R∂y−∂Q∂z,∂P∂z−∂R∂x,∂Q∂x−∂P∂y).\nabla\times\mathbf{F} = \left( \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).∇×F=(∂y∂R​−∂z∂Q​,∂z∂P​−∂x∂R​,∂x∂Q​−∂y∂P​).

    It is a vector that measures the field’s local tendency to circulate or rotate.

These operations can be combined, but each combination must respect the type of its input. For example, the gradient takes a scalar field, while divergence and curl take vector fields. The combinations with especially important interpretations are curl of a gradient, divergence of a gradient, and divergence of a curl.


Divergence and curl as local measurements

Divergence as source strength

The divergence theorem relates the total outward flow through a closed surface to the divergence inside the enclosed volume:

∬∂VF⋅n dS=∭V∇⋅F dV.\iint_{\partial V}\mathbf{F}\cdot\mathbf{n}\,dS = \iiint_V \nabla\cdot\mathbf{F}\,dV.∬∂V​F⋅ndS=∭V​∇⋅FdV.

Here, ∂V\partial V∂V is the boundary of the volume VVV, and n\mathbf{n}n is its outward-pointing unit normal.

If ∇⋅F\nabla\cdot\mathbf{F}∇⋅F is positive at a point and the field is sufficiently regular nearby, the divergence will also be positive over a small neighborhood around that point. The divergence theorem then implies that the total flow out of that neighborhood is positive: the neighborhood behaves like a source of the field. Negative divergence corresponds to net flow inward, as if the region contains a sink.

Curl as local circulation

Stokes’ theorem relates the circulation of a vector field around a closed curve to the curl passing through a surface bounded by that curve:

∮∂SF⋅dr=∬S(∇×F)⋅n dS.\oint_{\partial S}\mathbf{F}\cdot d\mathbf{r} = \iint_S(\nabla\times\mathbf{F})\cdot\mathbf{n}\,dS.∮∂S​F⋅dr=∬S​(∇×F)⋅ndS.

If the curl is nonzero at a point and varies continuously nearby, there are small surfaces around that point with nonzero curl flux. Stokes’ theorem then gives a boundary curve with nonzero circulation. Thus, the field has local rotational behavior near that point.


The curl of a gradient

For a sufficiently smooth scalar field fff, the curl of its gradient is always zero:

∇×(∇f)=0.\nabla\times(\nabla f)=\mathbf{0}.∇×(∇f)=0.

To see why, first write the gradient:

∇f=(∂f∂x,∂f∂y,∂f∂z).\nabla f = \left( \frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z} \right).∇f=(∂x∂f​,∂y∂f​,∂z∂f​).

Taking its curl gives

∇×(∇f)=(∂2f∂y ∂z−∂2f∂z ∂y,∂2f∂z ∂x−∂2f∂x ∂z,∂2f∂x ∂y−∂2f∂y ∂x).\nabla\times(\nabla f) = \left( \frac{\partial^2 f}{\partial y\,\partial z} - \frac{\partial^2 f}{\partial z\,\partial y}, \frac{\partial^2 f}{\partial z\,\partial x} - \frac{\partial^2 f}{\partial x\,\partial z}, \frac{\partial^2 f}{\partial x\,\partial y} - \frac{\partial^2 f}{\partial y\,\partial x} \right).∇×(∇f)=(∂y∂z∂2f​−∂z∂y∂2f​,∂z∂x∂2f​−∂x∂z∂2f​,∂x∂y∂2f​−∂y∂x∂2f​).

When the second partial derivatives are continuous, mixed partial derivatives are equal. Each component therefore vanishes.

Key identity: A sufficiently smooth gradient field has zero curl. In physical terms, a field derived from a scalar potential has no local rotational component.


When does zero curl imply a gradient field?

The reverse implication requires care. A vector field with zero curl is not necessarily the gradient of a globally defined scalar potential unless the domain has suitable topology.

The magnetic-field example

Consider the field

F(x,y,z)=(−yx2+y2,xx2+y2,0),x2+y2≠0.\mathbf{F}(x,y,z) = \left( -\frac{y}{x^2+y^2}, \frac{x}{x^2+y^2}, 0 \right), \qquad x^2+y^2\ne 0.F(x,y,z)=(−x2+y2y​,x2+y2x​,0),x2+y2=0.

This field points around the zzz-axis in circles. It models the direction and radial dependence of the magnetic field around a straight current-carrying wire, apart from a constant scaling factor.

At every point away from the zzz-axis, its curl is zero. However, its circulation around a circle centered on the zzz-axis is nonzero. For a circle of radius rrr,

∮F⋅dr=2π.\oint \mathbf{F}\cdot d\mathbf{r}=2\pi.∮F⋅dr=2π.

If F\mathbf{F}F were the gradient of a single-valued scalar potential throughout the domain, its line integral around every closed curve would have to be zero. This nonzero circulation therefore shows that the field is not globally a gradient field on the domain with the zzz-axis removed.

There is no contradiction with Stokes’ theorem. A circular path around the axis can be spanned by a surface, such as a disk, only if the surface crosses the zzz-axis. The field is singular on that axis, so Stokes’ theorem cannot be applied to that surface under its usual regularity assumptions.

The issue is therefore not that the curl is nonzero at ordinary points. The issue is the singularity and the topology of the domain: loops around the removed axis cannot be filled by surfaces that stay entirely within the domain.

Simply connected regions

A region is simply connected when every closed curve in it can be continuously contracted to a point without leaving the region. In three-dimensional vector calculus, this means that closed curves can be spanned by surfaces contained entirely in the region.

A solid ball is simply connected. A region with a tunnel through it is not: a loop encircling the tunnel cannot be spanned by a surface that remains inside the region. Similarly, a region with a removed axis has loops that go around the missing axis and cannot be contracted within the region.

Curl-free criterion for a potential field

If a vector field F\mathbf{F}F has continuous first partial derivatives on a simply connected region, then

∇×F=0⟹F=∇f\nabla\times\mathbf{F}=\mathbf{0} \quad\Longrightarrow\quad \mathbf{F}=\nabla f∇×F=0⟹F=∇f

for some scalar potential fff on that region.

The reasoning uses Stokes’ theorem:

  1. Take any closed curve in the region.

  2. Since the region is simply connected, the curve bounds a surface that also lies in the region.

  3. If ∇×F=0\nabla\times\mathbf{F}=\mathbf{0}∇×F=0 throughout the region, then Stokes’ theorem gives

    ∮∂SF⋅dr=∬S(∇×F)⋅n dS=0.\oint_{\partial S}\mathbf{F}\cdot d\mathbf{r} = \iint_S(\nabla\times\mathbf{F})\cdot\mathbf{n}\,dS =0.∮∂S​F⋅dr=∬S​(∇×F)⋅ndS=0.
  4. Since the line integral around every closed curve is zero, the field is conservative and can be represented as a gradient.

Thus, zero curl is a local condition, while being a gradient field globally also depends on the domain. Singularities and holes can prevent the conclusion.


Divergence of a gradient and the heat equation

The divergence of the gradient of a scalar field is called its Laplacian:

∇⋅(∇u)=Δu=∂2u∂x2+∂2u∂y2+∂2u∂z2.\nabla\cdot(\nabla u)=\Delta u = \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} + \frac{\partial^2 u}{\partial z^2}.∇⋅(∇u)=Δu=∂x2∂2u​+∂y2∂2u​+∂z2∂2u​.

The Laplacian appears in the heat equation because it describes how heat moves in response to spatial differences in temperature.

Heat flux and temperature gradients

Let u(x,t)u(\mathbf{x},t)u(x,t) represent temperature at position x\mathbf{x}x and time ttt. Heat flows from warmer regions toward cooler regions. Since ∇u\nabla u∇u points toward increasing temperature, the heat-flux vector points in the opposite direction:

J=−κ∇u,\mathbf{J}=-\kappa\nabla u,J=−κ∇u,

where κ>0\kappa>0κ>0 is the thermal conductivity, assuming a homogeneous material with constant conductivity.

A large temperature gradient produces a larger heat flux. The net heat flow across the boundary of a region is the surface integral of the flux through that boundary.

Applying heat conservation to a small volume

For a volume VVV with boundary ∂V\partial V∂V, the net outward heat flow per unit time is

∬∂VJ⋅n dS.\iint_{\partial V}\mathbf{J}\cdot\mathbf{n}\,dS.∬∂V​J⋅ndS.

Energy conservation says that the rate of change of heat stored inside the volume is the negative of this outward flow. If the material’s heat capacity per unit volume is CCC, then the rate of change of stored heat is

C∭V∂u∂t dV.C\iiint_V\frac{\partial u}{\partial t}\,dV.C∭V​∂t∂u​dV.

Using J=−κ∇u\mathbf{J}=-\kappa\nabla uJ=−κ∇u and the divergence theorem,

C∭V∂u∂t dV=−∬∂VJ⋅n dS=κ∬∂V∇u⋅n dS=κ∭VΔu dV.\begin{aligned} C\iiint_V\frac{\partial u}{\partial t}\,dV &= -\iint_{\partial V}\mathbf{J}\cdot\mathbf{n}\,dS\\ &= \kappa\iint_{\partial V}\nabla u\cdot\mathbf{n}\,dS\\ &= \kappa\iiint_V\Delta u\,dV. \end{aligned}C∭V​∂t∂u​dV​=−∬∂V​J⋅ndS=κ∬∂V​∇u⋅ndS=κ∭V​ΔudV.​

This equality holds for arbitrary sufficiently regular volumes. Under the appropriate smoothness assumptions, the corresponding local equation is

C∂u∂t=κΔu.C\frac{\partial u}{\partial t}=\kappa\Delta u.C∂t∂u​=κΔu.

Equivalently,

∂u∂t=αΔu,α=κC,\frac{\partial u}{\partial t}=\alpha\Delta u, \qquad \alpha=\frac{\kappa}{C},∂t∂u​=αΔu,α=Cκ​,

where α\alphaα is the thermal diffusivity.

Local interpretation

The equation can be understood by shrinking the volume around a point. The divergence theorem converts the total flux through a small boundary into an integral of Δu\Delta uΔu throughout the small volume. When the volume is sufficiently small and the fields are continuous, each volume average approaches the value at its center. The local temperature-change rate is therefore proportional to the Laplacian at that point.

  • If Δu>0\Delta u>0Δu>0 at a point, the local temperature tends to increase under the heat equation.

  • If Δu<0\Delta u<0Δu<0, it tends to decrease.

  • If Δu=0\Delta u=0Δu=0, there is no instantaneous temperature change from diffusion at that point.

The Laplacian measures how a value compares with its nearby surroundings. Heat diffuses in a way that smooths temperature differences: warmer areas lose heat to cooler surroundings, and cooler areas gain heat from warmer surroundings.


The divergence of a curl

For any sufficiently smooth vector field F\mathbf{F}F,

∇⋅(∇×F)=0.\nabla\cdot(\nabla\times\mathbf{F})=0.∇⋅(∇×F)=0.

Writing F=(P,Q,R)\mathbf{F}=(P,Q,R)F=(P,Q,R), its curl is

∇×F=(∂R∂y−∂Q∂z,∂P∂z−∂R∂x,∂Q∂x−∂P∂y).\nabla\times\mathbf{F} = \left( \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).∇×F=(∂y∂R​−∂z∂Q​,∂z∂P​−∂x∂R​,∂x∂Q​−∂y∂P​).

Taking the divergence produces pairs of mixed second derivatives with opposite signs. For example, the terms involving PPP include

−∂2P∂x ∂z+∂2P∂z ∂x,-\frac{\partial^2 P}{\partial x\,\partial z} + \frac{\partial^2 P}{\partial z\,\partial x},−∂x∂z∂2P​+∂z∂x∂2P​,

which cancel when the mixed partial derivatives are continuous. The same cancellation occurs for the terms involving QQQ and RRR, leaving zero.

Key identity: The divergence of a curl vanishes for a sufficiently smooth field. A field formed as a curl has no net source or sink.

This fits the physical interpretation of the operators: divergence measures source strength, while curl measures local circulation. A curl field may circulate, but it has no net local production or removal of the field.


Regularity and the scope of these identities

The identities and integral theorems rely on appropriate smoothness conditions. In particular:

  • The identity ∇×(∇f)=0\nabla\times(\nabla f)=\mathbf{0}∇×(∇f)=0 requires enough differentiability for mixed partial derivatives to be equal.

  • The identity ∇⋅(∇×F)=0\nabla\cdot(\nabla\times\mathbf{F})=0∇⋅(∇×F)=0 likewise requires sufficient smoothness of the components of F\mathbf{F}F.

  • The divergence theorem and Stokes’ theorem require suitable regularity of the fields, surfaces, and regions.

  • Singularities can invalidate the hypotheses even when a formula appears to work away from the singular points.

These conditions are essential when applying the results to physical fields. A field may satisfy a differential identity everywhere it is smooth while still behaving differently around a singularity or in a region with holes.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent