Fixed Point Method

The Fixed Point Method is a numerical technique used to find approximate solutions to equations of the formx=g(x)x = g(x) . It iteratively refines an initial guess until convergence is achieved.


Given a function:

f(x)=0 f(x) = 0
x=g(x)x = g(x)

How the Fixed Point Method Works

  1. Rearrangement: Rearrange the equation to the form x=g(x)x = g(x).
  2. Initial Guess: Choose an initial approximation x0x_0.
  3. Iteration: Use the function to compute:
    xn+1=g(xn)x_{n+1} = g(x_n)
    Repeat until convergence.
  4. Convergence Check: Stop when xn+1xn<extErrormargin|x_{n+1} - x_n| < ext{Error margin}.

Example

Given Function:

x24 x^2 - 4

Error Margin is 0.01

Step 1: Initial Guess:

x0=1 x_0 = 1

Step 2: Rearranged Function:

x0=1tog(x0)=4=2 x_0 = 1 \\\\ \text{to} \\\\ g(x_0) = \sqrt{4} = 2

Step 3: First Iteration:

x1=g(x0)=4=2x_1 = g(x_0) = \sqrt{4} = 2
x1x0=21=1|x_1 - x_0| = |2 - 1| = 1
Since x1x0>0.01, continue iterating.\text{Since} \ |x_1 - x_0| > 0.01, \text{ continue iterating.}

Step 4: Second Iteration:

x2=g(x1)=4=2 x_2 = g(x_1) = \sqrt{4} = 2
x2x1=22=0 |x_2 - x_1| = |2 - 2| = 0
Since x2x1<0.01, we have converged.\text{Since} \ |x_2 - x_1| < 0.01, \text{ we have converged.}

Result:

x2 x \approx 2

Conclusion

The Fixed Point Method is an effective approach for solving equations of the form f(x)=0f(x) = 0. In this example, we showed that the solution converges to x=2 x = 2. The method guarantees convergence under suitable conditions on the function g(x)g(x).

Fixed-Point (Iteration) Method Solver