We use a method called “linear approximation” to estimate the value of a (complicated) function at a given point.

Given a function, a linear approximation is a fancy phrase for something you already know:

The line tangent to the graph of a function at a point is very close to the graph of the function near that point.

This tangent line is the graph of a linear function, called the linear approximation.

Note that the graph of \(L\) is just the tangent line to the graph of \(f\) at \(x=a\).

A linear approximation of \(f\) is a “good” approximation as long as \(x\) is “not too far” from \(a\). If one “zooms in” on the graph of \(f\) sufficiently, then the graphs of \(f\) and \(L\) are nearly indistinguishable.

As a first example, we will see how linear approximations allow us to approximate “difficult” computations.

With modern calculators and computing software, it may not appear necessary to use linear approximations. In fact they are quite useful. In cases requiring an explicit numerical approximation, they allow us to get a quick rough estimate which can be used as a “reality check” on a more complex calculation. In some complex calculations involving functions, the linear approximation makes an otherwise intractable calculation possible, without serious loss of accuracy.

1 Overestimates or Underestimates

Remember that geometrically, the actual function value corresponds to the \(y\)-coordinate of a point on the graph of the function and the approximate value corresponds to the \(y\)-coordinate of a point on the graph of the tangent line. We have terminology to describe the sitation when the graph of the function is above or below the tangent line: Concavity.

Notice that we only indicated the interval \((0.9, 1)\) in this answer. Even though the function \(f\) is concave up on the entire \((0, \infty )\), it is only the interval \((0.9, 1)\) that is relevant to this question, so that is what was included in the response.

2 Differentials

The graph of a function \(f\) and the graph of \(L\), the linear approximation of \(f\) at \(a\), are shown in the figure below. Also, two quantities, \(\d x\) and \(\d f\), and a point \(P\) are marked in the figure. Look carefully at the figure when answering the questions below.

Select all the correct expressions for the quantity \(\d x\).
You can see that \(x=a+\d x\).
\(\d x=f(x)-f(a)\) \(\d x=f(x)-L(x)\) \(\d x=x-a\) \(\d x=L(x)-f(a)\) \(\d x=L(x)-L(a)\)
Select all the correct expressions for the quantity \(\d f\).
You can see that \(L(x)=f(a)+\d f\).
Recall: \(L(a)=f(a)\).
\(\d f=f(x)-f(a)\) \(\d f=f(x)-L(x)\) \(\d f=x-a\) \(\d f=L(x)-f(a)\) \(\d f=L(x)-L(a)\)
Based on the figure and the expression for \(L(x)\), select all the correct expressions for \(\d f\).
Recall: \(\d f=L(x)-f(a)=f(a)+f'(a)(x-a)-f(a)=f'(a)(x-a)=f'(a)\d x\).
\(\d f=f'(a)(x-a)\) \(\d f=f'(a)\d x\) \(\d f=f'(x-a)\) \(\d f=f'(x)\d x\) \(\d f=f'(x)(x-a)\)

So, we can write \(\d f=f'(a)\d x\) and call it a differential of \(f\) at \(a\). Notice that we can define a differential at any point \(x\) of the domain of \(f\), provided that \(f'(x)\) exists.

Students frequently confuse the differential \(df\) with the derivative \(f'(a)\). Remember that the derivative tells us the rate of change at the point, while the differential \(df\) is an estimated amount of change.

We will do that in our next definition.

We should not be surprised, since the slope of the tangent line in the figure is \(f'(x)\), and this slope is also given by \(\frac {\d f }{\d x}\).

Essentially, differentials allow us to solve the problems presented in the previous examples from a slightly different point of view. Recall, when \(h\) is near but not equal zero,

\[ f'(x) \approx \frac {f(x+h)-f(x)}{h}. \]

Hence,

\[ f'(x)h \approx f(x+h)-f(x). \]

We can replace a quantity \(h\) with a quantity \(\d x\) to write

\begin{align*} f'(x)\cdot \d x &\approx f(x+\d x)-f(x)\\ \d f &\approx f(x+\d x)-f(x). \end{align*}

Adding \(f(x)\) to both sides we see

\[ f(x) + \d f\approx f(x+\d x) \]

or, equivalently

\[ f(x+\d x)\approx f(x) + \d f . \]

There are contexts where the language of differentials is common. Here is the basic strategy:

We will repeat our previous examples using differentials.

The upshot is that linear approximations and differentials are simply two slightly different ways of doing the exact same thing.

3 Error approximation

Differentials also help us estimate error in real life settings.

4 New and old friends

You might be wondering, given a plot \(y=f(x)\),

What’s the difference between \(\Delta x\) and \(\d x\)? What about \(\Delta y\) and \(\d y\)?

Regardless, it is now a pressing question. Here’s the deal:

\[ \frac {\Delta y}{\Delta x} \]

is the average rate of change of \(y=f(x)\) with respect to \(x\). On the other hand:

\[ \frac {\d y}{\d x} \]

is the instantaneous rate of change of \(y=f(x)\) with respect to \(x\). Essentially, \(\Delta x\) and \(\d x\) are the same type of thing, they are (usually small) changes in \(x\). However, \(\Delta y\) and \(\d y\) are very different things.

  • \(\Delta y=f(x+\Delta x)-f(x)\); it is the change in \(y=f(x)\) associated to \(\Delta x\).
  • \(\d y=L(x+\d x)-L(x)\), it is the change in \(y=L(x)\) associated to \(\Delta x=\d x\).

    \[ \d y =f'(x)\d x \]
    Note: \( L(x+\d x)= f(x)+f'(x)\d x\).

    So, the change

    \begin{align*} \d y &= L(x+\d x)-L(x)\\ &= f(x)+f'(x)\d x-L(x)\\ &= f(x)+f'(x)\d x-f(x)\\ &=f'(x)\d x \end{align*}
Suppose \(f(x) = x^2\). If we are at the point \(x=1\) and \(\Delta x =\d x = 0.1\), what is \(\Delta y\)? What is \(\d y\)?
\( \Delta y=f(1+\Delta x)-f(1)=f(1.1)-f(1)\)
\(\d y=f'(1)\cdot \d x=f'(1)\cdot 0.1\)
\[ \Delta y = \answer {0.21}\qquad \d y = \answer {0.2} \]

Differentials can be confusing at first. However, when you master them, you will have a powerful tool at your disposal.