Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

14.3: Partial Differentiation

( \newcommand{\kernel}{\mathrm{null}\,}\)

When we first considered what the derivative of a vector function might mean, there was really not much difficulty in understanding either how such a thing might be computed or what it might measure. In the case of functions of two variables, things are a bit harder to understand. If we think of a function of two variables in terms of its graph, a surface, there is a more-or-less obvious derivative-like question we might ask, namely, how "steep'' is the surface. But it's not clear that this has a simple answer, nor how we might proceed. We will start with what seem to be very small steps toward the goal; surprisingly, it turns out that these simple ideas hold the keys to a more general understanding.

alt

Figure : , cut by the plane .

Imagine a particular point on a surface; what might we be able to say about how steep it is? We can limit the question to make it more familiar: how steep is the surface in a particular direction? What does this even mean? Here's one way to think of it: Suppose we're interested in the point . Pick a straight line in the -\)y\) plane through the point , then extend the line vertically into a plane. Look at the intersection of the plane with the surface. If we pay attention to just the plane, we see the chosen straight line where the -axis would normally be, and the intersection with the surface shows up as a curve in the plane. Figure shows the parabolic surface from Figure , exposing its cross-section above the line .

In principle, this is a problem we know how to solve: find the slope of a curve in a plane. Let's start by looking at some particularly easy lines: those parallel to the or axis. Suppose we are interested in the cross-section of above the line . If we substitute for in , we get a function in one variable, describing the height of the cross-section as a function of . Because is parallel to the -axis, if we view it from a vantage point on the negative -axis, we will see what appears to be simply an ordinary curve in the - plane.

Consider again the parabolic surface . The cross-section above the line consists of all points . Looking at this cross-section from somewhere on the negative axis, we see what appears to be just the curve . At any point on the cross-section, , the steepness of the surface in the direction of the line is simply the slope of the curve , namely . Figure shows the same parabolic surface as before, but now cut by the plane . The left graph shows the cut-off surface, the right shows just the cross-section, looking up from the negative -axis toward the origin.

alt

Figure : , cut by the plane .

If, say, we're interested in the point on the surface, then the slope in the direction of the line is . This means that starting at and moving on the surface, above the line , in the direction of increasing values, the surface goes down; of course moving in the opposite direction, toward decreasing values, the surface will rise.

If we're interested in some other line , there is really no change in the computation. The equation of the cross-section above is with derivative . We can save ourselves the effort, small as it is, of substituting for : all we are in effect doing is temporarily assuming that is some constant. With this assumption, the derivative . To emphasize that we are only temporarily assuming is constant, we use a slightly different notation: ; the "\)\partial\)'' reminds us that there are more variables than , but that only is being treated as a variable. We read the equation as "the partial derivative of with respect to is .'' A convenient alternate notation for the partial derivative of with respect to is is .

Example

The partial derivative with respect to of is . Note that the partial derivative includes the variable , unlike the example . It is somewhat unusual for the partial derivative to depend on a single variable; this example is more typical.

Of course, we can do the same sort of calculation for lines parallel to the -axis. We temporarily hold constant, which gives us the equation of the cross-section above a line . We can then compute the derivative with respect to ; this will measure the steepness of the curve in the direction.

Example

The partial derivative with respect to of is

So far, using no new techniques, we have succeeded in measuring the slope of a surface in two quite special directions. For functions of one variable, the derivative is closely linked to the notion of tangent line. For surfaces, the analogous idea is the tangent plane---a plane that just touches a surface at a point, and has the same "steepness'' as the surface in all directions. Even though we haven't yet Figured out how to compute the slope in all directions, we have enough information to find tangent planes. Suppose we want the plane tangent to a surface at a particular point . If we compute the two partial derivatives of the function for that point, we get enough information to determine two lines tangent to the surface, both through and both tangent to the surface in their respective directions. These two lines determine a plane, that is, there is exactly one plane containing the two lines: the tangent plane. Figure shows (part of) two tangent lines at a point, and the tangent plane containing them.

alt

Figure : Tangent vectors and tangent plane.

How can we discover an equation for this tangent plane? We know a point on the plane, ; we need a vector normal to the plane. If we can find two vectors, one parallel to each of the tangent lines we know how to find, then the cross product of these vectors will give the desired normal vector.

alt

Figure : A tangent vector.

How can we find vectors parallel to the tangent lines? Consider first the line tangent to the surface above the line . A vector parallel to this tangent line must have component , and we may as well take the component to be . The ratio of the component to the component is the slope of the tangent line, precisely what we know how to compute. The slope of the tangent line is , so In other words, a vector parallel to this tangent line is , as shown in Figure . If we repeat the reasoning for the tangent line above , we get the vector .

Now to find the desired normal vector we compute the cross product, . From our earlier discussion of planes, we can write down the equation we seek: , and as usual can be computed by substituting a known point: . There are various more-or-less nice ways to write the result:

Example

Find the plane tangent to at .

Solution

This point is on the upper hemisphere, so we use . Then and , so and the equation of the plane is

The hemisphere and this tangent plane are pictured in Figure .

So it appears that to find a tangent plane, we need only find two quite simple ordinary derivatives, namely and . This is true if the tangent plane exists. It is, unfortunately, not always the case that if and exist there is a tangent plane. Consider the function pictured in Figure 14.2.1. This function has value 0 when or , and we can "plug the hole'' by agreeing that . Now it's clear that , because in the and directions the surface is simply a horizontal line. But it's also clear from the picture that this surface does not have anything that deserves to be called a "tangent plane'' at the origin, certainly not the -\)y\) plane containing these two tangent lines.

When does a surface have a tangent plane at a particular point? What we really want from a tangent plane, as from a tangent line, is that the plane be a "good'' approximation of the surface near the point. Here is how we can make this precise:

Definition

Let , , and where . The function is differentiable at if

and both and approach 0 as approaches .

This definition takes a bit of absorbing. Let's rewrite the central equation a bit:

The first three terms on the right are the equation of the tangent plane, that is,

is the -value of the point on the plane above . Equation says that the -value of a point on the surface is equal to the -value of a point on the plane plus a "little bit,'' namely . As approaches , both and approach 0, so this little bit also approaches 0, and the -values on the surface and the plane get close to each other. But that by itself is not very interesting: since the surface and the plane both contain the point , the values will approach and hence get close to each other whether the tangent plane is "tangent'' to the surface or not. The extra condition in the definition says that as approaches , the values approach 0---this means that approaches 0 much, much faster, because is much smaller than either or . It is this extra condition that makes the plane a tangent plane.

We can see that the extra condition on and is just what is needed if we look at partial derivatives. Suppose we temporarily fix , so . Then the equation from the definition becomes

or

Now taking the limit of the two sides as approaches 0, the left side turns into the partial derivative of with respect to at , or in other words , and the right side does the same, because as approaches , approaches 0. Essentially the same calculation works for .

Contributors


This page titled 14.3: Partial Differentiation is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by David Guichard via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?