SlideShare a Scribd company logo
1 of 19
Subject :- Numerical and Statistical Methods
Topic :- Gauss Elimination & Gauss Jordan Method
Contents
• System of Equations
• System of Linear Equation
• Solving Linear System of Equations
• Gauss Elimination Method
• Gauss Jordan Method
• Applications of Gaussian Method
• References
System of Equations
• A set of equations is called a system of
equations.
• The solutions must satisfy each equation
in the system.
• If all equations in a system are linear, the
system is a system of linear equations, or
a linear system.
System of Linear Equations
• Representation of system of linear equation :
a11x1 + a12x2 + ··· + a1nxn = b1
a21x1 + a22x2 + ··· + a2nxn = b2
. .
. .
am1x1 + am2x2 + ··· + amnxn = bm
System of Linear Equations
• In matrix form : A X = B
11 12 13 1n 1 1
21 22 23 2n 2 2
3 331 32 33 3n
n nn1 n2 n3 nn
a a a a x b
a a a a x b
=x ba a a a
x ba a a a
     
        
     
     
         
K
K
K
M MM
K
Solving Linear System of Equations
Linear System of
Equations
Direct
Methods
Gauss Elimination
Method
Gauss Jordan
Method
Iterative
Methods
Gauss Seidal
Method
Gauss Jacobi
Method
Carl Friedrich Gauss
1777-1855
Gauss Elimination Method
1. Write the system of equation in matrix form.
Form the augmented matrix [a | b]
2. Use row operations to transform the augmented
matrix into the form Row Echelon Form
(REF)
Row Echelon
Matrix
11 12 1n 1 1 11 12 1n 1
21 22 2n 2 2 21 22 2n 2
n1 n2 nn n n n1 n2 nn n
a a a x b a a a b
a a a x b a a a b
a a a x b a a a b
      
              
             
L L
L L
M M O M M M M M O M M
L L
3. An elementary row operation is one of the
following:
• Interchange two rows.
• Multiply a row by a nonzero constant.
• Add a multiple of a row to another row.
4. Inspect the resulting matrix and re-interpret it as
a system of equations
• No Solution
• Infinite no. of solutions
• Exactly one solution
Example :
Q : Solve the following set of equations using
Gauss Elimination Method
x + y + z = 6
2x – y + z = 3
x + z = 4
Solution:
• Now re-interpret the augmented matrix as a
system of equations, starting at the bottom
and working backwards (back
substitution).
1. 0x + 0y + z = 3 so z = 3
2. 0x + y + 0z = 2 so y = 2
3. x+ y +z = 6. . Substitute the values z = 3 and
y = 2 into the equation and get x = 1
Gauss Jordan Method
1. Write the augmented matrix of the system
2. Use row operations to transform the augmented
matrix into the form Reduced Row Echelon
Form (RREF)
Reduced
Row Echelon
Matrix
11 12 1n 1 1 11 12 1n 1
21 22 2n 2 2 21 22 2n 2
n1 n2 nn n n n1 n2 nn n
a a a x b a a a b
a a a x b a a a b
a a a x b a a a b
      
              
             
L L
L L
M M O M M M M M O M M
L L
3. An elementary row operation is one of the
following:
• Interchange two rows.
• Multiply a row by a nonzero constant.
• Add a multiple of a row to another row.
4. Inspect the resulting matrix and re-interpret it as
a system of equations
• No Solution
• Infinite no. of solutions
• Exactly one solution
Example :
Q : Solve the following set of equations using
Gauss Jordan Method
x + y + z = 5
2x + 3y + 5z = 8
4x + 5z = 2
Solution:
REFERENCES
• www.epcc.edu/Gauss-Jordan_Method
• www.Pages.pacificcoast.net/cazelais/Gauss
-Jordan_elimination_Method.pdf
• www.personal.soton.ac.uk/workbook_8_3
_gauss_elim.pdf
Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods

More Related Content

What's hot

Eigen values and eigenvectors
Eigen values and eigenvectorsEigen values and eigenvectors
Eigen values and eigenvectors
Amit Singh
 
Eigen values and eigen vectors engineering
Eigen values and eigen vectors engineeringEigen values and eigen vectors engineering
Eigen values and eigen vectors engineering
shubham211
 
Linear Systems Gauss Seidel
Linear Systems   Gauss SeidelLinear Systems   Gauss Seidel
Linear Systems Gauss Seidel
Eric Davishahl
 
Lu decomposition
Lu decompositionLu decomposition
Lu decomposition
gilandio
 
Gauss Jordan Method
Gauss Jordan MethodGauss Jordan Method
Gauss Jordan Method
ZunAib Ali
 
systems of linear equations & matrices
systems of linear equations & matricessystems of linear equations & matrices
systems of linear equations & matrices
Student
 

What's hot (20)

Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
 
Gauss jordan
Gauss jordanGauss jordan
Gauss jordan
 
Eigen values and eigenvectors
Eigen values and eigenvectorsEigen values and eigenvectors
Eigen values and eigenvectors
 
Jacobi method
Jacobi methodJacobi method
Jacobi method
 
Eigen values and eigen vectors engineering
Eigen values and eigen vectors engineeringEigen values and eigen vectors engineering
Eigen values and eigen vectors engineering
 
Linear Systems Gauss Seidel
Linear Systems   Gauss SeidelLinear Systems   Gauss Seidel
Linear Systems Gauss Seidel
 
Interpolation In Numerical Methods.
 Interpolation In Numerical Methods. Interpolation In Numerical Methods.
Interpolation In Numerical Methods.
 
Lu decomposition
Lu decompositionLu decomposition
Lu decomposition
 
Jacobi iterative method
Jacobi iterative methodJacobi iterative method
Jacobi iterative method
 
Gauss sediel
Gauss sedielGauss sediel
Gauss sediel
 
Lu Decomposition
Lu DecompositionLu Decomposition
Lu Decomposition
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
 
Gauss Jordan Method
Gauss Jordan MethodGauss Jordan Method
Gauss Jordan Method
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Double integration
Double integrationDouble integration
Double integration
 
Homogeneous Linear Differential Equations
 Homogeneous Linear Differential Equations Homogeneous Linear Differential Equations
Homogeneous Linear Differential Equations
 
systems of linear equations & matrices
systems of linear equations & matricessystems of linear equations & matrices
systems of linear equations & matrices
 
INTEGRATION BY PARTS PPT
INTEGRATION BY PARTS PPT INTEGRATION BY PARTS PPT
INTEGRATION BY PARTS PPT
 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
 
Euler's Method
Euler's MethodEuler's Method
Euler's Method
 

Similar to Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods

Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
alrosiemae
 
Solving systems of Linear Equations
Solving systems of Linear EquationsSolving systems of Linear Equations
Solving systems of Linear Equations
swartzje
 

Similar to Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods (20)

Systems of linear equations
Systems of linear equationsSystems of linear equations
Systems of linear equations
 
Nsm
Nsm Nsm
Nsm
 
Ch9-Gauss_Elimination4.pdf
Ch9-Gauss_Elimination4.pdfCh9-Gauss_Elimination4.pdf
Ch9-Gauss_Elimination4.pdf
 
matrices and algbra
matrices and algbramatrices and algbra
matrices and algbra
 
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
 
linear equation and gaussian elimination
linear equation and gaussian eliminationlinear equation and gaussian elimination
linear equation and gaussian elimination
 
Linear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptxLinear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptx
 
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
 
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
 
Solving systems of Linear Equations
Solving systems of Linear EquationsSolving systems of Linear Equations
Solving systems of Linear Equations
 
LINEAR EQUATION.pptx
LINEAR EQUATION.pptxLINEAR EQUATION.pptx
LINEAR EQUATION.pptx
 
chapter7_Sec1.ppt
chapter7_Sec1.pptchapter7_Sec1.ppt
chapter7_Sec1.ppt
 
Linear algebra03fallleturenotes01
Linear algebra03fallleturenotes01Linear algebra03fallleturenotes01
Linear algebra03fallleturenotes01
 
algebra
algebra algebra
algebra
 
system of linear equations by Diler
system of linear equations by Dilersystem of linear equations by Diler
system of linear equations by Diler
 
Systems of Linear Algebra
Systems of Linear AlgebraSystems of Linear Algebra
Systems of Linear Algebra
 
system linear equations
 system linear equations  system linear equations
system linear equations
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Es272 ch4a
Es272 ch4aEs272 ch4a
Es272 ch4a
 

More from Janki Shah

More from Janki Shah (9)

Collections in .net technology (2160711)
Collections in .net technology (2160711)Collections in .net technology (2160711)
Collections in .net technology (2160711)
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
 
Addressing in Computer Networks
Addressing in Computer NetworksAddressing in Computer Networks
Addressing in Computer Networks
 
Concurrency Control in Database Management System
Concurrency Control in Database Management SystemConcurrency Control in Database Management System
Concurrency Control in Database Management System
 
Queue in Data Structure
Queue in Data Structure Queue in Data Structure
Queue in Data Structure
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
Exception Handling in object oriented programming using C++
Exception Handling in object oriented programming using C++Exception Handling in object oriented programming using C++
Exception Handling in object oriented programming using C++
 
Compiler in System Programming/Code Optimization techniques in System Program...
Compiler in System Programming/Code Optimization techniques in System Program...Compiler in System Programming/Code Optimization techniques in System Program...
Compiler in System Programming/Code Optimization techniques in System Program...
 
Sorting in Linear Time in Analysis & Design of Algorithm
Sorting in Linear Time in Analysis & Design of AlgorithmSorting in Linear Time in Analysis & Design of Algorithm
Sorting in Linear Time in Analysis & Design of Algorithm
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
httgc7rh9c
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
PANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptxPANDITA RAMABAI- Indian political thought GENDER.pptx
PANDITA RAMABAI- Indian political thought GENDER.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 

Gauss Elimination & Gauss Jordan Methods in Numerical & Statistical Methods

  • 1. Subject :- Numerical and Statistical Methods Topic :- Gauss Elimination & Gauss Jordan Method
  • 2. Contents • System of Equations • System of Linear Equation • Solving Linear System of Equations • Gauss Elimination Method • Gauss Jordan Method • Applications of Gaussian Method • References
  • 3. System of Equations • A set of equations is called a system of equations. • The solutions must satisfy each equation in the system. • If all equations in a system are linear, the system is a system of linear equations, or a linear system.
  • 4. System of Linear Equations • Representation of system of linear equation : a11x1 + a12x2 + ··· + a1nxn = b1 a21x1 + a22x2 + ··· + a2nxn = b2 . . . . am1x1 + am2x2 + ··· + amnxn = bm
  • 5. System of Linear Equations • In matrix form : A X = B 11 12 13 1n 1 1 21 22 23 2n 2 2 3 331 32 33 3n n nn1 n2 n3 nn a a a a x b a a a a x b =x ba a a a x ba a a a                                      K K K M MM K
  • 6. Solving Linear System of Equations Linear System of Equations Direct Methods Gauss Elimination Method Gauss Jordan Method Iterative Methods Gauss Seidal Method Gauss Jacobi Method
  • 8. Gauss Elimination Method 1. Write the system of equation in matrix form. Form the augmented matrix [a | b] 2. Use row operations to transform the augmented matrix into the form Row Echelon Form (REF) Row Echelon Matrix 11 12 1n 1 1 11 12 1n 1 21 22 2n 2 2 21 22 2n 2 n1 n2 nn n n n1 n2 nn n a a a x b a a a b a a a x b a a a b a a a x b a a a b                                     L L L L M M O M M M M M O M M L L
  • 9. 3. An elementary row operation is one of the following: • Interchange two rows. • Multiply a row by a nonzero constant. • Add a multiple of a row to another row. 4. Inspect the resulting matrix and re-interpret it as a system of equations • No Solution • Infinite no. of solutions • Exactly one solution
  • 10. Example : Q : Solve the following set of equations using Gauss Elimination Method x + y + z = 6 2x – y + z = 3 x + z = 4 Solution:
  • 11.
  • 12. • Now re-interpret the augmented matrix as a system of equations, starting at the bottom and working backwards (back substitution). 1. 0x + 0y + z = 3 so z = 3 2. 0x + y + 0z = 2 so y = 2 3. x+ y +z = 6. . Substitute the values z = 3 and y = 2 into the equation and get x = 1
  • 13. Gauss Jordan Method 1. Write the augmented matrix of the system 2. Use row operations to transform the augmented matrix into the form Reduced Row Echelon Form (RREF) Reduced Row Echelon Matrix 11 12 1n 1 1 11 12 1n 1 21 22 2n 2 2 21 22 2n 2 n1 n2 nn n n n1 n2 nn n a a a x b a a a b a a a x b a a a b a a a x b a a a b                                     L L L L M M O M M M M M O M M L L
  • 14. 3. An elementary row operation is one of the following: • Interchange two rows. • Multiply a row by a nonzero constant. • Add a multiple of a row to another row. 4. Inspect the resulting matrix and re-interpret it as a system of equations • No Solution • Infinite no. of solutions • Exactly one solution
  • 15. Example : Q : Solve the following set of equations using Gauss Jordan Method x + y + z = 5 2x + 3y + 5z = 8 4x + 5z = 2 Solution:
  • 16.
  • 17.