We studied differentials in Section 4.3, where Definition 4.3.1 states that if and is differentiable, then . One important use of this differential is in Integration by Substitution. Another important application is approximation. Let represent a change in . When is small, , the change in resulting from the change in . Fundamental in this understanding is this: as gets small, the difference between and goes to 0. Another way of stating this: as goes to 0, the error in approximating with goes to 0.
We extend this idea to functions of two variables. Let , and let and represent changes in and , respectively. Let be the change in over the change in and . Recalling that and give the instantaneous rates of -change in the - and -directions, respectively, we can approximate with ; in words, the total change in is approximately the change caused by changing plus the change caused by changing . In a moment we give an indication of whether or not this approximation is any good. First we give a name to .
Let be continuous on an open set . Let and represent changes in and , respectively. Where the partial derivatives and exist, the total differential of is
Let . Find .
SolutionWe compute the partial derivatives: and . Following Definition 13.4.1, we have
We can approximate with , but as with all approximations, there is error involved. A good approximation is one in which the error is small. At a given point , let and be functions of and such that describes this error. Then
If the approximation of by is good, then as and get small, so does . The approximation of by is even better if, as and go to 0, so do and . This leads us to our definition of differentiability.
Let be defined on an open set containing where and exist. Let be the total differential of at , let , and let and be functions of and such that
is differentiable at if
is differentiable on if is differentiable at every point in . If is differentiable on , we say that is differentiable everywhere.
Show is differentiable using Definition 13.4.2.
SolutionWe begin by finding , , and .
, so
It is straightforward to compute and . Consider once more :
With and , it is clear that as and go to 0, and also go to 0. Since this did not depend on a specific point , we can say that is differentiable for all pairs in , or, equivalently, that is differentiable everywhere.
Our intuitive understanding of differentiability of functions of one variable was that the graph of was “smooth.” A similar intuitive understanding of functions of two variables is that the surface defined by is also “smooth,” not containing cusps, edges, breaks, etc. The following theorem provides a more tangible way of determining whether a great number of functions are differentiable or not.
Let be defined on an open set . If and are both continuous on , then is differentiable on .
The theorems assure us that essentially all functions that we see in the course of our studies here are differentiable (and hence continuous) on their natural domains. There is a difference between Definition 13.4.2 and Theorem 13.4.1, though: it is possible for a function to be differentiable yet or is not continuous. Such strange behavior of functions is a source of delight for many mathematicians. When this happens, we need to use other methods to determine whether or not is differentiable at that point.
By the definition, when is differentiable is a good approximation for when and are small. We give some simple examples of how this is used here.
Let . Approximate .
SolutionWe can approximate using . Without calculus, this is the best approximation we could reasonably come up with. The total differential gives us a way of adjusting this initial approximation to hopefully get a more accurate answer.
We let . The total differential is approximately equal to , so
(13.1) |
To find , we need and .
Approximating with 4 gives ; approximating with gives . Thus
Returning to Equation (13.1), we have
We, of course, can compute the actual value of with a calculator; to 5 places after the decimal, this is . Obviously our approximation is quite good.
The point of the previous example was not to develop an approximation method for known functions. After all, we can very easily compute using readily available technology. Rather, it serves to illustrate how well this method of approximation works, and to reinforce the following concept:
“New position = old position amount of change,” so
“New position old position + approximate amount of change.”
In the previous example, we could easily compute and could approximate the amount of -change when computing , letting us approximate the new -value.
It may be surprising to learn that it is not uncommon to know the values of , and at a particular point without actually knowing the function . The total differential gives a good method of approximating at nearby points.
Given that , and , approximate .
SolutionThe total differential approximates how much changes from the point to the point . With and , we have
The change in is approximately , so we approximate
The total differential gives an approximation of the change in given small changes in and . We can use this to approximate error propagation; that is, if the input is a little off from what it should be, how far from correct will the output be? We demonstrate this in an example.
A cylindrical steel storage tank is to be built that is 10ft tall and 4ft across in diameter. It is known that the steel will expand/contract with temperature changes; is the overall volume of the tank more sensitive to changes in the diameter or in the height of the tank?
SolutionA cylindrical solid with height and radius has volume . We can view as a function of two variables, and . We can compute partial derivatives of :
The total differential is When and , we have . Note that the coefficient of is ; the coefficient of is a tenth of that. A small change in radius will be multiplied by , whereas a small change in height will be multiplied by . Thus the volume of the tank is more sensitive to changes in radius than in height.
The previous example showed that the volume of a particular tank was more sensitive to changes in radius than in height. Keep in mind that this analysis only applies to a tank of those dimensions. A tank with a height of 1ft and radius of 5ft would be more sensitive to changes in height than in radius.
One could make a chart of small changes in radius and height and find exact changes in volume given specific changes. While this provides exact numbers, it does not give as much insight as the error analysis using the total differential.
The definition of differentiability for functions of three variables is very similar to that of functions of two variables. We again start with the total differential.
Let be continuous on an open set . Let , and represent changes in , and , respectively. Where the partial derivatives , and exist, the total differential of is
This differential can be a good approximation of the change in when is differentiable.
Let be defined on an open set containing where , and exist. Let be the total differential of at , let , and let , and be functions of , and such that
is differentiable at if
is differentiable on if is differentiable at every point in . If is differentiable on , we say that is differentiable everywhere.
Just as before, this definition gives a rigorous statement about what it means to be differentiable that is not very intuitive. We follow it with a theorem similar to Theorem 13.4.1.
Let be defined on an open set containing . If , , and are continuous on , then is differentiable on .
This set of definition and theorem extends to functions of any number of variables. The theorem again gives us a simple way of verifying that most functions that we encounter are differentiable on their natural domains.
This section has given us a formal definition of what it means for a functions to be “differentiable,” along with a theorem that gives a more accessible understanding. The following sections return to notions prompted by our study of partial derivatives that make use of the fact that most functions we encounter are differentiable.
T/F: If is differentiable on , the is continuous on .
T/F: If and are continuous on , then is differentiable on .
T/F: If is differentiable, then the change in over small changes and in and is approximately .
Finish the sentence: “The new -value is approximately the old -value plus the approximate .”
In Exercises 5–8, find the total differential .
In Exercises 9–12, a function is given. Give the indicated approximation using the total differential.
. Approximate knowing .
. Approximate knowing .
. Approximate knowing .
. Approximate knowing .
Exercises 13–16 ask a variety of questions dealing with approximating error and sensitivity analysis.
A cylindrical storage tank is to be 2ft tall with a radius of 1ft. Is the volume of the tank more sensitive to changes in the radius or the height?
Projectile Motion: The -value of an object moving under the principles of projectile motion is . A particular projectile is fired with an initial velocity of ft/s and an angle of elevation of . It travels a distance of ft in 3 seconds.
Is the projectile more sensitive to errors in initial speed or angle of elevation?
The length of a long wall is to be approximated. The angle , as shown in the diagram (not to scale), is measured to be , and the distance is measured to be 30’. Assume that the triangle formed is a right triangle.
Is the measurement of the length of more sensitive to errors in the measurement of or in ?
It is “common sense” that it is far better to measure a long distance with a long measuring tape rather than a short one. A measured distance can be viewed as the product of the length of a measuring tape times the number of times it was used. For instance, using a 3’ tape 10 times gives a length of 30’. To measure the same distance with a 12’ tape, we would use the tape 2.5 times. (I.e., .) Thus .
Suppose each time a measurement is taken with the tape, the recorded distance is within 1/16” of the actual distance. (I.e., ft). Using differentials, show why common sense proves correct in that it is better to use a long tape to measure long distances.
In Exercises 17–18, find the total differential .
In Exercises 19–22, use the information provided and the total differential to make the given approximation.
, , . Approximate .
, , . Approximate .
, , , . Approximate .
, , , . Approximate .
Find where the function is differentiable.