SlideShare a Scribd company logo
GAUSSIAN ELIMINATION
  METHOD

Presented By Andi Firdaus Sudarma
Student ID No. 432107963

M-505 Linear Algebra
DR. Rizwan Butt
Gaussian Elimination Method

 • Simple elimination without pivoting

 • Partial pivoting

 • Total pivoting
I. Simple Elimination Without Pivoting
Let say we have a system (size 3x3)with
augmented matrix form as:


               a11 a12 a13 b1
       A       a21 a22 a23 b2
               a31 a32         a33 b3
Procedure to get the solution:
1. The basic idea is to convert the system of A
   into upper-triangular matrix (U) form.

                 a11 a12        a13
        U         0     a22     a23
                  0       0     a33
2. Eliminate the element a21 and a31 using multiple
  factor of
             a21    and            a31
       m 21                  m 31
             a11                   a11
Hence, our matrix should be like this

               a11 a12 a13 b1
       A        0 a22 a23 b2
                0     a32     a33 b3
3. Eliminate the element a32 using multiple factor
   of         a32 to convert A into U
        m 32
              a22

4. The possible diagonal element (pivot element)
   should be non-zero. If it become zero at any
   stage, then interchange that row with any below
   row with non-zero element at that pivoting
   position.
5. After getting upper triangular matrix form, then
   use backward substitution to get the solution of
   the given linear system.


         a11x 1 a12 x 2 a13x 3     b1
                 a22 x 2 a23x 3    b2
                          a33x 3   b3
II. Pivoting Strategies
The basic idea of pivoting strategies is;
• To prevent diagonal (pivoting) element from
  becoming zero
• To make diagonal element larger in magnitude
  than any other coefficient below it, that is, to
  decrease round-off errors.
• After interchanging the system, use the same
  procedure that we discussed to get the solution.
• Partial Pivoting

Interchange the largest absolute coefficient of
variable X1
Example:
        Before                        After
    2      2     2                4      2    2
     4      2    2                2     2     2
     2     3     9                2     3     9
• Total Pivoting

Search the largest number in absolute, then
interchange this as the pivot
Example:
        Before                       After
    2      2     2              9      3      2
     4      2    2              2       2     4
     2     3     9               2     2      2
Thank You

More Related Content

What's hot

Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equation
Student
 
Multiple Choice Questions - Numerical Methods
Multiple Choice Questions - Numerical MethodsMultiple Choice Questions - Numerical Methods
Multiple Choice Questions - Numerical Methods
Meenakshisundaram N
 
Lu decomposition
Lu decompositionLu decomposition
Lu decompositiongilandio
 
Bisection method
Bisection methodBisection method
Bisection method
Md. Mujahid Islam
 
Differential equations of first order
Differential equations of first orderDifferential equations of first order
Differential equations of first order
vishalgohel12195
 
MATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationMATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and Integration
Ainul Islam
 
Concepts of Maxima And Minima
Concepts of Maxima And MinimaConcepts of Maxima And Minima
Concepts of Maxima And Minima
Jitin Pillai
 
Vector space
Vector spaceVector space
Vector space
Jaimin Patel
 
Matrices and System of Linear Equations ppt
Matrices and System of Linear Equations pptMatrices and System of Linear Equations ppt
Matrices and System of Linear Equations ppt
Drazzer_Dhruv
 
Newton's forward & backward interpolation
Newton's forward & backward interpolationNewton's forward & backward interpolation
Newton's forward & backward interpolation
Harshad Koshti
 
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
 
Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
Meet Patel
 
Numerical solution of system of linear equations
Numerical solution of system of linear equationsNumerical solution of system of linear equations
Numerical solution of system of linear equations
reach2arkaELECTRICAL
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
Diler4
 
1st order differential equations
1st order differential equations1st order differential equations
1st order differential equations
Nisarg Amin
 
introduction to differential equations
introduction to differential equationsintroduction to differential equations
introduction to differential equations
Emdadul Haque Milon
 
Jacobi iteration method
Jacobi iteration methodJacobi iteration method
Jacobi iteration method
MONIRUL ISLAM
 
Jacobi method
Jacobi methodJacobi method
Jacobi method
Grishma Maravia
 

What's hot (20)

Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equation
 
Multiple Choice Questions - Numerical Methods
Multiple Choice Questions - Numerical MethodsMultiple Choice Questions - Numerical Methods
Multiple Choice Questions - Numerical Methods
 
Lu decomposition
Lu decompositionLu decomposition
Lu decomposition
 
Bisection method
Bisection methodBisection method
Bisection method
 
Differential equations of first order
Differential equations of first orderDifferential equations of first order
Differential equations of first order
 
MATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationMATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and Integration
 
Unit step function
Unit step functionUnit step function
Unit step function
 
Concepts of Maxima And Minima
Concepts of Maxima And MinimaConcepts of Maxima And Minima
Concepts of Maxima And Minima
 
Vector space
Vector spaceVector space
Vector space
 
Matrices and System of Linear Equations ppt
Matrices and System of Linear Equations pptMatrices and System of Linear Equations ppt
Matrices and System of Linear Equations ppt
 
Newton's forward & backward interpolation
Newton's forward & backward interpolationNewton's forward & backward interpolation
Newton's forward & backward interpolation
 
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
 
Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
 
Numerical solution of system of linear equations
Numerical solution of system of linear equationsNumerical solution of system of linear equations
Numerical solution of system of linear equations
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
 
1st order differential equations
1st order differential equations1st order differential equations
1st order differential equations
 
introduction to differential equations
introduction to differential equationsintroduction to differential equations
introduction to differential equations
 
Jacobi iteration method
Jacobi iteration methodJacobi iteration method
Jacobi iteration method
 
Jacobi method
Jacobi methodJacobi method
Jacobi method
 

Viewers also liked

Gauss y gauss jordan
Gauss y gauss jordanGauss y gauss jordan
Gauss y gauss jordanjonathann89
 
linear equation and gaussian elimination
linear equation and gaussian eliminationlinear equation and gaussian elimination
linear equation and gaussian elimination
Aju Thadikulangara
 
Gauss-Jordan Theory
Gauss-Jordan TheoryGauss-Jordan Theory
Gauss-Jordan TheoryHernanFula
 
NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)
krishnapriya R
 
Gauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan methodGauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan method
Naimesh Bhavsar
 
Gauss Jordan Method
Gauss Jordan MethodGauss Jordan Method
Gauss Jordan MethodZunAib Ali
 
Independence, basis and dimension
Independence, basis and dimensionIndependence, basis and dimension
Independence, basis and dimension
ATUL KUMAR YADAV
 
An implicit partial pivoting gauss elimination algorithm for linear system of...
An implicit partial pivoting gauss elimination algorithm for linear system of...An implicit partial pivoting gauss elimination algorithm for linear system of...
An implicit partial pivoting gauss elimination algorithm for linear system of...Alexander Decker
 
12X1 T09 06 probability & counting techniques
12X1 T09 06 probability & counting techniques12X1 T09 06 probability & counting techniques
12X1 T09 06 probability & counting techniquesNigel Simmons
 
Automated Diagnostic system for strength of metal transmission towers
Automated Diagnostic system for strength of metal transmission towersAutomated Diagnostic system for strength of metal transmission towers
Automated Diagnostic system for strength of metal transmission towers
Вячеслав Каплун
 
81 systems of linear equations 1
81 systems of linear equations 181 systems of linear equations 1
81 systems of linear equations 1math126
 
Gauss jordan
Gauss jordanGauss jordan
Gauss jordan
CesarMtzZ
 
Linear Systems - Expansion and Movement Joints
Linear Systems - Expansion and Movement JointsLinear Systems - Expansion and Movement Joints
Linear Systems - Expansion and Movement Joints
Ali Asgar Raja
 
Chapter 3 linear systems
Chapter 3 linear systemsChapter 3 linear systems
Chapter 3 linear systemsleblance
 
Math 1300: Section 4- 3 Gauss-Jordan Elimination
Math 1300: Section 4- 3 Gauss-Jordan EliminationMath 1300: Section 4- 3 Gauss-Jordan Elimination
Math 1300: Section 4- 3 Gauss-Jordan EliminationJason Aubrey
 
Regula falsi method
Regula falsi methodRegula falsi method
Regula falsi methodandrushow
 
Math 1300: Section 4-2 Systems of Linear Equations; Augmented Matrices
Math 1300: Section 4-2 Systems of Linear Equations; Augmented MatricesMath 1300: Section 4-2 Systems of Linear Equations; Augmented Matrices
Math 1300: Section 4-2 Systems of Linear Equations; Augmented MatricesJason Aubrey
 

Viewers also liked (20)

Gauss elimination
Gauss eliminationGauss elimination
Gauss elimination
 
Gauss y gauss jordan
Gauss y gauss jordanGauss y gauss jordan
Gauss y gauss jordan
 
linear equation and gaussian elimination
linear equation and gaussian eliminationlinear equation and gaussian elimination
linear equation and gaussian elimination
 
Gauss-Jordan Theory
Gauss-Jordan TheoryGauss-Jordan Theory
Gauss-Jordan Theory
 
Gauss jordan
Gauss jordanGauss jordan
Gauss jordan
 
NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)
 
Gauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan methodGauss elimination & Gauss Jordan method
Gauss elimination & Gauss Jordan method
 
Gauss Jordan Method
Gauss Jordan MethodGauss Jordan Method
Gauss Jordan Method
 
Independence, basis and dimension
Independence, basis and dimensionIndependence, basis and dimension
Independence, basis and dimension
 
Met num 6
Met num 6Met num 6
Met num 6
 
An implicit partial pivoting gauss elimination algorithm for linear system of...
An implicit partial pivoting gauss elimination algorithm for linear system of...An implicit partial pivoting gauss elimination algorithm for linear system of...
An implicit partial pivoting gauss elimination algorithm for linear system of...
 
12X1 T09 06 probability & counting techniques
12X1 T09 06 probability & counting techniques12X1 T09 06 probability & counting techniques
12X1 T09 06 probability & counting techniques
 
Automated Diagnostic system for strength of metal transmission towers
Automated Diagnostic system for strength of metal transmission towersAutomated Diagnostic system for strength of metal transmission towers
Automated Diagnostic system for strength of metal transmission towers
 
81 systems of linear equations 1
81 systems of linear equations 181 systems of linear equations 1
81 systems of linear equations 1
 
Gauss jordan
Gauss jordanGauss jordan
Gauss jordan
 
Linear Systems - Expansion and Movement Joints
Linear Systems - Expansion and Movement JointsLinear Systems - Expansion and Movement Joints
Linear Systems - Expansion and Movement Joints
 
Chapter 3 linear systems
Chapter 3 linear systemsChapter 3 linear systems
Chapter 3 linear systems
 
Math 1300: Section 4- 3 Gauss-Jordan Elimination
Math 1300: Section 4- 3 Gauss-Jordan EliminationMath 1300: Section 4- 3 Gauss-Jordan Elimination
Math 1300: Section 4- 3 Gauss-Jordan Elimination
 
Regula falsi method
Regula falsi methodRegula falsi method
Regula falsi method
 
Math 1300: Section 4-2 Systems of Linear Equations; Augmented Matrices
Math 1300: Section 4-2 Systems of Linear Equations; Augmented MatricesMath 1300: Section 4-2 Systems of Linear Equations; Augmented Matrices
Math 1300: Section 4-2 Systems of Linear Equations; Augmented Matrices
 

Similar to Gaussian Elimination Method

Applied numerical methods lec6
Applied numerical methods lec6Applied numerical methods lec6
Applied numerical methods lec6
Yasser Ahmed
 
Methods of integration
Methods of integrationMethods of integration
Methods of integration
Pankaj Das
 
06. Gaussian Elimination.pptx
06. Gaussian Elimination.pptx06. Gaussian Elimination.pptx
06. Gaussian Elimination.pptx
kibriaswe
 
MinFill_Presentation
MinFill_PresentationMinFill_Presentation
MinFill_PresentationAnna Lasota
 
Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem
Prashant Khandelwal
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
Chandrakant Divate
 
Splay Tree
Splay TreeSplay Tree
ImageSegmentation (1).ppt
ImageSegmentation (1).pptImageSegmentation (1).ppt
ImageSegmentation (1).ppt
NoorUlHaq47
 
ImageSegmentation.ppt
ImageSegmentation.pptImageSegmentation.ppt
ImageSegmentation.ppt
AVUDAI1
 
ImageSegmentation.ppt
ImageSegmentation.pptImageSegmentation.ppt
ImageSegmentation.ppt
DEEPUKUMARR
 
Ch9-Gauss_Elimination4.pdf
Ch9-Gauss_Elimination4.pdfCh9-Gauss_Elimination4.pdf
Ch9-Gauss_Elimination4.pdf
RahulUkhande
 
Assignment model
Assignment modelAssignment model
Assignment model
Palash Badal
 
Shear of thin walled sections.pdf
Shear of thin walled sections.pdfShear of thin walled sections.pdf
Shear of thin walled sections.pdf
TarikHassanElsonni
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
MadhuriMulik1
 
Linear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptxLinear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptx
Mazwan3
 
04-Unit Four - OR.pptx
04-Unit Four - OR.pptx04-Unit Four - OR.pptx
04-Unit Four - OR.pptx
AbdiMuceeTube
 
Quantitative Analysis For Decision Making
Quantitative Analysis For Decision MakingQuantitative Analysis For Decision Making
Quantitative Analysis For Decision Making
aminsand
 
Dynamic Programming Matrix Chain Multiplication
Dynamic Programming Matrix Chain MultiplicationDynamic Programming Matrix Chain Multiplication
Dynamic Programming Matrix Chain Multiplication
KrishnakoumarC
 
Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...
Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...
Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...
Maninda Edirisooriya
 

Similar to Gaussian Elimination Method (20)

Applied numerical methods lec6
Applied numerical methods lec6Applied numerical methods lec6
Applied numerical methods lec6
 
Methods of integration
Methods of integrationMethods of integration
Methods of integration
 
06. Gaussian Elimination.pptx
06. Gaussian Elimination.pptx06. Gaussian Elimination.pptx
06. Gaussian Elimination.pptx
 
MinFill_Presentation
MinFill_PresentationMinFill_Presentation
MinFill_Presentation
 
Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem Ap for b.tech. (mechanical) Assignment Problem
Ap for b.tech. (mechanical) Assignment Problem
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
Splay Tree
Splay TreeSplay Tree
Splay Tree
 
ImageSegmentation (1).ppt
ImageSegmentation (1).pptImageSegmentation (1).ppt
ImageSegmentation (1).ppt
 
ImageSegmentation.ppt
ImageSegmentation.pptImageSegmentation.ppt
ImageSegmentation.ppt
 
ImageSegmentation.ppt
ImageSegmentation.pptImageSegmentation.ppt
ImageSegmentation.ppt
 
Ch9-Gauss_Elimination4.pdf
Ch9-Gauss_Elimination4.pdfCh9-Gauss_Elimination4.pdf
Ch9-Gauss_Elimination4.pdf
 
Assignment model
Assignment modelAssignment model
Assignment model
 
Shear of thin walled sections.pdf
Shear of thin walled sections.pdfShear of thin walled sections.pdf
Shear of thin walled sections.pdf
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Matrix
MatrixMatrix
Matrix
 
Linear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptxLinear Algebra- Gauss Elim-converted.pptx
Linear Algebra- Gauss Elim-converted.pptx
 
04-Unit Four - OR.pptx
04-Unit Four - OR.pptx04-Unit Four - OR.pptx
04-Unit Four - OR.pptx
 
Quantitative Analysis For Decision Making
Quantitative Analysis For Decision MakingQuantitative Analysis For Decision Making
Quantitative Analysis For Decision Making
 
Dynamic Programming Matrix Chain Multiplication
Dynamic Programming Matrix Chain MultiplicationDynamic Programming Matrix Chain Multiplication
Dynamic Programming Matrix Chain Multiplication
 
Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...
Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...
Lecture 5 - Gradient Descent, a lecture in subject module Statistical & Machi...
 

Gaussian Elimination Method

  • 1. GAUSSIAN ELIMINATION METHOD Presented By Andi Firdaus Sudarma Student ID No. 432107963 M-505 Linear Algebra DR. Rizwan Butt
  • 2. Gaussian Elimination Method • Simple elimination without pivoting • Partial pivoting • Total pivoting
  • 3. I. Simple Elimination Without Pivoting Let say we have a system (size 3x3)with augmented matrix form as: a11 a12 a13 b1 A a21 a22 a23 b2 a31 a32 a33 b3
  • 4. Procedure to get the solution: 1. The basic idea is to convert the system of A into upper-triangular matrix (U) form. a11 a12 a13 U 0 a22 a23 0 0 a33
  • 5. 2. Eliminate the element a21 and a31 using multiple factor of a21 and a31 m 21 m 31 a11 a11 Hence, our matrix should be like this a11 a12 a13 b1 A 0 a22 a23 b2 0 a32 a33 b3
  • 6. 3. Eliminate the element a32 using multiple factor of a32 to convert A into U m 32 a22 4. The possible diagonal element (pivot element) should be non-zero. If it become zero at any stage, then interchange that row with any below row with non-zero element at that pivoting position.
  • 7. 5. After getting upper triangular matrix form, then use backward substitution to get the solution of the given linear system. a11x 1 a12 x 2 a13x 3 b1 a22 x 2 a23x 3 b2 a33x 3 b3
  • 8. II. Pivoting Strategies The basic idea of pivoting strategies is; • To prevent diagonal (pivoting) element from becoming zero • To make diagonal element larger in magnitude than any other coefficient below it, that is, to decrease round-off errors. • After interchanging the system, use the same procedure that we discussed to get the solution.
  • 9. • Partial Pivoting Interchange the largest absolute coefficient of variable X1 Example: Before After 2 2 2 4 2 2 4 2 2 2 2 2 2 3 9 2 3 9
  • 10. • Total Pivoting Search the largest number in absolute, then interchange this as the pivot Example: Before After 2 2 2 9 3 2 4 2 2 2 2 4 2 3 9 2 2 2