# Del

(Redirected from Divergence operator)
Del operator,
represented by
the nabla symbol

Del, or nabla, is an operator used in mathematics, in particular in vector calculus, as a vector differential operator, usually represented by the nabla symbol . When applied to a function defined on a one-dimensional domain, it denotes its standard derivative as defined in calculus. When applied to a field (a function defined on a multi-dimensional domain), it may denote the gradient (locally steepest slope) of a scalar field (or sometimes of a vector field, as in the Navier–Stokes equations), the divergence of a vector field, or the curl (rotation) of a vector field, depending on the way it is applied.

Strictly speaking, del is not a specific operator, but rather a convenient mathematical notation for those three operators, that makes many equations easier to write and remember. The del symbol can be interpreted as a vector of partial derivative operators, and its three possible meanings—gradient, divergence, and curl—can be formally viewed as the product with a scalar, a dot product, and a cross product, respectively, of the del "operator" with the field. These formal products do not necessarily commute with other operators or products. These three uses, detailed below, are summarized as:

• Gradient: ${\displaystyle \operatorname {grad} f=\nabla f}$
• Divergence: ${\displaystyle \operatorname {div} {\vec {v}}=\nabla \cdot {\vec {v}}}$
• Curl: ${\displaystyle \operatorname {curl} {\vec {v}}=\nabla \times {\vec {v}}}$

## Definition

In the Cartesian coordinate system Rn with coordinates ${\displaystyle (x_{1},\dots ,x_{n})}$ and standard basis ${\displaystyle \{{\vec {e}}_{1},\dots ,{\vec {e}}_{n}\}}$, del is defined in terms of partial derivative operators as

${\displaystyle \nabla =\left({\partial \over \partial x_{1}},\ldots ,{\partial \over \partial x_{n}}\right)=\sum _{i=1}^{n}{\vec {e}}_{i}{\partial \over \partial x_{i}}}$

In three-dimensional Cartesian coordinate system R3 with coordinates ${\displaystyle (x,y,z)}$ and standard basis ${\displaystyle \{{\vec {e}}_{x},{\vec {e}}_{y},{\vec {e}}_{z}\}}$, del is written as

${\displaystyle \nabla =\left({\partial \over \partial x},{\partial \over \partial y},{\partial \over \partial z}\right)={\vec {e}}_{x}{\partial \over \partial x}+{\vec {e}}_{y}{\partial \over \partial y}+{\vec {e}}_{z}{\partial \over \partial z}}$

Del can also be expressed in other coordinate systems, see for example del in cylindrical and spherical coordinates.

## Notational uses

Del is used as a shorthand form to simplify many long mathematical expressions. It is most commonly used to simplify expressions for the gradient, divergence, curl, directional derivative, and Laplacian.

The vector derivative of a scalar field ${\displaystyle f}$ is called the gradient, and it can be represented as:

${\displaystyle \operatorname {grad} f={\partial f \over \partial x}{\vec {e}}_{x}+{\partial f \over \partial y}{\vec {e}}_{y}+{\partial f \over \partial z}{\vec {e}}_{z}=\nabla f}$

It always points in the direction of greatest increase of ${\displaystyle f}$, and it has a magnitude equal to the maximum rate of increase at the point—just like a standard derivative. In particular, if a hill is defined as a height function over a plane ${\displaystyle h(x,y)}$, the 2d projection of the gradient at a given location will be a vector in the xy-plane (visualizable as an arrow on a map) pointing along the steepest direction. The magnitude of the gradient is the value of this steepest slope.

In particular, this notation is powerful because the gradient product rule looks very similar to the 1d-derivative case:

${\displaystyle \nabla (fg)=f\nabla g+g\nabla f}$

However, the rules for dot products do not turn out to be simple, as illustrated by:

${\displaystyle \nabla ({\vec {u}}\cdot {\vec {v}})=({\vec {u}}\cdot \nabla ){\vec {v}}+({\vec {v}}\cdot \nabla ){\vec {u}}+{\vec {u}}\times (\nabla \times {\vec {v}})+{\vec {v}}\times (\nabla \times {\vec {u}})}$

### Divergence

The divergence of a vector field ${\displaystyle {\vec {v}}(x,y,z)=v_{x}{\vec {e}}_{x}+v_{y}{\vec {e}}_{y}+v_{z}{\vec {e}}_{z}}$ is a scalar function that can be represented as:

${\displaystyle \operatorname {div} {\vec {v}}={\partial v_{x} \over \partial x}+{\partial v_{y} \over \partial y}+{\partial v_{z} \over \partial z}=\nabla \cdot {\vec {v}}}$

The divergence is roughly a measure of a vector field's increase in the direction it points; but more accurately, it is a measure of that field's tendency to converge toward or repel from a point.

The power of the del notation is shown by the following product rule:

${\displaystyle \nabla \cdot (f{\vec {v}})=f(\nabla \cdot {\vec {v}})+{\vec {v}}\cdot (\nabla f)}$

The formula for the vector product is slightly less intuitive, because this product is not commutative:

${\displaystyle \nabla \cdot ({\vec {u}}\times {\vec {v}})={\vec {v}}\cdot (\nabla \times {\vec {u}})-{\vec {u}}\cdot (\nabla \times {\vec {v}})}$

### Curl

The curl of a vector field ${\displaystyle {\vec {v}}(x,y,z)=v_{x}{\vec {e}}_{x}+v_{y}{\vec {e}}_{y}+v_{z}{\vec {e}}_{z}}$ is a vector function that can be represented as:

${\displaystyle \operatorname {curl} {\vec {v}}=\left({\partial v_{z} \over \partial y}-{\partial v_{y} \over \partial z}\right){\vec {e}}_{x}+\left({\partial v_{x} \over \partial z}-{\partial v_{z} \over \partial x}\right){\vec {e}}_{y}+\left({\partial v_{y} \over \partial x}-{\partial v_{x} \over \partial y}\right){\vec {e}}_{z}=\nabla \times {\vec {v}}}$

The curl at a point is proportional to the on-axis torque to which a tiny pinwheel would be subjected if it were centered at that point.

The vector product operation can be visualized as a pseudo-determinant:

${\displaystyle \nabla \times {\vec {v}}=\left|{\begin{matrix}{\vec {e}}_{x}&{\vec {e}}_{y}&{\vec {e}}_{z}\\[2pt]{\frac {\partial }{\partial x}}&{\frac {\partial }{\partial y}}&{\frac {\partial }{\partial z}}\\[2pt]v_{x}&v_{y}&v_{z}\end{matrix}}\right|}$

Again the power of the notation is shown by the product rule:

${\displaystyle \nabla \times (f{\vec {v}})=(\nabla f)\times {\vec {v}}+f(\nabla \times {\vec {v}})}$

Unfortunately the rule for the vector product does not turn out to be simple:

${\displaystyle \nabla \times ({\vec {u}}\times {\vec {v}})={\vec {u}}\,(\nabla \cdot {\vec {v}})-{\vec {v}}\,(\nabla \cdot {\vec {u}})+({\vec {v}}\cdot \nabla )\,{\vec {u}}-({\vec {u}}\cdot \nabla )\,{\vec {v}}}$

### Directional derivative

The directional derivative of a scalar field ${\displaystyle f(x,y,z)}$ in the direction ${\displaystyle {\vec {a}}(x,y,z)=a_{x}{\vec {e}}_{x}+a_{y}{\vec {e}}_{y}+a_{z}{\vec {e}}_{z}}$ is defined as:

${\displaystyle {\vec {a}}\cdot \operatorname {grad} f=a_{x}{\partial f \over \partial x}+a_{y}{\partial f \over \partial y}+a_{z}{\partial f \over \partial z}={\vec {a}}\cdot (\nabla f)}$

This gives the rate of change of a field ${\displaystyle f}$ in the direction of ${\displaystyle {\vec {a}}}$. In operator notation, the element in parentheses can be considered a single coherent unit; fluid dynamics uses this convention extensively, terming it the convective derivative—the "moving" derivative of the fluid.

Note that ${\displaystyle ({\vec {a}}\cdot \nabla )}$ is an operator that takes scalar to a scalar. It can be extended to operate on a vector, by separately operate on each of its components.

### Laplacian

The Laplace operator is a scalar operator that can be applied to either vector or scalar fields; for cartesian coordinate systems it is defined as:

${\displaystyle \Delta ={\partial ^{2} \over \partial x^{2}}+{\partial ^{2} \over \partial y^{2}}+{\partial ^{2} \over \partial z^{2}}=\nabla \cdot \nabla =\nabla ^{2}}$

and the definition for more general coordinate systems is given in vector Laplacian.

The Laplacian is ubiquitous throughout modern mathematical physics, appearing for example in Laplace's equation, Poisson's equation, the heat equation, the wave equation, and the Schrödinger equation.

### Tensor derivative

Del can also be applied to a vector field with the result being a tensor. The tensor derivative of a vector field ${\displaystyle {\vec {v}}}$ (in three dimensions) is a 9-term second-rank tensor – that is, a 3×3 matrix – but can be denoted simply as ${\displaystyle \nabla \otimes {\vec {v}}}$, where ${\displaystyle \otimes }$ represents the dyadic product. This quantity is equivalent to the transpose of the Jacobian matrix of the vector field with respect to space. The divergence of the vector field can then be expressed as the trace of this matrix.

For a small displacement ${\displaystyle \delta {\vec {r}}}$, the change in the vector field is given by:

${\displaystyle \delta {\vec {v}}=(\nabla \otimes {\vec {v}})\cdot \delta {\vec {r}}}$

## Product rules

For vector calculus:

{\displaystyle {\begin{aligned}\nabla (fg)&=f\nabla g+g\nabla f\\\nabla ({\vec {u}}\cdot {\vec {v}})&={\vec {u}}\times (\nabla \times {\vec {v}})+{\vec {v}}\times (\nabla \times {\vec {u}})+({\vec {u}}\cdot \nabla ){\vec {v}}+({\vec {v}}\cdot \nabla ){\vec {u}}\\\nabla \cdot (f{\vec {v}})&=f(\nabla \cdot {\vec {v}})+{\vec {v}}\cdot (\nabla f)\\\nabla \cdot ({\vec {u}}\times {\vec {v}})&={\vec {v}}\cdot (\nabla \times {\vec {u}})-{\vec {u}}\cdot (\nabla \times {\vec {v}})\\\nabla \times (f{\vec {v}})&=(\nabla f)\times {\vec {v}}+f(\nabla \times {\vec {v}})\\\nabla \times ({\vec {u}}\times {\vec {v}})&={\vec {u}}\,(\nabla \cdot {\vec {v}})-{\vec {v}}\,(\nabla \cdot {\vec {u}})+({\vec {v}}\cdot \nabla )\,{\vec {u}}-({\vec {u}}\cdot \nabla )\,{\vec {v}}\end{aligned}}}

For matrix calculus (for which ${\displaystyle {\vec {u}}\cdot {\vec {v}}}$ can be written ${\displaystyle {\vec {u}}^{\text{T}}{\vec {v}}}$):

{\displaystyle {\begin{aligned}(\mathbf {A} \nabla )^{\text{T}}{\vec {u}}&=\nabla ^{\text{T}}(\mathbf {A} ^{\text{T}}{\vec {u}})-(\nabla ^{\text{T}}\mathbf {A} ^{\text{T}}){\vec {u}}\end{aligned}}}

## Second derivatives

DCG chart: A simple chart depicting all rules pertaining to second derivatives. D, C, G, L and CC stand for divergence, curl, gradient, Laplacian and curl of curl, respectively. Arrows indicate existence of second derivatives. Blue circle in the middle represents curl of curl, whereas the other two red circles (dashed) mean that DD and GG do not exist.

When del operates on a scalar or vector, either a scalar or vector is returned. Because of the diversity of vector products (scalar, dot, cross) one application of del already gives rise to three major derivatives: the gradient (scalar product), divergence (dot product), and curl (cross product). Applying these three sorts of derivatives again to each other gives five possible second derivatives, for a scalar field f or a vector field v; the use of the scalar Laplacian and vector Laplacian gives two more:

{\displaystyle {\begin{aligned}\operatorname {div} (\operatorname {grad} f)&=\nabla \cdot (\nabla f)\\\operatorname {curl} (\operatorname {grad} f)&=\nabla \times (\nabla f)\\\Delta f&=\nabla ^{2}f\\\operatorname {grad} (\operatorname {div} {\vec {v}})&=\nabla (\nabla \cdot {\vec {v}})\\\operatorname {div} (\operatorname {curl} {\vec {v}})&=\nabla \cdot (\nabla \times {\vec {v}})\\\operatorname {curl} (\operatorname {curl} {\vec {v}})&=\nabla \times (\nabla \times {\vec {v}})\\\Delta {\vec {v}}&=\nabla ^{2}{\vec {v}}\end{aligned}}}

These are of interest principally because they are not always unique or independent of each other. As long as the functions are well-behaved, two of them are always zero:

{\displaystyle {\begin{aligned}\operatorname {curl} (\operatorname {grad} f)&=\nabla \times (\nabla f)=0\\\operatorname {div} (\operatorname {curl} {\vec {v}})&=\nabla \cdot \nabla \times {\vec {v}}=0\end{aligned}}}

Two of them are always equal:

${\displaystyle \operatorname {div} (\operatorname {grad} f)=\nabla \cdot (\nabla f)=\nabla ^{2}f=\Delta f}$

The 3 remaining vector derivatives are related by the equation:

${\displaystyle \nabla \times \left(\nabla \times {\vec {v}}\right)=\nabla (\nabla \cdot {\vec {v}})-\nabla ^{2}{\vec {v}}}$

And one of them can even be expressed with the tensor product, if the functions are well-behaved:

${\displaystyle \nabla (\nabla \cdot {\vec {v}})=\nabla \cdot (\nabla \otimes {\vec {v}})}$

## Precautions

Most of the above vector properties (except for those that rely explicitly on del's differential properties—for example, the product rule) rely only on symbol rearrangement, and must necessarily hold if the del symbol is replaced by any other vector. This is part of the value to be gained in notationally representing this operator as a vector.

Though one can often replace del with a vector and obtain a vector identity, making those identities mnemonic, the reverse is not necessarily reliable, because del does not commute in general.

A counterexample that relies on del's failure to commute:

{\displaystyle {\begin{aligned}({\vec {u}}\cdot {\vec {v}})f&\equiv ({\vec {v}}\cdot {\vec {u}})f\\(\nabla \cdot {\vec {v}})f&=\left({\frac {\partial v_{x}}{\partial x}}+{\frac {\partial v_{y}}{\partial y}}+{\frac {\partial v_{z}}{\partial z}}\right)f={\frac {\partial v_{x}}{\partial x}}f+{\frac {\partial v_{y}}{\partial y}}f+{\frac {\partial v_{z}}{\partial z}}f\\({\vec {v}}\cdot \nabla )f&=\left(v_{x}{\frac {\partial }{\partial x}}+v_{y}{\frac {\partial }{\partial y}}+v_{z}{\frac {\partial }{\partial z}}\right)f=v_{x}{\frac {\partial f}{\partial x}}+v_{y}{\frac {\partial f}{\partial y}}+v_{z}{\frac {\partial f}{\partial z}}\\\Rightarrow (\nabla \cdot {\vec {v}})f&\neq ({\vec {v}}\cdot \nabla )f\\\end{aligned}}}

A counterexample that relies on del's differential properties:

{\displaystyle {\begin{aligned}(\nabla x)\times (\nabla y)&=\left({\vec {e}}_{x}{\frac {\partial x}{\partial x}}+{\vec {e}}_{y}{\frac {\partial x}{\partial y}}+{\vec {e}}_{z}{\frac {\partial x}{\partial z}}\right)\times \left({\vec {e}}_{x}{\frac {\partial y}{\partial x}}+{\vec {e}}_{y}{\frac {\partial y}{\partial y}}+{\vec {e}}_{z}{\frac {\partial y}{\partial z}}\right)\\&=({\vec {e}}_{x}\cdot 1+{\vec {e}}_{y}\cdot 0+{\vec {e}}_{z}\cdot 0)\times ({\vec {e}}_{x}\cdot 0+{\vec {e}}_{y}\cdot 1+{\vec {e}}_{z}\cdot 0)\\&={\vec {e}}_{x}\times {\vec {e}}_{y}\\&={\vec {e}}_{z}\\({\vec {u}}x)\times ({\vec {u}}y)&=xy({\vec {u}}\times {\vec {u}})\\&=xy{\vec {0}}\\&={\vec {0}}\end{aligned}}}

Central to these distinctions is the fact that del is not simply a vector; it is a vector operator. Whereas a vector is an object with both a magnitude and direction, del has neither a magnitude nor a direction until it operates on a function.

For that reason, identities involving del must be derived with care, using both vector identities and differentiation identities such as the product rule.