The relaxation method, commonly referred to as the fixed-point iteration method, is an iterative approach used to find solutions (roots) to nonlinear equations of the form
where
This approach transforms a root-finding problem into a fixed-point problem. If the iteration defined by:
converges, it will do so to the fixed point
Conceptual Illustration:
Imagine the line
The iteration takes a guess
Starting Point:
Given a nonlinear equation:
Rewriting the Equation:
We rearrange the equation into a fixed-point form:
There can be infinitely many ways to rewrite
Once we have:
if the iteration converges, it must converge to
Convergence Conditions:
A key sufficient condition for convergence is that:
If the derivative of
I. From Root to Fixed Point Problem:
Suppose we have
If
II. Fixed-Point Iteration:
Define a sequence
III. Convergence Insight:
Consider a point
If
In essence, the choice of
Input:
- A function
$f(x)$ and a corresponding$g(x)$ such that$f(x)=0$ is equivalent to$x=g(x)$ . - An initial guess
$x_0$ . - A tolerance
$\epsilon >0$ or a maximum number of iterations$n_{\max}$ .
Initialization:
Set iteration counter
Iteration:
I. Compute the next approximation:
II. Check convergence:
- If
$|x_{n+1}-x_n|< \epsilon$ or$|f(x_{n+1})|< \epsilon$ , stop. - If
$n>n_{\max}$ , stop.
III. Otherwise, set
Output:
- Approximate root:
$x_{n+1}$ . - Number of iterations performed.
Given Equation:
This equation factors as
Choose a Fixed-Point Form:
We can rearrange the equation to:
Thus:
Initial Guess:
Let
Iteration 1:
Iteration 2:
Iteration 3:
Repeating this process, we observe
-
Flexible formulation allows the relaxation method to work by simply rewriting the equation in fixed-point form
$x = g(x)$ and iterating, making it conceptually straightforward. -
Potentially faster than bisection, the method can converge more quickly when
$g(x)$ is well-chosen, particularly if$|g'(x)| < 1$ near the root. -
Broad applicability makes the method suitable for nonlinear equations that do not require derivatives, although convergence often depends on the properties of
$g(x)$ . -
Straightforward implementation is achieved by directly iterating
$x_{n+1} = g(x_n)$ , provided an appropriate$g(x)$ is identified.
-
No guaranteed convergence means the method may fail if
$|g'(x)| \geq 1$ in the vicinity of the root, unlike bracketing methods that ensure convergence under certain conditions. -
Sensitive to the choice of
$g(x)$ , as some transformations of$f(x) = 0$ into$x = g(x)$ promote convergence while others lead to divergence. - Initial guess importance highlights that a poor starting point can result in divergence or very slow convergence, making the method less robust in such cases.
-
Dependent on continuity and differentiability, with standard convergence theory requiring
$g(x)$ to be continuous and differentiable, limiting its applicability for problems that do not meet these conditions.