SlideShare a Scribd company logo
CHAPTER VIterative Methods to Solve Systems of Linear EquationsBy:  Maria Fernanda Vergara Mendoza.PetroleumEngineeringUniversidad Industrial de SantanderColombia-2010
SPECIAL MATRICESA banded matrix is a square matrix that has all elements equal to zero, with the exception of a band centered on the main diagonal. Gauss elimination or LU decomposition can be used to solve these systems, but they are inefficient, because if pivoting is unnecessary none of elements outside the band would change from their original values of zero.If is known beforehand that pivoting is unnecessary, very efficient algorithms can be developed that do not involve the zero elements outside the band.
Thedimension of a bandedsystem can bequantifiedbytwoparameters:The band-width (BW)
Thehalf-bandwidth (HBW)BW=2HBW+1HBW+1DiagonalHBWBW
THE JACOBI METHOD“Jacobi method is an algorithm for determining the solutions of a system of linear equations with largest absolute values in each row and column dominated by the diagonal element. Each diagonal element is solved for, and an approximate value plugged in. The process is then iterated until it converges.”Given a square system of n linear equations: Ax=bWhere:Thesystem of linear equationsmayberewritten as:(D+R)x=bDx+Rx=bDx=b-Rx
THE JACOBI METHODThe Jacobi method is an iterative technique that solves the left hand side of this expression for x, using previous value for x on the right hand side. Analytically, this may be written as:The element-based formula is thus:
EXAMPLEA linear system of the form Ax = b with initial estimate x(0) is given byUse the equation x(k + 1) = D− 1(b − Rx(k)), to estimate x. First, rewrite the equation into the form D− 1(b − Rx(k)) = Tx(k) + C, where T = − D− 1R and C = D− 1b. Note that R = L + U where L and U are the strictly lower and upper parts of A. From the known valuesDetermine T = − D− 1(L + U) as
EXAMPLEC is found asWith T and C calculated, we estimate x as x(1) = Tx(0) + C:The next iteration yieldsThis process is repeated until convergence (i.e., until |Ax(n) – b| is small). The solution after 25 iterations is
GAUSS-SEIDEL METHODVery similar totheJacobiMethod.Though it can be applied to any matrix with non-zero elements on the diagonals, convergence is only guaranteed if the matrix is either diagonally dominant, or symmetric and positive definite.methodisthemostcommonlyusediterativemethod. Asume thatAx=b, and supposingthat A=LU (As weseenpreviously):The system of linear equations may be rewritten as:“The Gauss–Seidel method is an iterative technique that solves the left hand side of this expression for x, using previous value for x on the right hand side.”
The elements of x(k+1) can be computed sequentially using forward substitution:The procedure is continued until the changes made by an iteration are below some tolerance.Convergence:
EXAMPLEWe want to use the equationIn the formWhereandWe must decompose A into the sum of L* + UThe inverse of L* isNow we can find T and C:
We can use T and C to obtain the vectors X iteratively, supposing an x(0):...
As expected, the algorithm converges to the exact solution:
IMPROVEMENT OF CONVERGENCE USING RELAXATIONRelaxation represents a slight modification of the Gauss-Seidel method and is designed to enhance convergence. After each new value of x is computed, that value is modified by a weighted average of the result of the previous and the present iterations:Where λis a weighting factor thatisassigned a valuebetween 0 and 2.Ifλ= 1, theresultisunmodified.If 0<λ<1, iscalledunderrelaxationIf 1<λ<2, iscalledoverrelaxation

More Related Content

DOCX
Gaussseidel
 
PPTX
Iterative methods
PPTX
Line integeral
PPTX
Basics of calculus
PPTX
Solution of equations for methods iterativos
PPT
LINER SURFACE AND VOLUM INTERGRALS Karishma mansuri
PPTX
Types of functions2
Gaussseidel
 
Iterative methods
Line integeral
Basics of calculus
Solution of equations for methods iterativos
LINER SURFACE AND VOLUM INTERGRALS Karishma mansuri
Types of functions2

What's hot (20)

PPTX
Math major 14 differential calculus pw
PPTX
Non linear curve fitting
PDF
R nonlinear least square
PPTX
Calculus in real life (Differentiation and integration )
PDF
Finding The Volume of a Fishbowl By Integration.pdf
PPTX
Curve fitting
PPTX
Definition Vector space
PPT
Application of Calculus in Real World
PPTX
Method of least square
PPTX
Curve fitting of exponential curve
PPTX
Curve Fitting
PPTX
Applied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
PPTX
Vector space introduction
PPTX
Solution of equations for methods iterativos
PDF
Glossary ib
PPTX
Application of differentiation
PPTX
Least Squares
PPTX
GATE Engineering Maths : Vector Calculus
PPTX
Comparative study between reduced space searching method rss & simplex searc...
PPTX
5.7 poisson regression in the analysis of cohort data
 
Math major 14 differential calculus pw
Non linear curve fitting
R nonlinear least square
Calculus in real life (Differentiation and integration )
Finding The Volume of a Fishbowl By Integration.pdf
Curve fitting
Definition Vector space
Application of Calculus in Real World
Method of least square
Curve fitting of exponential curve
Curve Fitting
Applied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
Vector space introduction
Solution of equations for methods iterativos
Glossary ib
Application of differentiation
Least Squares
GATE Engineering Maths : Vector Calculus
Comparative study between reduced space searching method rss & simplex searc...
5.7 poisson regression in the analysis of cohort data
 
Ad

Viewers also liked (12)

PPTX
Solution of equations for methods iterativos
PPT
Iterative methods
PPT
Metodos interactivos
PPTX
Jacobi method
PPTX
Chapter 2: Numerical Approximation
DOCX
Metodos jacobi y gauss seidel
PDF
Roots of equations
PDF
metode iterasi Gauss seidel
PDF
Jacobi and gauss-seidel
PDF
Iterative methods for the solution of systems of linear equations
PPT
Applications of numerical methods
DOC
Term paper
Solution of equations for methods iterativos
Iterative methods
Metodos interactivos
Jacobi method
Chapter 2: Numerical Approximation
Metodos jacobi y gauss seidel
Roots of equations
metode iterasi Gauss seidel
Jacobi and gauss-seidel
Iterative methods for the solution of systems of linear equations
Applications of numerical methods
Term paper
Ad

Similar to Chapter v (20)

PDF
Ijetr021210
PDF
Numerical Solution of Linear algebraic Equation
PPTX
Chapter 4: Linear Algebraic Equations
PDF
Quantum algorithm for solving linear systems of equations
PPTX
Iterativos methods
PPTX
Iterativos Methods
PPTX
Direct Methods to Solve Linear Equations Systems
PPTX
Direct methods
PPTX
Direct methods
PPTX
Direct Methods to Solve Lineal Equations
PPTX
Interactives Methods
 
PPTX
Parallel algorithm in linear algebra
PPTX
matrix theory and linear algebra.pptx
DOCX
Metodos jacobi y gauss seidel
PDF
Rankmatrix
PDF
Linear regression [Theory and Application (In physics point of view) using py...
DOCX
MC0082 –Theory of Computer Science
PDF
Unger
PPTX
Jacobi iterative method
Ijetr021210
Numerical Solution of Linear algebraic Equation
Chapter 4: Linear Algebraic Equations
Quantum algorithm for solving linear systems of equations
Iterativos methods
Iterativos Methods
Direct Methods to Solve Linear Equations Systems
Direct methods
Direct methods
Direct Methods to Solve Lineal Equations
Interactives Methods
 
Parallel algorithm in linear algebra
matrix theory and linear algebra.pptx
Metodos jacobi y gauss seidel
Rankmatrix
Linear regression [Theory and Application (In physics point of view) using py...
MC0082 –Theory of Computer Science
Unger
Jacobi iterative method

More from Maria Fernanda (10)

PDF
Estudios de-casos-internacionales-de-ciudades-inteligentes-medellin-colombia
PDF
Smart cities a lesson from barcelona
PDF
Internet of things en las smart cities
PDF
Roots of polynomials
PPT
Roots of polynomials
PPT
Chapter 3: Roots of Equations
PPTX
CHAPTER 2: Numerical Approximation
PPT
Chapter 1: Darcy's law
PPT
CHAPTER 1: Modeling
PPT
Chapter I
Estudios de-casos-internacionales-de-ciudades-inteligentes-medellin-colombia
Smart cities a lesson from barcelona
Internet of things en las smart cities
Roots of polynomials
Roots of polynomials
Chapter 3: Roots of Equations
CHAPTER 2: Numerical Approximation
Chapter 1: Darcy's law
CHAPTER 1: Modeling
Chapter I

Recently uploaded (20)

PDF
Getting Started with Data Integration: FME Form 101
PDF
Approach and Philosophy of On baking technology
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Empathic Computing: Creating Shared Understanding
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
Teaching material agriculture food technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
A Presentation on Artificial Intelligence
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Machine learning based COVID-19 study performance prediction
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
Getting Started with Data Integration: FME Form 101
Approach and Philosophy of On baking technology
Assigned Numbers - 2025 - Bluetooth® Document
Encapsulation_ Review paper, used for researhc scholars
Per capita expenditure prediction using model stacking based on satellite ima...
OMC Textile Division Presentation 2021.pptx
Group 1 Presentation -Planning and Decision Making .pptx
Spectroscopy.pptx food analysis technology
Unlocking AI with Model Context Protocol (MCP)
Digital-Transformation-Roadmap-for-Companies.pptx
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Empathic Computing: Creating Shared Understanding
MIND Revenue Release Quarter 2 2025 Press Release
Teaching material agriculture food technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
A Presentation on Artificial Intelligence
NewMind AI Weekly Chronicles - August'25-Week II
Machine learning based COVID-19 study performance prediction
SOPHOS-XG Firewall Administrator PPT.pptx

Chapter v

  • 1. CHAPTER VIterative Methods to Solve Systems of Linear EquationsBy: Maria Fernanda Vergara Mendoza.PetroleumEngineeringUniversidad Industrial de SantanderColombia-2010
  • 2. SPECIAL MATRICESA banded matrix is a square matrix that has all elements equal to zero, with the exception of a band centered on the main diagonal. Gauss elimination or LU decomposition can be used to solve these systems, but they are inefficient, because if pivoting is unnecessary none of elements outside the band would change from their original values of zero.If is known beforehand that pivoting is unnecessary, very efficient algorithms can be developed that do not involve the zero elements outside the band.
  • 3. Thedimension of a bandedsystem can bequantifiedbytwoparameters:The band-width (BW)
  • 5. THE JACOBI METHOD“Jacobi method is an algorithm for determining the solutions of a system of linear equations with largest absolute values in each row and column dominated by the diagonal element. Each diagonal element is solved for, and an approximate value plugged in. The process is then iterated until it converges.”Given a square system of n linear equations: Ax=bWhere:Thesystem of linear equationsmayberewritten as:(D+R)x=bDx+Rx=bDx=b-Rx
  • 6. THE JACOBI METHODThe Jacobi method is an iterative technique that solves the left hand side of this expression for x, using previous value for x on the right hand side. Analytically, this may be written as:The element-based formula is thus:
  • 7. EXAMPLEA linear system of the form Ax = b with initial estimate x(0) is given byUse the equation x(k + 1) = D− 1(b − Rx(k)), to estimate x. First, rewrite the equation into the form D− 1(b − Rx(k)) = Tx(k) + C, where T = − D− 1R and C = D− 1b. Note that R = L + U where L and U are the strictly lower and upper parts of A. From the known valuesDetermine T = − D− 1(L + U) as
  • 8. EXAMPLEC is found asWith T and C calculated, we estimate x as x(1) = Tx(0) + C:The next iteration yieldsThis process is repeated until convergence (i.e., until |Ax(n) – b| is small). The solution after 25 iterations is
  • 9. GAUSS-SEIDEL METHODVery similar totheJacobiMethod.Though it can be applied to any matrix with non-zero elements on the diagonals, convergence is only guaranteed if the matrix is either diagonally dominant, or symmetric and positive definite.methodisthemostcommonlyusediterativemethod. Asume thatAx=b, and supposingthat A=LU (As weseenpreviously):The system of linear equations may be rewritten as:“The Gauss–Seidel method is an iterative technique that solves the left hand side of this expression for x, using previous value for x on the right hand side.”
  • 10. The elements of x(k+1) can be computed sequentially using forward substitution:The procedure is continued until the changes made by an iteration are below some tolerance.Convergence:
  • 11. EXAMPLEWe want to use the equationIn the formWhereandWe must decompose A into the sum of L* + UThe inverse of L* isNow we can find T and C:
  • 12. We can use T and C to obtain the vectors X iteratively, supposing an x(0):...
  • 13. As expected, the algorithm converges to the exact solution:
  • 14. IMPROVEMENT OF CONVERGENCE USING RELAXATIONRelaxation represents a slight modification of the Gauss-Seidel method and is designed to enhance convergence. After each new value of x is computed, that value is modified by a weighted average of the result of the previous and the present iterations:Where λis a weighting factor thatisassigned a valuebetween 0 and 2.Ifλ= 1, theresultisunmodified.If 0<λ<1, iscalledunderrelaxationIf 1<λ<2, iscalledoverrelaxation
  • 15. BIBLIOGRAPHYCHAPRA S., Numerical methods for engineers, Mc Graw Hill.http://www.math-linux.com/spip.php?article48http://www.netlib.org/linalg/html_templates/node14.html#figgs