Gradient Vector
The Chain Rule for Paths
Given a function
Now, recall from the chain rule for single variable functions. We can generalize this for multivariable functions as well:
Suppose that
By setting
Determine the value of
solution
Using the chain rule,
Therefore
The Gradient Vector
We define the gradient vector as:
or
etc.
We define the gradient vector of
read "grad
We can re-write the chain rule with the gradient vector:
The chain rule for paths can also be written:
We can also re-write the equation of a tangent plane:
Interpretation of the Gradient Vector Itself
How do we determine the maximum and minimum steepness of a certain surface? Recall the dot product is really the magnitude of a projection:
Max steepness:
Max negative steepness:
Zero steepness:
This means that when
- In the direction of
, slope is max positive, . - In the direction of
, the slope is min - Along contour lines/level curves:
The gradient vector
Height of a (very high) mountain is modelled by:
At the point
solution
Gradient:
The stream is flowing in the opposite direction (our vector currently points towards the centre going up):
Note that the units are of
Gradient vector can also be used to visualize a surface. Each vector represents the slope of the surface at that point
Give the "vector representation" of the following function:
solution
This is the contour plot:
Now, if we chose a bunch of points and plot this vector, we get something like this: