# 12 Differentiation of vectors

## Contents

# 12 Differentiation of vectors#

## 12.1 Del, div, grad, Laplacian, and curl#

There are four common vector operators involved in differentiation and the *del* operator. They are widely used in describing the physics of electrostatics, magnetism, and flowing liquids, and in the properties of fields in general. They are only infrequently met in chemistry or the biosciences. Only the briefest outline is given here; see a specialist text such as ‘Div, Grad, Curl and All That’ (Shey 1993) for more details. The *del* symbol \(\nabla\) is also called *nabla*.

## 12.2 Del, \(\nabla\)#

The _vector operator ‘del’ is defined in the \((\pmb{i, j, k})\) basis as

and the *gradient* or rate of change of a scalar function \(f(x,y,z)\) is the vector

## 12.3 Grad \(\nabla f\)#

The gradient is a vector that gives the maximum rate of change of a function f and its magnitude in a given direction. For example, if the function is \(f = \sin(x)yz^2\) then the rate of change is the vector

which can be resolved into components along the base vector’s \(\pmb{i, j, k}\) directions.

## 12.4 Div, \(\nabla \cdot v\)#

If a vector \(v\) is represented in the \((\pmb{i, j, k})\) basis as \(\pmb{v} = a\pmb{i} + b\pmb{j} + c\pmb{k}\) then the dot product with the vector \(\nabla\) is called the *divergence* and is a scalar defined as

and the \(a, b\), and \(c\) must depend on \(x, y\), and \(z\) otherwise the differential would be zero. The base vector multiplication rules are \(\pmb{i}\cdot \pmb{i}=1\) and similarly for \(\pmb{j}, \pmb{k}\) and product between different vectors are zero because these base vectors have unit length and are orthogonal, i.e. at right angles to one another.

Without specifying at what point we want the gradient to be calculated, the calculation cannot be continued further as was the case \(\nabla f\) calculated above. Suppose that the function is again \(f = \sin(x)yz^2\) and the point is \((\pi/2, 2, 3)\) then the gradient, or rate of change at this point, is the vector \(\nabla f = 0\pmb{i} + 9\pmb{j} + 12\pmb{k}\); its magnitude is the absolute value of the vector which is \(\sqrt{81 + 144} = 15\). Furthermore suppose that we want the gradient from our point in the direction towards the origin \((0,0,0)\). The vector to the origin is \(\pmb{v} = -(\pi/2)\pmb{i} - 2\pmb{j} - 3\pmb{k}\) which has magnitude \(\sqrt{\pi^2/4+4+9}\). To make it a unit vector \(\pmb{u}\), it is divided by its length

The magnitude of the rate of change is therefore

and lies in the direction given by \(\nabla f = 0\pmb{i} + 9\pmb{j} + 12\pmb{k}\), and the maximum rate of change is the size of this vector which is \(15\).

## 12.5 Laplacian, \(\nabla\cdot\nabla f\)#

The dot product of the operator del with itself is a scalar function called the *Laplacian*, which is

## 12.6 Curl, \(\nabla \times \pmb{v}\)#

The cross product of del with a vector \(v\) is a vector called the curl

This vector is best left as a determinant in which form it is easier to remember.