Throughout single-variable calculus, the tangent line serves as a geometric and conceptual tool to understand the derivative at a point. While the value of a derivative at a point measures the instantaneous rate of change, we visualize the value of the derivative as the slope of the line tangent to the function’s graph. This allowed use to “see” the derivative’s value in terms of an important behavior of the function’s graph.
In Subsection 10.2.4, we saw that a curve in space, given as the graph of a vector-valued function of one variable, is locally linear and approximated well by a tangent line provided that the function is differentiable. So the vector valued function of one variable that describes a curve in space will be differentiable if the curve looks like a line on a small scale.
In this section, we will explore the various ways in which we can extend to functions of two variables the related ideas of differentiability and local linearity. Geometrically, this means we will use a tangent plane as a “flat” analog for surfaces of the form \(z=f(x,y)\text{.}\) 1
For graphs in the cartesian plane, there was only one type of flat graph: a line. When we generalized to higher dimensions, we saw how both lines and planes can be considered “flat” graphs in three dimensions. However, we noted that lines are 1-dimensional flat graphs because there is only direction to move along the graph. On the other hand, planes are 2-dimensional flat graphs.
We will also introduce a couple of new tools to help us algebraically and numerically describe the change in the output of \(f(x,y)\text{.}\)
You should examine the behavior of \(f\) near the input \((x_0,y_0) = (1,1)\text{,}\) which has output of \(f(1,1)=4.5\text{.}\) You can change how closely Figure 11.5.1 shows the graph of \(z=f(x,y)\) on smaller and smaller scales around the point \((1,1,4.5)\text{.}\) With zoom set to 0, the plot clearly reveals that the surface is curved. However, once you increase the zoom level to 3 or higher, the surface looks more like a tilted plane than a curved surface.
Just as the graph of a differentiable single-variable function or a differentiable vector-valued function of one variable looks like a line when viewed on a small scale, the graph of this two-variable function looks like a plane when viewed on a small scale. We will call functions that have this property locally linear. The Preview Activity guides you through finding an equation for this plane, but we first state a key idea that will be helpful algebraic form to use when thinking about tangent planes to surfaces of the form \(z=f(x,y)\text{.}\)
A non-vertical plane that goes through the point \((x_0,y_0,z_0)\) can be expressed in the form \(z = z_0 + a(x-x_0) + b(y-y_0)\text{,}\) where \(a\) and \(b\) are constants.
As we saw in Section 9.6, the equation of a plane passing through the point \((x_0, y_0, z_0)\) may be written in the form \(A(x-x_0) + B(y-y_0) + C(z-z_0) = 0\text{.}\) If the plane is not vertical, then \(C\neq 0\text{,}\) and we can rearrange this equation and write \(C(z-z_0) = -A(x-x_0) - B(y-y_0)\) and thus
After our work in the Preview Activity, we will look at how to obtain this equation in terms of the normal vector of this plane that best describes the surface at a particular point.
We want to find the equation of the plane, using the form given in Key Idea 11.5.2, that best describes the surface given by \(z=f(x,y)=6-\frac{x^2}2 - y^2\) for input values around \((x_0,y_0) = (1,1)\text{.}\) In particular, we will need to find how the values of \(z_0\text{,}\)\(a\text{,}\) and \(b\) are related to \(f(x,y)\text{.}\)
We want our plane to match the height of the surface at \((1,1)\text{.}\) For this to happen, the value \(z_0\) from Key Idea 11.5.2 must be the \(z\)-coordinate value where the plane intersects the surface. What is the \(z\)-coordinate of the point where the tangent plane and the surface intersect?
For the plane to have the same behavior as the surface \(z=f(x,y)\) near \((1,1)\text{,}\) the plane must match the behavior of the traces given by \(x=1\) and \(y=1\) near this point.
Sketch the traces of \(f(x,y) = 6 - \frac{x^2}2 - y^2\) for \(y=y_0=1\) and \(x=x_0=1\) below. Draw the tangent lines to the each of the traces when the appropriate input is 1.
What are the slopes of the tangent lines to the traces that you drew in the previous part? Write a couple of sentences to explain why the tilt of the tangent plane in the \(x\)-direction is given by the partial derivative \(f_x\) and the tilt of the tangent plane in the \(y\)-direction is given by the partial derivative \(f_y\text{.}\) Your answer should discuss how each of these slopes/partial derivatives relates to the traces of the surface and the plane illustrated below. You should identify whether the red/orange traces along the plane and the black/blue traces along the surface correspond to constant values of \(x\) or \(y\text{.}\)
Fill in the blanks below with the proper values to give the tangent plane to the graph of \(f(x,y)=6-x^2/2 - y^2\) at the point \((x_0,y_0)=(1,1)\text{.}\)
As the preview activity suggests, the graph of most functions we have encountered will be approximated well by a plane tangent to the graph at a point of interest. In Subsection 11.5.4, we will talk more about the technical conditions for the tangent plane to be a good approximation to the surface, but for now we will use the following general formula for the tangent plane from our final result of Preview Activity 11.5.1.
If \(f\) is a function of \(x\) and \(y\) for which both \(f_x\) and \(f_y\) exist and are continuous in an open disk containing the point \((x_0,y_0)\text{,}\) then the equation of the plane tangent to the graph of \(f\) at the point \((x_0,y_0,f(x_0,y_0))\) is
\begin{equation}
z = f(x_0,y_0) + f_x(x_0,y_0)(x-x_0) + f_y(x_0,y_0)(y-y_0)\text{.}\tag{11.5.1}
\end{equation}
Having the equation for a tangent plane in the form given by \(z = f(x_0,y_0) + f_x(x_0,y_0)(x-x_0) + f_y(x_0,y_0)(y-y_0)\) allows us to quickly identify important information about the function \(f\) at the point \((x_0,y_0)\text{.}\) For example, if a function \(f\) has a tangent plane given by \(z = 7 - 2(x-3) + 4(y+1)\text{,}\) then we can immediately read the following information from the given form of the tangent plane equation:
Suppose that the tangent plane to the graph of a continuously differentiable function \(z=g(x,y)\) is given in the form
\begin{equation*}
z = 5 - 3(x+2) + (y-3)\text{.}
\end{equation*}
Use the equation of the tangent plane to identify a point on the graph as well as a value of \(g_x\) and a value of \(g_y\text{.}\) Be sure to identify at what point(s) you have found the values of the partial derivatives.
In single-variable calculus, an important use of the tangent line is to approximate a differentiable function. Near the point \(x_0\text{,}\) the tangent line to the graph of \(f\) at \(x_0\) is close to the graph of \(f\) for input values close to \(x_0\text{,}\) as shown in Figure 11.5.3. Adjust the Zoom slider to examine a small region around the highlighted point to see how the tangent line is a good approximation for a small region around that point. In fact, the smaller the scale around the point, the better the approximation is.
In a similar way, we say that a two-variable function \(f\) is locally linear near \((x_0,y_0)\) provided that the graph of \(f\) looks like a plane (its tangent plane) when viewed on a small scale near \((x_0,y_0)\text{.}\) Determining when a function of two variables is locally linear at a point involves more nuance than in the single-variable setting. In Subsection 11.5.4, we discuss the technical details and present examples of functions that are not locally linear.
The tangent plane is a geometric way of visualizing and approximating a surface of the form \(z=f(x,y)\) near the point of tangency. In the next subsection, we will discuss the linearization, a functional form of the tangent plane that facilitates approximations near the point of tangency.
Similarly, the tangent plane to the graph of \(f(x,y)\text{,}\) a locally linear function of two variables, at a point \((x_0,y_0)\) provides a good approximation near \((x_0, y_0)\text{.}\) We define the linearization, \(L\text{,}\) to be the two-variable function whose graph is the tangent plane. Thus,
is the linearization of \(f\) at \((x_0,y_0)\text{.}\) Note that \(f(x,y)\approx L(x,y)\) for points near \((x_0, y_0)\text{,}\) as illustrated in Figure 11.5.4.
Using a function’s linearization when you already have an algebraic expression for the function provides little added value. In many applications the function of interest does not have a known algebraic formula. For instance, if you were working for a mining company and were trying to map a pocket of some resource underground, it would be very expensive to drill a bunch of samples to make a chart with amounts of the resource at a comprehensive grid of locations. Instead, you could be more selective in obtaining data via other sampling techniques and then use linearization to make estimates for intermediate locations. Linearization is a valuable first step in estimating values between different input locations. In later math courses, you may encounter more sophisticated ways to estimate between data points and discuss the advantages and drawbacks of these ideas.
In this example, we will give the equation of the tangent plane to \(f(x,y)=6-\frac{x^2}{2}-y^2\) at the point \((1,1)\text{,}\) state the associated linearization, and use this linearization to estimate the output of \(f\) for a nearby input.
The partial derivatives of \(f\) are \(f_x=-x\) and \(f_y=-2y\text{.}\) This gives the values \(f_x(1,1)=-1\) and \(f_y(1,1)=-2\text{.}\) Using \(f(1,1)=4.5\text{,}\) the tangent plane to \(f\) at the point \((1,1)\) is
Notice that the same information is used to find the tangent plane and the linearization. Generally speaking, we consider the tangent plane to be a geometric tool, while and the linearization is a function or algebraic tool. However, both describe \(f\) near \((1,1)\text{.}\) We can use the linearization to estimate \(f(0.9,1.2)\text{:}\)
Because we had an algebraic expression for \(f\) in the previous example, we could have evaluated \(f(0.9,1.2)\) directly. However, as the next activity shows, many applications of multivariable functions use tables or graphs where it is not possible to have the function’s output at every possible input.
The table below provides a collection of values of the wind chill \(w(v,T)\text{,}\) in degrees Fahrenheit, as a function of wind speed, in miles per hour, and temperature, also in degrees Fahrenheit.
The image below gives a contour plot of a continuously differentiable function \(f\text{.}\) After estimating appropriate partial derivatives, determine the linearization \(L(x,y)\) at the point \((2,1)\text{,}\) and use it to estimate \(f(2.2, 1)\text{,}\)\(f(2, 0.8)\text{,}\) and \(f(2.2, 0.8)\text{.}\)
Suppose we have a machine that cuts rectangles of width \(w=20\) cm and height \(h=10\) cm. However, the machine isn’t perfect, and therefore the width could be off by \(dw = \Delta w = 0.2\) cm and the height could be off by \(dh = \Delta h = 0.4\) cm.
which means that the area of a perfectly-manufactured rectangle is \(A(20, 10) = 200\) square centimeters. Since the machine isn’t perfect, we would like to know how much the area of a given rectangle could differ from the perfect rectangle. We will estimate the uncertainty in the area using (11.5.3), and find that
\begin{equation*}
\Delta A \approx dA = A_w(20, 10) \enspace dw + A_h(20,10)\enspace dh
\end{equation*}
We can apply our differential for a box of a different size as well. If we wanted to make rectangles that are 63 cm wide and 25 cm high and our machines had the same tolerances (\(dw = \Delta w = 0.2\) cm and \(dh = \Delta h = 0.4\) cm), then our target rectangle would have area 1,575 square centimeters but the uncertainty in the area would be \(30.2 cm^2\text{:}\)
Suppose that the elevation of a plot of land is given by the function \(h\text{,}\) where we additionally know that \(h(3,1) = 4.35\text{,}\)\(h_x(3,1) = 0.27\text{,}\) and \(h_y(3,1) = -0.19\text{.}\) Assume that \(x\) and \(y\) are measured in miles in the east and north directions, respectively, from \((0,0)\text{.}\)
Your GPS device says that you are currently at the point \((3,1)\text{.}\) However, you know that the coordinates are only accurate to within \(0.2\) miles; that is, \(dx = \Delta x = 0.2\) and \(dy= \Delta y = 0.2\text{.}\) Estimate the uncertainty in your elevation using the linearization of \(h\) for the input (3,1).
where \(P\) is measured in kilopascals, \(V\) in liters, and \(T\) in kelvin. Find the pressure when the volume is 12 liters and the temperature is 310 K. Use the linearization of \(P\) at the point \((310,12)\) to estimate the change in the pressure when the volume increases to 12.3 liters and the temperature decreases to 305 K.
Use the table of values for the wind chill \(w(v,T)\text{,}\) in degrees Fahrenheit, as a function of temperature, also in degrees Fahrenheit, and wind speed, in miles per hour provided in part 11.5.3.b for this part. Suppose your anemometer 2
An instrument for measuring wind speed.
says the wind is blowing at \(25\) miles per hour and your thermometer 3
An instrument for measuring the temperature.
shows a reading of \(-15^\circ\) degrees. However, you know your thermometer is only accurate to within \(2^\circ\) degrees and your anemometer is only accurate to within \(3\) miles per hour. What is the wind chill based on your measurements? Estimate the uncertainty in your measurement of the wind chill.
In Example 11.5.6, we see how the same form is being used to approximate the change in the output of a multivariable function across very different input values. The total differential is an abstraction of this form, namely that the change in the output of a function of two variables is a linear combination of the changes in the inputs with the coefficients being the values of the partial derivatives.
The change in the output of our function can be approximated at a particular input point \((x_0,y_0)\) using
\begin{equation}
\Delta f \approx f_x(x_0,y_0) \Delta x + f_y(x_0,y_0) \Delta y\tag{11.5.3}
\end{equation}
We can use the following abstraction of the linearization idea to express the form used to measure changes in output of a multivariable function based on small changes in the input
We call the quantities \(dx\text{,}\)\(dy\text{,}\) and \(df\) differentials, and we think of them as measuring small changes in the quantities \(x\text{,}\)\(y\text{,}\) and \(f\text{.}\) In fact, Equation (11.5.4) is called the total differential of \(f\text{.}\)
The linearization of a function approximates the function’s output around a particular point, but a total differential, \(df\text{,}\) shows the algebraic form corresponding to a change in the output of \(f\) in terms of linear combinations of the changes in inputs (not just the values at a particular point).
We close this subsection by highlighting an idea that will be used time and again in this chapter. For a “nice” function (e.g., locally linear, differentiable, or continuously differentiable), the rate of change in the output of the function near a specific point is the same as the rate of change along the linearization. In other words, we can approximate change near a point on a surface by looking at the change on the linearization. We can also evaluate the rates of change along our surface by evaluating the corresponding rate of change on the linearization. Regardless of the direction, these rates of change will be the same at the specified point.
Subsection11.5.4Differentiability and Local Linearity
In our equation for a tangent plane, we gave the general formula for the equation of the tangent plane at a particular point on the graph of \(z=f(x,y)\text{,}\) but we had a condition involving partial derivatives that we needed to satisfy in order for the tangent plane to make sense. We will briefly discuss some ways in which a function can fail to be locally linear; in other words, we will look at several examples of functions of two variables where the tangent plane is either not defined or is not a good approximation of the surface near a particular point.
In single-variable calculus, one of the first functions you studied that was continuous but had a point where the graph was not locally linear was the absolute value function \(f(x) = |x|\text{.}\) When zooming in on the graph of \(f\) near the point \((0,0)\text{,}\) the graph maintains a sharp corner, and thus \(f\) is not locally linear at the point on its graph with \(x=0\text{.}\)
Remember that a two-variable function \(f\) is locally linear near \((x_0,y_0)\) provided that the graph of \(f\) looks like a plane (its tangent plane) when viewed on a small scale near \((x_0,y_0)\text{.}\) Determining when a function of two variables is locally linear at a point involves more nuance than in the single-variable setting, as the next example illustrates.
The function \(f(x,y)=|x|+|y|\) is graphed in Figure 11.5.8. No matter how much you zoom in around the origin, the surface will not look like a plane. You can also see this if you zoom in near any point on the surface with either \(x=0\) or \(y=0\text{.}\) While this function is continuous at every point, neither partial derivative will be defined when either \(x\) or \(y\) is zero.
Your experience from single-variable calculus may lead you to reasonably expect that if \(f_x(a,b)\) and \(f_y(a,b)\) both exist at a point \((a,b)\text{,}\) then \(f\) is locally linear at \((a,b)\text{.}\)This is not sufficient for multivariable functions, however. To illustrate this, consider the function defined by \(f(x,y) = x^{1/3} y^{1/3}\text{.}\) You can see from the figure below that as you zoom in around the origin, the graph does not flatten out and look like a plane. Exercise 11 guides you through using the limit definition of the partial derivative to show that \(f_x(0,0)\) and \(f_y(0,0)\) both exist, but that \(f\) is not locally linear at \((0,0)\text{.}\)
A precise discussion of differentiability of functions of more than one variable is beyond the scope of this text, but if you are interested in exploring these ideas a bit more, see Exercise 15. We will be content to define a stronger, but more easily verified, set of conditions called continuous differentiability that ensure local linearity. For our purposes in this text, continuous differentiability is the only condition we will need to use. All of the results we encounter will apply to differentiable functions, and so also apply to continuously differentiable functions.
If \(f\) is a function of \(x\) and \(y\) for which both \(f_x\) and \(f_y\) exist and are continuous in an open disk containing the point \((x_0,y_0)\text{,}\) then \(f\) is continuously differentiable at \((x_0,y_0)\text{.}\)
If a function \(f\) of two variables is continuously differentiable at a point \((x_0,y_0)\text{,}\) then \(f\) has a tangent plane at \((x_0,y_0)\text{.}\) This means that when viewed up close, the tangent plane and the graph of the function are virtually indistinguishable. You can see this illustrated in Figure 11.5.1 if you enable the Show Tangent Plane check box.
Important Note: As discussed before, the function \(f(x,y)=x^{1/3}y^{1/3}\text{,}\) which we saw in Figure 11.5.9, is not locally linear as we zoom in near the point \((0,0)\text{.}\) However, as Exercise 11 demonstrates, both \(f_x(0,0)\) and \(f_y(0,0)\) exist for this function. Thus, we can define the plane \(z = f(x_0,y_0) + f_x(x_0,y_0)(x-x_0) + f_y(x_0,y_0)(y-y_0)\text{.}\) However, this plane is not “tangent” to the graph in any reasonable sense. This is why we have specified that we require that \(f\) be continuously differentiable at a point in order to discuss the tangent plane at that point. The function \(f(x,y)=x^{1/3}y^{1/3}\) is not continuously differentiable (or differentiable) at \((0,0)\text{!}\) Differentiability for a function of two variables implies the existence of a tangent plane. However, the existence of the two first order partial derivatives of a function at a point does not imply differentiability. This is quite different from single-variable calculus, where the derivative existing at a point is equivalent to the function being locally linear at that point.
A function \(f\) of two independent variables is locally linear at a point \((x_0,y_0)\) if the graph of \(z=f(x,y)\) looks like a plane as we zoom in on the graph (around the point \((x_0,y_0)\)). In this case, the equation of the tangent plane is given by
\begin{equation*}
z = f(x_0,y_0) + f_x(x_0,y_0)(x-x_0) + f_y(x_0,y_0)(y-y_0).
\end{equation*}
The function \(L(x,y) = f(x_0,y_0) + f_x(x_0,y_0)(x-x_0) + f_y(x_0,y_0)(y-y_0)\) is called the linearization of a differentiable function \(f\) at \((x_0,y_0)\) and may be used to estimate values of \(f(x,y)\text{;}\) that is, \(f(x,y) \approx L(x,y)\) for points \((x,y)\) near \((x_0,y_0)\text{.}\) The graph of the linearization function is the tangent plane.
A function \(f\) of two independent variables is differentiable at \((x_0,y_0)\) provided that both \(f_x\) and \(f_y\) exist and are continuous in an open disk containing the point \((x_0,y_0)\text{.}\)
Find the linearization \(L \left( x, y \right)\) of the function \(f\left( x,
y \right) = \sqrt{ 196 - 4 x^{2} - 16 y^{2} }\) at \(\left( -3, -3 \right)\text{.}\)
(a) Check the local linearity of \(f(x,y) = e^{x}\cos\mathopen{}\left(y\right)\) near \(x=-1,\ y=1.5\) by filling in the following table of values of \(f\) for \(x=-1.1,\ -1,\ -0.9\) and \(y=1.4,\ 1.5,\ 1.6\text{.}\) Express values of \(f\) 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 50 centimeters, 90 centimeters, and 70 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 \(U\) (in Joules) of the ammonia is a function of the volume \(V\) (in cubic meters) of the container, and the temperature \(T\) (in degrees Kelvin) of the gas. The differential \(dU\) is given by \(dU = 840 dV + 27.32 dT\text{.}\)
An unevenly heated metal plate has temperature \(T(x,y)\) in degrees Celsius at a point \((x,y)\text{.}\) If \(T(2,1) = 115\text{,}\)\(T_x \, (2,1) = 20\text{,}\) and \(T_y \, (2,1) = -15\text{,}\) estimate the temperature at the point \((2.03,0.98)\text{.}\)
Compare the approximations form part (b) to the exact values of \(f(1.1, 2.05)\) and \(f(1.3, 2.2)\text{.}\) Which approximation is more accurate. Explain why this should be expected.
Note that \(f(x,y)=f(y,x)\text{,}\) and this symmetry implies that \(f_x(0,0) = f_y(0,0)\text{.}\) So both partial derivatives of \(f\) exist at \((0,0)\text{.}\) A picture of the surface defined by \(f\) near \((0,0)\) is shown in Figure 11.5.10. Based on this picture, do you think \(f\) is locally linear at \((0,0)\text{?}\) Why?
Show that the curve where \(x=y\) on the surface defined by \(f\) is not differentiable at 0. What does this tell us about the local linearity of \(f\) at \((0,0)\text{?}\)
Let \(g\) be a function that is differentiable at \((-2,5)\) and suppose that its tangent plane at this point is given by \(z = -7 + 4(x+2) - 3(y-5)\text{.}\)
Determine the values of \(g(-2,5)\text{,}\)\(g_x(-2,5)\text{,}\) and \(g_y(-2,5)\text{.}\) Write one sentence to explain your thinking.
Suppose that another function \(h\) is also differentiable at \((-2,5)\text{,}\) but that its tangent plane at \((-2,5)\) is given by \(3x + 2y - 4z = 9.\) Determine the values of \(h(-2,5)\text{,}\)\(h_x(-2,5)\text{,}\) and \(h_y(-2,5)\text{,}\) and then estimate the value of \(h(-1.8, 4.7)\text{.}\) Clearly show your work and thinking.
In the following questions, we determine and apply the linearization for several different functions.
Find the linearization \(L(x,y)\) for the function \(f\) defined by \(f(x,y) = \cos(x)(2e^{2y}+e^{-2y})\) at the point \((x_0,y_0) = (0,0)\text{.}\) Use the linearization to estimate the value of \(f(0.1, 0.2)\text{.}\) Compare your estimate to the actual value of \(f(0.1, 0.2)\text{.}\)
The Heat Index, \(I\text{,}\) (measured in apparent degrees F) is a function of the actual temperature \(T\) outside (in degrees F) and the relative humidity \(H\) (measured as a percentage). A portion of the table which gives values for this function, \(I=I(T,H)\text{,}\) is provided in Table 11.5.11.
Suppose you are given that \(I_T(94,75) = 3.75\) and \(I_H(94,75) = 0.9\text{.}\) Use this given information and one other value from the table to estimate the value of \(I(93.1,77)\) using the linearization at \((94,75)\text{.}\) 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 \(h(x,y,z) =
e^{2x}(y+z^2)\) at the point \((x_0,y_0,z_0) = (0, 1, -2)\text{.}\) Then, use the linearization to estimate the value of \(h(-0.1, 0.9, -1.8)\text{.}\)
In the following questions, we investigate two different applied settings using the differential.
Let \(f\) represent the vertical displacement in centimeters from the rest position of a string (like a guitar string) as a function of the distance \(x\) in centimeters from the fixed left end of the string and \(y\) 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.) A simple model for \(f\) could be
Use the differential to approximate how much more this vibrating string is vertically displaced from its position at \((a,b) = \left(\frac{\pi}{4}, \frac{\pi}{3} \right)\) if we decrease \(a\) by \(0.01\) cm and increase the time by \(0.1\) seconds. Compare to the value of \(f\) at the point \(\left(\frac{\pi}{4}-0.01, \frac{\pi}{3}+0.1\right)\text{.}\)
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 \(R_1\text{,}\)\(R_2\text{,}\) and \(R_3\text{,}\) are connected in parallel, the total resistance \(R\) is given by
Suppose that the resistances are \(R_1=25\Omega\text{,}\)\(R_2=40\Omega\text{,}\) and \(R_3=50\Omega\text{.}\) Find the total resistance \(R\text{.}\) If you know each of \(R_1\text{,}\)\(R_2\text{,}\) and \(R_3\) with a possible error of \(0.5\)%, estimate the maximum error in your calculation of \(R\text{.}\)
In this section we argued that if \(f = f(x,y)\) is a function of two variables and if \(f_x\) and \(f_y\) both exist and are continuous in an open disk containing the point \((x_0,y_0)\text{,}\) then \(f\) is differentiable at \((x_0,y_0)\text{.}\) This condition ensures that \(f\) is differentiable at \((x_0,y_0)\text{,}\) but it does not define what it means for \(f\) to be differentiable at \((x_0,y_0)\text{.}\) In this exercise we explore the definition of differentiability of a function of two variables in more detail. Throughout, let \(g\) be the function defined by \(g(x,y)= \sqrt{|xy|}\text{.}\)
Use appropriate technology to plot the graph of \(g\) on the domain \([-1,1] \times [-1,1]\text{.}\) Explain why \(g\) is not locally linear at \((0,0)\text{.}\)
Show that both \(g_x(0,0)\) and \(g_y(0,0)\) exist. If \(g\) is locally linear at \((0,0)\text{,}\) what must be the equation of the tangent plane \(L\) to \(g\) at \((0,0)\text{?}\)
exists. We saw in single variable calculus that the existence of \(f'(x_0)\) means that the graph of \(f\) is locally linear at \(x=x_0\text{.}\) In other words, the graph of \(f\) looks like its linearization \(L(x) = f(x_0)+f'(x_0)(x-x_0)\) for \(x\) close to \(x_0\text{.}\) That is, the values of \(f(x)\) can be closely approximated by \(L(x)\) as long as \(x\) is close to \(x_0\text{.}\) We can measure how good the approximation of \(L(x)\) is to \(f(x)\) with the error function
As \(x\) approaches \(x_0\text{,}\)\(E(x)\) approaches \(f(x_0)+f'(x_0)(0) - f(x_0) = 0\text{,}\) and so \(L(x)\) provides increasingly better approximations to \(f(x)\) as \(x\) gets closer to \(x_0\text{.}\) Show that, even though \(g(x,y) = \sqrt{|xy|}\) is not locally linear at \((0,0)\text{,}\) its error term
at \((0,0)\) has a limit of \(0\) as \((x,y)\) approaches \((0,0)\text{.}\) (Use the linearization you found in part (b).) This shows that just because an error term goes to \(0\) as \((x,y)\) approaches \((x_0,y_0)\text{,}\) we cannot conclude that a function is locally linear at \((x_0,y_0)\text{.}\)
As the previous part illustrates, having the error term go to \(0\) 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 \(f = f(x)\) as a function of one variable. If we let \(x = x_0+h\text{,}\) where \(|h|\) is the distance from \(x\) to \(x_0\text{,}\) then the relative error in approximating \(f(x_0+h)\) with \(L(x_0+h)\) is
Even though the error term for a function of two variables might have a limit of \(0\) 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 \(f = f(x,y)\) at a point \((x_0,y_0)\text{,}\) then if \(x = x_0+h\) and \(y = y_0+k\text{,}\) the distance from \((x,y)\) to \((x_0,y_0)\) is \(\sqrt{h^2+k^2}\text{.}\)
A function \(f = f(x,y)\) is differentiable at a point \((x_0,y_0)\) if there is a linear function \(L = L(x,y) = f(x_0,y_0) + m(x-x_0) + n(y-y_0)\) such that the relative error
A function \(f\) is differentiable if it is differentiable at every point in its domain. The function \(L\) in the definition is the linearization of \(f\) at \((x_0,y_0)\text{.}\) Verify that \(g(x,y) = \sqrt{|xy|}\) is not differentiable at \((0,0)\) by showing that the relative error at \((0,0)\) does not have a limit at \((0,0)\text{.}\) 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 \(f = f(x,y)\) is differentiable at a point \((x_0,y_0)\text{.}\) Let \(L = L(x,y) = f(x_0,y_0) + m(x-x_0) + n(y-y_0)\) as in the conditions of Definition 11.5.12. Show that \(m = f_x(x_0,y_0)\) and \(n = f_y(x_0,y_0)\text{.}\) (Hint: Calculate the limits of the relative errors when \(h = 0\) and \(k = 0\text{.}\))
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 \(f\) of the two variables \(x\) and \(y\) is continuous at a point \((x_0,y_0)\) in its domain if
Show that if \(f\) is differentiable at \((x_0,y_0)\text{,}\) then \(f\) is continuous at \((x_0,y_0)\text{.}\) (Hint: Multiply both sides of the equality that comes from differentiability by \(\lim_{(h,k) \to (0,0)} \sqrt{h^2+k^2}\text{.}\))