You’ve studied partial differentiation in MATH102. We’ll use the same notation for partial derivatives , as used in MATH102.
Example. . Then
For a function from to , the vector-valued function is called the gradient vector of , denoted or grad .
Example. Let . Then
One partial derivative zero. If and throughout the plane (or some region such as a rectangle or a circle), then, of course, does not vary with , so it is constant along horizontal lines and is actually a function of only. In other words, for some function of one variable. Similarly, if is a function of and throughout a region, then it equals for some function of two variables.
First order approximation to the variation of .
If is a function of only, then, by the very meaning of differentiation, for small , with error small compared to . Suppose now that is a function of and , and that and exist and vary continuously. By the principle just stated, applied twice, we have
By adding these two statements, we obtain the following approximation to the change in , :
in which and are evaluated at , and the error is small compared to and .
Similarly, for a function of three variables,
Curves
Suppose that and both lie on the curve . Then , so by (*), for small and . But this is exactly the same thing as saying . We therefore have the following theorem:
The vector is normal to the curve at the point .
In other words, if then there exists a tangent line to the curve at , and is perpendicular to it.
We can (almost always) use this to determine an equation for the tangent to the curve at .
Determine the equation of the tangent line to the curve at the point .
We calculate : , so . Thus is normal to the curve at . In particular, the equation of the tangent line is:
so .
Remark. If then we can’t define the tangent line to the curve at . This can happen for a variety of reasons, none of which will be discussed in this course.
Example 3.5. The ellipse .
The gradient at is
Hence at is , and the tangent at is
Alternatively, we can describe the ellipse via the parametrized curve , . Then . Since , we have:
Thus is a tangent vector to the curve at . In particular, another way of writing the tangent line is: .
It is straightforward to check that this really does give the same line as the equation .
Surfaces
Suppose that and lie on the surface , so that is a displacement within the surface. By (**),
Hence we have the analogous statement to Thm. 3.3:
Let be a point on the surface . Then is normal to the surface at . Thus if then there exist a normal line and a tangent plane to the surface at ; the normal line is given by , and the tangent plane is given by the equation:
Note once again that whereas lines in can be given by an equation of the form , an equation in of the form describes a plane; a normal vector to this plane is . If we are given a normal vector and a vector in the plane, then the equation of the plane is: .
Example 3.7. Find the normal line and tangent plane to the surface at .
The surface is , where .
Example: the gradient of and functions of
Let and
, the distance to the origin,
, the unit vector in the direction of .
Proposition: We have . Also, .
Proof. By the (one-dimensional) chain rule,
and similarly for and . Also,
An important special case is:
which is the gravitational force exerted at by a mass at the origin (see Examples 3.1 and 3.2).