Secant method: Difference between revisions
No edit summary |
|||
| Line 4: | Line 4: | ||
The '''secant method''' is a root-finding algorithm that makes successive point estimates for the value of a root of a [[continuous function]]. In general, the secant method is not guaranteed to converge towards a root, but under some conditions, it does. A slight variant of this method, called the [[false position method]], functions very similarly to the [[bisection method]]. | The '''secant method''' is a root-finding algorithm that makes successive point estimates for the value of a root of a [[continuous function]]. In general, the secant method is not guaranteed to converge towards a root, but under some conditions, it does. A slight variant of this method, called the [[false position method]], functions very similarly to the [[bisection method]]. | ||
==Iterative process= | ==Iterative process== | ||
The secant method requires ''two'' initial guesses for the root, say <math>x_0</math> and <math>x_1</math>. For <math>n \ge 2</math>, we define <math>x_n</math> as the following affine combination of the previous two guesses <math>x_{n-1}</math> and <math>x_{n-2}</math> | The secant method requires ''two'' initial guesses for the root, say <math>x_0</math> and <math>x_1</math>. For <math>n \ge 2</math>, we define <math>x_n</math> as the following affine combination of the previous two guesses <math>x_{n-1}</math> and <math>x_{n-2}</math> | ||
Revision as of 01:45, 24 April 2014
This article is about a root-finding algorithm. See all root-finding algorithms
Definition
The secant method is a root-finding algorithm that makes successive point estimates for the value of a root of a continuous function. In general, the secant method is not guaranteed to converge towards a root, but under some conditions, it does. A slight variant of this method, called the false position method, functions very similarly to the bisection method.
Iterative process
The secant method requires two initial guesses for the root, say and . For , we define as the following affine combination of the previous two guesses and
Geometrically, this can be interpreted as follows: we make a line through the points and in the -plane, and define as the -coordinate of the intersection of this line with the -axis.