Gradient, Divergence and Curl: the Basics

We first consider the position vector, r:

r = x x + y y + z z ,

where x, y, and z are rectangular unit vectors. Since the unit vectors for rectangular coordinates are constants, we have for dr:

dr = dx x + dy y + dz z

The operator, del: Ñ is defined to be (in rectangular coordinates) as:

Ñ = /x x + /y y + /z z ,

This operator operates as a vector.

 

1. Gradient

If the del operator, Ñ operates on a scalar function, f(x,y,z), we get the gradient

Ñf = (f/x) x + (f/y) y + (f/z) z .

We can interpret this gradient as a vector with the magnitude and direction of the maximum change of the function in space. We can relate the gradient to the differential change in the function: 

df = (f/x) dx + (f/y) dy + (f/z) dz = Ñf · dr = df

Since the del operator should be treated as a vector, there are two ways for a vector to multiply another vector: dot product and cross product. We first consider the dot product:

 

2. Divergence

The divergence of a vector is defined to be:

Ñ · A = [ /x x + /y y + /z z] · [Ax x + Ay y + Az z]

= (Ax /x) + (Ay /y) + (Az /z) ;

since the rectangular unit vectors are constant, x/x = 0 (etc.). This will not necessarily be true for other unit vectors in other coordinate systems. We'll see examples of this soon. 

To get some idea of what the divergence of a vector is, we consider Gauss' theorem (sometimes called the divergence theorem). We start with:

òòò Ñ · A dV = òòò [(Ax /x) + (Ay /y) + (Az /z)] dx dy dz = 

òòò [(Ax /x)dx dydz + (Ay /y)dy dxdz + (Az /z)dz dxdy] .

We can see that each term as written in the last expression gives the value of the change in vector A that cuts perpendicular through the surface. For instance, consider the first term: (Ax/x)dx dydz . The first part: (Ax/x)dx gives the change in the x-component of A and the second part, dydz, gives the yz surface (or x component of the surface, Sx) where we define the direction of the surface vector as that direction that is perpendicular to its surface. The other two terms give the change in the component of A that is perpendicular to the xz (Sy) and xy (Sz) surfaces. We thus can write:

òòò Ñ · A dV = òò closed surface A· dS

where the vector S is the surface area vector. Thus we see that the volume integral of the divergence of vector A is equal to the net amount of A that cuts through (or diverges from) the closed surface that surrounds the volume over which the volume integral is taken. Hence the name divergence for Ñ · A .

 

3. Curl

The curl of a vector is defined to be:

Ñ ´ A = [ /x x + /y y + /z z] ´ [Ax x + Ay y + Az z] =

(Ay /x)(z) + (Az /x)(-y) + (Ax/y)(-z) + (Az/y)(x) + (Ax/z)(y) + (Ay/z)(-x

= (Az/y - Ay/z) x + (Ax/z - Az /x) y + (Ay /x - Ax/y) z 

where we have used the fact that the unit vectors do not change with position (x/x = 0) and the fact that (x´ x=0 and x´ y=z, etc.). For other coordinate systems, unit vectors may change with position.

To see what the curl of a vector means, we use Stokes Theorem. We begin with:

òò surface (Ñ ´ A) · dS =

òò [(Az/y - Ay/z) x + (Ax/z - Az /x) y + (Ay /x - Ax/y) z ]· d[Sxx + Syy + Szz] 

= òò [(Az/y - Ay/z) dSx + (Ax/z - Az /x) dSy + (Ay /x - Ax/y) dSz] .

The dSx = dx*dy = dx dy, etc. However, we must worry about direction since x´ y = z but y´ x = -z. After taking this into account, we get:

òò (Ñ ´ A) · dS =

= òò [(Az/y + Ay/z) dydz + (Ax/z + Az /x) dxdz + (Ay /x + Ax/y) dxdy] .

Regrouping gives:

òò (Ñ ´ A) · dS = 

òò [Ax/z) dz + (Ax/y) dy] dx + [Ay/x) dx + (Ay/ z) dz] dy + [Az/y) dy + (Az/x) dx] dz . 

Now we note that dAx = (Ax/x)dx + (Ax/y)dy + (Ax/z)dz . In the above integration, x was held constant when we integrated over the other variables, so the (Ax/x)dx term is zero. Thus the above double integral becomes:

òò (Ñ ´ A) · dS = òò [dAx dx + dAy dy + dAz dz] = òclosed loop A· dr

If the integral around a closed loop is not zero, then that implies that there is some circulation of the vector field. Note that if the curl of the vector is zero everywhere, then there cannot be any circulation of the vector field anywhere in space. Hence the name of curl for Ñ ´ A .

We can see an immediate use for the curl if we recall our discussion about work. If the curl of a force field is zero, then the work done around a closed path must be zero regardless of the closed path chosen. This means that the work done between any two points must be path-independent! This then allows a potential energy change to be defined for this force that depends only on the beginning and ending points.

Return to PHYS 380 Outline