Linear Approximations and Differentials: Learn It 1
Explain and use linearization to approximate a function’s value near a specific point
Calculate and interpret differentials to estimate small changes in function values
Measure the accuracy of approximations made with differentials by calculating relative and percentage errors
Linear Approximation of a Function at a Point
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.
Recall that the tangent line to the graph of f at a is given by the equation
y=f(a)+f′(a)(x−a).
This is simply derived from the point-slope form of the equation of a line y−y1=m(x−x1) by adding y1 to both sides!
Consider the function f(x)=1x at a=2. Since f is differentiable at x=2 and f′(x)=−1x2, we see that f′(2)=−14.
Therefore, the tangent line to the graph of f at a=2 is given by the equation
y=12−14(x−2)
Figure 1. (a) The tangent line to f(x)=1x at x=2 provides a good approximation to f for x near 2. (b) At x=2.1, the value of y on the tangent line to f(x)=1x is 0.475. The actual value of f(2.1) is 12.1, which is approximately 0.47619.
Figure 1a shows a graph of f(x)=1x 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.
If x=2.1, the y value of the corresponding point on the tangent line is
y=12−14(2.1−2)=0.475
The actual value of f(2.1) is given by
f(2.1)=12.1≈0.47619
Therefore, the tangent line gives us a fairly good approximation of f(2.1) (Figure 1b).
However, note that for values of x far from 2, the equation of the tangent line does not give us a good approximation. If x=10, the y-value of the corresponding point on the tangent line is
y=12−14(10−2)=12−2=−1.5,
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
f(x)≈f(a)+f′(a)(x−a) for x near a
We call the linear function
L(x)=f(a)+f′(a)(x−a)
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.
linear approximation
Linear approximation, or tangent line approximation, is a mathematical method that uses the tangent at a specific point to estimate the values of a function near that point.
Find the linear approximation of f(x)=√x at x=9 and use the approximation to estimate √9.1.
Since we are looking for the linear approximation at x=9, using the tangent line approximation, we know the linear approximation is given by
L(x)=f(9)+f′(9)(x−9).
We need to find f(9) and f′(9).
f(x)=√x⇒f(9)=√9=3f′(x)=12√x⇒f′(9)=12√9=16
Therefore, the linear approximation is given by Figure 2.
L(x)=3+16(x−9)
Using the linear approximation, we can estimate √9.1 by writing
√9.1=f(9.1)≈L(9.1)=3+16(9.1−9)≈3.0167.
Figure 2. The local linear approximation to f(x)=√x at x=9 provides an approximation to f for x near 9.
Analysis
Using a calculator, the value of √9.1 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 √x, at least for x 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 √9.1. However, how does the calculator evaluate √9.1? 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.
Watch the following video to see the worked solution to this example.
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.
Figure 3. The linear approximation to f(x)=sinx at x=π3 provides an approximation to sinx for x near π3.
Watch the following video to see the worked solution to this example.
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.
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.
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
L(x)=f(0)+f′(0)(x−0).
Because
f(x)=(1+x)n⇒f(0)=1f′(x)=n(1+x)n−1⇒f′(0)=n,
the linear approximation is given by Figure 4a.
L(x)=1+n(x−0)=1+nx
We can approximate (1.01)3 by evaluating L(0.01) when n=3. We conclude that
(1.01)3=f(1.01)≈L(1.01)=1+3(0.01)=1.03.
Figure 4. (a) The linear approximation of f(x) at x=0 is L(x). (b) The actual value of 1.013 is 1.030301. The linear approximation of f(x) at x=0 estimates 1.013 to be 1.03.