# Elementary Transformation Of Matrices

We have already seen that two matrices are equal when they are of the same order and their corresponding elements are equal. That is, if

$$\begin{array}{l}P\end{array}$$
=
$$\begin{array}{l}[p_{ij}]_{mÃ—n}\end{array}$$
and
$$\begin{array}{l}Q\end{array}$$
=
$$\begin{array}{l} [q_{ij}]_{rÃ—s}\end{array}$$
are two matrices such that
$$\begin{array}{l}P\end{array}$$
=
$$\begin{array}{l} Q\end{array}$$
, then:

• $$\begin{array}{l} m \end{array}$$
=
$$\begin{array}{l} r \end{array}$$
and
$$\begin{array}{l} n \end{array}$$
=
$$\begin{array}{l} s \end{array}$$
Â i.e. the orders of the two matrices must be same
• For every value of i and j,
$$\begin{array}{l}p_{ij}\end{array}$$
=
$$\begin{array}{l} q_{ij}\end{array}$$
.

But there is another way to compare matrices. In this case, the matrices areÂ equivalent to each other. For a matrix Â

$$\begin{array}{l} P \end{array}$$
=
$$\begin{array}{l}[p_{ij}]_{mÃ—n}\end{array}$$
to be equivalent to a matrixÂ
$$\begin{array}{l}Q\end{array}$$
Â =Â
$$\begin{array}{l}[q_{ij}]_{rÃ—s}\end{array}$$
, i.e. P ~ Q , the following two conditions must be satisfied:

• m = r and n = s; again, the orders of the two matrices must be the same
• P should get transformed to QÂ using the elementary transformation and vice-versa.

Elementary transformation of matrices is very important. It is used to find equivalent matrices and also to find the inverse of a matrix. Elementary transformation is playing with the rows and columns of a matrix. Let us learn how to perform the transformation on matrices.

## Elementary Row Transformation

As the name suggests, only the rows of the matrices are transformed and NO changes are made in the columns. These row operations are executed according to a certain set of rules which make sure that the transformed matrix is equivalent to the original matrix. These rules are:

• Any two rows are interchangeable. The interchange of
$$\begin{array}{l}i^{th}\end{array}$$
and
$$\begin{array}{l}j^{th}\end{array}$$
Â rows is represented as:

$$\begin{array}{l}R_i â†” R_j \end{array}$$

For example: If

$$\begin{array}{l}A\end{array}$$
=
$$\begin{array}{l}\begin{bmatrix} 1 & 23\cr -9 & 5\cr -13 & 7 \end{bmatrix}\end{array}$$
, applying
$$\begin{array}{l}R_1 â†” R_3\end{array}$$
, we get
$$\begin{array}{l} B\end{array}$$
=
$$\begin{array}{l}\begin{bmatrix} -13 & 7\cr -9 & 5\cr 1 & 23 \end{bmatrix}\end{array}$$
. Here, A ~ B.

• All the elements of any row can be multiplied to any non-zero number. The multiplication of
$$\begin{array}{l} i^{th} \end{array}$$
row to a non-zero number k, is represented as:

$$\begin{array}{l}R_i \rightarrow kR_i\end{array}$$

For example: If A =

$$\begin{array}{l}\begin{bmatrix} 1 & 6 & 8\cr 3 & 5 & 21\cr 2 & 1 & 9 \end{bmatrix}\end{array}$$
, applying
$$\begin{array}{l}R_2 \rightarrow 2R_2\end{array}$$
, we get
$$\begin{array}{l}B \end{array}$$
=
$$\begin{array}{l}\begin{bmatrix} 1 & 6 & 8\cr 6 & 10 & 42\cr 2 & 1 & 9 \end{bmatrix}\end{array}$$
. Again, A ~ B.

• All the elements of a row can be added to corresponding elements of another row multiplied by any non-zero constant. If the elements of
$$\begin{array}{l} i^{th} \end{array}$$
row are being added to the elements of
$$\begin{array}{l} j^{th} \end{array}$$
Â row (multiplied by a non-zero number k), then it is represented as:

$$\begin{array}{l} R_i \rightarrow R_i + k R_j \end{array}$$

An important thing to note here is that the change will only reflect in the elements of

$$\begin{array}{l} i^{th} \end{array}$$
Â row. The elements of
$$\begin{array}{l} j^{th} \end{array}$$
row will remain same.

For example: If

$$\begin{array}{l} Â A \end{array}$$
=
$$\begin{array}{l}\begin{bmatrix}4 & 10 & 64\cr Â Â 1 & -13 & 9\cr 2 & 5 & 32 Â \end{bmatrix}\end{array}$$
, applying
$$\begin{array}{l}R_1 \rightarrow R_1 + (-2)R_3\end{array}$$
, we get
$$\begin{array}{l} B\end{array}$$
=Â
$$\begin{array}{l}\begin{bmatrix}Â 0 & 0 & 0\cr Â Â 1 & -13 & 9\cr 2 & 5 & 32 Â Â \end{bmatrix}\end{array}$$
. Here, Â A ~ B .

Itâ€™s easy to figure out here that if k = 1, it just reduces to adding the elements of

$$\begin{array}{l}i^{th}\end{array}$$
Â row to corresponding elements of
$$\begin{array}{l}j^{th}\end{array}$$
Â row. Also, if k = -1, it means subtracting the elements of
$$\begin{array}{l}j^{th}\end{array}$$
Â row from corresponding elements of the
$$\begin{array}{l}i^{th}\end{array}$$
Â row.

For example: If

$$\begin{array}{l} P \end{array}$$
=
$$\begin{array}{l}\begin{bmatrix}1 & 5 & 4\cr Â Â 5 & 2 & 5\cr Â Â 4 & 5 & 3Â \end{bmatrix} \end{array}$$
, applying
$$\begin{array}{l}R_2 \rightarrow R_2 + R_3 \end{array}$$
, we get
$$\begin{array}{l}Q \end{array}$$
=Â
$$\begin{array}{l}\begin{bmatrix}Â 1 & 5 & 4\crÂ 9 & 7 & 8\cr Â 4 & 5 & 3 \end{bmatrix}\end{array}$$
. P ~ Q

Those were the three elementary row transformations/operations. The elementary column operations are exactly the same operations done on the columns.

## Elementary Column Operation

Those three operations for rows, if applied to columns in the same way, we get elementary column operation. As we have already discussed row transformation in detail, we will briefly discuss column transformation. The rules for elementary column transformation are:

• Any two columns are interchangeable i.e.
$$\begin{array}{l} C_i â†” C_j\end{array}$$
.

For example: If

$$\begin{array}{l}A \end{array}$$
=
$$\begin{array}{l}\begin{bmatrix} 1 & 23\cr -9 & 5 \cr -13 & 7 \end{bmatrix} \end{array}$$
, applying
$$\begin{array}{l}C_1 â†” C_2 \end{array}$$
, we get
$$\begin{array}{l}B\end{array}$$
=
$$\begin{array}{l}\begin{bmatrix} 23 & 1\cr 5 & -9\cr 7 & -13 \end{bmatrix}\end{array}$$

Here, Â A ~ B .Â

• All the elements of any column can be multiplied to any non-zero number i.e.
$$\begin{array}{l} C_i â†” k C_i\end{array}$$
.

For example: If

$$\begin{array}{l}A\end{array}$$
=
$$\begin{array}{l}\begin{bmatrix} 1 & 6 & 8\cr 3 & 5 & 21\cr 2 & 1 & 9 \end{bmatrix}\end{array}$$
, applying
$$\begin{array}{l}C_2 \rightarrow 3 C_2\end{array}$$
, we get
$$\begin{array}{l}B\end{array}$$
=
$$\begin{array}{l}\begin{bmatrix} 1 & 18 & 8 \cr 3 & 15 & 21\cr 2 & 3 & 9 \end{bmatrix}\end{array}$$

. Again, Â A ~ B .

• All the elements of a column can be added to corresponding elements of another column multiplied by any non-zero constant i.e.
$$\begin{array}{l}C_i \rightarrow C_i + k C_j \end{array}$$

For example: If

$$\begin{array}{l}A\end{array}$$
=
$$\begin{array}{l}\begin{bmatrix} 4 & 10 & 1\cr 1 & -13 & 1\cr 2 & 5 & 2 \end{bmatrix}\end{array}$$
, applying
$$\begin{array}{l}C_1 \rightarrow C_1 + 3C_3\end{array}$$
, we get
$$\begin{array}{l}B\end{array}$$
=
$$\begin{array}{l} \begin{bmatrix} 7 & 10 & 1\cr 4 & -13 & 1\cr 8 & 5 & 2 \end{bmatrix}\end{array}$$
.. Here, Â A ~ B .

Those were the elementary transformation techniques for matrices. As mentioned before, these are very important and are used to find the inverse of a matrix. To know how to find theÂ inverse of a matrix, visit www.byjus.comÂ and learn the concepts, explained in a very easy way.

1. P J Berry

best explanation, could understand well

2. Ritik Pal

very nice notes sir/madam. and I am very glad for all Byjus Team. Because your method of teach is very very best.