06.09.2021 Views

Calculus- Early Transcendentals, 2021a

Calculus- Early Transcendentals, 2021a

Calculus- Early Transcendentals, 2021a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.4. Linear and Higher Order Approximations 189<br />

We can now clearly see how (x 2 ,0) is a better estimate of the root of f (x), rather than any of the<br />

previous points. Moving forward, we will get:<br />

x 3 = x 2 − f (x 2)<br />

f ′ (x 2 )<br />

as:<br />

Rest assured, (x 3 ,0) will be an even better estimate of the root! We express the general iterative step<br />

x n+1 = x n − f (x n)<br />

f ′ (x n )<br />

The idea is to iterate these steps to obtain the desired accuracy. Here is an example.<br />

Example 5.32: Newton method to approximate roots<br />

Use Newton’s method to approximate the roots of f (x)=x 3 − x + 1.<br />

Solution. You can try to find solve the equation algebraically to see that this is a difficult task, and thus it<br />

make sense to try a numerical method such as Newton’s.<br />

To find an initial value x 0 , note that f (−1)=−5and f (0)=1, and by the Intermediate Value Theorem<br />

this f has a root between these two values, and we decide to start with x 0 = −1 (you can try other values<br />

to see what happens).<br />

Note that f ′ (x)=3x 2 − 1, and thus we get<br />

Thus we can produce the following values (try it):<br />

x n+1 = x n − f (x n)<br />

f ′ (x n ) = x + n − x3 n − x n + 1<br />

3x 2 n − 1<br />

x 0 = −1<br />

x 1 = −1.5000<br />

x 2 = −1.347826..<br />

x 3 = −1.325200..<br />

x 4 = −1.324718..<br />

x 5 = −1.324717..<br />

x 6 = −1.324717..<br />

···<br />

and we can now approximate the root as −1.324717.<br />

♣<br />

As with any numerical method, we need to be aware of the weaknesses of any technique we are using.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!