Section 4.2 Linear Approximations
Learning Objectives.
Describe the linear approximation to a function at a point.
Write the linearization of a given function.
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 later in the text when we study how to approximate functions by higher-degree polynomials .
Subsection 4.2.1 Linear Approximation of a Function at a Point
Consider a function \(f\) that is differentiable at a point \(x=a.\) Recall that the tangent line to the graph of \(f\) at \(a\) is given by the equation
For example, consider the function \(f(x)=\frac{1}{x}\) at \(a=2.\) Since \(f\) is differentiable at \(x=2\) and \(f'(x)=-\frac{1}{x^2},\) we see that \(f'(2)=-\frac{1}{4}.\) Therefore, the tangent line to the graph of \(f\) at \(a=2\) is given by the equation
Figure 4.11(a) shows a graph of \(f(x)=\frac{1}{x}\) along with the tangent line to \(f\) at \(x=2.\) Note that for \(x\) near 2, the graph of the tangent line is close to the graph of \(f.\) As a result, we can use the equation of the tangent line to approximate \(f(x)\) for \(x\) near 2. For example, if \(x=2.1,\) the \(y\) value of the corresponding point on the tangent line is
The actual value of \(f(2.1)\) is given by
Therefore, the tangent line gives us a fairly good approximation of \(f(2.1)\) (Figure 4.11(b)). However, note that for values of \(x\) far from 2, the equation of the tangent line does not give us a good approximation. For example, if \(x=10,\) the \(y\)-value of the corresponding point on the tangent line is
whereas the value of the function at \(x=10\) is \(f(10)=0.1.\)
In general, for a differentiable function \(f,\) the equation of the tangent line to \(f\) at \(x=a\) can be used to approximate \(f(x)\) for \(x\) near \(a.\) Therefore, we can write
We call the linear function
the linear approximation, or tangent line approximation, of \(f\) at \(x=a.\) This function \(L\) is also known as the linearization of \(f\) at \(x=a.\)
To show how useful the linear approximation can be, we look at how to find the linear approximation for \(f(x)=\sqrt{x}\) at \(x=9.\)
Example 4.12.
Find the linear approximation of \(f(x)=\sqrt{x}\) at \(x=9\) and use the approximation to estimate \(\sqrt{9.1}.\)
Since we are looking for the linear approximation at \(x=9,\) using (4.2.1) we know the linear approximation is given by
We need to find \(f(9)\) and \(f'(9).\)
Therefore, the linear approximation is given by Figure 4.13.
Using the linear approximation, we can estimate \(\sqrt{9.1}\) by writing
Checkpoint 4.15.
Find the local linear approximation to \(f(x)=\sqrt[3]{x} \) at \(x=8.\) Use it to approximate \(\sqrt[3]{8.1} \) to five decimal places.
Linear approximations may be used in estimating roots and powers. In the next example, we find the linear approximation for \(f(x)=(1+x)^n\) at \(x=0,\) 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 \(f(x)=(m+x)^n \) to estimate roots and powers near a different number \(m.\)
Example 4.16. Approximating Roots and Powers.
Find the linear approximation of \(f(x)=(1+x)^n\) at \(x=0.\) Use this approximation to estimate \((1.01)^3.\)
The linear approximation at \(x=0\) is given by
Because
the linear approximation is given by Figure 4.17(a).
We can approximate \((1.01)^3\) by evaluating \(L(0.01)\) when \(n=3.\) We conclude that
Checkpoint 4.18.
Find the linear approximation of \(f(x)=(1+x)^4\) at \(x=0\) without using the result from the preceding example.
Example 4.19.
The profit equation for a certain product is given by \(P(x)=\frac{20}{\sqrt{x+2}}\) where \(x\) is the number of units sold. Use the linear approximation formula of \(P\) to estimate the changes in profit as \(x\) changes from 98 to 101.
Using the linear approximation at \(x=98\text{,}\)
Thus,
We see that
Therefore, the linear approximation of \(P\) at \(x=98\) is given by
The estimate for \(P(101)\) is given by
Thus, our estimate for the changes in profit as \(x\) changes from 98 to 101 is
That is, profit decreased by about 3 cents. Note that the true value for the changes in profit as \(x\) changes from 98 to 101 is
Checkpoint 4.20.
The demand equation for a box of tea is given by \(p(x)=\frac{30}{\sqrt{x}}\) where \(x\) is the number of boxes of tea sold. Use the linear approximation formula of \(p\) to estimate the changes in demand as \(x\) changes from 9 to 10.
Subsection 4.2.2 Average Cost
Definition 4.21.
The average cost function \(\overline{C}(x)\) is the average cost per item \(x\) and it is given by
Example 4.22.
Assume it costs a company \(C(x)=600000+200x+0.002x^2\) dollars to produce \(x\) laptops in a day.
Find the marginal cost function.
How much is the cost increasing when the company produces 500 laptops?
Find the difference between the exact cost of producing the 501st laptop and the marginal cost when 500 laptops are produced.
Find the average cost function and the average cost to produce the first 500 laptops.
-
Using the power rule,
\begin{equation*} C'(x)=200+0.004x \end{equation*} -
The marginal cost when 500 laptops are produced is given by
\begin{equation*} C'(500)=200+0.004(500)=202. \end{equation*}When 500 laptops are produced, the cost is increasing at a rate of \(\$202\) per laptop produced.
-
The exact cost of producing the 501st laptop is
\begin{equation*} C(501)-C(500)=700702.022-700500=202.002 \end{equation*}The difference between the exact cost and the marginal cost function when 500 laptops are produced is
\begin{equation*} (C(501)-C(500))-C'(500)=202.002-202=0.002. \end{equation*} -
Using \(\overline{C}(x)=\frac{C(x)}{x}\text{,}\)
\begin{equation*} \overline{C}(x)=\frac{600000+200x+0.002x^2}{x}. \end{equation*}Thus, the average cost of producing the first 500 laptops is
\begin{equation*} \overline{C}(500)=\frac{700500}{500}=\$ 1401. \end{equation*}
Checkpoint 4.23.
Assume it costs a company \(C(x)=900000+800x+0.009x^2\) dollars to produce \(x\) refrigerators in a week.
Find the marginal cost function.
How much is the cost increasing when the company produces 30 refrigerators?
Find the difference between the exact cost of producing the 31st refrigerator and the marginal cost when 30 refrigerators are produced.
Find the average cost function and the average cost to produce the first 30 refrigerators.
\(\displaystyle C'(x)=800+0.018x\)
\(\displaystyle C'(30)=800+0.018(30)=800.54.\)
\(\displaystyle (C(31)-C(30))-C'(30)=0.009\)
\(\displaystyle \overline{C}(30)=\$30800.27\)
Subsection 4.2.3 Key Concepts
A differentiable function \(y=f(x)\) can be approximated at \(a\) by the linear function
\begin{equation*} L(x)=f(a)+f'(a)(x-a). \end{equation*}
Subsection 4.2.4 Key Equations
Linear approximation \(L(x)=f(a)+f'(a)(x-a)\)
Average Cost Function \(\overline{C}(x)=\frac{C(x)}{x}\)