Root finding · Definition
Fixed-point iteration
Before you start you need to know
Many nonlinear equations can be rewritten as a fixed point of a function. This approach turns the problem of finding roots into a sequence that must converge.
Definition
Iterative method that approximates a solution of the equation \( x = g(x) \) by generating the sequence \( x_{n+1} = g(x_n) \) from an initial value \( x_0 \).
A fixed point \( p \) of \( g \) satisfies \( g(p) = p \). If \( g \) is continuous and the sequence \( x_n \) converges, its limit is a fixed point. The fixed-point theorem states that if \( g \) maps \( [a,b] \) into itself and \( |g'(x)| \le k < 1 \) there, then a unique fixed point exists and the iteration converges to it for any \( x_0 \in [a,b] \). Convergence is linear with constant \( |g'(p)| \) when \( g'(p) \neq 0 \).
To solve \( x^2 - 2 = 0 \) one can use \( g(x) = \frac{x + 2}{x + 1} \), since \( g(x) = x \) is equivalent to \( x^2 = 2 \). Starting with \( x_0 = 1 \) gives \( x_1 = 1.5 \), \( x_2 \approx 1.4 \), and \( x_3 \approx 1.4167 \), approaching \( \sqrt{2} \approx 1.4142 \). Each step is computed by evaluating \( g \) at the previous value.
A typical error is choosing a \( g \) with \( |g'(p)| \ge 1 \) and expecting convergence. For example, \( g(x) = x^2 - 2 \) has fixed points at \( x = 2 \) and \( x = -1 \), but \( |g'(2)| = 4 \), so iterating from values near 2 moves away from the root. Before iterating, it is wise to check the derivative condition.
Think about it
If \( |g'(p)| > 1 \) and \( x_0 \) is very close to \( p \), what happens to the iteration?
The error is multiplied by \( |g'(p)| > 1 \) at each step, so the sequence moves away from \( p \), unless \( x_0 = p \).
Exercises 10
- What is the general formula of fixed-point iteration?
- What condition defines a fixed point \( p \) of \( g \)?
- If \( |g'(p)| < 1 \), what type of convergence is expected near \( p \)?
- What does the fixed-point theorem state about the existence of a fixed point?
- What is \( x_1 \) if \( g(x) = \cos(x) \) and \( x_0 = 0 \)?
- If \( g(x) = \frac{x^2 + 2}{3} \) and \( x_0 = 1 \), what is \( x_2 \)?
- What is the linear convergence constant when \( g'(p) = -0.5 \)?
- For \( g(x) = \sqrt{x + 6} \), what is the positive fixed point?
- If \( g(x) = \frac{x}{2} + 1 \), what is the limit of \( x_n \) starting from any \( x_0 \)?
- To solve \( x^3 - x - 1 = 0 \) with \( g(x) = \sqrt[3]{x + 1} \), does the iteration from \( x_0 = 1 \) converge? Justify using \( |g'(p)| \) at the real root \( p \approx 1.3247 \).
What comes next
References
- Richard L. Burden, J. Douglas Faires, Annette M. Burden, Numerical Analysis, 10th edition, Cengage Learning, 2016.
- Lloyd N. Trefethen, David Bau III, Numerical Linear Algebra, 1st edition, SIAM, 1997.