The Gradient, the Divergence and the Curl

The Hamiltonian Operator (the nabla Operator)

In vector analysis one introduces the Hamiltonian operator (also called the nabla operator or the del operator):

∇=(∂∂x,∂∂y,∂∂z)=∂∂xi⃗+∂∂yj⃗+∂∂zk⃗\nabla = \left( \frac{\partial}{\partial x}, \frac{\partial}{\partial y}, \frac{\partial}{\partial z} \right) = \frac{\partial}{\partial x}\vec{i} + \frac{\partial}{\partial y}\vec{j} + \frac{\partial}{\partial z}\vec{k}

∇\nabla is a differential operator in vector form: it has the properties of a vector and the properties of a differential operator. With ∇\nabla, the gradient, the divergence and the curl can be written uniformly:

  • the gradient: ∇u\nabla u (the “scalar product” of ∇\nabla with the scalar uu)
  • the divergence: ∇⋅F⃗\nabla \cdot \vec{F} (the “dot product” of ∇\nabla with the vector F⃗\vec{F})
  • the curl: ∇×F⃗\nabla \times \vec{F} (the “cross product” of ∇\nabla with the vector F⃗\vec{F})

The Gradient

The Definition of the Gradient

Gradient

Suppose the scalar function u(x,y,z)u(x,y,z) has continuous first-order partial derivatives on the region Ω\Omega of space. Then the vector

∇u=∂u∂xi⃗+∂u∂yj⃗+∂u∂zk⃗=(∂u∂x,∂u∂y,∂u∂z)\nabla u = \frac{\partial u}{\partial x}\vec{i} + \frac{\partial u}{\partial y}\vec{j} + \frac{\partial u}{\partial z}\vec{k} = \left( \frac{\partial u}{\partial x}, \frac{\partial u}{\partial y}, \frac{\partial u}{\partial z} \right)

is called the gradient of the function uu at the point (x,y,z)(x,y,z), written ∇u\nabla u or grad u\text{grad}\, u.

The Geometric Meaning of the Gradient

The Physical Meaning of the Gradient

  • the negative gradient of the potential is the electric field strength: E⃗=−∇ϕ\vec{E} = -\nabla \phi
  • the negative gradient of the potential energy is the force: F⃗=−∇U\vec{F} = -\nabla U
  • the temperature gradient points in the direction in which the temperature rises fastest

The Divergence

The Definition of the Divergence

Divergence

Suppose the vector field F⃗(x,y,z)=Pi⃗+Qj⃗+Rk⃗\vec{F}(x,y,z) = P\vec{i} + Q\vec{j} + R\vec{k}, where P,Q,RP, Q, R have continuous first-order partial derivatives. Then the scalar

∇⋅F⃗=∂P∂x+∂Q∂y+∂R∂z\nabla \cdot \vec{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z}

is called the divergence of the vector field F⃗\vec{F} at the point (x,y,z)(x,y,z), written ∇⋅F⃗\nabla \cdot \vec{F} or div F⃗\text{div}\, \vec{F}.

The Physical Meaning of the Divergence

The Divergence and the Gauss Theorem

Gauss’s theorem can be written concisely in terms of the divergence:

∯ΣF⃗⋅dS⃗=∭Ω(∇⋅F⃗) dv\oiint_\Sigma \vec{F} \cdot d\vec{S} = \iiint_\Omega (\nabla \cdot \vec{F}) \, dv

That is: the flux through the closed surface = the volume integral of the divergence over the region.

The Curl

The Definition of the Curl

Curl

Suppose the vector field F⃗(x,y,z)=Pi⃗+Qj⃗+Rk⃗\vec{F}(x,y,z) = P\vec{i} + Q\vec{j} + R\vec{k}, where P,Q,RP, Q, R have continuous first-order partial derivatives. Then the vector

∇×F⃗=∣i⃗j⃗k⃗∂∂x∂∂y∂∂zPQR∣=(∂R∂y−∂Q∂z)i⃗+(∂P∂z−∂R∂x)j⃗+(∂Q∂x−∂P∂y)k⃗\nabla \times \vec{F} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\ P & Q & R \end{vmatrix} = \left( \frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z} \right)\vec{i} + \left( \frac{\partial P}{\partial z} - \frac{\partial R}{\partial x} \right)\vec{j} + \left( \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} \right)\vec{k}

is called the curl of the vector field F⃗\vec{F} at the point (x,y,z)(x,y,z), written ∇×F⃗\nabla \times \vec{F} or rot F⃗\text{rot}\, \vec{F} (or curl F⃗\text{curl}\, \vec{F}).

The Physical Meaning of the Curl

The Curl and Stokes’s Theorem

Stokes’s theorem can be written concisely in terms of the curl:

∮LF⃗⋅dr⃗=∬Σ(∇×F⃗)⋅dS⃗\oint_L \vec{F} \cdot d\vec{r} = \iint_\Sigma (\nabla \times \vec{F}) \cdot d\vec{S}

That is: the circulation around a closed curve = the flux of the curl through a surface bounded by that curve.

The Operational Properties of the Three Operators

The Operational Properties of the Gradient

  1. ∇(cu)=c∇u\nabla(cu) = c\nabla u (cc a constant)
  2. ∇(u±v)=∇u±∇v\nabla(u \pm v) = \nabla u \pm \nabla v
  3. ∇(uv)=u∇v+v∇u\nabla(uv) = u\nabla v + v\nabla u
  4. ∇(uv)=v∇u−u∇vv2\nabla\left(\frac{u}{v}\right) = \frac{v\nabla u - u\nabla v}{v^2}
  5. ∇f(u)=f′(u)∇u\nabla f(u) = f'(u)\nabla u (a composite function)

The Operational Properties of the Divergence

  1. ∇⋅(cF⃗)=c∇⋅F⃗\nabla \cdot (c\vec{F}) = c\nabla \cdot \vec{F}
  2. ∇⋅(F⃗±G⃗)=∇⋅F⃗±∇⋅G⃗\nabla \cdot (\vec{F} \pm \vec{G}) = \nabla \cdot \vec{F} \pm \nabla \cdot \vec{G}
  3. ∇⋅(uF⃗)=u∇⋅F⃗+∇u⋅F⃗\nabla \cdot (u\vec{F}) = u\nabla \cdot \vec{F} + \nabla u \cdot \vec{F}

The Operational Properties of the Curl

  1. ∇×(cF⃗)=c∇×F⃗\nabla \times (c\vec{F}) = c\nabla \times \vec{F}
  2. ∇×(F⃗±G⃗)=∇×F⃗±∇×G⃗\nabla \times (\vec{F} \pm \vec{G}) = \nabla \times \vec{F} \pm \nabla \times \vec{G}
  3. ∇×(uF⃗)=u∇×F⃗+∇u×F⃗\nabla \times (u\vec{F}) = u\nabla \times \vec{F} + \nabla u \times \vec{F}

The Important Identities of the Second-Order Operators

Theorem1
  1. The curl of a gradient is zero: ∇×(∇u)=0⃗\nabla \times (\nabla u) = \vec{0} (every gradient field is irrotational)

  2. The divergence of a curl is zero: ∇⋅(∇×F⃗)=0\nabla \cdot (\nabla \times \vec{F}) = 0 (every curl field is solenoidal)

  3. The Laplacian: ∇⋅(∇u)=∇2u=∂2u∂x2+∂2u∂y2+∂2u∂z2\nabla \cdot (\nabla u) = \nabla^2 u = \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} + \frac{\partial^2 u}{\partial z^2}

Worked Examples

Example 1: Computing the Gradient, the Divergence and the Curl

Let u=x2+y2+z2u = x^2 + y^2 + z^2 and F⃗=(x2y,y2z,z2x)\vec{F} = (x^2y, y^2z, z^2x). Find ∇u\nabla u, ∇⋅F⃗\nabla \cdot \vec{F} and ∇×F⃗\nabla \times \vec{F}.

the gradientthe divergencethe curlcomputation

Approach:

Compute the partial derivatives directly by the definitions.

Steps:

  1. The gradient: ∇u=(∂u∂x,∂u∂y,∂u∂z)=(2x,2y,2z)\nabla u = (\frac{\partial u}{\partial x}, \frac{\partial u}{\partial y}, \frac{\partial u}{\partial z}) = (2x, 2y, 2z)
  2. The divergence: ∇⋅F⃗=∂∂x(x2y)+∂∂y(y2z)+∂∂z(z2x)=2xy+2yz+2zx\nabla \cdot \vec{F} = \frac{\partial}{\partial x}(x^2y) + \frac{\partial}{\partial y}(y^2z) + \frac{\partial}{\partial z}(z^2x) = 2xy + 2yz + 2zx
  3. The curl: ∂R∂y−∂Q∂z=∂∂y(z2x)−∂∂z(y2z)=0−y2=−y2\frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z} = \frac{\partial}{\partial y}(z^2x) - \frac{\partial}{\partial z}(y^2z) = 0 - y^2 = -y^2 ∂P∂z−∂R∂x=∂∂z(x2y)−∂∂x(z2x)=0−z2=−z2\frac{\partial P}{\partial z} - \frac{\partial R}{\partial x} = \frac{\partial}{\partial z}(x^2y) - \frac{\partial}{\partial x}(z^2x) = 0 - z^2 = -z^2 ∂Q∂x−∂P∂y=∂∂x(y2z)−∂∂y(x2y)=0−x2=−x2\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = \frac{\partial}{\partial x}(y^2z) - \frac{\partial}{\partial y}(x^2y) = 0 - x^2 = -x^2 ∇×F⃗=(−y2,−z2,−x2)\nabla \times \vec{F} = (-y^2, -z^2, -x^2)

Answer: ∇u=(2x,2y,2z)\nabla u = (2x,2y,2z), ∇⋅F⃗=2(xy+yz+zx)\nabla \cdot \vec{F} = 2(xy+yz+zx), and ∇×F⃗=(−y2,−z2,−x2)\nabla \times \vec{F} = (-y^2,-z^2,-x^2)

Example 2: Verifying an Identity

Verify ∇×(∇u)=0⃗\nabla \times (\nabla u) = \vec{0}, where u=xyzu = xyz.

the gradientthe curlverifying an identitymixed partial derivatives

Approach:

First compute the gradient, then the curl, and use the equality of the mixed partial derivatives.

Steps:

  1. ∇u=(∂u∂x,∂u∂y,∂u∂z)=(yz,xz,xy)\nabla u = (\frac{\partial u}{\partial x}, \frac{\partial u}{\partial y}, \frac{\partial u}{\partial z}) = (yz, xz, xy)
  2. ∇×(∇u)=∇×(yz,xz,xy)\nabla \times (\nabla u) = \nabla \times (yz, xz, xy)
  3. The xx-component: ∂∂y(xy)−∂∂z(xz)=x−x=0\frac{\partial}{\partial y}(xy) - \frac{\partial}{\partial z}(xz) = x - x = 0
  4. The yy-component: ∂∂z(yz)−∂∂x(xy)=y−y=0\frac{\partial}{\partial z}(yz) - \frac{\partial}{\partial x}(xy) = y - y = 0
  5. The zz-component: ∂∂x(xz)−∂∂y(yz)=z−z=0\frac{\partial}{\partial x}(xz) - \frac{\partial}{\partial y}(yz) = z - z = 0
  6. Hence ∇×(∇u)=(0,0,0)=0⃗\nabla \times (\nabla u) = (0,0,0) = \vec{0}

Answer: the identity is verified, ∇×(∇u)=0⃗\nabla \times (\nabla u) = \vec{0}.

Example 3: The Curl of a Rigid Body Rotation

Suppose a rigid body rotates about the zz-axis with angular velocity ω⃗=(0,0,ω)\vec{\omega} = (0, 0, \omega), and the velocity field is v⃗=ω⃗×r⃗=(−ωy,ωx,0)\vec{v} = \vec{\omega} \times \vec{r} = (-\omega y, \omega x, 0). Find the curl ∇×v⃗\nabla \times \vec{v}.

the curla rigid body rotationthe angular velocityphysical meaning

Approach:

Compute the curl directly, and verify that it equals twice the angular velocity.

Steps:

  1. v⃗=(−ωy,ωx,0)\vec{v} = (-\omega y, \omega x, 0), that is, P=−ωy, Q=ωx, R=0P = -\omega y, \, Q = \omega x, \, R = 0
  2. The xx-component: ∂R∂y−∂Q∂z=0−0=0\frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z} = 0 - 0 = 0
  3. The yy-component: ∂P∂z−∂R∂x=0−0=0\frac{\partial P}{\partial z} - \frac{\partial R}{\partial x} = 0 - 0 = 0
  4. The zz-component: ∂Q∂x−∂P∂y=ω−(−ω)=2ω\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} = \omega - (-\omega) = 2\omega
  5. ∇×v⃗=(0,0,2ω)=2ω⃗\nabla \times \vec{v} = (0, 0, 2\omega) = 2\vec{\omega}

Answer: ∇×v⃗=2ω⃗\nabla \times \vec{v} = 2\vec{\omega}; the curl equals twice the angular velocity, and its direction is along the axis of rotation.


Exercises

Exercise 1

Let u=exyzu = e^{xyz}. Find ∇u\nabla u.

the gradienta composite functionthe exponential function

Approach:

Use the rule for differentiating a composite function.

Steps:

  1. ∂u∂x=exyz⋅yz\frac{\partial u}{\partial x} = e^{xyz} \cdot yz, ∂u∂y=exyz⋅xz\frac{\partial u}{\partial y} = e^{xyz} \cdot xz and ∂u∂z=exyz⋅xy\frac{\partial u}{\partial z} = e^{xyz} \cdot xy
  2. ∇u=exyz(yz,xz,xy)\nabla u = e^{xyz}(yz, xz, xy)

Answer: ∇u=exyz(yz,xz,xy)\nabla u = e^{xyz}(yz, xz, xy)

Exercise 2

Let F⃗=(x2,y2,z2)\vec{F} = (x^2, y^2, z^2). Find the divergence and the curl, and interpret the results.

the divergencethe curla physical interpretation

Approach:

Compute both operators by the definitions, and then interpret them.

Steps:

  1. The divergence: ∇⋅F⃗=∂x2∂x+∂y2∂y+∂z2∂z=2x+2y+2z\nabla \cdot \vec{F} = \frac{\partial x^2}{\partial x} + \frac{\partial y^2}{\partial y} + \frac{\partial z^2}{\partial z} = 2x + 2y + 2z
  2. The curl: the xx-component is ∂R∂y−∂Q∂z=0−0=0\frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z} = 0 - 0 = 0, and similarly the other components are 0
  3. Hence ∇×F⃗=0⃗\nabla \times \vec{F} = \vec{0}
  4. The interpretation: the vector field is irrotational (the curl vanishes), so it is a gradient field; indeed F⃗=∇(x3+y3+z33)\vec{F} = \nabla\left(\frac{x^3+y^3+z^3}{3}\right)
  5. The divergence 2(x+y+z)2(x+y+z) is positive in the octant x,y,z>0x,y,z>0, so there the field is a source, and it is a sink in the octant x,y,z<0x,y,z<0

Answer: ∇⋅F⃗=2(x+y+z)\nabla \cdot \vec{F} = 2(x+y+z) and ∇×F⃗=0⃗\nabla \times \vec{F} = \vec{0}


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
∇\nablaNabla operatornabla / delThe vector differential operator
∇u\nabla uGradientgradientThe gradient of the scalar function uu
∇⋅F⃗\nabla \cdot \vec{F}DivergencedivergenceThe divergence of the vector field
∇×F⃗\nabla \times \vec{F}Curlcurl / rotationThe curl of the vector field
∇2u\nabla^2 uLaplacianLaplacian∂2u∂x2+∂2u∂y2+∂2u∂z2\frac{\partial^2 u}{\partial x^2}+\frac{\partial^2 u}{\partial y^2}+\frac{\partial^2 u}{\partial z^2}
P,Q,RP, Q, RComponentscomponentsThe components of the vector field
ϕ\phiPotentialpotentialThe potential function
UUPotential energypotential energyThe potential energy function

Key Terms

English termPronunciationNote
gradient/ˈɡreɪdiənt/the vector in the direction of the fastest change of a scalar field
divergence/daɪˈvɜːrdʒəns/the degree to which the vector field spreads out (a scalar)
curl / rotation/kɜːrl/ /roʊˈteɪʃən/the degree of rotation of the vector field (a vector)
Hamiltonian operator / nabla/ˌhæmɪlˈtoʊniən ˈɒpəreɪtər/the nabla operator, ∇\nabla
Laplacian/ləˈplɑːsiən/the divergence of the gradient, ∇2\nabla^2
directional derivative/dɪˈrɛkʃənəl dɪˈrɪvətɪv/the rate of change of the function along a given direction
level surface/ˈlɛvəl ˈsɜːrfɪs/the surface formed by the points at which the function takes equal values
source/sɔːrs/a point at which the divergence is positive
sink/sɪŋk/a point at which the divergence is negative
irrotational field/ˌɪrəʊˈteɪʃənəl fiːld/a vector field with zero curl
source-free field/sɔːrs friː fiːld/a vector field with zero divergence

Found an issue with this content?

Tell us what could be improved.