SlideShare a Scribd company logo
1 of 25
Download to read offline
Eng.Ansam Hadi Rashed
GAUSSIAN
ELIMINATION
2019
Al- Mustansiriya university
college of engineering
Computer Department
“Mathematics is the door and key
to the sciences. Roger Bacon”
Gaussian elimination
(also called row reduction) is a method used to solve systems of linear equations. It
is named after Carl Friedrich Gauss, a famous German
mathematician who wrote about this method,
Gaussian elimination include two methods
• Without pivot
• With pivot
Solving the linear system without pivot
We denote this linear system by Ax = b.
The augmented matrix
for this system is
Solving the linear system
1- eliminate x1 from equations 2, 3, and 4
R2=R2-2R1 M2,1=2
R3=R3+R1 M3,1=-1
R4=R4-2R1 M4,1=2
This will introduce zeros into the positions
below the diagonal in column 1, yielding
Solving the linear system
2- eliminate x2 from equations 3 and 4
R3=R3-2R2 M3,2=2
R4=R4-3R2 M4,2=3
This reduces the augmented matrix to
Solving the linear system
2- eliminate x3 from equation 4
R4=R4+R3 M4,3=-1
This reduces the augmented matrix to
Ms values take revers sign
Solving the linear system
3- Return this to the familiar linear system
Solving the linear system
There is a surprising result involving matrices associated with this
elimination process
U which resulted from the
elimination process.
L the lower triangular matrix constructed from M values ..
A = LU
when the process of Gaussian elimination without pivoting is applied to solving
a linear system Ax = b, we obtain A = LU
Solving linear system using LU Decomposition method
A = LU


Solving linear system using LU Decomposition method
 This implies
Solving linear system using LU Decomposition method
Ax=b A=LU
LUx=b
Ly=b
Solving linear system using LU Decomposition method
Ax=b A=LU
LUx=b to find Xs Ly=b && Ux=y
Example : Solve the following system of linear equations, by LU decomposition
method
Sol:
A=LU
LU
=L33
Therefore, we get,
Now, let , then implies L y =b U x=y
In the case in which partial pivoting is used P as a permutation matrix.
For example , consider
The matrix P A is obtained from A by switching around rows of A
The result LU = P A means that the LU - factorization is valid for the matrix A with its
rows suitably permuted.
Solving linear system with pivot
Solving the linear system with pivot
OPERATIONS COUNT
2019
THANK YOU
ANY QUESTION??

More Related Content

What's hot

3D Coordinate Geometry
3D Coordinate Geometry 3D Coordinate Geometry
3D Coordinate Geometry ParasKulhari
 
SOLUTION OF DIFFERENTIAL EQUATIONS
SOLUTION OF DIFFERENTIAL EQUATIONSSOLUTION OF DIFFERENTIAL EQUATIONS
SOLUTION OF DIFFERENTIAL EQUATIONSPARTH PANCHAL
 
Analytical Geometry of Three Dimensions
Analytical Geometry of Three DimensionsAnalytical Geometry of Three Dimensions
Analytical Geometry of Three DimensionsKalaiindhu
 
Geometry - Equilateral triangle and circle
Geometry - Equilateral triangle and circleGeometry - Equilateral triangle and circle
Geometry - Equilateral triangle and circle2IIM
 
Calculations of roots
Calculations of rootsCalculations of roots
Calculations of rootsoscar
 
Day 4 examples u4f13
Day 4 examples u4f13Day 4 examples u4f13
Day 4 examples u4f13jchartiersjsd
 
Existence the pair of lines1
Existence the pair of lines1Existence the pair of lines1
Existence the pair of lines1MuhammadTahir530
 
Rasio trigonometri sudut-sudut di berbagai kuadran
Rasio trigonometri sudut-sudut di berbagai kuadranRasio trigonometri sudut-sudut di berbagai kuadran
Rasio trigonometri sudut-sudut di berbagai kuadranFranxisca Kurniawati
 
Co ordinate geometry done
Co ordinate geometry doneCo ordinate geometry done
Co ordinate geometry doneAmitSinghGFPS
 
Orthogonal coordinate systems- Cartesian ,Cylindrical ,Spherical
Orthogonal coordinate systems- Cartesian ,Cylindrical ,SphericalOrthogonal coordinate systems- Cartesian ,Cylindrical ,Spherical
Orthogonal coordinate systems- Cartesian ,Cylindrical ,SphericalDr.SHANTHI K.G
 
Pythagorean theorem slide
Pythagorean theorem slidePythagorean theorem slide
Pythagorean theorem slide41867612
 
Matrices and row operations 12123 and applications of matrices
Matrices and row operations 12123 and applications of matricesMatrices and row operations 12123 and applications of matrices
Matrices and row operations 12123 and applications of matricesmayaGER
 
Coordinate and unit vector
Coordinate and unit vectorCoordinate and unit vector
Coordinate and unit vectorJobins George
 

What's hot (20)

3D Coordinate Geometry
3D Coordinate Geometry 3D Coordinate Geometry
3D Coordinate Geometry
 
978 1-4612-4974-0 26
978 1-4612-4974-0 26978 1-4612-4974-0 26
978 1-4612-4974-0 26
 
SOLUTION OF DIFFERENTIAL EQUATIONS
SOLUTION OF DIFFERENTIAL EQUATIONSSOLUTION OF DIFFERENTIAL EQUATIONS
SOLUTION OF DIFFERENTIAL EQUATIONS
 
Analytical Geometry of Three Dimensions
Analytical Geometry of Three DimensionsAnalytical Geometry of Three Dimensions
Analytical Geometry of Three Dimensions
 
Geometry - Equilateral triangle and circle
Geometry - Equilateral triangle and circleGeometry - Equilateral triangle and circle
Geometry - Equilateral triangle and circle
 
Calculus
CalculusCalculus
Calculus
 
Cal 3
Cal 3Cal 3
Cal 3
 
Pi
PiPi
Pi
 
Calculations of roots
Calculations of rootsCalculations of roots
Calculations of roots
 
Report in determinants
Report in determinantsReport in determinants
Report in determinants
 
Day 4 examples u4f13
Day 4 examples u4f13Day 4 examples u4f13
Day 4 examples u4f13
 
Existence the pair of lines1
Existence the pair of lines1Existence the pair of lines1
Existence the pair of lines1
 
Rasio trigonometri sudut-sudut di berbagai kuadran
Rasio trigonometri sudut-sudut di berbagai kuadranRasio trigonometri sudut-sudut di berbagai kuadran
Rasio trigonometri sudut-sudut di berbagai kuadran
 
Co ordinate geometry done
Co ordinate geometry doneCo ordinate geometry done
Co ordinate geometry done
 
Orthogonal coordinate systems- Cartesian ,Cylindrical ,Spherical
Orthogonal coordinate systems- Cartesian ,Cylindrical ,SphericalOrthogonal coordinate systems- Cartesian ,Cylindrical ,Spherical
Orthogonal coordinate systems- Cartesian ,Cylindrical ,Spherical
 
Pythagorean theorem slide
Pythagorean theorem slidePythagorean theorem slide
Pythagorean theorem slide
 
Line integeral
Line integeralLine integeral
Line integeral
 
Matrices and row operations 12123 and applications of matrices
Matrices and row operations 12123 and applications of matricesMatrices and row operations 12123 and applications of matrices
Matrices and row operations 12123 and applications of matrices
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
 
Coordinate and unit vector
Coordinate and unit vectorCoordinate and unit vector
Coordinate and unit vector
 

Similar to Gaussian

Directs Methods
Directs MethodsDirects Methods
Directs MethodsUIS
 
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.pptxAHSANMEHBOOB12
 
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
 
Some methods for small systems of equations solutions
Some methods for small systems of equations solutionsSome methods for small systems of equations solutions
Some methods for small systems of equations solutionsmarcelafernandagarzon
 
System of equations
System of equationsSystem of equations
System of equationsmariacadena
 
System of equations
System of equationsSystem of equations
System of equationsmariacadena
 
System of equations
System of equationsSystem of equations
System of equationsmariacadena
 
System of equations
System of equationsSystem of equations
System of equationsmariacadena
 
System of equations
System of equationsSystem of equations
System of equationsmariacadena
 
Chapter 3 solving systems of linear equations
Chapter 3 solving systems of linear equationsChapter 3 solving systems of linear equations
Chapter 3 solving systems of linear equationsssuser53ee01
 
Computational Method for Engineers: Solving a system of Linear Equations
Computational Method for Engineers: Solving a system of Linear EquationsComputational Method for Engineers: Solving a system of Linear Equations
Computational Method for Engineers: Solving a system of Linear EquationsBektu Dida
 
Matrix-Decomposition-and-Its-application-in-Statistics_NK.ppt
Matrix-Decomposition-and-Its-application-in-Statistics_NK.pptMatrix-Decomposition-and-Its-application-in-Statistics_NK.ppt
Matrix-Decomposition-and-Its-application-in-Statistics_NK.pptpoojaacharya578
 

Similar to Gaussian (20)

Directs Methods
Directs MethodsDirects Methods
Directs Methods
 
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
 
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
 
Some methods for small systems of equations solutions
Some methods for small systems of equations solutionsSome methods for small systems of equations solutions
Some methods for small systems of equations solutions
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Linear and non linear equation
Linear and non linear equationLinear and non linear equation
Linear and non linear equation
 
CHAPTER 3 numer.pdf
CHAPTER 3 numer.pdfCHAPTER 3 numer.pdf
CHAPTER 3 numer.pdf
 
Rankmatrix
RankmatrixRankmatrix
Rankmatrix
 
Nmsa 170900713008
Nmsa 170900713008Nmsa 170900713008
Nmsa 170900713008
 
System of equations
System of equationsSystem of equations
System of equations
 
System of equations
System of equationsSystem of equations
System of equations
 
System of equations
System of equationsSystem of equations
System of equations
 
System of equations
System of equationsSystem of equations
System of equations
 
System of equations
System of equationsSystem of equations
System of equations
 
Chapter 3 solving systems of linear equations
Chapter 3 solving systems of linear equationsChapter 3 solving systems of linear equations
Chapter 3 solving systems of linear equations
 
Computational Method for Engineers: Solving a system of Linear Equations
Computational Method for Engineers: Solving a system of Linear EquationsComputational Method for Engineers: Solving a system of Linear Equations
Computational Method for Engineers: Solving a system of Linear Equations
 
Parallel algorithm in linear algebra
Parallel algorithm in linear algebraParallel algorithm in linear algebra
Parallel algorithm in linear algebra
 
Chapter v
Chapter vChapter v
Chapter v
 
Matrix-Decomposition-and-Its-application-in-Statistics_NK.ppt
Matrix-Decomposition-and-Its-application-in-Statistics_NK.pptMatrix-Decomposition-and-Its-application-in-Statistics_NK.ppt
Matrix-Decomposition-and-Its-application-in-Statistics_NK.ppt
 

Recently uploaded

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 

Recently uploaded (20)

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 

Gaussian

  • 1. Eng.Ansam Hadi Rashed GAUSSIAN ELIMINATION 2019 Al- Mustansiriya university college of engineering Computer Department “Mathematics is the door and key to the sciences. Roger Bacon”
  • 2. Gaussian elimination (also called row reduction) is a method used to solve systems of linear equations. It is named after Carl Friedrich Gauss, a famous German mathematician who wrote about this method, Gaussian elimination include two methods • Without pivot • With pivot
  • 3. Solving the linear system without pivot We denote this linear system by Ax = b. The augmented matrix for this system is
  • 4. Solving the linear system 1- eliminate x1 from equations 2, 3, and 4 R2=R2-2R1 M2,1=2 R3=R3+R1 M3,1=-1 R4=R4-2R1 M4,1=2 This will introduce zeros into the positions below the diagonal in column 1, yielding
  • 5. Solving the linear system 2- eliminate x2 from equations 3 and 4 R3=R3-2R2 M3,2=2 R4=R4-3R2 M4,2=3 This reduces the augmented matrix to
  • 6. Solving the linear system 2- eliminate x3 from equation 4 R4=R4+R3 M4,3=-1 This reduces the augmented matrix to Ms values take revers sign
  • 7. Solving the linear system 3- Return this to the familiar linear system
  • 8. Solving the linear system There is a surprising result involving matrices associated with this elimination process U which resulted from the elimination process. L the lower triangular matrix constructed from M values ..
  • 9. A = LU when the process of Gaussian elimination without pivoting is applied to solving a linear system Ax = b, we obtain A = LU
  • 10. Solving linear system using LU Decomposition method A = LU  
  • 11. Solving linear system using LU Decomposition method  This implies
  • 12. Solving linear system using LU Decomposition method Ax=b A=LU LUx=b Ly=b
  • 13. Solving linear system using LU Decomposition method Ax=b A=LU LUx=b to find Xs Ly=b && Ux=y
  • 14. Example : Solve the following system of linear equations, by LU decomposition method Sol: A=LU
  • 16. Therefore, we get, Now, let , then implies L y =b U x=y
  • 17.
  • 18.
  • 19. In the case in which partial pivoting is used P as a permutation matrix. For example , consider The matrix P A is obtained from A by switching around rows of A The result LU = P A means that the LU - factorization is valid for the matrix A with its rows suitably permuted. Solving linear system with pivot
  • 20.
  • 21. Solving the linear system with pivot
  • 22.
  • 23.