« 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
- If , then (for all )
- 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 .
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.
- start with and (assumed to be on either side of the root).
- use secant method to generate a candidate point .
- If , then and are on either side of the root, so we accept as our new right endpoint.
- 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.