PAGE 1

4.6 Linear Approximations and Differentials

The following graph illustrates a function \( y = f(x) \) and its tangent line at a specific point \( (a, f(a)) \). A zoomed-in view shows how the tangent line and the curve become nearly indistinguishable as we get closer to the point of tangency.

Graph of a curve y=f(x) with a red tangent line at point (a, f(a)), including a zoomed-in detail view.

Very near \( (a, f(a)) \) the tangent line and the real curve \( f(x) \) are very close to each other.

PAGE 2

If \( x \) is very close to \( a \), then we can replace the function with its tangent line without losing much accuracy.

  • Linear approximation: Approximate a function with its tangent line.

The tangent line approximation gets better the closer we are to \( x = a \).

Equation of the Tangent Line

Let's write out the equation of the tangent line at \( x = a \), \( y = f(a) \):

  • Slope: \( f'(a) \)
  • Point it goes through: \( (a, f(a)) \)
  • Equation in point-slope form: \( y - f(a) = f'(a)(x - a) \)

Then:

\[ y = f(a) + f'(a)(x - a) \approx f(x) \text{ if } x \text{ is near } a \]

This is the linear approximation of \( f(x) \).

PAGE 3

linear approximation: \[ L(x) = f(a) + f'(a)(x-a) \approx f(x) \]

this is called the differential

it gives an estimate of the change in \( y = f(x) \) as \( x \) changes from \( a \).

example Find a linear approximation of \( f(x) = \sin(x) \) near \( x = 0 \)

\( \sin(x) \) is hard to evaluate without a calculator here, we will replace it with a line which is much easier to work with.

make a tangent line at \( x = 0 \rightarrow a = 0 \)

\[ L(x) = f(a) + f'(a)(x-a) \]

\[ f(a) = f(0) = \sin(0) = 0 \]

\[ f'(x) = \cos(x) \]

\[ f'(a) = f'(0) = \cos(0) = 1 \]

PAGE 4

\[ L(x) = 0 + (1)(x-0) \]

\[ L(x) = x \]

this means that when \( x \) is close to \( a = 0 \), \( x \) and \( \sin(x) \) are very close to each other

for example, \( \sin(0.001) = 0.000999983 \)

we see \( \sin(x) \) and \( x \) are very close

this is another way to explain why \[ \lim_{x \to 0} \frac{\sin x}{x} = 1 \]

another example with \( \sin(x) \): estimate \( \sin(30^{\circ}) \)

change to radians!

\[ 30^{\circ} = \frac{\pi}{6} \]

\[ \sin(x) \approx x \quad \text{so, we can estimate} \quad \sin(30^{\circ}) = \sin\left(\frac{\pi}{6}\right) \approx \frac{\pi}{6} = 0.52 \]

true value: \( \sin\left(\frac{\pi}{6}\right) = \frac{1}{2} = 0.5 \)

PAGE 5

pretty close, let's calculate the error and percentage error

\[ \text{error} = | \text{approximation} - \text{true} | = | 0.52 - 0.5 | = 0.02 \]
\[ \text{percentage error} = 100 \cdot \frac{\text{error}}{\text{true}} = 100 \cdot \frac{0.02}{0.5} = 4 \]

So, there is a \( 4 \% \) error using linear approximation.

the estimate is good, since we didn't move too far from \( x = 0 \)

what happens if we go too far?

try \( \sin(90^{\circ}) = \sin(\frac{\pi}{2}) = 1 \) (true value)

linear approx: \( \sin(x) \approx x \)

so estimate of \( \sin(\frac{\pi}{2}) \) is \( \frac{\pi}{2} = 1.57 \)

\[ \% \text{ error} = \frac{0.57}{1} \cdot 100 = 57 \% \]
PAGE 6

example

Use a linear approximation to estimate \( \sqrt{108} \)

we can look at this as \( f(x) = \sqrt{x} \) with \( x = 108 \)

we can use a linear approximation with an appropriate "a" to estimate this

choose "a" such that we know \( f(a) \) easily and that "a" is not too far from \( x = 108 \)

find the closest number to 108 whose square root we know

so, here, \( a = 100 \) is a good choice

\( L(x) = f(a) + f'(a)(x - a) \)

\( f(a) = f(100) = \sqrt{100} = 10 \)

\( f'(x) = \frac{1}{2} x^{-1/2} = \frac{1}{2\sqrt{x}} \)

\( f'(a) = f'(100) = \frac{1}{2\sqrt{100}} = \frac{1}{20} = 0.05 \)

\( L(x) = 10 + 0.05(x - 100) \approx \sqrt{x} \) when \( x \) is near 100

PAGE 7

Linear Approximation Examples

So,

\[ \sqrt{108} \approx L(108) = 10 + 0.05(108 - 100) = 10.4 \]

How good is it?

True value of \( \sqrt{108} \) from calculator is \( 10.3923 \).

Example: Linear Approximation of \( \ln(3) \)

Use a linear approximation to estimate \( \ln(3) \).

\( f(x) = \ln(x) \) with \( x = 3 \)

Now find an "\( a \)" such that \( f(a) \) is known or easy to calculate.

\( e \) is a good choice: \( e \approx 2.7 \) close to \( 3 \) and \( \ln(e) = 1 \)

\[ L(x) = f(a) + f'(a)(x - a) \] \[ f(a) = f(e) = \ln(e) = 1 \] \[ f'(x) = \frac{1}{x} \] \[ f'(e) = \frac{1}{e} \] \[ L(x) = 1 + \frac{1}{e}(x - e) \approx \ln(x) \text{ if } x \text{ is close to } e \]
PAGE 8
\[ \ln(3) \approx L(3) = 1 + \frac{1}{e}(3 - e) = 1 + \frac{3}{e} - \frac{e}{e} = \frac{3}{e} \approx 1.1 \]

From a calculator, true value of \( \ln(3) \) is \( 1.0986 \).

Once again, pretty close because \( 3 \) is close to \( e \).