The primary formula we use for linear approximations:
f(x)≈f(x0)+[f′(x0)⋅(x−x0)]
The formula above states that the value of some function f, at a given
input x is approximately the sum of f(x0) and
f′(x0)×(x−x0), where x0 is a base point. A level
deeper, the formula provides that if we were given some curve f, its
value at x is approximately the same as the value x at its tangent
line.
For example, consider f(x)=lnx. We know f′(x)=x1.
Let's pick a base point, say, x0=1. We use 1 because it's a
point where we immediately know the value for the natural logarithm
ln1=0. Where x0=1, we have:
If we plot f(x)=lnx and g(x)=x−1, we see the following:
What the graph above tells us is that the value of lnx is roughly
x−1. The key word, however, is “roughly.” This is just an
approximation. And with our plot, we can see that the approximation is good
as long as we're somewhere near x=1. As we venture further and
further from x=1, the less accurate the approximation is.
Another way to interpret this approximation method is to refer to the
definition of a derivative. Recall this definition:
f′(x0)=Δx→xlimΔxΔf
Reading this expression from the other direction, we have:
Δf→Δxlim=f′(x0)
This effectively states that the average rate of change, when Δx
is very near zero, is the derivative. This means that:
ΔxΔf≈f′(x0)
In other words, the average rate of change is approximately the
infinitesimal rate of change. All together, the two formulas below are
essentially the same:
f(x)≈f(x0)+[f′(x0)⋅(x−x0)]
ΔxΔf≈f′(x0)
To see how, we manipulate the second formula. Multiplying Δx to
both sides:
Δf≈f′(x0)⋅Δx
Evaluating Δf and Δx:
f(x)−f(x0)≈f′(x0)⋅(x−x0)
Adding f(x0) to both sides, we get the first formula:
f(x)≈f(x0)+[f′(x0)⋅(x−x0)]
Thus, formulas (1) and (2) are simply two sides of the same coin, with each
providing a unique way of interpreting approximations.
When we work with linear approximations, we always want to have the base
point x0=0. Why? Because it result in a more readable formula:
f(x)≈f(0)+f′(0)x
That said, there are a few precautions to keep in mind with our formulas.
The first formula,
f(x)≈f(x0)+f′(x0)[(x−x0)]
only works when x≈x0. The second formula,
f(x)≈f(x)+f′(x)x
only works when x≈0. With these rules in mind, let's consider a
few key functions: y=sinx,y=cosx, and y=ex.
For y=sinx, we know that y′=cosx. Laying the values out in
a table:
f(x)
f′(x)
f(0)
f′(0)
sinx
cosx
sin0=0
cos0=1
Applying our formula to our findings:
f(x)sinxsinx≈f(0)+f′(0)x≈sin0+(cos0)x≈0+x
Hence, we can infer:
sinx≈x∣x≈0
Next, the function y=cosx. We know that y′=−sinx. The
table:
Let's consider two more useful approximations. These the approximations
for:
f(x)=ln(1+x)
f(x)=(1+x)r
Examining f(x)=ln(1+x), we have:
f(x)
f′(x)
f(0)
f′(0)
ln(1+x)
1+x1
ln1=0
1+x1=1
And for f(x)=(1+x)r, we have:
f(x)
f′(x)
f(0)
f′(0)
(1+x)r
r(1+x)r−1
(1+0)r=1
r(1+0)r−1=r
Our analysis yields the following conclusions:
ln(1+x)≈x
(1+x)r≈1+rx
Why are these approximations useful? Because they allow us to think about
function outputs in a much simpler way. For example, what's the value of
ln(1.1)? Most of us don't know off the top of our heads. But if we
knew about linear approximation, we'd find that:
ln(1.1)=ln(1+0.1)≈101
Here's another example:
Problem: Rational-natural-radicand. Find a linear approximation near
x=0 (x≈0) of the function:
1+xe−3x
The first step to this problem is to rewrite in such a way that we can
apply our linear approximation formulas. In this case:
1+xe−3x=e−3x(1+x)−1/2
Applying our formulas:
e−3x(1+x)−1/2≈(1−3x)(1−21x)
If we carry out the multiplication:
(1−3x)(1−21x)=1−3x−21x+23x2
With the expanded expression, it turns out that we can throw out the
23x2 term. Why? Because when we performed the original
linear approximation, we threw out quite a few terms. In fact, the expanded
expression above omits many other terms. Because we took that liberty in
our original approximation, we can take that liberty again here: