Chapter 5: The Tangent Line Approximation
Before discussing the main theme of this section, we introduce the formula for the derivative of a
power function
, i.e., a function of the form y =
. Here n can be anything --- positive or negative, integer or fraction (or even irrational, like
). The formula is:
.
That is,
(Power Rule)
.
We shall use this derivative formula in this section, even though we have not yet explained why it is valid --- this will be done later. For some special values of n we did derive this formula in the last section, namely:
=
= -
= 1
= 1.
Here are some examples of the
formula for other n:
=
=
,
=
The last of these formulas tells us how to find the slopes of the tangent lines to the graph of
in
Example
4.5
of the last section
. As expected, as x gets closer and closer to 0, the slopes become infinite (since 0 to a negative power is infinite).
The Tangent Line Approximation
The
tangent line approximation
is one of the most fundamental uses of the derivative. Suppose we have a function f(x) which we can easily evaluate at some particular x. For example, the function
has an obvious value when x = 1 or when x = 100; the function
has an obvious value when x = 4 or when x = 0.01. Now suppose that we want to
evaluate our function not at the easy x but rather at some nearby
. For example, we want to find the reciprocal not of 1 but rather of 1.01; or we want to find the square root not of 4 but rather of 3.99. The tangent line approximation is a way of doing this quickly but not with perfect precision --- the result will be a little off (the accuracy depends on the particular function and on the size of
--- the smaller the
the better the accuracy).
In a tangent line approximation problem we will know f(x) and want to find f(x+h). The derivative
will also be relatively easy to compute at the point x. The formula derived below expresses f(x+h) in terms of
and of course
.
To derive the formula, we draw a picture of our situation:
code for diagrams
We want to find the y-coordinate of the point on the curve above x+h. Physically, we can get to that point by starting at our known point (
) and following the curve until we go a horizontal distance
to the right (we go to the left if h is negative). In doing this, we move upward a distance
. If we can determine
, then we know what to add to our known value f(x) to get the value we're interested in: f(x+h). Now
is the slope of the chord joining the two points on the curve. The idea of the tangent line approximation is to use instead the slope of the tangent line to the curve at the point (x,f(x)). (This will give us a slightly different value for the change in y --- namely, it gives us the change in y if we were to follow the tangent line rather than the actual curve when we move to the right a horizontal distance of h.) That is,
slope of chord = (approximately) slope of tangent line
is approximately
And
= (approx)
This gives us the
VERY IMPORTANT! tangent line approximation formula
=(approx)
.
In using this formula, the basic steps are: (1) decide what your function f is in the given problem, and what you're taking for x and x+h; (2) find the derivative
; and (3) evaluate the formula.
Here our function is
, which we can evaluate in our heads at the point x = 2, namely f(2) =
. We want to know its value at the nearby point
. Thus,
. In the tangent line approximation formula,we need to know
. Now
(Use the Power Rule above). Hence
= 3
= 12. We are now ready to use the tangent line approximation formula:
f(2+0.1) = (approx) f
= 8+0.1(12) = 9.2.
Of course, we could easily find
more exactly by calculator (or precisely by multiplying by hand): the result is 9.261.
code for diagrams
Here we're interested in evaluating the reciprocal function very near to an x-value whose reciprocal we can evaluate in our heads, namely:
= 0.2. That is, our function is
, our x is 5, and x+h = 4.99, i.e., h = -0.01. Since
=
= -0.04, we have:
= f(5+(-0.01)) = (approx)
= 0.2 - 0.01(-0.04) = 0.2004.
Using a calculator, we can find a better value:
... . A more sophisticated calculation can do better: 0.20040080160320641282565130. Thus, in this case the tangent line approximation is accurate to 5 decimal places.
Example 5.3 : Points on a Circle
On the circle of radius 10 centered at the origin find a point in the first
quadrant whose x-coordinate is 6.01. Also, do the same for x = 5.99.
First the point x = 6.01. Here we know the ``easy point'' (6,8) on the circle, and we want to know the y-coordinate of the nearby point (6.01,?). The function is y =
, our x is 6, and our x+h = 6.01, i.e., h = 0.01. Using the technique in the last section (e.g., Problem 1 on the homework), we can find the derivative:
=
. Thus, the tangent line approximation tells us that
= (approx)
= 7.9925. (A more precise value, computed by calculator, is 7.992490225....)
The point x = 5.99 can be done similarly by taking h = -0.01 instead. So, we get f(5.99) = (approx)
. (A more precise value, computed by calculator, is 8.0074902435. . . .)
Example 5.4 : Quarts and Liters
If 1 quart equals 0.9464 liter, and 1 liter of water occupies exactly 1000 cc (cubic centimeters), i.e., a cubic container 10 cm on a side, then what are the dimensions (in cm) of a cubic container that holds 1 quart of water?
In a story problem like this, we must first analyze the operation that is being performed. The question can be reworded as follows: if a cube holding 1000 cc has side 10 cm, then what is the side of a cube holding 0.9464 as much? The process of going from the volume to the side is the cube-root function. Since ``0.9464 as much as 1000 cc'' obviously means 946.4 cc, we can rephrase the question once again: if the cube-root of 1000 is 10, then what is the cube-root of 946.4?
Let s be the length of the side of the cube and V its volume, then
s =
In the tangent line approximation we take V = 1000 and
, i.e.,
=
. By the Power Rule, we have
. When V = 1000, we have
, and so
= 1/300. So the tangent line approximation says that "the cube root of (946.4)" = f(946.4) = (approx)
= 9.821 cm. (Note: a more exact value obtained by calculator is 9.81804256....)
Alternate Method
.
Write
. Then by the tangent line approximation
= (approx)
. Since s = 10 and
= -53.6, we have -53.6 = (approx)
. Solving for
gives
= (approx) -0.179, so the new
= old
+
=
= (approx) 10 - 0.179 = 9.821 cm.
This method illustrates an important concept.
It is often easier to use a relation between quantities, rather than one explicit functional evaluation
.
Solving explicitly for s was not necessary and indeed led to more complicated calculations!
(percent error) =
.
For example, if you measure the speed of a car to be 50 mph to within 1 mph on either side, that means you have a percent error of +-100(1)/50 = +- 2%.
If you know the percent error, say +- p%, then to convert this to
absolute error
h, use the formula:
absolute error =
=
.
The reason for using the percent error is that it is a more realistic estimate of the error size. For instance an error of 10 feet in measuring a mile is not as serious as an error of 10 feet in measuring off a football field of 100 yards! The former percent error is only
, but the latter is
.
It may seem curious to calculate the percent error for if we actually knew the estimated value of an quantity and the precise percentage error then as above we could calculate the absolute error, subtract it from the estimate and know the original quantity exactly. What this indicates is that although it may not be able absolutely attainable the percentage error is something we would want to estimate. As the next example shows we can use the tangent line approximation to estimate percentage error.
Example 5.5 : Cubic Containers
If you determine the length of a side of a cubic container by measuring the volume of liquid it holds, then an error of +- 1 % in measuring the volume will lead to what percent error in your value for the length of a side? An error of +- p% will lead to what percent error for the side?
This is a lot like Example 5.4. Again our process is: starting with the volume of a cube, determine its side. That is, our function is again the cube-root function. But we're not given any concrete values --- and to answer the question we don't need any.
So let V stand for the measured value of the volume, and let s = f(V) =
be the length of a side. We want to know the error
that is caused if V is replaced by V +-
, where
is a 1% error, i.e.,
. Actually, what we want to know is the
percent error in the side s, i.e.,
. According to the tangent line approximation,
= (approx)
=
=
,
where the last equality comes from the rule of exponents:
=
.
But
is precisely the value s = f(V). So our percent error in s is
= (approx)
=
%.
If we take +-
in place of
, we get -1/3 %. Thus, the percent error in s is (approximately) +-1/ 3 %. This answers our first question.
If the error in V is +- p % instead of + -1%, everything would go through the same way, except with a factor of p everywhere:
= (approx)
=
=
%,
so the error in s is +-
%. That is, a certain percent error in measuring the volume of a cube leads to a percent error one-third as great in the value computed for the side
.
Note:
Notice where the
came from in the last example: the exponent in
that comes down in the rule for the derivative of
. In the same way, it turns out that whenever your function is of the form y =
(where C is any constant), there is a simple relationship between the percent error in your measurement of x and the percent error in y obtained using the tangent line approximation. More examples of this will show up in the homework.