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 [latex]f[/latex] at [latex]a[/latex] is given by the equation
[latex]y=f(a)+f^{\prime}(a)(x-a)[/latex].
This is simply derived from the point-slope form of the equation of a line [latex]y-{y}_{1}=m\left(x-{x}_{1}\right)[/latex] by adding [latex]{y}_{1}[/latex] to both sides!
Consider the function [latex]f(x)=\frac{1}{x}[/latex] at [latex]a=2[/latex]. Since [latex]f[/latex] is differentiable at [latex]x=2[/latex] and [latex]f^{\prime}(x)=-\frac{1}{x^2}[/latex], we see that [latex]f^{\prime}(2)=-\frac{1}{4}[/latex].
Therefore, the tangent line to the graph of [latex]f[/latex] at [latex]a=2[/latex] is given by the equation
[latex]y=\dfrac{1}{2}-\dfrac{1}{4}(x-2)[/latex]
Figure 1. (a) The tangent line to [latex]f(x)=\frac{1}{x}[/latex] at [latex]x=2[/latex] provides a good approximation to [latex]f[/latex] for [latex]x[/latex] near 2. (b) At [latex]x=2.1[/latex], the value of [latex]y[/latex] on the tangent line to [latex]f(x)=\frac{1}{x}[/latex] is 0.475. The actual value of [latex]f(2.1)[/latex] is [latex]\frac{1}{2.1}[/latex], which is approximately 0.47619.
Figure 1a shows a graph of [latex]f(x)=\frac{1}{x}[/latex] along with the tangent line to [latex]f[/latex] at [latex]x=2[/latex]. Note that for [latex]x[/latex] near [latex]2[/latex], the graph of the tangent line is close to the graph of [latex]f[/latex]. As a result, we can use the equation of the tangent line to approximate [latex]f(x)[/latex] for [latex]x[/latex] near [latex]2[/latex].
If [latex]x=2.1[/latex], the [latex]y[/latex] value of the corresponding point on the tangent line is
Therefore, the tangent line gives us a fairly good approximation of [latex]f(2.1)[/latex] (Figure 1b).
However, note that for values of [latex]x[/latex] far from [latex]2[/latex], the equation of the tangent line does not give us a good approximation. If [latex]x=10[/latex], the [latex]y[/latex]-value of the corresponding point on the tangent line is
whereas the value of the function at [latex]x=10[/latex] is [latex]f(10)=0.1[/latex].
In general, for a differentiable function [latex]f[/latex], the equation of the tangent line to [latex]f[/latex] at [latex]x=a[/latex] can be used to approximate [latex]f(x)[/latex] for [latex]x[/latex] near [latex]a[/latex]. Therefore, we can write
[latex]f(x)\approx f(a)+f^{\prime}(a)(x-a)[/latex] for [latex]x[/latex] near [latex]a[/latex]
We call the linear function
[latex]L(x)=f(a)+f^{\prime}(a)(x-a)[/latex]
the linear approximation, or tangent line approximation, of [latex]f[/latex] at [latex]x=a[/latex]. This function [latex]L[/latex] is also known as the linearization of [latex]f[/latex] at [latex]x=a[/latex].
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 [latex]f(x)=\sqrt{x}[/latex] at [latex]x=9[/latex] and use the approximation to estimate [latex]\sqrt{9.1}[/latex].
Since we are looking for the linear approximation at [latex]x=9[/latex], using the tangent line approximation, we know the linear approximation is given by
[latex]L(x)=f(9)+f^{\prime}(9)(x-9)[/latex].
We need to find [latex]f(9)[/latex] and [latex]f^{\prime}(9)[/latex].
Figure 2. The local linear approximation to [latex]f(x)=\sqrt{x}[/latex] at [latex]x=9[/latex] provides an approximation to [latex]f[/latex] for [latex]x[/latex] near 9.
Analysis
Using a calculator, the value of [latex]\sqrt{9.1}[/latex] 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 [latex]\sqrt{x}[/latex], at least for [latex]x[/latex] 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 [latex]\sqrt{9.1}[/latex]. However, how does the calculator evaluate [latex]\sqrt{9.1}[/latex]? 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.
Find the linear approximation of [latex]f(x)= \sin x[/latex] at [latex]x=\dfrac{\pi}{3}[/latex] and use it to approximate [latex]\sin (62^{\circ})[/latex].
First we note that since [latex]\frac{\pi}{3}[/latex] rad is equivalent to [latex]60^{\circ}[/latex], using the linear approximation at [latex]x=\pi /3[/latex] seems reasonable. The linear approximation is given by
To estimate [latex]\sin (62^{\circ})[/latex] using [latex]L[/latex], we must first convert [latex]62^{\circ}[/latex] to radians. We have [latex]62^{\circ}=\frac{62\pi}{180}[/latex] radians, so the estimate for [latex]\sin (62^{\circ})[/latex] is given by
Figure 3. The linear approximation to [latex]f(x)= \sin x[/latex] at [latex]x=\frac{\pi}{3}[/latex] provides an approximation to [latex] \sin x[/latex] for [latex]x[/latex] near [latex]\frac{\pi}{3}.[/latex]
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 [latex]f(x)=(1+x)^n[/latex] at [latex]x=0[/latex], which can be used to estimate roots and powers for real numbers near [latex]1[/latex]. The same idea can be extended to a function of the form [latex]f(x)=(m+x)^n[/latex] to estimate roots and powers near a different number [latex]m[/latex].
Find the linear approximation of [latex]f(x)=(1+x)^n[/latex] at [latex]x=0[/latex]. Use this approximation to estimate [latex](1.01)^3[/latex].
The linear approximation at [latex]x=0[/latex] is given by
Figure 4. (a) The linear approximation of [latex]f(x)[/latex] at [latex]x=0[/latex] is [latex]L(x)[/latex]. (b) The actual value of [latex]1.01^3[/latex] is 1.030301. The linear approximation of [latex]f(x)[/latex] at [latex]x=0[/latex] estimates [latex]1.01^3[/latex] to be 1.03.