One of the central concepts in single variable calculus is that the graph of a differentiable function, when viewed on a very small scale, looks like a line. We call this line the tangent line and measure its slope with the derivative. In this section, we will extend this concept to functions of several variables.
We choose to study the behavior of this function near the point . In particular, we wish to view the graph on an increasingly small scale around this point, as shown in the two plots in Figure 2.3.2
Just as the graph of a differentiable single-variable function looks like a line when viewed on a small scale, we see that the graph of this particular two-variable function looks like a plane, as seen in Figure 2.3.3. In the following preview activity, we explore how to find the equation of this plane.
As we saw in Section 1.5, the equation of a plane passing through the point can be written in the form . If the plane is not vertical, then , and we can rearrange this and hence write and thus
Evaluate and its partial derivatives at ; that is, find ,, and .
We know one point on the tangent plane; namely, the -value of the tangent plane agrees with the -value on the graph of at the point . In other words, both the tangent plane and the graph of the function contain the point . Use this observation to determine in the expression .
Sketch the traces of for and below in Figure 2.3.4.
Figure2.3.4.The traces of with and .
Determine the equation of the tangent line of the trace that you sketched in the previous part with (in the direction) at the point .
Figure2.3.5.The traces of and the tangent plane.
Figure 2.3.5 shows the traces of the function and the traces of the tangent plane. Explain how the tangent line of the trace of , whose equation you found in the last part of this activity, is related to the tangent plane. How does this observation help you determine the constant in the equation for the tangent plane ? (Hint: How do you think should be related to ?)
In a similar way to what you did in (d), determine the equation of the tangent line of the trace with at the point . Explain how this tangent line is related to the tangent plane, and use this observation to determine the constant in the equation for the tangent plane . (Hint: How do you think should be related to ?)
Finally, write the equation of the tangent plane to the graph of at the point .
Before stating the formula for the equation of the tangent plane at a point for a general function , we need to discuss a technical condition. As we have noted, when we look at the graph of a single-variable function on a small scale near a point , we expect to see a line; in this case, we say that is locally linear near since the graph looks like a linear function locally around . Of course, there are functions, such as the absolute value function given by , that are not locally linear at every point. In single-variable calculus, we learn that if the derivative of a function exists at a point, then the function is guaranteed to be locally linear there.
In a similar way, we say that a two-variable function is locally linear near provided that the graph of looks like a plane (its tangent plane) when viewed on a small scale near . How can we tell when a function of two variables is locally linear at a point?
It is not unreasonable to expect that if and exist for some function at a point , then is locally linear at . This is not sufficient, however. As an example, consider the function defined by . In Exercise 2.3.5.11 you are asked to show that and both exist, but that is not locally linear at (see Figure 2.3.12). So the existence of the two first order partial derivatives at a point does not guarantee local linearity at that point.
It would take us too far afield to provide a rigorous dicussion of differentiability of functions of more than one variable (see Exercise 2.3.5.15 for a little more detail), so we will be content to define stronger, but more easily verified, conditions that ensure local linearity.
If is a function of the independent variables and and both and exist and are continuous in an open disk containing the point , then is continuously differentiable at .
As a consequence, whenever a function is continuously differentiable at a point , it follows that the function has a tangent plane at . Viewed up close, the tangent plane and the function are then virtually indistinguishable. (We won’t formally define differentiability of multivariable functions here, and for our purposes continuous differentiability is the only condition we will ever need to use. It is important to note that continuous differentiability is a stronger condition than differentiability. All of the results we encounter will apply to differentiable functions, and so also apply to continuously differentiable functions.) In addition, as in Preview Activity 2.3.1, we find the following general formula for the tangent plane.
Important Note: As can be seen in Exercise 2.3.5.11, it is possible that and can exist for a function , and so the plane exists even though is not locally linear at (because the graph of does not look linear when we zoom in around the point ). In such a case this plane is not tangent to the graph. Differentiability for a function of two variables implies the existence of a tangent plane, but the existence of the two first order partial derivatives of a function at a point does not imply differentiaility. This is quite different than what happens in single variable calculus.
Finally, one important note about the form of the equation for the tangent plane, . Say, for example, that we have the particular tangent plane . Observe that we can immediately read from this form that and ; furthermore, is the slope of the trace to both and the tangent plane in the -direction at . In the same way, is the slope of the trace of both and the tangent plane in the -direction at .
In single variable calculus, an important use of the tangent line is to approximate the value of a differentiable function. Near the point , the tangent line to the graph of at is close to the graph of near , as shown in Figure 2.3.6.
In the same way, the tangent plane to the graph of a differentiable function at a point provides a good approximation of near . Here, we define the linearization, , to be the two-variable function whose graph is the tangent plane, and thus
In what follows, we find the linearization of several different functions that are given in algebraic, tabular, or graphical form.
Find the linearization for the function defined by
at the point . Then use the linearization to estimate the value of .
Table 2.3.8 provides a collection of values of the wind chill , in degrees Fahrenheit, as a function of wind speed, in miles per hour, and temperature, also in degrees Fahrenheit.
Table2.3.8.Wind chill as a function of wind speed and temperature.
Use the data to first estimate the appropriate partial derivatives, and then find the linearization at the point . Finally, use the linearization to estimate ,, and . Compare your results to what you obtained in Activity 2.1.5
Figure 2.3.9 gives a contour plot of a continuously differentiable function .
Figure2.3.9.A contour plot of .
After estimating appropriate partial derivatives, determine the linearization at the point , and use it to estimate ,, and .
Answer.
The partial derivatives of are and . Then ,, and so the local linearlization is
We can now use to estimate the value of at :
In Activity 2.1.5, we found the partial derivatives to be and . We can also see from the table that . Our local linearization is then
As we have seen, the linearization enables us to estimate the value of for points near the base point . Sometimes, however, we are more interested in the change in as we move from the base point to another point .
Figure 2.3.10 illustrates this situation. Suppose we are at the point , and we know the value of at . If we consider the displacement to a new point , we would like to know how much the function has changed. We denote this change by , where
We call the quantities ,, and differentials, and we think of them as measuring small changes in the quantities ,, and . Equations (2.3.2) and (2.3.3) express the relationship between these changes. Equation (2.3.3) resembles an important idea from single-variable calculus: when depends on , it follows in the notation of differentials that
Suppose we have a machine that manufactures rectangles of width cm and height cm. However, the machine isn’t perfect, and therefore the width could be off by cm and the height could be off by cm.
so that the area of a perfectly manufactured rectangle is square centimeters. Since the machine isn’t perfect, we would like to know how much the area of a given manufactured rectangle could differ from the perfect rectangle. We will estimate the uncertainty in the area using (2.3.2), and find that
The questions in this activity explore the differential in several different contexts.
Suppose that the elevation of a landscape is given by the function , where we additionally know that ,, and . Assume that and are measured in miles in the easterly and northerly directions, respectively, from some base point . Your GPS device says that you are currently at the point . However, you know that the coordinates are only accurate to within units; that is, and . Estimate the uncertainty in your elevation using differentials.
The pressure, volume, and temperature of an ideal gas are related by the equation
where is measured in kilopascals, in liters, and in kelvin. Find the pressure when the volume is 12 liters and the temperature is 310 K. Use differentials to estimate the change in the pressure when the volume increases to 12.3 liters and the temperature decreases to 305 K.
Refer to Table 2.3.8, the table of values of the wind chill , in degrees Fahrenheit, as a function of temperature, also in degrees Fahrenheit, and wind speed, in miles per hour. Suppose your anemometer says the wind is blowing at miles per hour and your thermometer shows a reading of degrees Fahrenheit. However, you know your thermometer is only accurate to within degrees and your anemometer is only accurate to within miles per hour. What is the wind chill based on your measurements? Estimate the uncertainty in your measurement of the wind chill.
Answer.
The differential of at is
so your elevation estimate could be 0.016 miles off.
When the volume is 12 liters and the temperature is 310 K, the pressure is kilopascals.
Our partial derivatives are and . Since the temperature is decreasing from 310 K to 305 K, we get . Similarly, the volume is increasing from 12 to 12.3 liters, so . Then
and so the change in pressure is approximately 1.9 kilopascals.
We can use symmetric difference quotients to estimate the slope of around in the and directions:
Since our anemometer is only accurate to within miles per hour we will use and our thermometer is only accurate to within degrees so we will use . Then the differential is
A function of two independent variables is locally linear at a point if the graph of looks like a plane as we zoom in on the graph around the point . In this case, the equation of the tangent plane is given by
The tangent plane , when considered as a function, is called the linearization of a differentiable function at and may be used to estimate values of ; that is, for points near .
A function of two independent variables is differentiable at provided that both and exist and are continuous in an open disk containing the point .
The differential of a function is related to the differentials and by
We can use this relationship to approximate small changes in that result from small changes in and .
PTX:ERROR: WeBWorK problem Library/FortLewis/Calc3/14-3-Local-linearity/HGM4-14-3-14-Local-linearity-differential.pg with seed 121 does not return valid XML It may not be PTX compatible Use -a to halt with returned content
(a) Check the local linearity of near by filling in the following table of values of for and . Express values of with 4 digits after the decimal point.
Notice if the two tables look nearly linear, and whether the second looks more linear than the first (in particular, think about how you would decide if they were linear, or if the one were more closely linear than the other).
The dimensions of a closed rectangular box are measured as 100 centimeters, 80 centimeters, and 100 centimeters, respectively, with the error in each measurement at most .2 centimeters. Use differentials to estimate the maximum error in calculating the surface area of the box.
One mole of ammonia gas is contained in a vessel which is capable of changing its volume (a compartment sealed by a piston, for example). The total energy (in Joules) of the ammonia is a function of the volume (in cubic meters) of the container, and the temperature (in degrees Kelvin) of the gas. The differential is given by .
Let be the function defined by , whose graph is shown in Figure 2.3.12.
Figure2.3.12.The surface for .
Determine
What does this limit tell us about ?
Note that , and this symmetry implies that . So both partial derivatives of exist at . A picture of the surface defined by near is shown in Figure 2.3.12. Based on this picture, do you think is locally linear at ? Why?
Show that the curve where on the surface defined by is not differentiable at 0. What does this tell us about the local linearity of at ?
Is the function defined by locally linear at ? Why or why not?
Let be a function that is differentiable at and suppose that its tangent plane at this point is given by .
Determine the values of ,, and . Write one sentence to explain your thinking.
Estimate the value of . Clearly show your work and thinking.
Given changes of and , estimate the corresponding change in that is given by its differential, .
Suppose that another function is also differentiable at , but that its tangent plane at is given by Determine the values of ,, and , and then estimate the value of . Clearly show your work and thinking.
In the following questions, we determine and apply the linearization for several different functions.
Find the linearization for the function defined by at the point . Use the linearization to estimate the value of . Compare your estimate to the actual value of .
The Heat Index, , (measured in apparent degrees F) is a function of the actual temperature outside (in degrees F) and the relative humidity (measured as a percentage). A portion of the table which gives values for this function, , is provided in Table 2.3.13.
Table2.3.13.Heat index.
TH
Suppose you are given that and . Use this given information and one other value from the table to estimate the value of using the linearization at . Using proper terminology and notation, explain your work and thinking.
Just as we can find a local linearization for a differentiable function of two variables, we can do so for functions of three or more variables. By extending the concept of the local linearization from two to three variables, find the linearization of the function at the point . Then, use the linearization to estimate the value of .
In the following questions, we investigate two different applied settings using the differential.
Let represent the vertical displacement in centimeters from the rest position of a string (like a guitar string) as a function of the distance in centimeters from the fixed left end of the string and the time in seconds after the string has been plucked. (An interesting video of this can be seen at https://www.youtube.com/watch?v=TKF6nFzpHBUA 3
www.youtube.com/watch?v=TKF6nFzpHBUA
.) A simple model for could be
Use the differential to approximate how much more this vibrating string is vertically displaced from its position at if we decrease by cm and increase the time by seconds. Compare to the value of at the point .
Resistors used in electrical circuits have colored bands painted on them to indicate the amount of resistance and the possible error in the resistance. When three resistors, whose resistances are ,, and , are connected in parallel, the total resistance is given by
Suppose that the resistances are ,, and . Find the total resistance . If you know each of ,, and with a possible error of %, estimate the maximum error in your calculation of .
In this section we argued that if is a function of two variables and if and both exist and are continuous in an open disk containing the point , then is differentiable at . This condition ensures that is differentiable at , but it does not define what it means for to be differentiable at . In this exercise we explore the definition of differentiability of a function of two variables in more detail. Throughout, let be the function defined by .
Use appropriate technology to plot the graph of on the domain . Explain why is not locally linear at .
Show that both and exist. If is locally linear at , what must be the equation of the tangent plane to at ?
Recall that if a function of a single variable is differentiable at , then
exists. We saw in single variable calculus that the existence of means that the graph of is locally linear at . In other words, the graph of looks like its linearization for close to . That is, the values of can be closely approximated by as long as is close to . We can measure how good the approximation of is to with the error function
As approaches , approaches , and so provides increasingly better approximations to as gets closer to . Show that, even though is not locally linear at , its error term
at has a limit of as approaches . (Use the linearization you found in part (b).) This shows that just because an error term goes to as approaches , we cannot conclude that a function is locally linear at .
As the previous part illustrates, having the error term go to does not ensure that a function of two variables is locally linear. Instead, we need a notation of a relative error. To see how this works, let us return to the single variable case for a moment and consider as a function of one variable. If we let , where is the distance from to , then the relative error in approximating with is
Show that, for a function of a single variable, the limit of the relative error is as approaches .
Even though the error term for a function of two variables might have a limit of at a point, our example shows that the function may not be locally linear at that point. So we use the concept of relative error to define differentiability of a function of two variables. When we consider differentiability of a function at a point , then if and , the distance from to is .
A function is differentiable at a point if there is a linear function such that the relative error
has at limit of at , where ,, and .
A function is differentiable if it is differentiable at every point in its domain. The function in the definition is the linearization of at . Verify that is not differentiable at by showing that the relative error at does not have a limit at . Conclude that the existence of partial derivatives at a point is not enough to ensure differentiability at that point. (Hint: Consider the limit along different paths.)
Suppose that a function is differentiable at a point . Let as in the conditions of [cross-reference to target(s) "Def_10_4_differentiability" missing or not unique]. Show that and . (Hint: Calculate the limits of the relative errors when and .)
We know that if a function of a single variable is differentiable at a point, then that function is also continuous at that point. In this exercise we determine that the same property holds for functions of two variables. A function of the two variables and is continuous at a point in its domain if