Chapter 5: The Tangent Line Approximation

The Power Rule

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 = [Maple Math] . Here n can be anything --- positive or negative, integer or fraction (or even irrational, like [Maple Math] ). The formula is:

[Maple Math] .

That is,
(Power Rule)
[Maple Math] .


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:

[Maple Math] [Maple Math] = [Maple Math]

[Maple Math] [Maple Math]

[Maple Math] [Maple Math] [Maple Math] = - [Maple Math]

[Maple Math] [Maple Math] = 1 [Maple Math] = 1.

Here are some examples of the [Maple Math] formula for other n:
[Maple Math] [Maple Math] = [Maple Math] [Maple Math] = [Maple Math] [Maple Math]

[Maple Math] [Maple Math] [Maple Math] ,

[Maple Math] [Maple Math] = [Maple Math] [Maple Math]

The last of these formulas tells us how to find the slopes of the tangent lines to the graph of [Maple Math] 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 [Maple Math] has an obvious value when x = 1 or when x = 100; the function [Maple Math] 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
[Maple Math] . 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 [Maple Math] --- the smaller the [Maple Math] the better the accuracy).

In a tangent line approximation problem we will know f(x) and want to find f(x+h). The derivative [Maple Math] will also be relatively easy to compute at the point x. The formula derived below expresses f(x+h) in terms of [Maple Math] and of course [Maple Math] .

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 ( [Maple Math] ) and following the curve until we go a horizontal distance [Maple Math] to the right (we go to the left if h is negative). In doing this, we move upward a distance [Maple Math] . If we can determine [Maple Math] , then we know what to add to our known value f(x) to get the value we're interested in: f(x+h). Now [Maple Math] 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

[Maple Math] is approximately [Maple Math]

And [Maple Math] = (approx) [Maple Math]


This gives us the
VERY IMPORTANT! tangent line approximation formula

[Maple Math] =(approx) [Maple Math] .


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
[Maple Math] ; and (3) evaluate the formula.

Example 5.1 : Find [Maple Math] .

Here our function is [Maple Math] , which we can evaluate in our heads at the point x = 2, namely f(2) = [Maple Math] . We want to know its value at the nearby point [Maple Math] . Thus, [Maple Math] . In the tangent line approximation formula,we need to know [Maple Math] . Now [Maple Math] [Maple Math] (Use the Power Rule above). Hence [Maple Math] = 3 [Maple Math] = 12. We are now ready to use the tangent line approximation formula:


f(2+0.1) = (approx) f
[Maple Math] = 8+0.1(12) = 9.2.



Of course, we could easily find
[Maple Math] more exactly by calculator (or precisely by multiplying by hand): the result is 9.261.

code for diagrams

[Maple Plot]

[Maple Plot]

Since the tangent line approximation does not give the exact answer, and since we could have found [Maple Math] easily enough without it, you might wonder why one bothers with the tangent line approximation. There are several answers: (1) In easy examples, with experience you can perform the tangent line approximation in your head, thereby getting a better ``feel'' for how the function changes when you make a small change from x to x+h. For instance, in Example 5.1 we can say that ``the cube of a number near 2 is going to be near 8, and the difference between the cube and 8 is going to be about 12 times the difference between our number and 2.'' (2) In many practical applications, the tangent line approximation gives simple answers to questions about experimental error, especially percent error . (3) Later on, in the section on implicit functions, we will encounter examples where y cannot be written in terms of x, and so there is no way to evaluate the y-coordinate of the point on the curve above x+h except through an approximation method, such as the tangent line approximation.

A more important answer will come much later. A generalization of the tangent line approximation will develop into a systematic method for calculation with any desired precision and this will explain what your calculators or computers are doing. This is the topic concerning
Taylor polynomials . In fact, the method can finally be pushed into making precise power series expansions of most functions. This will come much later!

In other words, do not look down upon the imprecise answers, we are just warming up!

Example 5.2 : Find [Maple Math] .

Here we're interested in evaluating the reciprocal function very near to an x-value whose reciprocal we can evaluate in our heads, namely: [Maple Math] = 0.2. That is, our function is [Maple Math] , our x is 5, and x+h = 4.99, i.e., h = -0.01. Since [Maple Math] = [Maple Math] = -0.04, we have:

[Maple Math] = f(5+(-0.01)) = (approx) [Maple Math] = 0.2 - 0.01(-0.04) = 0.2004.

Using a calculator, we can find a better value: [Maple Math] ... . 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 =
[Maple Math] , 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: [Maple Math] = [Maple Math] . Thus, the tangent line approximation tells us that [Maple Math] = (approx) [Maple Math] = 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) [Maple Math] . (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 = [Maple Math]

In the tangent line approximation we take V = 1000 and [Maple Math] , i.e., [Maple Math] = [Maple Math] . By the Power Rule, we have [Maple Math] . When V = 1000, we have [Maple Math] , and so [Maple Math] = 1/300. So the tangent line approximation says that "the cube root of (946.4)" = f(946.4) = (approx) [Maple Math] = 9.821 cm. (Note: a more exact value obtained by calculator is 9.81804256....)

Alternate Method . Write [Maple Math] . Then by the tangent line approximation [Maple Math] = (approx) [Maple Math] . Since s = 10 and [Maple Math] = -53.6, we have -53.6 = (approx) [Maple Math] . Solving for [Maple Math] gives [Maple Math] = (approx) -0.179, so the new [Maple Math] = old [Maple Math] + [Maple Math] = [Maple Math] = (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!

The next example involves percent error . If you measure a value x, then the error (meaning the maximum possible error, or perhaps the maximum error that is likely) is the amount by which the true value could possibly differ from your measured value. We shall denote the error [Maple Math] . In most cases the true value could be on either side of the measured value, so the error is actually +- [Maple Math] . By the percent error we mean the percent that this error is of the measured value, namely:

(percent error) = [Maple Math] .


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 = [Maple Math] = [Maple Math] .

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 [Maple Math] , but the latter is [Maple Math] .

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) =
[Maple Math] be the length of a side. We want to know the error [Maple Math] that is caused if V is replaced by V +- [Maple Math] , where [Maple Math] is a 1% error, i.e., [Maple Math] . Actually, what we want to know is the percent error in the side s, i.e., [Maple Math] . According to the tangent line approximation,

[Maple Math] = (approx) [Maple Math] = [Maple Math] [Maple Math] = [Maple Math] ,

where the last equality comes from the rule of exponents:

[Maple Math] = [Maple Math] .

But [Maple Math] is precisely the value s = f(V). So our percent error in s is



[Maple Math] = (approx) [Maple Math] = [Maple Math] %.


If we take +-
[Maple Math] in place of [Maple Math] , 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:


[Maple Math] = (approx) [Maple Math] = [Maple Math] = [Maple Math] %,

so the error in s is +- [Maple Math] %. 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 [Maple Math] came from in the last example: the exponent in [Maple Math] that comes down in the rule for the derivative of [Maple Math] . In the same way, it turns out that whenever your function is of the form y = [Maple Math] (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.

table of contents