There are exactly three types of elementary matrices, corresponding to the three types of elementary row operations. Let’s construct each type explicitly and understand how they are obtained.
To obtain an elementary matrix that swaps two rows, we perform that swap on the identity matrix.
Example: Let’s create the elementary matrix that swaps rows 1 and 3 in a
\(3 \times 3\) matrix.
Start with the \(3 \times 3\) identity matrix:
\begin{equation*}
I_3 = \begin{pmatrix} 1 \amp 0 \amp 0 \\ 0 \amp 1 \amp 0 \\ 0 \amp 0 \amp 1 \end{pmatrix}
\end{equation*}
Swap rows 1 and 3 to get:
\begin{equation*}
E_1 = \begin{pmatrix} 0 \amp 0 \amp 1 \\ 0 \amp 1 \amp 0 \\ 1 \amp 0 \amp 0 \end{pmatrix}
\end{equation*}
Type 2: Row Scaling Matrix
To obtain an elementary matrix that multiplies a row by a nonzero scalar, we perform that scaling on the identity matrix.
Example: Let’s create the elementary matrix that multiplies row 2 by
\(c = 5\) in a
\(3 \times 3\) matrix.
Start with the \(3 \times 3\) identity matrix:
\begin{equation*}
I_3 = \begin{pmatrix} 1 \amp 0 \amp 0 \\ 0 \amp 1 \amp 0 \\ 0 \amp 0 \amp 1 \end{pmatrix}
\end{equation*}
Multiply row 2 by 5 to get:
\begin{equation*}
E_2 = \begin{pmatrix} 1 \amp 0 \amp 0 \\ 0 \amp 5 \amp 0 \\ 0 \amp 0 \amp 1 \end{pmatrix}
\end{equation*}
Type 3: Row Addition Matrix
To obtain an elementary matrix that adds a multiple of one row to another row, we perform that operation on the identity matrix.
Example: Let’s create the elementary matrix that adds
\(c = 3\) times row 1 to row 3 in a
\(3 \times 3\) matrix.
Start with the \(3 \times 3\) identity matrix:
\begin{equation*}
I_3 = \begin{pmatrix} 1 \amp 0 \amp 0 \\ 0 \amp 1 \amp 0 \\ 0 \amp 0 \amp 1 \end{pmatrix}
\end{equation*}
Add 3 times row 1 to row 3 to get:
\begin{equation*}
E_3 = \begin{pmatrix} 1 \amp 0 \amp 0 \\ 0 \amp 1 \amp 0 \\ 3 \amp 0 \amp 1 \end{pmatrix}
\end{equation*}