SlideShare une entreprise Scribd logo
1  sur  32
1 
 Gauss – Jacobi Iteration Method 
 Gauss - Seidal Iteration Method
Iterative Method 
 Simultaneous linear algebraic equation occur in various fields of Science 
and Engineering. 
 We know that a given system of linear equation can be solved by 
applying Gauss Elimination Method and Gauss – Jordon Method. 
 But these method is sensitive to round off error. 
 In certain cases iterative method is used. 
 Iterative methods are those in which the solution is got by successive 
approximation. 
 Thus in an indirect method or iterative method, the amount of 
computation depends on the degree of accuracy required. 
2 
Introduction:
Iterative Method 
 Iterative methods such as the Gauss – Seidal method give the user 
control of the round off. 
 But this method of iteration is not applicable to all systems of equation. 
 In order that the iteration may succeed, each equation of the system 
must contain one large co-efficient. 
 The large co-efficient must be attached to a different unknown in that 
equation. 
 This requirement will be got when the large coefficients are along the 
leading diagonal of the coefficient matrix. 
 When the equation are in this form, they are solvable by the method of 
successive approximation. 
 Two iterative method - i) Gauss - Jacobi iteration method 
ii) Gauss - Seidal iteration method 
3 
Introduction (continued..)
Gauss – Jacobi Iteration Method: 
The first iterative technique is called the Jacobi method named after 
Carl Gustav Jacob Jacobi(1804- 1851). 
Two assumption made on Jacobi method: 
1)The system given by 
4 
 
a x  a x   a x  
b 
- - - - - - - - (1) 
11 1 12 2 1 n n 
1  
a x  a x   a x  
b 
n n 
21 1 22 2 2 2 
 
 
a x  a x   a x  
b 
n 1 1 n 2 2 
nn n n 
- - - - - - - - (2) 
- - - - - - - - (3) 
has a unique solution.
Gauss – Jacobi Iteration Method 
5 
Second assumption: 
3 7 13 76 1 2 3 x  x  x  
5 3 28 1 2 3 x  x  x  
12 3 0 1 1 2 3 x  x  x  
12 3 0 1 1 2 3 x  x  x  
5 3 28 1 2 3 x  x  x  
3 7 13 76 1 2 3 x  x  x 
Gauss– Jacobi Iteration Method 
6 
 
ij a a 
j  
1 
 
 
n 
j 
i 
ii
To begin the Jacobi method ,solve 
 
7 
Gauss– Jacobi Iteration Method 
 
a x  a x   a x  
b 
n n 
11 1 12 2 1 1 
 
a x  a x   a x  
b 
n n 
21 1 22 2 2 2 
 
 
a x  a x   a x  
b 
n 1 1 n 2 2 
nn n n
Gauss– Jacobi Iteration Method 
 
(7) 
8
Gauss– Jacobi Iteration Method 
 
8 
9
Gauss– Jacobi Iteration Method 
 
9 
10
11 
Gauss– Jacobi Iteration Method
Gauss– Jacobi Iteration Method 
12 
 
a x  a x   a x  
b 
- - - -(1) 
11 1 12 2 1 n n 
1  
a x  a x   a x  
b 
n n 
21 1 22 2 2 2 
 
 
a x  a x   a x  
b 
n 1 1 n 2 2 
nn n n 
- - - -(2) 
- - - -(3)
Gauss– Jacobi Iteration Method 
13
Gauss– Jacobi Iteration Method 
14
Gauss– Jacobi Iteration Method 
15
Gauss– Jacobi Iteration Method 
Solution: 
In the given equation , the largest co-efficient is attached to a 
different unknown. 
Checking the system is diagonally dominant . 
Here 
Then system of equation is diagonally dominant .so iteration method 
can be applied. 
16 
27 27 6 1 7 11 12 13 a    a  a   
Gauss– Jacobi Iteration Method 
From the given equation we have 
17 
85 6 2 3 
27 
1 
x x 
x 
  
 
72 6 2 1 3 
15 
2 
x x 
x 
  
 
110 1 2 
54 
3 
x x 
x 
  
 
(1)
Gauss– Jacobi Iteration Method 
18 
(1) 85  6(0)  
(0) 
1 
27 
x  
72 6(0) 2(0) 
(1)   
x  
15 
2 
(1)   
x  
110 (0) (0) 
54 
3 
=3.14815 
=4.8 
=2.03704 
First approximation
Gauss– Jacobi Iteration Method 
19
Gauss– Jacobi Iteration Method 
The results are tabulated 
20 
S.No Approximation 
(or) iteration 
1 0 0 0 0 
2 1 3.14815 4.8 2.03704 
3 2 2.15693 3.26913 1.88985 
4 3 2.49167 3.68525 1.93655 
5 4 2.40093 3.54513 1.92265 
6 5 2.43155 3.58327 1.92692 
7 6 2.42323 3.57046 1.92565 
8 7 2.42603 3.57395 1.92604 
9 8 2.42527 3.57278 1.92593 
10 9 2.42552 3.57310 1.92596 
11 10 2.42546 3.57300 1.92595
Gauss– Jacobi Iteration Method 
21
Gauss –Seidal Iteration Method 
 Modification of Gauss- Jacobi method, 
named after Carl Friedrich Gauss and Philipp Ludwig Von Seidal. 
 This method requires fewer iteration to produce the same degree 
of accuracy. 
 This method is almost identical with Gauss –Jacobi method except 
in considering the iteration equations. 
 The sufficient condition for convergence in the Gauss –Seidal 
method is that the system of equation must be strictly diagonally 
dominant 
22
Gauss –Seidal Iteration Method 
Consider a system of strictly diagonally dominant equation as 
23 
 
a x  a x   a x  
b 
n n 
11 1 12 2 1 1 
 
a x  a x   a x  
b 
n n 
21 1 22 2 2 2 
 
 
a x  a x   a x  
b 
n 1 1 n 2 2 
nn n n 
- - - - -(1) 
- - - - - (2) 
- - - - - (3)
Gauss –Seidal Iteration Method 
24
Gauss –Seidal Iteration Method 
 
25
Gauss –Seidal Iteration Method 
26 
The successive iteration are generated by the scheme called 
iteration formulae of Gauss –Seidal method are as 
The number of iterations k required depends upon the desired 
degree of accuracy
Gauss –Seidal Iteration Method 
Soln: From the given equation ,we have 
- - - - - - - (1) 
- - - - - - -(2) 
- - - - - - - (3) 
27 
85 6 2 3 
27 
1 
x x 
x 
  
 
72 6 2 1 3 
15 
2 
x x 
x 
  
 
110 1 2 
54 
3 
x x 
x 
  

Gauss –Seidal Iteration Method 
28 
1.91317 
85 6(0) (0) 
72 6(3.14815) 2(0) 
110 (3.14815) (5.54074) 
54 
(2) 
(1) 
(1) 
3 
 
  
x  
3.14815 
27 
1 
 
  
x  
3.54074 
15 
2 
 
  
x 
Gauss –Seidal Iteration Method 
1st Iteration: 
29 
1.91317 
(1) 
(1) 
(1) 
3 
3.54074 
2 
3.14815 
1 
 
 
 
x 
x 
x
Gauss –Seidal Iteration Method 
30 
For the second iteration, 
1.91317 
(1) 
(1) 
(1) 
3 
3.54074 
2 
3.14815 
1 
 
 
 
x 
x 
x 
2.43218 
(1) 
(2)  
27 
85 6 
(1) 
3 
2 
1 
  
 
x x 
x 
3.57204 
(2) 
72 6 2 
(2)  
15 
(1) 
3 
1 
2 
  
 
x x 
x 
1.92585 
(2) 
(2)  
54 
110 
(2) 
2 
1 
3 
  
 
x x 
x
Gauss –Seidal Iteration Method 
Thus the iteration is continued .The results are tabulated. 
S.No Iteration or 
approximation 
x i  ( , ,2,3..) 
x i i  i x i ( i  
i , ,2,3..) 
1 0 0 0 0 
2 1 3.14815 3.54074 1.91317 
3 2 2.43218 3.57204 1.92585 
4 3 2.42569 3.57294 1.92595 
5 4 2.42549 3.57301 1.92595 
6 5 2.42548 3.57301 1.92595 
31 
(i i, ,2,3..) 
1, 
2 
3 
4th and 5th iteration are practically the same to four places. 
So we stop iteration process. 
Ans: x  x  x  
1.9260 
3 
3.57301; 
2 
2.4255; 
1
Gauss –Seidal Iteration Method 
Comparison of Gauss elimination and Gauss- Seidal Iteration methods: 
 Gauss- Seidal iteration method converges only for special systems of 
equations. For some systems, elimination is the only course 
available. 
 The round off error is smaller in iteration methods. 
 Iteration is a self correcting method 
32

Contenu connexe

Tendances

L19 increasing & decreasing functions
L19 increasing & decreasing functionsL19 increasing & decreasing functions
L19 increasing & decreasing functions
James Tagara
 

Tendances (20)

Jacobi iterative method
Jacobi iterative methodJacobi iterative method
Jacobi iterative method
 
Thomas algorithm
Thomas algorithmThomas algorithm
Thomas algorithm
 
NUMERICAL METHODS MULTIPLE CHOICE QUESTIONS
NUMERICAL METHODS MULTIPLE CHOICE QUESTIONSNUMERICAL METHODS MULTIPLE CHOICE QUESTIONS
NUMERICAL METHODS MULTIPLE CHOICE QUESTIONS
 
numerical methods
numerical methodsnumerical methods
numerical methods
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
 
Solving linear homogeneous recurrence relations
Solving linear homogeneous recurrence relationsSolving linear homogeneous recurrence relations
Solving linear homogeneous recurrence relations
 
System Of Linear Equations
System Of Linear EquationsSystem Of Linear Equations
System Of Linear Equations
 
Homogeneous Linear Differential Equations
 Homogeneous Linear Differential Equations Homogeneous Linear Differential Equations
Homogeneous Linear Differential Equations
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolation
 
Galerkin method
Galerkin methodGalerkin method
Galerkin method
 
Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...
 
Bisection method
Bisection methodBisection method
Bisection method
 
1st order differential equations
1st order differential equations1st order differential equations
1st order differential equations
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination Method
 
Gauss jordan
Gauss jordanGauss jordan
Gauss jordan
 
L19 increasing & decreasing functions
L19 increasing & decreasing functionsL19 increasing & decreasing functions
L19 increasing & decreasing functions
 
Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
 
Fixed point iteration
Fixed point iterationFixed point iteration
Fixed point iteration
 
False Point Method / Regula falsi method
False Point Method / Regula falsi methodFalse Point Method / Regula falsi method
False Point Method / Regula falsi method
 

En vedette (12)

Cramer’s Rule OF Matrix
Cramer’s Rule OF MatrixCramer’s Rule OF Matrix
Cramer’s Rule OF Matrix
 
Roots of polynomials
Roots of polynomialsRoots of polynomials
Roots of polynomials
 
System of equations
System of equationsSystem of equations
System of equations
 
Solving systems of equations
Solving systems of equationsSolving systems of equations
Solving systems of equations
 
System of Linear Equation
System of Linear EquationSystem of Linear Equation
System of Linear Equation
 
Sytems of linear equation
Sytems of linear equationSytems of linear equation
Sytems of linear equation
 
Matrices and determinants
Matrices and determinantsMatrices and determinants
Matrices and determinants
 
Brain Computer Interface (BCI)
Brain Computer Interface (BCI)Brain Computer Interface (BCI)
Brain Computer Interface (BCI)
 
Report in determinants
Report in determinantsReport in determinants
Report in determinants
 
linear equation system with 2 and 3 variables
linear equation system with 2 and 3 variableslinear equation system with 2 and 3 variables
linear equation system with 2 and 3 variables
 
Maths sets ppt
Maths sets pptMaths sets ppt
Maths sets ppt
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
 

Similaire à NUMERICAL METHODS -Iterative methods(indirect method)

Iterative method for linear systems and.
Iterative method for linear systems and.Iterative method for linear systems and.
Iterative method for linear systems and.
aechkay379
 

Similaire à NUMERICAL METHODS -Iterative methods(indirect method) (20)

Direct and indirect methods
Direct and indirect methodsDirect and indirect methods
Direct and indirect methods
 
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)
 
metode iterasi Gauss seidel
metode iterasi Gauss seidelmetode iterasi Gauss seidel
metode iterasi Gauss seidel
 
Gauss Jorden and Gauss Elimination method.pptx
Gauss Jorden and Gauss Elimination method.pptxGauss Jorden and Gauss Elimination method.pptx
Gauss Jorden and Gauss Elimination method.pptx
 
Iterative method for linear systems and.
Iterative method for linear systems and.Iterative method for linear systems and.
Iterative method for linear systems and.
 
Gauss Seidal method.ppt
Gauss Seidal method.pptGauss Seidal method.ppt
Gauss Seidal method.ppt
 
Amissions in India
Amissions in India Amissions in India
Amissions in India
 
Admission in india 2015
Admission in india 2015Admission in india 2015
Admission in india 2015
 
Linear Equations-Dr. Hasib.pdf
Linear Equations-Dr. Hasib.pdfLinear Equations-Dr. Hasib.pdf
Linear Equations-Dr. Hasib.pdf
 
Gaussian elimination
Gaussian eliminationGaussian elimination
Gaussian elimination
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
 
Correlation & regression (2)
Correlation & regression (2)Correlation & regression (2)
Correlation & regression (2)
 
Problem Based Learning Presentation NACA
Problem Based Learning Presentation NACAProblem Based Learning Presentation NACA
Problem Based Learning Presentation NACA
 
Top schools in faridabad
Top schools in faridabadTop schools in faridabad
Top schools in faridabad
 
Applied numerical methods lec6
Applied numerical methods lec6Applied numerical methods lec6
Applied numerical methods lec6
 
algebra
algebraalgebra
algebra
 
Correlation & regression uwsb
Correlation & regression   uwsbCorrelation & regression   uwsb
Correlation & regression uwsb
 
about power system operation and control13197214.ppt
about power system operation and control13197214.pptabout power system operation and control13197214.ppt
about power system operation and control13197214.ppt
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
lecture-3 laplce and poisson.pptx .
lecture-3 laplce and poisson.pptx                .lecture-3 laplce and poisson.pptx                .
lecture-3 laplce and poisson.pptx .
 

Dernier

The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
University of Hertfordshire
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Sérgio Sacani
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
RohitNehra6
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
PirithiRaju
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
Sérgio Sacani
 

Dernier (20)

Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questions
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 

NUMERICAL METHODS -Iterative methods(indirect method)

  • 1. 1  Gauss – Jacobi Iteration Method  Gauss - Seidal Iteration Method
  • 2. Iterative Method  Simultaneous linear algebraic equation occur in various fields of Science and Engineering.  We know that a given system of linear equation can be solved by applying Gauss Elimination Method and Gauss – Jordon Method.  But these method is sensitive to round off error.  In certain cases iterative method is used.  Iterative methods are those in which the solution is got by successive approximation.  Thus in an indirect method or iterative method, the amount of computation depends on the degree of accuracy required. 2 Introduction:
  • 3. Iterative Method  Iterative methods such as the Gauss – Seidal method give the user control of the round off.  But this method of iteration is not applicable to all systems of equation.  In order that the iteration may succeed, each equation of the system must contain one large co-efficient.  The large co-efficient must be attached to a different unknown in that equation.  This requirement will be got when the large coefficients are along the leading diagonal of the coefficient matrix.  When the equation are in this form, they are solvable by the method of successive approximation.  Two iterative method - i) Gauss - Jacobi iteration method ii) Gauss - Seidal iteration method 3 Introduction (continued..)
  • 4. Gauss – Jacobi Iteration Method: The first iterative technique is called the Jacobi method named after Carl Gustav Jacob Jacobi(1804- 1851). Two assumption made on Jacobi method: 1)The system given by 4  a x  a x   a x  b - - - - - - - - (1) 11 1 12 2 1 n n 1  a x  a x   a x  b n n 21 1 22 2 2 2   a x  a x   a x  b n 1 1 n 2 2 nn n n - - - - - - - - (2) - - - - - - - - (3) has a unique solution.
  • 5. Gauss – Jacobi Iteration Method 5 Second assumption: 3 7 13 76 1 2 3 x  x  x  5 3 28 1 2 3 x  x  x  12 3 0 1 1 2 3 x  x  x  12 3 0 1 1 2 3 x  x  x  5 3 28 1 2 3 x  x  x  3 7 13 76 1 2 3 x  x  x 
  • 6. Gauss– Jacobi Iteration Method 6  ij a a j  1   n j i ii
  • 7. To begin the Jacobi method ,solve  7 Gauss– Jacobi Iteration Method  a x  a x   a x  b n n 11 1 12 2 1 1  a x  a x   a x  b n n 21 1 22 2 2 2   a x  a x   a x  b n 1 1 n 2 2 nn n n
  • 8. Gauss– Jacobi Iteration Method  (7) 8
  • 9. Gauss– Jacobi Iteration Method  8 9
  • 10. Gauss– Jacobi Iteration Method  9 10
  • 11. 11 Gauss– Jacobi Iteration Method
  • 12. Gauss– Jacobi Iteration Method 12  a x  a x   a x  b - - - -(1) 11 1 12 2 1 n n 1  a x  a x   a x  b n n 21 1 22 2 2 2   a x  a x   a x  b n 1 1 n 2 2 nn n n - - - -(2) - - - -(3)
  • 16. Gauss– Jacobi Iteration Method Solution: In the given equation , the largest co-efficient is attached to a different unknown. Checking the system is diagonally dominant . Here Then system of equation is diagonally dominant .so iteration method can be applied. 16 27 27 6 1 7 11 12 13 a    a  a   
  • 17. Gauss– Jacobi Iteration Method From the given equation we have 17 85 6 2 3 27 1 x x x    72 6 2 1 3 15 2 x x x    110 1 2 54 3 x x x    (1)
  • 18. Gauss– Jacobi Iteration Method 18 (1) 85  6(0)  (0) 1 27 x  72 6(0) 2(0) (1)   x  15 2 (1)   x  110 (0) (0) 54 3 =3.14815 =4.8 =2.03704 First approximation
  • 20. Gauss– Jacobi Iteration Method The results are tabulated 20 S.No Approximation (or) iteration 1 0 0 0 0 2 1 3.14815 4.8 2.03704 3 2 2.15693 3.26913 1.88985 4 3 2.49167 3.68525 1.93655 5 4 2.40093 3.54513 1.92265 6 5 2.43155 3.58327 1.92692 7 6 2.42323 3.57046 1.92565 8 7 2.42603 3.57395 1.92604 9 8 2.42527 3.57278 1.92593 10 9 2.42552 3.57310 1.92596 11 10 2.42546 3.57300 1.92595
  • 22. Gauss –Seidal Iteration Method  Modification of Gauss- Jacobi method, named after Carl Friedrich Gauss and Philipp Ludwig Von Seidal.  This method requires fewer iteration to produce the same degree of accuracy.  This method is almost identical with Gauss –Jacobi method except in considering the iteration equations.  The sufficient condition for convergence in the Gauss –Seidal method is that the system of equation must be strictly diagonally dominant 22
  • 23. Gauss –Seidal Iteration Method Consider a system of strictly diagonally dominant equation as 23  a x  a x   a x  b n n 11 1 12 2 1 1  a x  a x   a x  b n n 21 1 22 2 2 2   a x  a x   a x  b n 1 1 n 2 2 nn n n - - - - -(1) - - - - - (2) - - - - - (3)
  • 25. Gauss –Seidal Iteration Method  25
  • 26. Gauss –Seidal Iteration Method 26 The successive iteration are generated by the scheme called iteration formulae of Gauss –Seidal method are as The number of iterations k required depends upon the desired degree of accuracy
  • 27. Gauss –Seidal Iteration Method Soln: From the given equation ,we have - - - - - - - (1) - - - - - - -(2) - - - - - - - (3) 27 85 6 2 3 27 1 x x x    72 6 2 1 3 15 2 x x x    110 1 2 54 3 x x x   
  • 28. Gauss –Seidal Iteration Method 28 1.91317 85 6(0) (0) 72 6(3.14815) 2(0) 110 (3.14815) (5.54074) 54 (2) (1) (1) 3    x  3.14815 27 1    x  3.54074 15 2    x 
  • 29. Gauss –Seidal Iteration Method 1st Iteration: 29 1.91317 (1) (1) (1) 3 3.54074 2 3.14815 1    x x x
  • 30. Gauss –Seidal Iteration Method 30 For the second iteration, 1.91317 (1) (1) (1) 3 3.54074 2 3.14815 1    x x x 2.43218 (1) (2)  27 85 6 (1) 3 2 1    x x x 3.57204 (2) 72 6 2 (2)  15 (1) 3 1 2    x x x 1.92585 (2) (2)  54 110 (2) 2 1 3    x x x
  • 31. Gauss –Seidal Iteration Method Thus the iteration is continued .The results are tabulated. S.No Iteration or approximation x i  ( , ,2,3..) x i i  i x i ( i  i , ,2,3..) 1 0 0 0 0 2 1 3.14815 3.54074 1.91317 3 2 2.43218 3.57204 1.92585 4 3 2.42569 3.57294 1.92595 5 4 2.42549 3.57301 1.92595 6 5 2.42548 3.57301 1.92595 31 (i i, ,2,3..) 1, 2 3 4th and 5th iteration are practically the same to four places. So we stop iteration process. Ans: x  x  x  1.9260 3 3.57301; 2 2.4255; 1
  • 32. Gauss –Seidal Iteration Method Comparison of Gauss elimination and Gauss- Seidal Iteration methods:  Gauss- Seidal iteration method converges only for special systems of equations. For some systems, elimination is the only course available.  The round off error is smaller in iteration methods.  Iteration is a self correcting method 32