2.4 Newton's Method
We’d like to convert a root-finding problem to a fixed point problem that converges and does so quickly.
In the previous section, we saw that the condition
Idea: If
Furthermore,
Geometry of Newton's Method
Tangent:
The “rise”
Deriving Newton's Method
Input: A function
Output: An approximate
Outline:
• Given
• If
• Otherwise, set
• Repeat this either until the desired accuracy is achieved (and return the iterate) or until the maximum iterations
Potential issue: What if we don’t know or can’t compute the derivative
Secant Method
Workaround: Use a difference formula instead:
• This method is called the secant method.
• Need to keep track of two iterates at any given time.
• Need two initial values!
• Some strategies are to pick
• The order of convergence of the secant method is