From lecture 2, we know that there are 3 types of elementary row operations:

Definition
Let \(A\) be an \(m \times n\) matrix. Any one of the following three operations on the rows of \(A\) is called an elementary row operation:
  1. interchanging any two rows of \(A\).
  2. multiplying any row of \(A\) by a non-zero scalar.
  3. adding any scalar multiple of a row of \(A\) to another row.


What’s more interesting is the next definition:

Definition
An \(n \times n\) elementary matrix is a matrix obtained by performing an elementary operation on \(I_n\). The elementary matrix is said to be of type 1, 2 or 3. according to whether the elementary operation performed on \(I_n\) is a type 1, 2 or 3 operation respectively.


What does the definition above mean? If we interchange the first two rows of \(I_3\), then this will produce the elementary matrix:

$$ \begin{align*} \begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{pmatrix}. \end{align*} $$

But why this is useful? This is useful because if we have some matrix \(A\) and want to interchange the first two rows. We can perform this operation by instead multiply this new matrix above by \(A\). So we can turn our elementary row operations into a matrix multiplication! The next theorem states this fact.

Theorem 3.1
Let \(A \in M_{m \times n}(F)\), and suppose that \(B\) is obtained from \(A\) by performing an elementary row operation. Then there exists an \(m \times n\) elementary matrix \(E\) such that \(B = EA\). In fact, \(E\) is obtained from \(I_m\) by performing the same elementary row operation as that which was performed on \(A\) to obtain \(B\). Conversely, if \(E\) is an elementary \(m \times m\) matrix, then \(EA\) is the matrix obtained from \(A\) by performing the same elementary row operation as that which produces \(E\) from \(I_m\).


This confirms what we said earlier. If we have a matrix \(A\) and we want to interchange the first two rows then we can first generate the matrix \(E\) from \(I_m\) by interchanging the first two rows:

$$ \begin{align*} E = \begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{pmatrix}. \end{align*} $$

And then multiplying \(E\) by \(A\) to produce the same matrix produced from interchanging the first two rows in \(A\). Finally we have this nice theorem to confirm that this elementary matrix is invertible!

Theorem 3.2
Elementary matrices are invertible, and the inverse of an elementary matrix is an elementary matrix of the same type.


Proof: Let \(E\) be an elementary \(n \times n\) matrix. We know that that \(E\) was obtained by some elementary row operation on \(I_n\). We can reverse the steps used to transform \(I_n\) to obtain \(E\) in order to get back \(I_n\). To get \(I_n\) back, we had to use the same type of elementary row operation. By the previous theorem (3.1), this elementary row operation can be done using an elementary matrix \(\bar{E}\) such that \(\bar{E}E = I_n\). Therefore, \(E\) is invertible and \(E^{-1} = \bar{E}\) (By 2.4 Exercise 10!). \(\blacksquare\)



References: