Elementary Row Operations (ERO)
Elementary row operations are fundamental tools in linear algebra used to manipulate matrices. These operations are critical in solving systems of linear equations, finding determinants, and performing matrix factorizations, such as Gaussian elimination.
In this article, we will explore the three main types of elementary row operations: row switching, row scaling, and row replacement, along with how to apply them using matrix multiplication.
There are three row operations:
Row Switching
The row switching operation swaps two rows of a matrix. This is represented as
where rows and are exchanged. For example, if we have the following matrix :
And if we want to swap rows 1 and 2 (), the new matrix will look like
Row Scaling
Row scaling refers to multiplying all elements in a row by a scalar. This operation is represented as
For example, consider the matrix where is a non-zero scalar and is the row index.
And if we want to scale first row by a factor of 3, the new matrix will look like:
Row Replacement
In row replacement, we add a scalar multiple of one row to another row. This operation is represented as where and is a scalar. For example, given the matrix :
If we want to replace the first row by adding 2 times the second row (), the operation is , resulting in:
Matrix Multiplication
In order to apply the elementary row operations, we often represent these transformations using matrix multiplication. Here, we will show how each of the elementary row operations is represented as a multiplication of the original matrix by an elementary matrix.
Row Switching
For example, if we want to swap rows 1 and 2, we use the elementary matrix
By multiplying by we get the result
Row Scaling
For example, scaling row 1 by 3 would look like
By multiplying by we get the result
Row Replacement
For example, replacing row 1 with would look like
By multiplying by we get the result