• LOGIN
  • No products in the cart.

MTH6P2C: ITERATIVE METHODS

This unit is about the general iterative method of finding roots of equations in numerical methods.

Iterative Method

  • In computational mathematics, an iterative method is a mathematical procedure that uses an initial guess to generate a sequence of improving approximate solutions for a class of problems, in which the n-th approximation is derived from the previous ones.
  • A specific implementation of an iterative method, including the termination criteria, is an algorithm of the iterative method.
  • An iterative method is called convergent if the corresponding sequence converges for given initial approximations.
  • A mathematically rigorous convergence analysis of an iterative method is usually performed; however, heuristic-based iterative methods are also common.
  • Iteration is a way of solving equations. You would usually use iteration when you cannot solve the equation any other way.An iteration formula might look like the following:xn+1 = 2  + 
    xn .You are usually given a starting value, which is called x0. If x0 = 3, for example, you would substitute 3 into the original equation where it says xn. This will give you x1. (This is because if n = 0, x1 = 2 + 1/x0 and x0 = 3).
    x1 = 2 + 1/3 = 2.333 333 (by substituting in 3).To find x2, substitute the value you found for x1.
    x2 = 2 + 1/(2.333 333) = 2.428 571Repeat this until you get an answer to a suitable degree of accuracy. This may be about the 5th value for an answer correct to 3s.f. In this example, x5 = 2.414…

Linear Systems – Iterative methods - ppt video online download

In contrast, direct methods attempt to solve the problem by a finite sequence of operations. In the absence of rounding errors, direct methods would deliver an exact solutio.

Iterative methods are often the only choice for nonlinear equations. However, iterative methods are often useful even for linear problems involving a large number of variables (sometimes of the order of millions), where direct methods would be prohibitively expensive (and in some cases impossible) even with the best available computing power.

Let the given equation be f(x) = 0 and the value of x to be determined. By using the Iteration method you can find the roots of the equation. To find the root of the equation first we have to write equation like below
x = pi(x)
Let x=x0 be an initial approximation of the required root α then the first approximation x1 is given by x1 = pi(x0).

Similarly for second, thrid and so on. approximation
x2 = pi(x1)
x3 = pi(x2)
x4 = pi(x3)
xn = pi(xn-1)

Iteration Method Example:
Find the real root of the equation x3 + x 2 = 1 by iteration method.
Solution:
We can rewrite the above equation by
x3 + x 2 – 1 = 0;
Let f(x) = x3 + x 2 – 1
f(0) = -1 (positive)
f(1) = 1 (negative)
Hence the root value lie between 0 to 1

x3 + x 2 – 1 = 0
x2 (x + 1) = 1
x2 = 1/ (x + 1)
x = 1/ √(x + 1)
pi(x) = 1/ √(x + 1)

Let the initial approximation be x0 = 0.5

x1 = pi(x0) = 1/√1+ 0.5 = 0.81649

x2 = pi(x1) = 1/√1+ 0.81649 = 0.74196

x3 = pi(x2) = 1/√1+ 0.74196 = 0.75767

x4 = pi(x3) = 1/√1+ 0.75767 = 0.75427

x5 = pi(x4) = 1/√1+ 0.75427 = 0.75500

x6 = pi(x5) = 1/√1+ 0.75500 = 0.75485

x7 = pi(x6) = 1/√1+ 0.75485 = 0.75488

Since the difference between x6 and x7 are very small, so the root is 0.75488.

Iteration method Practice problem:
1. Solve by iteration method 2x – logx – 7 = 0
2. Find the root of the equation x log x = 1.2 by iteration method
3. Compute the real root of 3x – cosx – 1 = 0 by iteration method
4. Find the root of the equation sin x = 1 + x3 between ( -2,-1) to 3 decimal places by Iteration method

ITERATIVE METHODS TUTORIAL

Assignment

ITERATIVE METHODS ASSIGNMENT

ASSIGNMENT : ITERATIVE METHODS ASSIGNMENT MARKS : 30  DURATION : 2 hours

 

Courses

Featured Downloads