Search for probability and statistics terms on Statlect
StatLect

Elementary matrix

by , PhD

An elementary matrix is a square matrix that has been obtained by performing an elementary row or column operation on an identity matrix.

Table of Contents

Definition

Remember that there are three types of elementary row operations:

  1. interchange two rows;

  2. multiply a row by a non-zero constant;

  3. add a multiple of one row to another row.

Elementary column operations are defined similarly (interchange, addition and multiplication are performed on columns).

When elementary operations are carried out on identity matrices they give rise to so-called elementary matrices.

Definition A $K	imes K$ matrix E is said to be an elementary matrix if and only if it is obtained by performing an elementary (row or column) operation on the $K	imes K$ identity matrix I.

Examples

Some examples of elementary matrices follow.

Example If we take the $3	imes 3$ identity matrix and multiply its first row by $3$, we obtain the elementary matrix[eq1]

Example If we take the $3	imes 3$ identity matrix and add twice its second column to the third, we obtain the elementary matrix[eq2]

Example If we take the $2	imes 2$ identity matrix and interchange its two columns, we obtain the elementary matrix[eq3]

How elementary matrices act on other matrices

As we have already explained, elementary matrices can be used to perform elementary operations on other matrices. The following two procedures are equivalent:

  1. perform an elementary operation on a matrix A;

  2. perform the same operation on I and obtain an elementary matrix E; pre-multiply A by E if it is a row operation, or post-multiply A by E if it is a column operation.

Representation as rank one update

It is possible to represent elementary matrices as rank one updates to the identity matrix.

Proposition Any $K	imes K$ elementary matrix E can be written as[eq4]where $u$ and $v$ are two Kx1 column vectors and[eq5]

Proof

Denote by [eq6] the K columns of the $K	imes K$ identity matrix I (i.e., the K vectors of the standard basis). We prove this proposition by showing how to set $u$ and $v$ in order to obtain all the possible elementary operations. Let us start from row and column interchanges. Set[eq7]Then, $uv^{	op }$ is a $K	imes K$ matrix whose entries are all zero, except for the following entries:[eq8]As a consequence, $I+uv^{	op }$ is the result of interchanging the k-th and $j$-th row of the identity matrix (or the k-th and $j$-th column). Note that $v^{	op }u=-2$, so that $1+v^{	op }u
eq 0$. Let us now find how to multiply a row or a column by a non-zero constant $lpha $. Set[eq9]Then, $uv^{	op }$ is a $K	imes K$ matrix whose entries are all zero, except for one entry:[eq10]As a consequence, $I+uv^{	op }$ is the result of multiplying the k-th row (or column) by $lpha $. Note that[eq11]which is different from zero because $lpha $ was assumed to be. Let us now find how to add a multiple of one row (or column) to another. Set[eq12]Then, $uv^{	op }$ is a $K	imes K$ matrix whose entries are all zero, except for one entry:[eq13]Thus, $I+uv^{	op }$ is the result of adding $lpha $ times the $j$-th row to the k-th (or adding $lpha $ times the k-th column to the $j$-th). In this case, $v^{	op }u=0$, so that $1+v^{	op }u
eq 0$.

Invertibility

As we have proved in the lecture on Matrix inversion lemmas, when the condition[eq14]is satisfied, rank one updates to the identity matrix are invertible and[eq15]

Therefore, elementary matrices are always invertible.

Furthermore, the inverse of an elementary matrix is also an elementary matrix. As far as row operations are concerned, this can be seen as follows:

  1. if E has been obtained by multiplying a row of the identity matrix by a non-zero constant, then $E^{-1}$ is computed by multiplying the same row of the identity matrix by the reciprocal of that constant;

  2. if E has been obtained by adding a multiple of row i to row $j$ of the identity matrix, then $E^{-1}$ is calculated by subtracting the same multiple of row i from row $j$ of the identity matrix;

  3. if E is the result of interchanging rows i and $j$ of the identity matrix, then $E^{-1}$ is obtained by interchanging the same rows of the identity matrix again.

Similar statements are valid for column operations (we just need to replace rows with columns in the three points above).

How to cite

Please cite as:

Taboga, Marco (2021). "Elementary matrix", Lectures on matrix algebra. https://www.statlect.com/matrix-algebra/elementary-matrix.

The books

Most of the learning materials found on this website are now available in a traditional textbook format.