Difference between revisions of "Gauss-Jordan Elimination"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
Line 86: Line 86:
 
* [https://openstax.org/books/college-algebra/pages/7-6-solving-systems-with-gaussian-elimination Solving Systems with Gaussian Elimination], OpenStax
 
* [https://openstax.org/books/college-algebra/pages/7-6-solving-systems-with-gaussian-elimination Solving Systems with Gaussian Elimination], OpenStax
 
* [https://tutorial.math.lamar.edu/classes/alg/augmentedmatrix.aspx Augmented Matrices and Gauss-Jordan Elimination], Paul's Online Notes
 
* [https://tutorial.math.lamar.edu/classes/alg/augmentedmatrix.aspx Augmented Matrices and Gauss-Jordan Elimination], Paul's Online Notes
* [https://en.wikipedia.org/wiki/Gaussian_elimination Gaussian elimination], Wikipedia
+
 
 +
== Licensing ==
 +
Content obtained and/or adapted from:
 +
* [https://en.wikipedia.org/wiki/Gaussian_elimination Gaussian elimination, Wikipedia] under a CC BY-SA license

Revision as of 17:55, 14 November 2021

Performing row operations on a matrix is the method we use for solving a system of equations. In order to solve the system of equations, we want to convert the matrix to reduced row echelon form ("rref"), in which there are ones down the main diagonal from the upper left corner to the lower right corner, and zeros in every position below the main diagonal. Here are some examples of matrices in rref:

, , , , ,


We use row operations corresponding to equation operations to obtain a new matrix that is row-equivalent in a simpler form. Here are the guidelines to obtaining row-echelon form.

  • In any nonzero row, the first nonzero number is a 1. It is called a leading 1.
  • Any all-zero rows are placed at the bottom on the matrix.
  • Any leading 1 is below and to the right of a previous leading 1.
  • Any column containing a leading 1 has zeros in all other positions in the column.

To solve a system of equations we can perform the following row operations to convert the coefficient matrix to row-echelon form and do back-substitution to find the solution.

  • Interchange a row with another row . (Notation: )
  • Multiply a row by a constant. (Notation: )
  • Add the product of a row multiplied by a constant to another row. (Notation: )

Each of the row operations corresponds to the operations we have already learned to solve systems of equations in three variables. With these operations, there are some key moves that will quickly achieve the goal of writing a matrix in row-echelon form. To obtain a matrix in row-echelon form for finding solutions, we use Gaussian (also called Gauss-Jordan elimination, a method that uses row operations to obtain a 1 as the first entry so that row 1 can be used to convert the remaining rows.

The steps to perform Gaussian elimination on an augmented matrix (and thus convert the matrix to reduced row echelon form) are as follows.

  1. The first equation should have a leading coefficient of 1. Interchange rows or multiply by a constant, if necessary.
  2. Use row operations to obtain zeros down the first column below the first entry of 1.
  3. Use row operations to obtain a 1 in row 2, column 2.
  4. Use row operations to obtain zeros down column 2, below the entry of 1.
  5. Use row operations to obtain a 1 in row 3, column 3.
  6. Continue this process for all rows until there is a 1 in every entry down the main diagonal and there are only zeros below.
  7. If any rows contain all zeros, place them at the bottom.


Example of Gauss-Jordan elimination:



First, we subtract 1 of the first row from the second row () and 3 of the first row from the third row (). Then, we add the new second row to the new third row (). Lastly, we multiply the new second row by to make the diagonal entries equal to 1 (. Our matrix is now in reduced row echelon form, since all nonzero diagonal entries are equal to 1, the all-zero row is at the bottom of the matrix, and all entries under the diagonal are zero.

Resources

Licensing

Content obtained and/or adapted from: