1 The gradient of a scalar field
Consider the height above sea level at various points on a hill. Some contours for such a hill are shown in Figure 14.
Figure 14:
We are interested in how changes from one point to another. Starting from and making a displacement the change in height ( ) depends on the direction of the displacement. The magnitude of each is the same.
Displacement | Change in |
The change in clearly depends on the direction of the displacement. For the paths shown increases most rapidly along , does not increase at all along (as and are both on the same contour and so are both at the same height) and decreases along .
The direction in which changes fastest is along the line of greatest slope which is orthogonal (i.e. perpendicular) to the contours. Hence, at each point of a scalar field we can define a vector field giving the magnitude and direction of the greatest rate of change of locally.
A vector field, called the gradient, written grad , can be associated with a scalar field so that at every point the direction of the vector field is orthogonal to the scalar field contour which is the direction of the maximum rate of change of .
For a second example consider a metal plate heated at one corner and cooled by an ice bag at the opposite corner. All edges and surfaces are insulated. After a while a steady state situation exists in which the temperature at any point remains the same. Some temperature contours are shown in Figure 15.
Figure 15:
The direction of the heat flow is along the flow lines which are orthogonal to the contours (see the dashed lines in Figure 15(b)); this heat flow is proportional to = grad .
Definition
The gradient of the scalar field
is
Often, instead of grad
,
the notation
is used. (
is a vector differential operator called ‘del’ or ‘nabla’ defined by
. As a
vector differential operator, it retains the characteristics of a vector while also carrying out
differentiation.)
The vector grad
gives the magnitude and direction of the greatest rate of change of
at any point, and is always orthogonal to the contours of
. For example, in Figure
14, grad
points in the
direction of
while the
contour line is parallel to
i.e. perpendicular to
.
Similarly, in Figure 15(b), the various intersections of the contours with the lines representing
grad
occur at right-angles.
For the hill considered earlier the direction and magnitude of grad
are shown at various points in Figure 16. Note that the magnitude of grad
is
greatest (as indicated by the length of the arrow) when the hill is at its steepest (as indicated
by the closeness of the contours).
Figure 16:
Key Point 3
is a scalar field but grad is a vector field.
Example 9
Find grad for
Solution
- grad
- grad
Example 10
For find grad at the point . Show that the direction of grad is orthogonal to the contour at this point.
Solution
and at this equals .
Since then the contours are defined by constant, so the contours are circles centred at the origin. The vector grad at points directly away from the origin and hence grad and the contour are orthogonal; see Figure 17. Note that .
Figure 17:
The change in a function in a given direction (specified as a unit vector ) is determined from the scalar product . This scalar quantity is called the directional derivative.
Note:
- along a contour implies is perpendicular to which implies .
- perpendicular to a contour implies is a maximum.
Task!
Given , find
- grad
- grad at and a unit vector in this direction.
-
the derivative of
at
in
the direction of
-
At
,
grad
A unit vector in this direction is -
At
,
grad
-
To find the derivative of
in the direction of
take the scalar product
. So the derivative in the direction of is 4. -
To find the derivative of
in the direction of
take the scalar product
.So the derivative in the direction of is .
-
To find the derivative of
in the direction of
take the scalar product
Exercises
-
Find grad
for the following scalar fields
- .
- ,
- .
-
Find grad
for each of the following two-dimensional scalar fields given that
and
(you should express
your answer in terms of
).
- ,
- ,
- ,
- .
-
If
,
find,
- a unit vector normal to the contour at the point .
- the rate of change of at in the direction of .
- the rate of change of at in the direction of the unit vector .
- Find a unit vector which is normal to the sphere at the point .
- Find unit vectors normal to and . Hence find the angle between the curves and at their point of intersection in the first quadrant.
-
-
- ,
- ,
- ,
-
- ,
- ,
- ,
-
The vector field
where
is
The value that this vector field takes at the point is which is a vector normal to the sphere.
Dividing this vector by its magnitude forms a unit vector: - or (intersect at ) [At intersection, grad and grad ]