<meta http-equiv="refresh" content="1; url=/nojavascript/"> Approximation Errors | CK-12 Foundation
Dismiss
Skip Navigation
You are reading an older version of this FlexBook® textbook: CK-12 Calculus Go to the latest version.

3.8: Approximation Errors

Created by: CK-12

Learning Objectives

A student will be able to:

  • Extend the Mean Value Theorem to make linear approximations.
  • Analyze errors in linear approximations.
  • Extend the Mean Value Theorem to make quadratic approximations.
  • Analyze errors in quadratic approximations.

Introduction

In this lesson we will use the Mean Value Theorem to make approximations of functions. We will apply the Theorem directly to make linear approximations and then extend the Theorem to make quadratic approximations of functions.

Let’s consider the tangent line to the graph of a function f at the point (a, f(a)). The equation of this line is y = f(a) + f'(a)(x - a). We observe from the graph that as we consider x near a, the value of f(x) is very close to f(a).

In other words, for x values close to a, the tangent line to the graph of a function f at the point (a, f(a)) provides an approximation of f(x) or f(x) \approx f(a) + f'(a)(x-a). We call this the linear or tangent line approximation of f at a and indicate it by the formula L(x) = f(a) + f'(a)(x-a).

The linear approximation can be used to approximate functional values that deviate slightly from known values. The following example illustrates this process.

Example 1:

Use the linear approximation of the function f(x)=\sqrt{x-2} at a = 6 to approximate \sqrt{3.95}.

Solution:

We know that  f(6)=\sqrt{6-2}=2. So we will find the linear approximation of the function and substitute x values close to 6.

L(x) = f(6) + f'(6)(x - 6).

We note that  f'(x)=\frac {1}{2 \sqrt{x-2}},f'(6)=\frac {1}{4}.

We also know that f (6) = 2.

By substitution, we have

f(x)\approx f(6) + f'(6)(x - 6) for x near 6.

Hence  L(x)=2+\frac{1}{4} (x-6)=\frac{1}{2}+\frac{1}{4}x.

We observe that to approximate \sqrt{3.95} we need to evaluate the linear approximation at 5.95, and we have

 L(5.95)=\frac{1}{2}+\frac{1}{4} (5.95)=1.9875. If we were to compare this approximation to the actual value, \sqrt {3.95}\approx 1.9874, we see that it is a very good approximation.

If we observe a table of x values close to 6, we see how the approximations compare to the actual value.

& f(x)=\sqrt{x-2} & & x & & L(x)=\frac{1}{2}+\frac{1}{4}x & & \text{Actual}\\& \sqrt{3.95} & & 5.95 & & 1.9875 & & 1.9874\\& \sqrt{3.99} & & 5.99 & & 1.9975 & & 1.9974\\& \sqrt{4} & & 6 & & 2 & & 2\\& \sqrt{4.1} & & 6.01 & & 2.0025 & & 2.0024\\& \sqrt{4.05} & & 6.05 & & 2.0125 & & 2.0124

Setting Error Estimates

We would like to have confidence in the approximations we make. We therefore can choose the x values close to a to ensure that the errors are within acceptable boundaries. For the previous example, we saw that the values of L(x) close to a = 6, gave very good approximations, all within 0.0001 of the actual value.

Example 2:

Let’s suppose that for the previous example, we did not require such precision. Rather, suppose we wanted to find the range of x values close to 6 that we could choose to ensure that our approximations lie within 0.01 of the actual value.

Solution:

The easiest way for us to find the proper range of x values is to use the graphing calculator. We first note that our precision requirement can be stated as |\sqrt{x-2}-\left (\frac{1}{2}+\frac{x}{4}\right )|<0.01.

If we enter the functions f(x)=\sqrt{x-2} and L(x)=\frac{1}{2}+\frac{1}{4} x into the Y = menu as Y_1 and Y_2, respectively, we will be able to view the function values of the functions using the [TABLE] feature of the calculator. In order to view the differences between the actual and approximate values, we can enter into the Y = menu the difference function Y_3 = Y_1 - Y_2 as follows:

  1. Go to the Y = menu and place cursor on the  Y_3 line.
  2. Press the following sequence of key strokes: [VARS] [FUNCTION] [Y_1]. This will copy the function Y_1 onto the Y_3 line of the Y = menu.
  3. Press [-] to enter the subtraction operation onto the Y_3 line of the Y = menu.
  4. Repeat steps 1 - 2 and choose Y_2 to copy Y_2 onto the Y_3 line of the Y = menu.

Your screen should now appear as follows:

Now let’s setup the [TABLE] function so that we find the required accuracy.

  1. Press 2ND followed by [TBLSET] to access the Table Setup screen.
  2. Set the [TBLStart] value to 5 and \triangle \;\mathrm{Tbl} to 0.1.

Your screen should now appear as follows:

Now we are ready to find the required accuracy.

Access the [TABLE] function, scroll through the table, and find those x values that ensure |Y_3| \le 0.01.

5.3 \le x \le 6.8

Non-Linear Approximations

It turns out that the linear approximations we have discussed are not the only approximations that we can derive using derivatives. We can use non-linear functions to make approximations. These are called Taylor Polynomials and are defined as

T_n(x) = f(a) + f'(a) (x - a) + \frac{f''(a)} {2!} (x - a)^2 +\ldots+ \frac{f^n(a)} {n!} (x - a)^n.

We call this the Taylor Polynomial of fcentered at a.

For our discussion, we will focus on the quadratic case. The Taylor Polynomial corresponding to n = 2 is given by

T_2(x) = f(a) + f'(a) (x - a) + \frac{1}{2} f''(a) (x - a)^2.

Note that this is just our linear approximation with an added term. Hence we can view it as an approximation of f for x values close to a.

Example 3:

Find the quadratic approximation of the function f(x) = \sqrt{x - 2} at a = 6 and compare them to the linear approximations from the first example.

Solution:

Recall that  L(x) = \frac{1} {2} + \frac{1} {4}x.

Hence  T_2(x) = L(x) + \frac{1} {2} f'' (6) (x - 6)^2.

 f''(x) = -\frac{1} {4\sqrt{(x - 2)^3}} ; so  f''(6) = -\frac{1} {4\sqrt{(6 - 2)^3}} = - \frac{1} {32}.

Hence T_2(x) = L(x) - \frac{1} {64} (x - 6)^2 = \frac{1} {2} + \frac{1} {4}x - \frac{1} {64} (x - 6)^2 = - \frac{1} {64} x^2 + \frac{7} {16} x - \frac {1} {16}.

So T_2(x) = - \frac{1} {64} x^2 + \frac{7} {16} x - \frac{1} {16}. If we update our table from the first example we can see how the quadratic approximation compares with the linear approximation.

& f(x)=\sqrt{x-2} & & x & &  L(x)=\frac{1}{2}+\frac{1}{4}x & & T_2(x) = -\frac{1} {64} x^2 + \frac{7} {16} x - \frac{1} {16} & & \text{Actual}\\& \sqrt{3.95} & & 5.95 & & 1.9875 & & 1.9874 & & 1.9874\\& \sqrt{3.99} & & 5.99 & & 1.9975 & & 1.9974  & & 1.9974\\& \sqrt{4} & & 6 & & 2 & & 2 & & 2\\& \sqrt{4.1} & & 6.01 & & 2.0025 & & 2.0024 & & 2.0024\\& \sqrt{4.05} & & 6.05 & & 2.0125 & & 2.0124 & & 2.0124

As you can see from the graph below, T(x) is an excellent approximation of f(x) near x = 6.

We get a slightly better approximation for the quadratic than for the linear. If we reflect on this a bit, the finding makes sense since the shape and properties of quadratic functions more closely approximate the shape of radical functions.

Finally, as in the first example, we wish to determine the range of x values that will ensure that our approximations are within 0.01 of the actual value. Using the [TABLE] feature of the calculator, we find that if 4.444 \le \times \le 7.87, then  |\sqrt{x -2} - T(x)| < 0.01.

Lesson Summary

  1. We extended the Mean Value Theorem to make linear approximations.
  2. We analyzed errors in linear approximations.
  3. We extended the Mean Value Theorem to make quadratic approximations.
  4. We analyzed errors in quadratic approximations.

Review Questions

In problems #1–4, find the linearization L(x) of the function at x = a.

  1. f(x) = 2x^4 - 6x^3 near a = -2
  2.  f(x) = x^\frac{2} {3} near a = 27
  3. Find the linearization of the function  f(x) = \sqrt{5 -x} near a = 1 and use it to approximate \sqrt{4.01}.
  4. Based on using linear approximations, is the following approximation reasonable? 1.001^4 = 1.004
  5. Use a linear approximation to approximate the following:  16.08^\frac{3} {4}
  6. Verify the the following linear approximation at a = 1. Determine the values of x for which the linear approximation is accurate to 0.01. \sqrt[3]{2 - x} \approx \frac{4} {3} - \frac{x} {3}
  7. Find the quadratic approximation for the function in #3,  f(x) = \sqrt{5 - x} near a = 1.
  8. Determine the values of x for which the quadratic approximation found in #7 is accurate to 0.01.
  9. Determine the quadratic approximation for f(x) = 2x^4 - 6x^3 near a = -2. Do you expect that the quadratic approximation is better or worse than the linear approximation? Explain your answer.

Review Answers

  1. f(-2) = 80, f'(-2) = -136; L(x) = -192 -136x
  2. f(27) = 9, f'(27) = 2/9; L(x) = 3 + \frac{2}{9} x
  3. f(1) = 2, f'(1) = -\frac{1} {4}; L(x) = \frac{9}{4} - \frac{1} {4} x; \sqrt{4.01} \approx 2.0025
  4. Yes; using linear approximation on f(x) = x^4 near a = 1 we find that L(x) = 4x -3; L(1.001) = 1.004.
  5. Using linear approximation on f(x) = x^\frac{3} {4} near a = 16 we find L(x) = 8+ \frac{3} {8} (x - 16) = 2 + \frac{3} {8}x; L(16.08) = 8.03.
  6. 0.68 < \times < 1.27
  7.  T(x) = - \frac{1} {64} x^2 - \frac{7} {32} x + \frac{143} {64}
  8. 0.87 \le \times \le 2.56
  9. T(x) = 84x^2 + 200x + 144; we would expect it to be a better approximation since the graph of f(x) = 2x^4 - 6x^3 is similar to the graph of a quadratic function. f(x) & = 2x^4 - 6x^3\\T(x) & = 84x^2 + 200x + 144

Texas Instruments Resources

In the CK-12 Texas Instruments Calculus FlexBook, there are graphing calculator activities designed to supplement the objectives for some of the lessons in this chapter. See http://www.ck12.org/flexr/chapter/9728.

Image Attributions

Files can only be attached to the latest version of None

Reviews

Please wait...
You need to be signed in to perform this action. Please sign-in and try again.
Please wait...
Image Detail
Sizes: Medium | Original
 
CK.MAT.ENG.SE.1.Calculus.3.8

Original text