An iterative sequence is one generated by the recurrence relation
The starting value is \(x_0\) and each term is called an iterate.
A fixed point, or convergent, occurs when
Given \(x_{n+1} = 4 - 3x_n\) and starting point \(x_0 = 5\),
a) calculate the first five iterates.
b) find any fixed points which exist.
a)
b) For fixed points, \(x_n = F(x_n)\):
So \(x = 1\) is a fixed point.
Consider the function
which is graphed below:
From the graph, \(f(x) = 0\) at the points \((-2,0)\) and \((1,0)\).
Now rearrange
to
This is of the form \(x = F(x)\), where \(F(x) = 2 - x^2\).
Plotting \(y = 2 - x^2\) gives:
But \[ y = 2 - x^{2} \qquad\text{and}\qquad x = 2 - x^{2} \]
So \[ y = x = 2 - x^{2} \quad\text{i.e.}\quad y = x = F(x) \]
The intersection of \[ y = x \quad\text{and}\quad y = 2 - x^{2} \]
gives the points \[ (-2,\,0) \quad\text{and}\quad (1,\,0). \]
We also have the line \(y = x\). Fixed points satisfy
The intersection of \(y = x\) and \(y = 2 - x^2\) gives the points \((-2,-2)\) and \((1,1)\), which are the same x values as the roots of \(f(x) = 0\).
An iterative sequence for \(x = 2 - x^2\) would be of the form
For fixed points, \(x_n = F(x_n)\), so
Solving
These are the intersections found above.
So, if an equation \(f(x) = 0\) can be rearranged to the form \(x = F(x)\), finding any fixed points of the iterative sequence \[ x_{n+1} = F(x_n) \] may lead to solutions for \(f(x) = 0\).
Given that \(x^3 - 4x - 5 = 0\) can be written as
and using a starting value of \(x_0 = 2\):
a) Write down a simple iterative formula \(x_{n+1} = F(x_n)\).
b) Find, correct to 4 d.p., a root between 1 and 3.
a)
b)
The equation \(x^3 - 4x - 5 = 0\) has a root
Below is a graph showing the same iterative formula, this time with a starting value of \(x_0 = -4\).
Again, the system converges at \(x \approx 2.4567\) (4 d.p.).
If rearranging an equation \(f(x)=0\) to the form \(x = F(x)\) leads to \(x = a\) as a solution for the iterative sequence \[ x_{n+1} = F(x_n), \] then \(f(a) = 0\).
Each iterate differs from \(a\) by an error \(e_n\), so
Then
Using Taylor’s series about \(x = a\):
Since \(a\) is a fixed point, \(F(a) = a\), so
For convergence, we require
If \(F'(a)\) is a constant and dominates the higher-order terms, this is called a first order process.
To estimate \(F'(a)\) from consecutive iterates, note that for small errors
Since \(e_n = x_n - a\), eliminating \(a\) using three consecutive iterates gives an approximate value for \(F'(a)\).
If, in the Taylor expansion,
we have \(F'(a) = 0\), then
Here \(F''(a)\) is a constant, and the error is proportional to \(e_n^2\). This is called a second order process.
The rule of false position is used to find approximate roots of the equation \(f(x) = 0\).
Take two points on the graph on either side of the x-axis. Let \(A(a, f(a))\) be a fixed point and \(P_0(x_0, f(x_0))\) be a varying point.
An iterative equation can then be formed by taking the x-intercept of the secant line through \(A\) and \(P_n\):
Use the rule of false position to solve the equation
to two decimal places.
Let \(f(x) = x^4 - 2x\).
Take \(A(2, 12)\) and \(P_0(1, -1)\). Using the false position formula with \(a = 2\) and \(x_0 = 1\), generates iterates:
Starting with x0 = 1 and f(x0) = -1
Continuing, we obtain
The Newton–Raphson iteration for solving \(f(x) = 0\) is