<meta http-equiv="refresh" content="1; url=/nojavascript/">
You are reading an older version of this FlexBook® textbook: CK-12 Calculus Go to the latest version.

# 2.7: Linearization and Newton’s Method

Difficulty Level: At Grade Created by: CK-12

## Learning Objectives

A student will be able to:

• Approximate a function by the method of linearization.
• Know Newton’s Method for approximating roots of a function.

## Linearization: The Tangent Line Approximation

If $f$ is a differentiable function at $x_0$, then the tangent line, $y = mx + b$, to the curve $y = f(x)$ at $x_0$ is a good approximation to the curve $y = f(x)$ for values of $x$ near $x_0$ (Figure 8a). If you “zoom in” on the two graphs, $y = f(x)$ and the tangent line, at the point of tangency, $(x_0, f(x_0))$, or if you look at a table of values near the point of tangency, you will notice that the values are very close (Figure 8b).

Since the tangent line passes through point $(x_0, f(x_0))$ and the slope is $f'(x_0)$, we can write the equation of the tangent line, in point-slope form, as

$y - y_0 &= m(x - x_0)\\y - f(x_0) &= f'(x_0)(x - x_0)$

Solving for $y$,

$y = f(x_0) + f'(x_0) (x - x_0)$

So for values of $x$ close to $x_0$, the values of $y$ of this tangent line will closely approximate $f(x)$. This gives the approximation

$f(x) = f(x_0) + f'(x_0) (x - x_0).$

The Tangent Line Approximation (Linearization)

If $f$ is a differentiable function at $x = x_0$, then the approximation function

$L(x) = f(x) \approx f(x_0) + f'(x_0) (x - x_0)$

is a linearization of $f$ near $x_0$.

Example 1:

Find the linearization of $f(x) = \sqrt{x + 3}$ at point $x = 1$.

Solution:

Taking the derivative of $f(x)$,

$f'(x) & = \frac{1} {2} (x + 3)^{-1/2},$

we have $f(1) = \sqrt{4} = 2, f'(1) = 1/4,$ and

$f(x) & \approx f(x_0) + f'(x_0)(x - x_0)\\& \approx 2 + \frac{1} {4} (x - 1) \\& \approx \frac{1} {4}x + \frac{7} {4}.$

This tells us that near the point $x = 1$, the function $f(x) = \sqrt{x + 3}$ approximates the line $y = (x/4) + 7/4$. As we move away from $x = 1$, we lose accuracy (Figure 9).

Example 2:

Find the linearization of $y = \sin x$ at $x = \pi/3$.

Solution:

Since $f(\pi/3) = \sin(\pi/3) = \sqrt{3}/2$, and $f'(x) = \cos x,$ $f'(\pi/3) = \cos(\pi/3) = 1/2,$ we have

$f(x) & \approx \frac{\sqrt{3}} {2} + \frac{1} {2} \left (x - \frac{\pi} {3} \right)\\& \approx \frac{\sqrt{3}} {2} + \frac{x} {2} - \frac{\pi} {6}\\& \approx \frac{x} {2} + 0.343.$

## Newton’s Method

When faced with a mathematical problem that cannot be solved with simple algebraic means, such as finding the roots of the polynomial $x^3 -2x + 3 = 0,$ calculus sometimes provides a way of finding the approximate solutions.

Let's say we are interested in computing $\sqrt{5}$ without using a calculator or a table. To do so, think about this problem in a different way. Assume that we are interested in solving the quadratic equation

$f(x) = x^2 - 5 = 0$

which leads to the roots $x = \pm \sqrt{5}$.

The idea here is to find the linearization of the above function, which is a straight-line equation, and then solve the linear equation for $x$.

Since

$\sqrt{4} < \sqrt{5} < \sqrt{9}$

or

$2 < \sqrt{5} < 3,$

We choose the linear approximation of $f(x)$ to be near $x_0 = 2$. Since $f(x) = x^2 - 5,$ $f'(x) = 2x$ and thus $f(2) = -1$ and $f'(2) = 4.$ Using the linear approximation formula,

$f(x) & \approx f(x_0) + f'(x_0)(x - x_0)\\& \approx -1 + (4)(x - 2)\\& \approx -1 + 4x - 8\\& \approx 4x - 9.$

Notice that this equation is much easier to solve than $f(x) = x^2 - 5.$ Setting $f(x) = 0$ and solving for $x$, we obtain,

$4x - 9 & = 0\\x & = \frac{9} {4}\\& = 2.25.$

If you use a calculator, you will get $x = 2.236 \ldots$ As you can see, this is a fairly good approximation. To be sure, calculate the percent difference $[\%\;\mathrm{diff}]$ between the actual value and the approximate value,

$\%\ \text{diff} = \frac{2|A - X|} {|A + X|} 100\%,$

where $A$ is the accepted value and $X$ is the calculated value.

$\%\ \text{diff} &= \frac{2|2.236 - 2.25|} {|2.236 + 2.25|} 100\%\\&= 0.62\%,$

which is less than $1\%$.

We can actually make our approximation even better by repeating what we have just done not for $x = 2$, but for $x_1 = 2.25 = \frac{9} {4}$, a number that is even closer to the actual value of $\sqrt{5}$. Using the linear approximation again,

$f(x)& \approx f(x_1) + f'(x_1)(x - x_1)\\& \approx \frac{1} {16} + \frac{9} {2} \left (x - \frac{9} {4} \right)\\& \approx \frac{9} {2}x - \frac{161} {16}.$

Solving for $x$ by setting $f(x) = 0$, we obtain

$x = x_2 = 2.236111,$

which is even a better approximation than $x_1 = 9/4$. We could continue this process generating a better approximation to $\sqrt{5}$. This is the basic idea of Newton’s Method.

Here is a summary of Newton’s method.

Newton’s Method

1. Guess the first approximation to a solution of the equation $f(x) = 0$. A graph would be very helpful in finding the first approximation (see Figure below).
2. Use the first approximation to find the second, the second to find the third and so on by using the recursion relation

$x_{n+1} = x_n - \frac{f(x_n)} {f'(x_n)}.$

Example 3:

Use Newton’s method to find the roots of the polynomial $f(x) = x^3 + x - 1.$

Solution:

$f(x) &= x^3 + x - 1\\f'(x) &= 3x^2 + 1.$

Using the recursion relation,

$x_{n+1}& = x_n - \frac{f(x_n)} {f'(x_n)}\\& = x_n - \frac{x^3_n + x_n - 1} {3x^2_n + 1}.$

To help us find the first approximation, we make a graph of $f(x)$. As Figure 11 suggests, set $x_1 = 0.6$. Then using the recursion relation, we can generate $x_2$, $x_3, \ldots$.

$x_{n+1} & = x_n - \frac{x^3_n + x_n - 1} {3x^2_n + 1}\\x_2 & = 0.6 - \frac{(0.6)^3 + (0.6) - 1} {3(0.6)^2 + 1}\\& = 0.6884615.$

Using the recursion relation again to find $x_3$, we get

$x_3 = 0.6836403.$

We conclude that the solution to the equation $x^3 + x - 1 = 0$ is about $0.6836403$.

For a video presentation of Newton's method (10.0), see Math Video Tutorials by James Sousa, Newton's method (9:48).

## Review Questions

1. Find the linearization of $f(x) = \frac{x^2 + 1} {x}$ at $a = 1$.
2. Find the linearization of $f(x) = \tan x$ at $a = \pi$.
3. Use the linearization method to show that when $x \ll 1$ (much less than $1$), then $(1 + x)^n \approx 1 + nx$. Hint: Let $x = 0.$
4. Use the result of problem #3, $(1 + x)^n \approx 1 + nx$ , to find the approximation for the following:
1. $f(x) = (1 - x)^4$
2. $f(x) = \sqrt{1 - x}$
3. $f(x) = \frac{5} {\sqrt{1 + x}}$
4. Without using a calculator, approximate $(1.003)^{99}$.
5. Use Newton’s Method to find the roots of $x^3 + 3 = 0$.
6. Use Newton’s Method to find the roots of $-x + 3\sqrt{-1 + x} = 0$.

1. $f(x) \approx 2$
2. $f(x) \approx x - \pi$
3. Let $f(x) = (1 +x)^n$, and $u(x) = 1 + x$. Then, by the chain and powers rules:

$f'(x) = \frac{df}{dx} = \frac{df}{du} \cdot \frac{du}{dx} = n(u)^{n-1} \cdot (1) = n(1 +x)^{n-1}$

If $x << 1$, we can use $x_0 = 0$ and linearize around the point $f(x_0) = f(0)$:

$y &= f(x_0) + f'(x_0)(x - x_0)\\y &= (1 + 0)^n + n(1 + 0)^{n-1}(x - 0)\\y &= (1)^n + n(1)^{n-1}(x)\\y &= 1 + nx$

1. $1 - 4x$
2. $1 - \frac{1} {2}x$
3. $5 - \frac{5}{2} x$
4. $1.297$
1. $x \approx -1.442$
2. $x \approx 1.146$ and $x \approx 7.854$

## Texas Instruments Resources

In the CK-12 Texas Instruments Calculus FlexBook, there are graphing calculator activities designed to supplement the objectives for some of the lessons in this chapter. See http://www.ck12.org/flexr/chapter/9727.

Feb 23, 2012

Feb 26, 2015