Gauss–Jordan elimination
From Wikipedia, the free encyclopedia
In linear algebra, Gauss–Jordan elimination is a version of Gaussian elimination that puts zeros both above and below each pivot element as it goes from the top row of the given matrix to the bottom. In other words, Gauss-Jordan elimination brings a matrix to reduced row echelon form, whereas Gaussian elimination takes it only as far as row echelon form. Every matrix has a reduced row echelon form, and this algorithm is guaranteed to produce it.
Gauss–Jordan elimination is considerably less efficient than Gaussian elimination with backsubstitution when solving a system of linear equations. However, it is well suited for calculating the matrix inverse.
It is named in honor of Carl Friedrich Gauss and Wilhelm Jordan.
[edit] Application to finding inverses
If Gauss–Jordan elimination is applied on a square matrix, it can be used to calculate the matrix's inverse. This can be done by augmenting the square matrix with the identity matrix of the same dimensions, and through the following matrix operations:
If the original square matrix, A, is given by the following expression:
Then, after augmenting by the identity, the following is obtained:
By performing elementary row operations on the [AI] matrix until A reaches reduced row echelon form, the following is the final result:
The matrix augmentation can now be undone, which gives the following:
A matrix is non-singular (meaning that it has an inverse matrix) iff the identity matrix can be obtained using only elementary row operations.
[edit] References
- Lipschutz, Seymour, and Lipson, Mark. "Schaum's Outlines: Linear Algebra". Tata McGraw-hill edition. Delhi 2001. pp. 69-80.
- Strang, Gilbert (2003). Introduction to Linear Algebra, 3rd edition, Wellesley, Massachusetts: Wellesley-Cambridge Press, 74-76.