MATH 417 Lecture 3

From Notes
Jump to navigation Jump to search

« previous | Tuesday, January 21, 2014 | next »


Fixed Point Algorithm

To solve for for , we first write and evaluate for , where is an initial guess.

Conditions

  1. If , then (for all )
  2. for .

If both conditions are met, then


Example 1

Doesn't satisfy first condition:

Or the second condition: (the distance between and is always 6 times larger than )

First condition holds:

Satisfies second condition:

For (midpoint), then we can get 3 digits of precision in 4 steps.

Nasty, but it works...

Example 2

and

So find a root on


Section 2.3: Newton's Method

One of the best methods used to date

Can we do better than bisection or fixed point?

Only works if is continuous, monotone, and concave up/down...


Given on one side of and , Compute , the line tangent to at :

Use the second equation to find where intersects the -axis and use that number as the next value in the iteration: .

However, if , then our estimate will not get us very close to the root.


Convergence

Theorem. Assume , for some , and for all . Then there exists a such that if , then as .

Proof. Newton's method is a fixed point method with . Hence . When , we get because . We have continuous and equal to 0 at a point, therefore, there exists a such that for any , there exists a (depending only on ) such that when

quod erat demonstrandum
Note: We can choose any precision we want. The closer we get to , the faster Newton's method converges. However, we have to choose the right starting value

Variations/Improvements on Newton's Method

Secant Method

Instead of using a tangent line, we use a secant line between two consecutive approximations.

This requires only one function evaluation at each step.

(need , generally start out with .

Observe that the fractional part of the second term approximates the derivative of at With the slope of the line between and . Hence the name secant method.

False Position Method

Uses same approximation as a Secant method, but tests the new point before accepting it to ensure that the root is always surrounded between endpoints.

  1. start with and (assumed to be on either side of the root).
  2. use secant method to generate a candidate point .
  3. If , then and are on either side of the root, so we accept as our new right endpoint.
  4. Otherwise, if , then they are both on the same side of the root, but is a better left approximation than , so we accept as our new left endpoint.

Always converges for concave-up or concave-down function.