SlideShare a Scribd company logo
1 of 14
CHAPTER V Iterative Methods to Solve Systems of Linear Equations By:  Maria Fernanda Vergara Mendoza. PetroleumEngineering Universidad Industrial de Santander Colombia-2010
SPECIAL MATRICES A 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: ,[object Object]
Thehalf-bandwidth (HBW)BW=2HBW+1 HBW+1 Diagonal HBW BW
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=b Where: Thesystem of linear equationsmayberewritten as: (D+R)x=b Dx+Rx=b Dx=b-Rx
THE JACOBI METHOD The 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:
EXAMPLE A linear system of the form Ax = b with initial estimate x(0) is given by Use 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 values Determine T = − D− 1(L + U) as
EXAMPLE C is found as With T and C calculated, we estimate x as x(1) = Tx(0) + C: The next iteration yields This process is repeated until convergence (i.e., until |Ax(n) – b| is small). The solution after 25 iterations is
GAUSS-SEIDEL METHOD Very 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:
EXAMPLE We want to use the equation In the form Where and We must decompose A into the sum of L* + U The inverse of L* is Now 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 RELAXATION Relaxation 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, iscalledunderrelaxation If 1<λ<2, iscalledoverrelaxation

More Related Content

What's hot

Math major 14 differential calculus pw
Math major 14 differential calculus pwMath major 14 differential calculus pw
Math major 14 differential calculus pwReymart Bargamento
 
Non linear curve fitting
Non linear curve fitting Non linear curve fitting
Non linear curve fitting Anumita Mondal
 
Calculus in real life (Differentiation and integration )
Calculus in real life (Differentiation and integration )Calculus in real life (Differentiation and integration )
Calculus in real life (Differentiation and integration )Tuhin Ahmed
 
Finding The Volume of a Fishbowl By Integration.pdf
Finding The Volume of a Fishbowl By Integration.pdfFinding The Volume of a Fishbowl By Integration.pdf
Finding The Volume of a Fishbowl By Integration.pdfEleora1
 
Definition Vector space
Definition Vector spaceDefinition Vector space
Definition Vector spaceROHAN GAIKWAD
 
Application of Calculus in Real World
Application of Calculus in Real World Application of Calculus in Real World
Application of Calculus in Real World milanmath
 
Method of least square
Method of least squareMethod of least square
Method of least squareSomya Bagai
 
Curve fitting of exponential curve
Curve fitting of exponential curveCurve fitting of exponential curve
Curve fitting of exponential curveDivyang Rathod
 
Applied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
Applied Numerical Methods Curve Fitting: Least Squares Regression, InterpolationApplied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
Applied Numerical Methods Curve Fitting: Least Squares Regression, InterpolationBrian Erandio
 
Vector space introduction
Vector space introductionVector space introduction
Vector space introductionROHAN GAIKWAD
 
Solution of equations for methods iterativos
Solution of equations for methods iterativosSolution of equations for methods iterativos
Solution of equations for methods iterativosDUBAN CASTRO
 
Application of differentiation
Application   of   differentiationApplication   of   differentiation
Application of differentiationDhanush Kumar
 
GATE Engineering Maths : Vector Calculus
GATE Engineering Maths : Vector CalculusGATE Engineering Maths : Vector Calculus
GATE Engineering Maths : Vector CalculusParthDave57
 
Comparative study between reduced space searching method rss & simplex searc...
Comparative study between reduced space searching method  rss & simplex searc...Comparative study between reduced space searching method  rss & simplex searc...
Comparative study between reduced space searching method rss & simplex searc...Raed Aldahdooh
 
5.7 poisson regression in the analysis of cohort data
5.7 poisson regression in the analysis of  cohort data5.7 poisson regression in the analysis of  cohort data
5.7 poisson regression in the analysis of cohort dataA M
 

What's hot (20)

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

Viewers also liked

Solution of equations for methods iterativos
Solution of equations for methods iterativosSolution of equations for methods iterativos
Solution of equations for methods iterativosDUBAN CASTRO
 
Metodos interactivos
Metodos interactivosMetodos interactivos
Metodos interactivosRobinson
 
Chapter 2: Numerical Approximation
Chapter 2: Numerical ApproximationChapter 2: Numerical Approximation
Chapter 2: Numerical ApproximationMaria Fernanda
 
Metodos jacobi y gauss seidel
Metodos jacobi y gauss seidelMetodos jacobi y gauss seidel
Metodos jacobi y gauss seidelCesar Mendoza
 
Roots of equations
Roots of equationsRoots of equations
Roots of equationsMileacre
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidelarunsmm
 
Iterative methods for the solution of systems of linear equations
Iterative methods for the solution of systems of linear equationsIterative methods for the solution of systems of linear equations
Iterative methods for the solution of systems of linear equationsNORAIMA
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methodsTarun Gehlot
 

Viewers also liked (12)

Solution of equations for methods iterativos
Solution of equations for methods iterativosSolution of equations for methods iterativos
Solution of equations for methods iterativos
 
Iterative methods
Iterative methodsIterative methods
Iterative methods
 
Metodos interactivos
Metodos interactivosMetodos interactivos
Metodos interactivos
 
Jacobi method
Jacobi methodJacobi method
Jacobi method
 
Chapter 2: Numerical Approximation
Chapter 2: Numerical ApproximationChapter 2: Numerical Approximation
Chapter 2: Numerical Approximation
 
Metodos jacobi y gauss seidel
Metodos jacobi y gauss seidelMetodos jacobi y gauss seidel
Metodos jacobi y gauss seidel
 
Roots of equations
Roots of equationsRoots of equations
Roots of equations
 
metode iterasi Gauss seidel
metode iterasi Gauss seidelmetode iterasi Gauss seidel
metode iterasi Gauss seidel
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidel
 
Iterative methods for the solution of systems of linear equations
Iterative methods for the solution of systems of linear equationsIterative methods for the solution of systems of linear equations
Iterative methods for the solution of systems of linear equations
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
 
Term paper
Term paperTerm paper
Term paper
 

Similar to Chapter v

Numerical Solution of Linear algebraic Equation
Numerical Solution of Linear algebraic EquationNumerical Solution of Linear algebraic Equation
Numerical Solution of Linear algebraic Equationpayalpriyadarshinisa1
 
Chapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic EquationsChapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic EquationsMaria Fernanda
 
Quantum algorithm for solving linear systems of equations
 Quantum algorithm for solving linear systems of equations Quantum algorithm for solving linear systems of equations
Quantum algorithm for solving linear systems of equationsXequeMateShannon
 
Iterativos Methods
Iterativos MethodsIterativos Methods
Iterativos MethodsJeannie
 
Iterativos methods
Iterativos methodsIterativos methods
Iterativos methodsJeannie
 
Direct Methods to Solve Lineal Equations
Direct Methods to Solve Lineal EquationsDirect Methods to Solve Lineal Equations
Direct Methods to Solve Lineal EquationsLizeth Paola Barrero
 
Direct Methods to Solve Linear Equations Systems
Direct Methods to Solve Linear Equations SystemsDirect Methods to Solve Linear Equations Systems
Direct Methods to Solve Linear Equations SystemsLizeth Paola Barrero
 
Interactives Methods
Interactives MethodsInteractives Methods
Interactives MethodsUIS
 
matrix theory and linear algebra.pptx
matrix theory and linear algebra.pptxmatrix theory and linear algebra.pptx
matrix theory and linear algebra.pptxMaths Assignment Help
 
Metodos jacobi y gauss seidel
Metodos jacobi y gauss seidelMetodos jacobi y gauss seidel
Metodos jacobi y gauss seidelCesar Mendoza
 
Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...ANIRBANMAJUMDAR18
 
MC0082 –Theory of Computer Science
MC0082 –Theory of Computer ScienceMC0082 –Theory of Computer Science
MC0082 –Theory of Computer ScienceAravind NC
 
Jacobi iterative method
Jacobi iterative methodJacobi iterative method
Jacobi iterative methodLuckshay Batra
 

Similar to Chapter v (20)

Ijetr021210
Ijetr021210Ijetr021210
Ijetr021210
 
Ijetr021210
Ijetr021210Ijetr021210
Ijetr021210
 
Numerical Solution of Linear algebraic Equation
Numerical Solution of Linear algebraic EquationNumerical Solution of Linear algebraic Equation
Numerical Solution of Linear algebraic Equation
 
Chapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic EquationsChapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic Equations
 
Quantum algorithm for solving linear systems of equations
 Quantum algorithm for solving linear systems of equations Quantum algorithm for solving linear systems of equations
Quantum algorithm for solving linear systems of equations
 
Iterativos Methods
Iterativos MethodsIterativos Methods
Iterativos Methods
 
Iterativos methods
Iterativos methodsIterativos methods
Iterativos methods
 
Direct Methods to Solve Lineal Equations
Direct Methods to Solve Lineal EquationsDirect Methods to Solve Lineal Equations
Direct Methods to Solve Lineal Equations
 
Direct methods
Direct methodsDirect methods
Direct methods
 
Direct Methods to Solve Linear Equations Systems
Direct Methods to Solve Linear Equations SystemsDirect Methods to Solve Linear Equations Systems
Direct Methods to Solve Linear Equations Systems
 
Direct methods
Direct methodsDirect methods
Direct methods
 
Interactives Methods
Interactives MethodsInteractives Methods
Interactives Methods
 
Parallel algorithm in linear algebra
Parallel algorithm in linear algebraParallel algorithm in linear algebra
Parallel algorithm in linear algebra
 
matrix theory and linear algebra.pptx
matrix theory and linear algebra.pptxmatrix theory and linear algebra.pptx
matrix theory and linear algebra.pptx
 
Metodos jacobi y gauss seidel
Metodos jacobi y gauss seidelMetodos jacobi y gauss seidel
Metodos jacobi y gauss seidel
 
Rankmatrix
RankmatrixRankmatrix
Rankmatrix
 
Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...Linear regression [Theory and Application (In physics point of view) using py...
Linear regression [Theory and Application (In physics point of view) using py...
 
MC0082 –Theory of Computer Science
MC0082 –Theory of Computer ScienceMC0082 –Theory of Computer Science
MC0082 –Theory of Computer Science
 
Unger
UngerUnger
Unger
 
Jacobi iterative method
Jacobi iterative methodJacobi iterative method
Jacobi iterative method
 

More from Maria Fernanda

Estudios de-casos-internacionales-de-ciudades-inteligentes-medellin-colombia
Estudios de-casos-internacionales-de-ciudades-inteligentes-medellin-colombiaEstudios de-casos-internacionales-de-ciudades-inteligentes-medellin-colombia
Estudios de-casos-internacionales-de-ciudades-inteligentes-medellin-colombiaMaria Fernanda
 
Smart cities a lesson from barcelona
Smart cities a lesson from barcelonaSmart cities a lesson from barcelona
Smart cities a lesson from barcelonaMaria Fernanda
 
Internet of things en las smart cities
Internet of things en las smart citiesInternet of things en las smart cities
Internet of things en las smart citiesMaria Fernanda
 
Chapter 3: Roots of Equations
Chapter 3: Roots of EquationsChapter 3: Roots of Equations
Chapter 3: Roots of EquationsMaria Fernanda
 
CHAPTER 2: Numerical Approximation
CHAPTER 2: Numerical ApproximationCHAPTER 2: Numerical Approximation
CHAPTER 2: Numerical ApproximationMaria Fernanda
 

More from Maria Fernanda (10)

Estudios de-casos-internacionales-de-ciudades-inteligentes-medellin-colombia
Estudios de-casos-internacionales-de-ciudades-inteligentes-medellin-colombiaEstudios de-casos-internacionales-de-ciudades-inteligentes-medellin-colombia
Estudios de-casos-internacionales-de-ciudades-inteligentes-medellin-colombia
 
Smart cities a lesson from barcelona
Smart cities a lesson from barcelonaSmart cities a lesson from barcelona
Smart cities a lesson from barcelona
 
Internet of things en las smart cities
Internet of things en las smart citiesInternet of things en las smart cities
Internet of things en las smart cities
 
Roots of polynomials
Roots of polynomialsRoots of polynomials
Roots of polynomials
 
Roots of polynomials
Roots of polynomialsRoots of polynomials
Roots of polynomials
 
Chapter 3: Roots of Equations
Chapter 3: Roots of EquationsChapter 3: Roots of Equations
Chapter 3: Roots of Equations
 
CHAPTER 2: Numerical Approximation
CHAPTER 2: Numerical ApproximationCHAPTER 2: Numerical Approximation
CHAPTER 2: Numerical Approximation
 
Chapter 1: Darcy's law
Chapter 1: Darcy's lawChapter 1: Darcy's law
Chapter 1: Darcy's law
 
CHAPTER 1: Modeling
CHAPTER 1: ModelingCHAPTER 1: Modeling
CHAPTER 1: Modeling
 
Chapter I
Chapter IChapter I
Chapter I
 

Recently uploaded

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 

Recently uploaded (20)

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 

Chapter v

  • 1. CHAPTER V Iterative Methods to Solve Systems of Linear Equations By: Maria Fernanda Vergara Mendoza. PetroleumEngineering Universidad Industrial de Santander Colombia-2010
  • 2. SPECIAL MATRICES A 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.
  • 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=b Where: Thesystem of linear equationsmayberewritten as: (D+R)x=b Dx+Rx=b Dx=b-Rx
  • 6. THE JACOBI METHOD The 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. EXAMPLE A linear system of the form Ax = b with initial estimate x(0) is given by Use 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 values Determine T = − D− 1(L + U) as
  • 8. EXAMPLE C is found as With T and C calculated, we estimate x as x(1) = Tx(0) + C: The next iteration yields This process is repeated until convergence (i.e., until |Ax(n) – b| is small). The solution after 25 iterations is
  • 9. GAUSS-SEIDEL METHOD Very 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. EXAMPLE We want to use the equation In the form Where and We must decompose A into the sum of L* + U The inverse of L* is Now 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 RELAXATION Relaxation 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, iscalledunderrelaxation If 1<λ<2, iscalledoverrelaxation
  • 15. BIBLIOGRAPHY CHAPRA S., Numerical methods for engineers, Mc Graw Hill. http://www.math-linux.com/spip.php?article48 http://www.netlib.org/linalg/html_templates/node14.html#figgs