Chapter 5.2: Linear Approximations and Differentials
Learning Objectives
- Describe the linear approximation to a function at a point.
- Write the linearization of a given function.
- Draw a graph that illustrates the use of differentials to approximate the change in a quantity.
- Calculate the relative error and percentage error in using a differential approximation.
We have just seen how derivatives allow us to compare related quantities that are changing over time. In this section, we examine another application of derivatives: the ability to approximate functions locally by linear functions. Linear functions are the easiest functions with which to work, so they provide a useful tool for approximating function values. In addition, the ideas presented in this section are generalized in the second volume of this text, when we studied how to approximate functions by higher-degree polynomials in the Introduction to Power Series and Functions.
Linear Approximation of a Function at a Point
Consider a function   that is differentiable at a point
 that is differentiable at a point   . Recall that the tangent line to the graph of
 . Recall that the tangent line to the graph of   at
 at   is given by the equation
 is given by the equation
 .
 .For example, consider the function   at
 at   . Since
 . Since   is differentiable at
 is differentiable at   and
 and   , we see that
 , we see that   . Therefore, the tangent line to the graph of
 . Therefore, the tangent line to the graph of   at
 at   is given by the equation
 is given by the equation
 .
 .(Figure)(a) shows a graph of   along with the tangent line to
 along with the tangent line to   at
 at   . Note that for
 . Note that for   near 2, the graph of the tangent line is close to the graph of
 near 2, the graph of the tangent line is close to the graph of   . As a result, we can use the equation of the tangent line to approximate
 . As a result, we can use the equation of the tangent line to approximate   for
 for   near 2. For example, if
 near 2. For example, if   , the
 , the   value of the corresponding point on the tangent line is
 value of the corresponding point on the tangent line is
 .
 .The actual value of   is given by
 is given by
 .
 .Therefore, the tangent line gives us a fairly good approximation of   ((Figure)(b)). However, note that for values of
 ((Figure)(b)). However, note that for values of   far from 2, the equation of the tangent line does not give us a good approximation. For example, if
 far from 2, the equation of the tangent line does not give us a good approximation. For example, if   , the
 , the   -value of the corresponding point on the tangent line is
 -value of the corresponding point on the tangent line is
 ,
 ,whereas the value of the function at   is
 is   .
 .

 at
 at   provides a good approximation to
 provides a good approximation to   for
 for   near 2. (b) At
 near 2. (b) At   , the value of
 , the value of   on the tangent line to
 on the tangent line to   is 0.475. The actual value of
 is 0.475. The actual value of   is
 is   , which is approximately 0.47619.
 , which is approximately 0.47619.In general, for a differentiable function   , the equation of the tangent line to
 , the equation of the tangent line to   at
 at   can be used to approximate
 can be used to approximate   for
 for   near
 near   . Therefore, we can write
 . Therefore, we can write
 for
 for   near
 near   .
 .We call the linear function

the linear approximation, or tangent line approximation, of   at
 at   . This function
 . This function   is also known as the linearization of
 is also known as the linearization of   at
 at   .
 .
To show how useful the linear approximation can be, we look at how to find the linear approximation for   at
 at   .
 .
Linear Approximation of  
Find the linear approximation of   at
 at   and use the approximation to estimate
 and use the approximation to estimate   .
 .
Solution
Since we are looking for the linear approximation at   , using (Figure) we know the linear approximation is given by
 , using (Figure) we know the linear approximation is given by
 .
 .We need to find   and
 and   .
 .

Therefore, the linear approximation is given by (Figure).

Using the linear approximation, we can estimate   by writing
 by writing
 .
 .
 at
 at   provides an approximation to
 provides an approximation to   for
 for   near 9.
 near 9.Find the local linear approximation to  ![Rendered by QuickLaTeX.com f(x)=\sqrt[3]{x}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-c3c5e7be9bc257eb2866277bae5be644_l3.png) at
 at   Use it to approximate
 Use it to approximate  ![Rendered by QuickLaTeX.com \sqrt[3]{8.1}](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-d118ca9103bae2739adb3756d99826f1_l3.png) to five decimal places.
 to five decimal places.
Solution
  2.00833
 2.00833
Hint
 
Linear Approximation of  
Find the linear approximation of   at
 at   and use it to approximate
 and use it to approximate  
Solution
First we note that since   rad is equivalent to
 rad is equivalent to   using the linear approximation at
 using the linear approximation at   seems reasonable. The linear approximation is given by
 seems reasonable. The linear approximation is given by

We see that

Therefore, the linear approximation of   at
 at   is given by (Figure).
 is given by (Figure).

To estimate   using
 using   we must first convert
 we must first convert   to radians. We have
 to radians. We have   radians, so the estimate for
 radians, so the estimate for   is given by
 is given by


 at
 at   provides an approximation to
 provides an approximation to   for
 for   near
 near  
Find the linear approximation for   at
 at  
  −
 −  
Hint
 
Linear approximations may be used in estimating roots and powers. In the next example, we find the linear approximation for   at
 at   which can be used to estimate roots and powers for real numbers near 1. The same idea can be extended to a function of the form
 which can be used to estimate roots and powers for real numbers near 1. The same idea can be extended to a function of the form   to estimate roots and powers near a different number
 to estimate roots and powers near a different number  
Approximating Roots and Powers
Find the linear approximation of   at
 at   Use this approximation to estimate
 Use this approximation to estimate  
Solution
The linear approximation at   is given by
 is given by

Because

the linear approximation is given by (Figure)(a).

We can approximate   by evaluating
 by evaluating   when
 when   We conclude that
 We conclude that


 at
 at   is
 is   (b) The actual value of
 (b) The actual value of   is 1.030301. The linear approximation of
 is 1.030301. The linear approximation of   at
 at   estimates
 estimates   to be 1.03.
 to be 1.03.
Find the linear approximation of   at
 at   without using the result from the preceding example.
 without using the result from the preceding example.
Solution
 
Hint
 
Differentials
We have seen that linear approximations can be used to estimate function values. They can also be used to estimate the amount a function value changes as a result of a small change in the input. To discuss this more formally, we define a related concept: differentials. Differentials provide us with a way of estimating the amount a function changes as a result of a small change in input values.
When we first looked at derivatives, we used the Leibniz notation   to represent the derivative of
 to represent the derivative of   with respect to
 with respect to   Although we used the expressions dy and dx in this notation, they did not have meaning on their own. Here we see a meaning to the expressions dy and dx. Suppose
 Although we used the expressions dy and dx in this notation, they did not have meaning on their own. Here we see a meaning to the expressions dy and dx. Suppose   is a differentiable function. Let dx be an independent variable that can be assigned any nonzero real number, and define the dependent variable
 is a differentiable function. Let dx be an independent variable that can be assigned any nonzero real number, and define the dependent variable   by
 by

It is important to notice that   is a function of both
 is a function of both   and
 and   The expressions dy and dx are called differentials. We can divide both sides of (Figure) by
 The expressions dy and dx are called differentials. We can divide both sides of (Figure) by   which yields
 which yields

This is the familiar expression we have used to denote a derivative. (Figure) is known as the differential form of (Figure).
Computing differentials
For each of the following functions, find dy and evaluate when   and
 and  
Solution
The key step is calculating the derivative. When we have that, we can obtain dy directly.
- Since   we know we know and therefore and therefore When  and and  
- Since     This gives us This gives us When  and and  – – 
For   find
 find  
Solution
 
Hint
 
We now connect differentials to linear approximations. Differentials can be used to estimate the change in the value of a function resulting from a small change in input values. Consider a function   that is differentiable at point
 that is differentiable at point   Suppose the input
 Suppose the input   changes by a small amount. We are interested in how much the output
 changes by a small amount. We are interested in how much the output   changes. If
 changes. If   changes from
 changes from   to
 to   then the change in
 then the change in   is
 is   (also denoted
 (also denoted   and the change in
 and the change in   is given by
 is given by

Instead of calculating the exact change in   however, it is often easier to approximate the change in
 however, it is often easier to approximate the change in   by using a linear approximation. For
 by using a linear approximation. For   near
 near   
   can be approximated by the linear approximation
 can be approximated by the linear approximation

Therefore, if   is small,
 is small,

That is,

In other words, the actual change in the function   if
 if   increases from
 increases from   to
 to   is approximately the difference between
 is approximately the difference between   and
 and   where
 where   is the linear approximation of
 is the linear approximation of   at
 at   By definition of
 By definition of   this difference is equal to
 this difference is equal to   In summary,
 In summary,

Therefore, we can use the differential   to approximate the change in
 to approximate the change in   if
 if   increases from
 increases from   to
 to   We can see this in the following graph.
 We can see this in the following graph.

 is used to approximate the actual change in
 is used to approximate the actual change in   if
 if   increases from
 increases from   to
 to  
We now take a look at how to use differentials to approximate the change in the value of the function that results from a small change in the value of the input. Note the calculation with differentials is much simpler than calculating actual values of functions and the result is very close to what we would obtain with the more exact calculation.
Approximating Change with Differentials
Let   Compute
 Compute   and dy at
 and dy at   if
 if  
Solution
The actual change in   if
 if   changes from
 changes from   to
 to   is given by
 is given by
![Rendered by QuickLaTeX.com \Delta y=f(3.1)-f(3)=\left[{(3.1)}^{2}+2(3.1)\right]-\left[{3}^{2}+2(3)\right]=0.81.](https://ecampusontario.pressbooks.pub/app/uploads/quicklatex/quicklatex.com-4f067b6da47d43ea66dfc29b07374ad4_l3.png)
The approximate change in   is given by
 is given by   Since
 Since   we have
 we have

For   find
 find   and
 and   at
 at   if
 if  
Solution
  
  
Hint
  
  
Calculating the Amount of Error
Any type of measurement is prone to a certain amount of error. In many applications, certain quantities are calculated based on measurements. For example, the area of a circle is calculated by measuring the radius of the circle. An error in the measurement of the radius leads to an error in the computed value of the area. Here we examine this type of error and study how differentials can be used to estimate the error.
Consider a function   with an input that is a measured quantity. Suppose the exact value of the measured quantity is
 with an input that is a measured quantity. Suppose the exact value of the measured quantity is   but the measured value is
 but the measured value is   We say the measurement error is dx (or
 We say the measurement error is dx (or   As a result, an error occurs in the calculated quantity
 As a result, an error occurs in the calculated quantity   This type of error is known as a propagated error and is given by
 This type of error is known as a propagated error and is given by

Since all measurements are prone to some degree of error, we do not know the exact value of a measured quantity, so we cannot calculate the propagated error exactly. However, given an estimate of the accuracy of a measurement, we can use differentials to approximate the propagated error   Specifically, if
 Specifically, if   is a differentiable function at
 is a differentiable function at   the propagated error is
 the propagated error is

Unfortunately, we do not know the exact value   However, we can use the measured value
 However, we can use the measured value   and estimate
 and estimate

In the next example, we look at how differentials can be used to estimate the error in calculating the volume of a box if we assume the measurement of the side length is made with a certain amount of accuracy.
Volume of a Cube
Suppose the side length of a cube is measured to be 5 cm with an accuracy of 0.1 cm.
- Use differentials to estimate the error in the computed volume of the cube.
- Compute the volume of the cube if the side length is (i) 4.9 cm and (ii) 5.1 cm to compare the estimated error with the actual potential error.
Solution
- The measurement of the side length is accurate to within   cm. Therefore, cm. Therefore, The volume of a cube is given by  which leads to which leads to Using the measured side length of 5 cm, we can estimate that  Therefore,  
- If the side length is actually 4.9 cm, then the volume of the cube is
 If the side length is actually 5.1 cm, then the volume of the cube is  Therefore, the actual volume of the cube is between 117.649 and 132.651. Since the side length is measured to be 5 cm, the computed volume is  Therefore, the error in the computed volume is Therefore, the error in the computed volume is That is,  We see the estimated error  is relatively close to the actual potential error in the computed volume. is relatively close to the actual potential error in the computed volume.
Estimate the error in the computed volume of a cube if the side length is measured to be 6 cm with an accuracy of 0.2 cm.
Solution
The volume measurement is accurate to within  
Hint
 
The measurement error dx   and the propagated error
 and the propagated error   are absolute errors. We are typically interested in the size of an error relative to the size of the quantity being measured or calculated. Given an absolute error
 are absolute errors. We are typically interested in the size of an error relative to the size of the quantity being measured or calculated. Given an absolute error   for a particular quantity, we define the relative error as
 for a particular quantity, we define the relative error as   where
 where   is the actual value of the quantity. The percentage error is the relative error expressed as a percentage. For example, if we measure the height of a ladder to be 63 in. when the actual height is 62 in., the absolute error is 1 in. but the relative error is
 is the actual value of the quantity. The percentage error is the relative error expressed as a percentage. For example, if we measure the height of a ladder to be 63 in. when the actual height is 62 in., the absolute error is 1 in. but the relative error is   or
 or   %. By comparison, if we measure the width of a piece of cardboard to be 8.25 in. when the actual width is 8 in., our absolute error is
 %. By comparison, if we measure the width of a piece of cardboard to be 8.25 in. when the actual width is 8 in., our absolute error is   in., whereas the relative error is
 in., whereas the relative error is   or
 or   %. Therefore, the percentage error in the measurement of the cardboard is larger, even though 0.25 in. is less than 1 in.
 %. Therefore, the percentage error in the measurement of the cardboard is larger, even though 0.25 in. is less than 1 in.
Relative and Percentage Error
An astronaut using a camera measures the radius of Earth as 4000 mi with an error of   mi. Let’s use differentials to estimate the relative and percentage error of using this radius measurement to calculate the volume of Earth, assuming the planet is a perfect sphere.
 mi. Let’s use differentials to estimate the relative and percentage error of using this radius measurement to calculate the volume of Earth, assuming the planet is a perfect sphere.
Solution
If the measurement of the radius is accurate to within   we have
 we have

Since the volume of a sphere is given by   we have
 we have

Using the measured radius of 4000 mi, we can estimate

To estimate the relative error, consider   Since we do not know the exact value of the volume
 Since we do not know the exact value of the volume   use the measured radius
 use the measured radius   to estimate
 to estimate   We obtain
 We obtain   Therefore the relative error satisfies
 Therefore the relative error satisfies

which simplifies to

The relative error is 0.06 and the percentage error is 6%.
Determine the percentage error if the radius of Earth is measured to be 3950 mi with an error of   mi.
 mi.
Solution
7.6%
Hint
Use the fact that   to find
 to find  
Key Concepts
- A differentiable function   can be approximated at can be approximated at by the linear function by the linear function 
- For a function   if if changes from changes from to to then then is an approximation for the change in  The actual change in The actual change in is is 
- A measurement error   can lead to an error in a calculated quantity can lead to an error in a calculated quantity The error in the calculated quantity is known as the propagated error. The propagated error can be estimated by The error in the calculated quantity is known as the propagated error. The propagated error can be estimated by 
- To estimate the relative error of a particular quantity   we estimate we estimate 
Key Equations
- Linear approximation
  
- A differential
  
1. What is the linear approximation for any generic linear function  
2. Determine the necessary conditions such that the linear approximation function is constant. Use a graph to prove your result.
Solution
 
3. Explain why the linear approximation becomes less accurate as you increase the distance between   and
 and   Use a graph to prove your argument.
 Use a graph to prove your argument.
4. When is the linear approximation exact?
Solution
The linear approximation exact when   is linear or constant.
 is linear or constant.
For the following exercises, find the linear approximation   to
 to   near
 near   for the function.
 for the function.
5. [T]  
6. [T]  
Solution
 
7. [T]  
8. [T]  
Solution
 
9. [T]  
10. [T]  
Solution
 
For the following exercises, compute the values given within 0.01 by deciding on the appropriate   and
 and   and evaluating
 and evaluating   Check your answer using a calculator.
 Check your answer using a calculator.
11. [T]  
12. [T]  
Solution
0.02
13. [T]  
14. [T]  
Solution
1.9996875
15. [T]  
16. [T]  
Solution
0.001593
For the following exercises, determine the appropriate   and
 and   and evaluate
 and evaluate   Calculate the numerical error in the linear approximations that follow.
 Calculate the numerical error in the linear approximations that follow.
17.  
18.  
Solution
  error,
 error,  
19.   
 
20.  
Solution
  error,
 error,  
21.  
22.  
Solution
  error,
 error,  
For the following exercises, find the differential of the function.
23.  
24.  
Solution
 
25.  
26.  
Solution
 
For the following exercises, find the differential and evaluate for the given   and
 and  
27.   
   
  
28.   
   
  
Solution
  
  
29.   
   
  
30.   
   
  
Solution
  -0.1
 -0.1
31.   
   
  
32.   
   
  
Solution
  0.2
 0.2
For the following exercises, find the change in volume   or in surface area
 or in surface area  
33.   if the sides of a cube change from 10 to 10.1.
 if the sides of a cube change from 10 to 10.1.
34.   if the sides of a cube change from
 if the sides of a cube change from   to
 to  
Solution
 
35.   if the radius of a sphere changes from
 if the radius of a sphere changes from   by
 by  
36.   if the radius of a sphere changes from
 if the radius of a sphere changes from   by
 by  
Solution
 
37.   if a circular cylinder with
 if a circular cylinder with   changes height from 3 cm to
 changes height from 3 cm to  
38.   if a circular cylinder of height 3 changes from
 if a circular cylinder of height 3 changes from   to
 to  
Solution
 
For the following exercises, use differentials to estimate the maximum and relative error when computing the surface area or volume.
39. A spherical golf ball is measured to have a radius of   with a possible measurement error of
 with a possible measurement error of   What is the possible change in volume?
 What is the possible change in volume?
40. A pool has a rectangular base of 10 ft by 20 ft and a depth of 6 ft. What is the change in volume if you only fill it up to 5.5 ft?
Solution
-100 ft3
41. An ice cream cone has height 4 in. and radius 1 in. If the cone is 0.1 in. thick, what is the difference between the volume of the cone, including the shell, and the volume of the ice cream you can fit inside the shell?
For the following exercises, confirm the approximations by using the linear approximation at  
42.  
43.  
44.  
Glossary
- differential
- the differential   is an independent variable that can be assigned any nonzero real number; the differential is an independent variable that can be assigned any nonzero real number; the differential is defined to be is defined to be 
- differential form
- given a differentiable function   the equation the equation is the differential form of the derivative of is the differential form of the derivative of with respect to with respect to 
- linear approximation
- the linear function   is the linear approximation of is the linear approximation of at at 
- percentage error
- the relative error expressed as a percentage
- propagated error
- the error that results in a calculated quantity   resulting from a measurement error dx resulting from a measurement error dx
- relative error
- given an absolute error   for a particular quantity, for a particular quantity, is the relative error. is the relative error.
- tangent line approximation (linearization)
- since the linear approximation of   at at is defined using the equation of the tangent line, the linear approximation of is defined using the equation of the tangent line, the linear approximation of at at is also known as the tangent line approximation to is also known as the tangent line approximation to at at 
 
					

Analysis
Using a calculator, the value of to four decimal places is 3.0166. The value given by the linear approximation, 3.0167, is very close to the value obtained with a calculator, so it appears that using this linear approximation is a good way to estimate
 to four decimal places is 3.0166. The value given by the linear approximation, 3.0167, is very close to the value obtained with a calculator, so it appears that using this linear approximation is a good way to estimate   , at least for
 , at least for   near 9. At the same time, it may seem odd to use a linear approximation when we can just push a few buttons on a calculator to evaluate
 near 9. At the same time, it may seem odd to use a linear approximation when we can just push a few buttons on a calculator to evaluate   . However, how does the calculator evaluate
 . However, how does the calculator evaluate   ? The calculator uses an approximation! In fact, calculators and computers use approximations all the time to evaluate mathematical expressions; they just use higher-degree approximations.
 ? The calculator uses an approximation! In fact, calculators and computers use approximations all the time to evaluate mathematical expressions; they just use higher-degree approximations.