Elementary Row Operations (ERO)
In linear algebra, two matrices are row equivalent if one can be changed to the other by a sequence of elementary row operations. Alternatively, two
An elementary row operation is any one of the following three moves:
- Row switching (swap): Swap two rows of a matrix.
- Row multiplication (scale): Multiply a row of a matrix by a nonzero constant.
- Row addition (pivot): Add to one row of a matrix some multiple of another row.
Produce Equivalent Matrices Using Elementary Row Operations
Since the matrix is essentially the coefficients and constants of a linear system, the three row operations preserve the matrix. For example, swapping two rows simply means switching their position within the matrix. Also, when solving a system of linear equations by the elimination method, row multiplication would be the same as multiplying the whole equation by a number to obtain additive inverses so that a variable cancels. Finally, row addition is also the same as the elimination method, when one chooses to add or subtract the like terms of the equations to obtain the variable. Therefore, row operations preserve the matrix and can be used as an alternative method to solve a system of equations.
Example 1: Show that these two matrices are row equivalent:
Start with
Then, multiply the second row by 3 and then subtract the first row from the second:
Finally, subtract the first row from the second:
You can see that
Row Reduction: Solving a System of Linear Equations
In row reduction, the linear system:
Is represented as an augmented matrix:
This matrix is then modified using elementary row operations until it reaches reduced row echelon form.
Because these operations are reversible, the augmented matrix produced always represents a linear system that is equivalent to the original.
There are several specific algorithms to row-reduce an augmented matrix, the simplest of which are Gaussian elimination and Gauss-Jordan elimination. This computation can be done by hand (using the three types of ERO) or on the calculator under the matrix function 'rref' (reduced row echelon form).
The final matrix is in reduced row echelon form, and represents the system