SlideShare a Scribd company logo
RUBEN DARIO ARISMENDI RUEDA
CHAPTER 4: ‘Iterative Methods to solve lineal ecuation systems’
INTRODUCTION In the next presentetion, there will be some examples that are already  solved in excel document but the interesting part is to see how each different method behaves. To use Jacobi method, the matrix has to has a prevailing diagonal. ( the addition of the other terms are less than the term of the diagonal)
[object Object],[object Object],3x3 MATRIX  10 1 3 19 1 8 2 29 -1 -1 6 8
n 0 1 2 3 4 5 6 7 8 x1 0 1,9 1,1375 0,91833333 0,99848958 1,00789757 0,99926888 0,99935904 1,00014015 x2 0 3,625 3,05416667 2,91927083 3,00222222 3,0069553 2,99898315 2,99947252 3,00015295 x3 0 1,33333333 2,25416667 2,03194444 1,97293403 2,00011863 2,00247548 1,99970867 1,99980526 Tol                   x1 1,9 -0,7625 -0,21916667 0,08015625 0,00940799 -0,00862869 9,0162E-05 0,0007811 x2 3,625 -0,57083333 -0,13489583 0,08295139 0,00473307 -0,00797215 0,00048938 0,00068043 x3 1,33333333 0,92083333 -0,22222222 -0,05901042 0,02718461 0,00235684 -0,00276681 9,659E-05
n 9 10 11 12 13 14 x1 1,00004313 0,99998223 0,99999805 1,00000186 0,99999997 0,99999983 x2 3,00003117 2,9999824 2,99999913 3,00000172 2,99999989 2,99999985 x3 2,00004885 2,00001238 1,9999941 1,99999953 2,0000006 1,99999998 Tol             x1 -9,702E-05 -6,0898E-05 1,5817E-05 3,8105E-06 -1,8866E-06 -1,369E-07 x2 -0,00012179 -4,877E-05 1,6729E-05 2,5923E-06 -1,8324E-06 -3,0965E-08 x3 0,00024359 -3,6468E-05 -1,8278E-05 5,4244E-06 1,0671E-06 -6,1983E-07
n 15 16 17 x1 1,00000002 1,00000001 1 x2 3,00000003 3,00000001 3 x3 1,99999995 2,00000001 2 Tol       x1 1,8904E-07 -8,8137E-09 -1,6392E-08 x2 1,7207E-07 -1,6636E-08 -1,3945E-08 x3 -2,7978E-08 6,0186E-08 -4,2416E-09
2. GAUSS-SEIDEL. The algoritm is the same for the Jacobi method. But it makes an exception with the next expression that improve the Jacobi’s method.
3x3 MATRIX  10 1 3 19 1 8 2 29 -1 -1 6 8
n 0 1 2 3 4 5 x1 0 1,9 0,896875 1,01126953 0,99874858 1,00013821 x2 0 3,3875 2,95924479 3,00458632 2,99949577 3,00005588 x3 0 2,21458333 1,97601997 2,00264264 1,99970739 2,00003235 Tolerancia             x1 1,9 -1,003125 0,11439453 -0,01252096 0,00138963 x2 3,3875 -0,42825521 0,04534153 -0,00509055 0,00056011 x3 2,21458333 -0,23856337 0,02662268 -0,00293525 0,00032496
n 6 7 8 9 10 x1 0,99998471 1,00000169 0,99999981 1,00000002 1 x2 2,99999382 3,00000068 2,99999992 3,00000001 3 x3 1,99999642 2,0000004 1,99999996 2 2 Tolerancia           x1 -0,0001535 1,6983E-05 -1,8779E-06 2,0769E-07 -2,2969E-08 x2 -6,2052E-05 6,8584E-06 -7,5864E-07 8,3894E-08 -9,2783E-09 x3 -3,5925E-05 3,9735E-06 -4,3942E-07 4,8598E-08 -5,3745E-09
With the two last examples, we can see that the Gauss-Seidel method is more efficient than the Jacobi method. Because it gets to the answer in a less number of iterations.

More Related Content

What's hot

Aitken's Method
Aitken's MethodAitken's Method
Aitken's Method
Isaac Yowetu
 
Bresenham Line Drawing Algorithm
Bresenham Line Drawing AlgorithmBresenham Line Drawing Algorithm
Bresenham Line Drawing Algorithm
Kasun Ranga Wijeweera
 
Regresi linear
Regresi linearRegresi linear
Regresi linear
Nanang Harianto
 
Math
MathMath
Relaxation method
Relaxation methodRelaxation method
Relaxation method
Parinda Rajapaksha
 
Applied numerical methods lec1
Applied numerical methods lec1Applied numerical methods lec1
Applied numerical methods lec1
Yasser Ahmed
 
Applied numerical methods lec6
Applied numerical methods lec6Applied numerical methods lec6
Applied numerical methods lec6
Yasser Ahmed
 
Mesh analysis dc circuit
Mesh analysis   dc circuitMesh analysis   dc circuit
Mesh analysis dc circuit
saravana kumar R
 
Numerical solutions for linear system of equations
Numerical solutions for linear system of equationsNumerical solutions for linear system of equations
Numerical solutions for linear system of equations
Mohamed Mohamed El-Sayed
 
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
INVERSION OF MATRIX BY GAUSS ELIMINATION METHODINVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
reach2arkaELECTRICAL
 
Numerical solution of system of linear equations
Numerical solution of system of linear equationsNumerical solution of system of linear equations
Numerical solution of system of linear equations
reach2arkaELECTRICAL
 
01 matrices
01 matrices01 matrices
01 matrices
Tareq Qazi
 
Cpt 5 synthesis of linkages
Cpt 5 synthesis of linkagesCpt 5 synthesis of linkages
Cpt 5 synthesis of linkages
Mohit Jain
 
Bessel 1 div_3
Bessel 1 div_3Bessel 1 div_3
Bessel 1 div_3
Martin Gallardo
 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
reach2arkaELECTRICAL
 

What's hot (15)

Aitken's Method
Aitken's MethodAitken's Method
Aitken's Method
 
Bresenham Line Drawing Algorithm
Bresenham Line Drawing AlgorithmBresenham Line Drawing Algorithm
Bresenham Line Drawing Algorithm
 
Regresi linear
Regresi linearRegresi linear
Regresi linear
 
Math
MathMath
Math
 
Relaxation method
Relaxation methodRelaxation method
Relaxation method
 
Applied numerical methods lec1
Applied numerical methods lec1Applied numerical methods lec1
Applied numerical methods lec1
 
Applied numerical methods lec6
Applied numerical methods lec6Applied numerical methods lec6
Applied numerical methods lec6
 
Mesh analysis dc circuit
Mesh analysis   dc circuitMesh analysis   dc circuit
Mesh analysis dc circuit
 
Numerical solutions for linear system of equations
Numerical solutions for linear system of equationsNumerical solutions for linear system of equations
Numerical solutions for linear system of equations
 
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
INVERSION OF MATRIX BY GAUSS ELIMINATION METHODINVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
INVERSION OF MATRIX BY GAUSS ELIMINATION METHOD
 
Numerical solution of system of linear equations
Numerical solution of system of linear equationsNumerical solution of system of linear equations
Numerical solution of system of linear equations
 
01 matrices
01 matrices01 matrices
01 matrices
 
Cpt 5 synthesis of linkages
Cpt 5 synthesis of linkagesCpt 5 synthesis of linkages
Cpt 5 synthesis of linkages
 
Bessel 1 div_3
Bessel 1 div_3Bessel 1 div_3
Bessel 1 div_3
 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
 

Viewers also liked

Iterative methods
Iterative methodsIterative methods
Iterative methods
rubenarismendi
 
Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
rubenarismendi
 
Direct sustitution methods
Direct sustitution methodsDirect sustitution methods
Direct sustitution methods
rubenarismendi
 
Special methods
Special methodsSpecial methods
Special methods
rubenarismendi
 
Iterative methods
Iterative methodsIterative methods
Iterative methods
rubenarismendi
 
Hadoop MapReduce Fundamentals
Hadoop MapReduce FundamentalsHadoop MapReduce Fundamentals
Hadoop MapReduce Fundamentals
Lynn Langit
 
Big data ppt
Big data pptBig data ppt
Big data ppt
IDBI Bank Ltd.
 
Big data ppt
Big  data pptBig  data ppt
Big data ppt
Nasrin Hussain
 

Viewers also liked (8)

Iterative methods
Iterative methodsIterative methods
Iterative methods
 
Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
 
Direct sustitution methods
Direct sustitution methodsDirect sustitution methods
Direct sustitution methods
 
Special methods
Special methodsSpecial methods
Special methods
 
Iterative methods
Iterative methodsIterative methods
Iterative methods
 
Hadoop MapReduce Fundamentals
Hadoop MapReduce FundamentalsHadoop MapReduce Fundamentals
Hadoop MapReduce Fundamentals
 
Big data ppt
Big data pptBig data ppt
Big data ppt
 
Big data ppt
Big  data pptBig  data ppt
Big data ppt
 

Similar to Iterative methods

Problem Based Learning Presentation NACA
Problem Based Learning Presentation NACAProblem Based Learning Presentation NACA
Problem Based Learning Presentation NACA
Wahid Dino Samo
 
The rules of indices
The rules of indicesThe rules of indices
The rules of indices
Yu Kok Hui
 
Apache Commons Math @ FOSDEM 2013
Apache Commons Math @ FOSDEM 2013Apache Commons Math @ FOSDEM 2013
Apache Commons Math @ FOSDEM 2013
netomi
 
Numerical Method Analysis: Algebraic and Transcendental Equations (Linear)
Numerical Method Analysis: Algebraic and Transcendental Equations (Linear)Numerical Method Analysis: Algebraic and Transcendental Equations (Linear)
Numerical Method Analysis: Algebraic and Transcendental Equations (Linear)
Minhas Kamal
 
Linear Algebra(1).pptx
Linear Algebra(1).pptxLinear Algebra(1).pptx
Linear Algebra(1).pptx
DenverGMagtibay
 
solution for 2D truss1
solution for 2D truss1solution for 2D truss1
solution for 2D truss1
Mohammaderfan Zandieh
 
Gauss simple
Gauss simpleGauss simple
Gauss simple
DUBAN CASTRO
 
Mathematics in everyday life
Mathematics in everyday lifeMathematics in everyday life
Mathematics in everyday life
Hasan Ali
 
Mathematics in everyday life
Mathematics in everyday lifeMathematics in everyday life
Mathematics in everyday life
jothiganga
 
Sudoku Solving with Computational Intelligence
Sudoku Solving with Computational IntelligenceSudoku Solving with Computational Intelligence
Sudoku Solving with Computational Intelligence
haraldhiss
 
Uniform Order Legendre Approach for Continuous Hybrid Block Methods for the S...
Uniform Order Legendre Approach for Continuous Hybrid Block Methods for the S...Uniform Order Legendre Approach for Continuous Hybrid Block Methods for the S...
Uniform Order Legendre Approach for Continuous Hybrid Block Methods for the S...
IOSR Journals
 
Sixth order hybrid block method for the numerical solution of first order ini...
Sixth order hybrid block method for the numerical solution of first order ini...Sixth order hybrid block method for the numerical solution of first order ini...
Sixth order hybrid block method for the numerical solution of first order ini...
Alexander Decker
 
Maths in daytoday life by Gilad Lerman Department of Mathematics University o...
Maths in daytoday life by Gilad Lerman Department of Mathematics University o...Maths in daytoday life by Gilad Lerman Department of Mathematics University o...
Maths in daytoday life by Gilad Lerman Department of Mathematics University o...
yashoverdhanv
 
Method of simple gauss
Method of simple gaussMethod of simple gauss
Method of simple gauss
Jeannie
 
Method of simple gauss
Method of simple gaussMethod of simple gauss
Method of simple gauss
Jeannie
 
Method Of Simple Gauss
Method Of Simple GaussMethod Of Simple Gauss
Method Of Simple Gauss
Jeannie
 
Determination of exact shortest paths based on mechanical analogies doi 10.1...
Determination of exact shortest paths based on mechanical analogies  doi 10.1...Determination of exact shortest paths based on mechanical analogies  doi 10.1...
Determination of exact shortest paths based on mechanical analogies doi 10.1...
Gokhan ALTINTAS
 
18-21 Principles of Least Squares.ppt
18-21 Principles of Least Squares.ppt18-21 Principles of Least Squares.ppt
18-21 Principles of Least Squares.ppt
BAGARAGAZAROMUALD2
 
Metodos jacobi y gauss seidel
Metodos jacobi y gauss seidelMetodos jacobi y gauss seidel
Metodos jacobi y gauss seidel
Cesar Mendoza
 
Metodos jacobi y gauss seidel
Metodos jacobi y gauss seidelMetodos jacobi y gauss seidel
Metodos jacobi y gauss seidel
Cesar Mendoza
 

Similar to Iterative methods (20)

Problem Based Learning Presentation NACA
Problem Based Learning Presentation NACAProblem Based Learning Presentation NACA
Problem Based Learning Presentation NACA
 
The rules of indices
The rules of indicesThe rules of indices
The rules of indices
 
Apache Commons Math @ FOSDEM 2013
Apache Commons Math @ FOSDEM 2013Apache Commons Math @ FOSDEM 2013
Apache Commons Math @ FOSDEM 2013
 
Numerical Method Analysis: Algebraic and Transcendental Equations (Linear)
Numerical Method Analysis: Algebraic and Transcendental Equations (Linear)Numerical Method Analysis: Algebraic and Transcendental Equations (Linear)
Numerical Method Analysis: Algebraic and Transcendental Equations (Linear)
 
Linear Algebra(1).pptx
Linear Algebra(1).pptxLinear Algebra(1).pptx
Linear Algebra(1).pptx
 
solution for 2D truss1
solution for 2D truss1solution for 2D truss1
solution for 2D truss1
 
Gauss simple
Gauss simpleGauss simple
Gauss simple
 
Mathematics in everyday life
Mathematics in everyday lifeMathematics in everyday life
Mathematics in everyday life
 
Mathematics in everyday life
Mathematics in everyday lifeMathematics in everyday life
Mathematics in everyday life
 
Sudoku Solving with Computational Intelligence
Sudoku Solving with Computational IntelligenceSudoku Solving with Computational Intelligence
Sudoku Solving with Computational Intelligence
 
Uniform Order Legendre Approach for Continuous Hybrid Block Methods for the S...
Uniform Order Legendre Approach for Continuous Hybrid Block Methods for the S...Uniform Order Legendre Approach for Continuous Hybrid Block Methods for the S...
Uniform Order Legendre Approach for Continuous Hybrid Block Methods for the S...
 
Sixth order hybrid block method for the numerical solution of first order ini...
Sixth order hybrid block method for the numerical solution of first order ini...Sixth order hybrid block method for the numerical solution of first order ini...
Sixth order hybrid block method for the numerical solution of first order ini...
 
Maths in daytoday life by Gilad Lerman Department of Mathematics University o...
Maths in daytoday life by Gilad Lerman Department of Mathematics University o...Maths in daytoday life by Gilad Lerman Department of Mathematics University o...
Maths in daytoday life by Gilad Lerman Department of Mathematics University o...
 
Method of simple gauss
Method of simple gaussMethod of simple gauss
Method of simple gauss
 
Method of simple gauss
Method of simple gaussMethod of simple gauss
Method of simple gauss
 
Method Of Simple Gauss
Method Of Simple GaussMethod Of Simple Gauss
Method Of Simple Gauss
 
Determination of exact shortest paths based on mechanical analogies doi 10.1...
Determination of exact shortest paths based on mechanical analogies  doi 10.1...Determination of exact shortest paths based on mechanical analogies  doi 10.1...
Determination of exact shortest paths based on mechanical analogies doi 10.1...
 
18-21 Principles of Least Squares.ppt
18-21 Principles of Least Squares.ppt18-21 Principles of Least Squares.ppt
18-21 Principles of Least Squares.ppt
 
Metodos jacobi y gauss seidel
Metodos jacobi y gauss seidelMetodos jacobi y gauss seidel
Metodos jacobi y gauss seidel
 
Metodos jacobi y gauss seidel
Metodos jacobi y gauss seidelMetodos jacobi y gauss seidel
Metodos jacobi y gauss seidel
 

More from rubenarismendi

Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
rubenarismendi
 
Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
rubenarismendi
 
Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
rubenarismendi
 
Roots of equations
Roots of equationsRoots of equations
Roots of equations
rubenarismendi
 
Taylor 1
Taylor 1Taylor 1
Taylor 1
rubenarismendi
 
Taylor
TaylorTaylor
Taylor
TaylorTaylor
Approximation and error
Approximation and errorApproximation and error
Approximation and error
rubenarismendi
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
rubenarismendi
 
Mathematical modeling
Mathematical modelingMathematical modeling
Mathematical modeling
rubenarismendi
 
Matrizinversa
MatrizinversaMatrizinversa
Matrizinversa
rubenarismendi
 

More from rubenarismendi (11)

Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
 
Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
 
Roots of equations 1
Roots of equations 1Roots of equations 1
Roots of equations 1
 
Roots of equations
Roots of equationsRoots of equations
Roots of equations
 
Taylor 1
Taylor 1Taylor 1
Taylor 1
 
Taylor
TaylorTaylor
Taylor
 
Taylor
TaylorTaylor
Taylor
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
 
Mathematical modeling
Mathematical modelingMathematical modeling
Mathematical modeling
 
Matrizinversa
MatrizinversaMatrizinversa
Matrizinversa
 

Iterative methods

  • 2. CHAPTER 4: ‘Iterative Methods to solve lineal ecuation systems’
  • 3. INTRODUCTION In the next presentetion, there will be some examples that are already solved in excel document but the interesting part is to see how each different method behaves. To use Jacobi method, the matrix has to has a prevailing diagonal. ( the addition of the other terms are less than the term of the diagonal)
  • 4.
  • 5. n 0 1 2 3 4 5 6 7 8 x1 0 1,9 1,1375 0,91833333 0,99848958 1,00789757 0,99926888 0,99935904 1,00014015 x2 0 3,625 3,05416667 2,91927083 3,00222222 3,0069553 2,99898315 2,99947252 3,00015295 x3 0 1,33333333 2,25416667 2,03194444 1,97293403 2,00011863 2,00247548 1,99970867 1,99980526 Tol                   x1 1,9 -0,7625 -0,21916667 0,08015625 0,00940799 -0,00862869 9,0162E-05 0,0007811 x2 3,625 -0,57083333 -0,13489583 0,08295139 0,00473307 -0,00797215 0,00048938 0,00068043 x3 1,33333333 0,92083333 -0,22222222 -0,05901042 0,02718461 0,00235684 -0,00276681 9,659E-05
  • 6. n 9 10 11 12 13 14 x1 1,00004313 0,99998223 0,99999805 1,00000186 0,99999997 0,99999983 x2 3,00003117 2,9999824 2,99999913 3,00000172 2,99999989 2,99999985 x3 2,00004885 2,00001238 1,9999941 1,99999953 2,0000006 1,99999998 Tol             x1 -9,702E-05 -6,0898E-05 1,5817E-05 3,8105E-06 -1,8866E-06 -1,369E-07 x2 -0,00012179 -4,877E-05 1,6729E-05 2,5923E-06 -1,8324E-06 -3,0965E-08 x3 0,00024359 -3,6468E-05 -1,8278E-05 5,4244E-06 1,0671E-06 -6,1983E-07
  • 7. n 15 16 17 x1 1,00000002 1,00000001 1 x2 3,00000003 3,00000001 3 x3 1,99999995 2,00000001 2 Tol       x1 1,8904E-07 -8,8137E-09 -1,6392E-08 x2 1,7207E-07 -1,6636E-08 -1,3945E-08 x3 -2,7978E-08 6,0186E-08 -4,2416E-09
  • 8. 2. GAUSS-SEIDEL. The algoritm is the same for the Jacobi method. But it makes an exception with the next expression that improve the Jacobi’s method.
  • 9. 3x3 MATRIX 10 1 3 19 1 8 2 29 -1 -1 6 8
  • 10. n 0 1 2 3 4 5 x1 0 1,9 0,896875 1,01126953 0,99874858 1,00013821 x2 0 3,3875 2,95924479 3,00458632 2,99949577 3,00005588 x3 0 2,21458333 1,97601997 2,00264264 1,99970739 2,00003235 Tolerancia             x1 1,9 -1,003125 0,11439453 -0,01252096 0,00138963 x2 3,3875 -0,42825521 0,04534153 -0,00509055 0,00056011 x3 2,21458333 -0,23856337 0,02662268 -0,00293525 0,00032496
  • 11. n 6 7 8 9 10 x1 0,99998471 1,00000169 0,99999981 1,00000002 1 x2 2,99999382 3,00000068 2,99999992 3,00000001 3 x3 1,99999642 2,0000004 1,99999996 2 2 Tolerancia           x1 -0,0001535 1,6983E-05 -1,8779E-06 2,0769E-07 -2,2969E-08 x2 -6,2052E-05 6,8584E-06 -7,5864E-07 8,3894E-08 -9,2783E-09 x3 -3,5925E-05 3,9735E-06 -4,3942E-07 4,8598E-08 -5,3745E-09
  • 12. With the two last examples, we can see that the Gauss-Seidel method is more efficient than the Jacobi method. Because it gets to the answer in a less number of iterations.