Describe the linear approximation to a function at a point.
Write the linearization of a given function.
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
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!
For example, 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 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. For example, 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. For example, 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.
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.
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.
To show how useful the linear approximation can be, we look at how to find the linear approximation for f(x)=√x at x=9.
Example: Linear Approximation of √x
Find the linear approximation of f(x)=√x at x=9 and use the approximation to estimate √9.1.
Show Solution
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 Example: Linear Approximation of √x.
Closed Captioning and Transcript Information for Video
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 Example: Linear Approximation of sinx.
Closed Captioning and Transcript Information for Video
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.
Find the linear approximation for f(x)=cosx at x=π2.
Hint
L(x)=f(a)+f′(a)(x−a)
Show Solution
L(x)=−x+π2
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: 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.
Show Solution
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.
Try It
Find the linear approximation of f(x)=(1+x)4 at x=0 without using the result from the preceding example.
Hint
f′(x)=4(1+x)3
Show Solution
L(x)=1+4x
Try It
Try It
Candela Citations
CC licensed content, Original
4.2 Linear Approximations and Differentials. Authored by: Ryan Melton. License: CC BY: Attribution