Linear Approximations of Functions: Intuition and Examples

The linear approximation of functions is one of the most important applications of calculus. This linear approximation is done all the time in physics, engineering and other disciplines that use calculus. 

What is linear approximation? To approximate a function means that we select another function that is very similar to the original one, and often much simpler to deal with. When we talk about linear approximation, what we mean is that the approximated function is linear.

How does calculus help in this process? Actually, calculus is the basis of all approximations. The fundamental idea is the almost dumb observation that the tangent line to a graph approximates the graph near the point of tangency. For example, look at the following plot

The tangent line is a good approximation to the green curve near the point of tangency

Near the point of contact, the tangent line and the green curve almost coincide. The tangent line is a good approximation to the function whose graph is the green curve. And the equation of the tangent line results in the simplest type of function we know, a linear one.

The only thing we are going to do on this page is finding tangent lines and using them to approximate functions. Isn't that simple?

Now, how do we find tangent lines? A good starting point is the geometric interpretation of the derivative. The derivative of a function at a point gives us the slope of the tangent line to that point. That is almost everything we need to know. The other piece of information we need to construct the tangent line is the point of tangency. 

Let's consider a function f(x) and a point x0. The tangent line at x0 is a line that passes through the point (x0, f(x0) on the x-y plane and that has slope f'(x0).

In algebra they teach us how to construct the equation of a line given a point on the line and the slope. This is called the point-slope form of the equation of a line, and you can review it here: finding the equation of a line.

In our case, we can write the equation of the tangent line like this

You can check that this equation is indeed the correct one by checking that it passes through (x0, f(x0)) and that its slope is f'(x0).

The equation above is the one we'll be using throughout the examples, so I'm going to repeat it. 

Now let's see some examples to get a feeling of how this works.

Example 1: Linear Approximation to sin(x)

This is one you'll almost surely use again later. It is used in physics many times to make some deductions. So, let's find the approximation. We are going to approximate the function sin(x) near the point 0. 

Remember that when making an approximation, you must specify a base point. The base point is x0 in the notation we are using. To know the base point is important for two reasons.

First, without a base point you can't calculate the approximation. That is obvious. The other reason is that the approximation is valid only for points near the base. We'll check that in this example. Here we choose the base x0=0. The data we have is:

The equation of the tangent line is

There we go. To say that something is approximately another thing, we use a curvy equal sign. In this case, we deduced that

Remember that this approximation is valid only for x near 0. We can check this by plotting the two functions

The linear approximation to sin(x) near x=0 is x

The green curve is the graph of sin(x) and the red dotted line is the approximation. You can see that indeed the line approximates the green curve near zero, but the approximation does not make any sense far away from zero. 

Example 2: Approximation to ex

Now let's calculate the approximation of the exponential function near x=0. The info we have is

We now plug this data into the tangent line equation

The equation of the tangent line is 1+x. This means that, near x=0, we can make the approximation

To see this approximation visually, check out the following graph, where the plots of the exponential and its approximation are shown.

The linear approximation to e^x near x=0 is 1+x

Once again, we see that the approximation is good near the point x=0, but not so much far from it.

Example 3: Approximation to ln(x)

The last example I'm going to show you is the approximation to the logarithm. This one is a bit different because we are not going to approximate near x=0, but near x=1. This is because we can't really approximate near x=0, the logarithm isn't even defined at that point.

So, in this case the data we use is

Now we plug into the equation of the tangent line

And there we have the approximation near x=1. We can express this as

The following graph shows how this approximation looks like

The linear approximation to ln(x) near x=1 is x-1

And these are the basics of linear approximation of functions. If you still have a doubt or want to discuss a problem, leave me a comment below, I'll be glad to help you if I can.

New! Comments

Do you have a doubt, or want some help with a problem? Leave a comment in the box below.