# Secant method

The secant method is a root-finding algorithm that uses a succession of roots of secant lines to better approximate a root of a function f.

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/3707/. Also, please do not modify any references to the original work (if any) contained in this content.

Brief secant method description can be found below the calculator

### Secant method

The secant method can be thought of as a finite difference approximation of Newton's method. where derivative is replaced by secant line.

We use the root of secant line (the value of x such that y=0) as root approximation for function f.

Suppose we have starting values x0 and x1, with function values f(x0) and f(x1).

The secant line has equation

The root of secant line (where у=0) hence

This is recurrence relation for secant method. Graphical interpretation can be seen below.

The secant method does not require that the root remain bracketed like the bisection method does (see below), and hence it does not always converge.

As can be seen from the recurrence relation, the secant method requires two initial values, x0 and x1, which should ideally be chosen to lie close to the root.

The tolerance condition can be either:

— function value is less than ε.

— difference between two subsequent хk is less than ε.

More: Secant method

## Comments