Skip to main content
\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)
Mathematics LibreTexts

6.4: Linear Approximations

Newton's method is one example of the usefulness of the tangent line as an approximation to a curve. Here we explore another such application. Recall that the tangent line to \(f(x)\) at a point \(x=a\) is given by \(L(x) = f'(a) (x-a) + f(a)\). The tangent line in this context is also called the linear approximation to \(f\) at \(a\).

If \(f\) is differentiable at \(a\) then \(L\) is a good approximation of \(f\) so long as \(x\) is "not too far'' from \(a\). Put another way, if \(f\) is differentiable at \(a\) then under a microscope \(f\) will look very much like a straight line. Figure \(\PageIndex{1}\) shows a tangent line to \( y=x^2\) at three different magnifications.

Figure \(\PageIndex{1}\): The linear approximation to \(y=x^2\)

If we want to approximate \(f(b)\), because computing it exactly is difficult, we can approximate the value using a linear approximation, provided that we can compute the tangent line at some \(a\) close to \(b\).

Example \(\PageIndex{1}\)

Let \( f(x)=\sqrt{x+4}\). Then \(f'(x)=1/(2\sqrt{x+4})\). The linear approximation to \(f\) at \(x=5\) is 


 As an immediate application we can approximate square roots of numbers near 9 by hand. To estimate \(\sqrt{10}\), we substitute 6 into the linear approximation instead of into \(f(x)\), so 

\[ \sqrt{6+4}\approx (6-5)/6+3 = 19/6\approx 3.1\overline{6}.\]

This rounds to \(3.17\) while the square root of 10 is actually \(3.16\) to two decimal places, so this estimate is only accurate to one decimal place. This is not too surprising, as 10 is really not very close to 9; on the other hand, for many calculations, \(3.2\) would be accurate enough.

With modern calculators and computing software it may not appear necessary to use linear approximations. But 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.

Example \(\PageIndex{2}\)

Consider the trigonometric function \(\sin x\). Its linear approximation at \(x=0\) is simply \(L(x)=x\). When \(x\) is small this is quite a good approximation and is used frequently by engineers and scientists to simplify some calculations.


Let \(y=f(x)\) be a differentiable function. We define a new independent variable \(dx\), and a new dependent variable \(dy=f'(x)\,dx\). Notice that \(dy\) is a function both of \(x\) (since \(f'(x)\) is a function of \(x\)) and of \(dx\). We say that \(dx\) and \(dy\) are \dfont{differentials}. 

Let \(\Delta x =x-a\) and \(\Delta y= f(x)-f(a)\). If \(x\) is near \(a\) then \(\Delta x\) is small. If we set \(dx=\Delta x\) then

$$dy = f'(a)\,dx \approx {\Delta y\over\Delta x}\Delta x = \Delta y.$$

Thus, \(dy\) can be used to approximate \(\Delta y\), the actual change in the function \(f\) between \(a\) and \(x\). This is exactly the approximation given by the tangent line:

$$dy = f'(a)(x-a) = f'(a)(x-a)+f(a)-f(a)=L(x)-f(a).$$

While \(L(x)\) approximates \(f(x)\), \(dy\) approximates how \(f(x)\) has changed from \(f(a)\). Figure \(\PageIndex{2}\) illustrates the relationships. 

Figure \(\PageIndex{2}\): Differentials


  • Integrated by Justin Marshall.