Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
k .
It is usual to dene the vector operator which is called del or nabla
=
x
+
y
+
k
z
.
Then
gradU U .
Note immediately that U is a vector eld!
Without thinking too carefully about it, we can see that the gradient of a scalar
eld tends to point in the direction of greatest change of the eld. Later we will
be more precise.
Worked examples of gradient evaluation
1. U = x
2
U =
_
x
+
y
+
z
k
_
x
2
= 2x .
2. U = r
2
r
2
= x
2
+ y
2
+ z
2
U =
_
x
+
y
+
z
k
_
(x
2
+ y
2
+ z
2
)
= 2x + 2y + 2z
k = 2 r .
3. U = c r, where c is constant.
U =
_
x
+
y
+
k
z
_
(c
1
x + c
2
y + c
3
z) = c
1
+c
2
+c
3
k = c .
5/3
4. U = f(r), where r =
_
(x
2
+ y
2
+ z
2
)
U is a function of r alone so df/dr exists. As U = f(x, y, z) also,
f
x
=
df
dr
r
x
f
y
=
df
dr
r
y
f
z
=
df
dr
r
z
.
U =
f
x
+
f
y
+
f
z
k =
df
dr
_
r
x
+
r
y
+
r
z
k
_
But r =
_
x
2
+ y
2
+ z
2
, so r/x = x/r and similarly for y, z.
U =
df
dr
_
x + y + z
k
r
_
=
df
dr
_
r
r
_
.
5.2 The signicance of grad
If our current position is r in some scalar eld U (Fig. 5.1), and we move an
innitesimal distance dr, we know that the change in U is
dU =
U
x
dx +
U
y
dy +
U
z
dz .
But we know that dr = (dx + dy +
kdz) and U = (U/x + U/y +
x
+
y
+
k
z
_
a = a
Notice that the divergence of a vector eld is a scalar eld.
5/6
Examples of divergence evaluation
a diva
1) x 1
2) r(= x + y + z
k) 3
3) r/r
3
0
4) rc, for c constant (r c)/r
We work through example 3).
The x component of r/r
3
is x.(x
2
+ y
2
+ z
2
)
3/2
, and we need to nd /x of it.
x
x.(x
2
+ y
2
+ z
2
)
3/2
= 1.(x
2
+ y
2
+ z
2
)
3/2
+ x
3
2
(x
2
+ y
2
+ z
2
)
5/2
.2x
= r
3
_
1 3x
2
r
2
_
.
The terms in y and z are similar, so that
div(r/r
3
) = r
3
_
3 3(x
2
+ y
2
+ z
2
)r
2
_
= r
3
(3 3)
= 0
5.4 The signicance of div
Consider a typical vector eld, water ow, and denote it by a(r). This vector has
magnitude equal to the mass of water crossing a unit area perpendicular to the
direction of a per unit time.
Now take an innitesimal volume element dV and gure out the balance of the
ow of a in and out of dV .
To be specic, consider the volume element dV = dxdydz in Cartesian co-
ordinates, and think rst about the face of area dxdz perpendicular to the y
axis and facing outwards in the negative y direction. (That is, the one with
surface area dS = dxdz .)
The component of the vector a normal to this face is a = a
y
, and is pointing
inwards, and so the its contribution to the OUTWARD ux from this surface is
a dS = a
y
(y)dzdx ,
where a
y
(y) means that a
y
is a function of y. (By the way, ux here denotes
mass per unit time.)
5/7
dS =
dS =
j
z
x
y
dz
dx
dy
j dxdz +dxdz
Figure 5.2: Elemental volume for calculating divergence.
A similar contribution, but of opposite sign, will arise from the opposite face,
but we must remember that we have moved along y by an amount dy, so that
this OUTWARD amount is
a
y
(y + dy)dzdx =
_
a
y
+
a
y
y
dy
_
dxdz
The total outward amount from these two faces is
a
y
y
dydxdz =
a
y
y
dV
Summing the other faces gives a total outward ux of
_
a
x
x
+
a
y
y
+
a
z
z
_
dV = a dV
So we see that
The divergence of a vector eld represents the ux generation per unit
volume at each point of the eld. (Divergence because it is an efux not
an inux.)
Interestingly we also saw that the total efux from the innitesimal volume was
equal to the ux integrated over the surface of the volume.
5/8
(NB: The above does not constitute a rigorous proof of the assertion because we
have not proved that the quantity calculated is independent of the co-ordinate
system used, but it will sufce for our purposes.)
5.5 The Laplacian: div(gradU) of a scalar eld
Recall that gradU of any scalar eld U is a vector eld. Recall also that we
can compute the divergence of any vector eld. So we can certainly compute
div(gradU), even if we dont know what it means yet.
Here is where the operator starts to be really handy.
(U) =
_
x
+
y
+
k
z
_
__
x
+
y
+
k
z
_
U
_
=
__
x
+
y
+
k
z
_
x
+
y
+
k
z
__
U
=
_
2
x
2
+
2
y
2
+
2
z
2
_
U
=
_
2
U
x
2
+
2
U
y
2
+
2
U
z
2
_
This last expression occurs frequently in engineering science (you will meet it
next in solving Laplaces Equation in partial differential equations). For this
reason, the operator
2
is called the Laplacian
2
U =
_
2
x
2
+
2
y
2
+
2
z
2
_
U
Laplaces equation itself is
2
U = 0
5/9
Examples of
2
U evaluation
U
2
U
1) r
2
(= x
2
+ y
2
+ z
2
) 6
2) xy
2
z
3
2xz
3
+ 6xy
2
z
3) 1/r 0
Lets prove example (3) (which is particularly signicant can you guess why?).
1/r = (x
2
+ y
2
+ z
2
)
1/2
x
(x
2
+ y
2
+ z
2
)
1/2
=
x
x.(x
2
+ y
2
+ z
2
)
3/2
= (x
2
+ y
2
+ z
2
)
3/2
+ 3x.x.(x
2
+ y
2
+ z
2
)
5/2
= (1/r
3
)(1 + 3x
2
/r
2
)
Adding up similar terms for y and z
2
1
r
=
1
r
3
_
3 + 3
(x
2
+ y
2
+ x
2
)
r
2
_
= 0
5.6 The curl of a vector eld
So far we have seen the operator applied to a scalar eld U; and dotted
with a vector eld a.
We are now overwhelmed by an irrestible temptation to
cross it with a vector eld a
This gives the curl of a vector eld
a curl(a)
We can follow the pseudo-determinant recipe for vector products, so that
a =
z
a
x
a
y
a
z
k
5/10
Examples of curl evaluation
a a
1) y + x 2
k
2) x
2
y
2
k 2x
2
y 2xy
2
5.7 The signcance of curl
Perhaps the rst example gives a clue. The eld a = y + x is sketched in
Figure 5.3(a). (It is the eld you would calculate as the velocity eld of an
object rotating with = [0, 0, 1].) This eld has a curl of 2
__
a
x
(y) +
a
x
y
dy
_
dx
_
[a
y
(x) dy]
=
_
a
y
x
a
x
y
_
dx dy
= (a) dS
where dS = dxdy
k.
NB: Again, this is not a completely rigorous proof as we have not shown that
the result is independent of the co-ordinate system used.
5.8 Some denitions involving div, curl and grad
A vector eld with zero divergence is said to be solenoidal.
A vector eld with zero curl is said to be irrotational.
A scalar eld with zero gradient is said to be, er, constant.
Revised Oct 2005