Let be integers between and inclusive, and assume . Let . Then is the matrix which has:
-
1s on the diagonal,
-
0s everywhere else except in the th position, where there is a .
Such a matrix is an elementary matrix of type I.
We introduce elementary matrices which have the following property: multiplying on the left by an elementary matrix has the effect of performing a row operation to .
Let be integers between and inclusive, and assume . Let . Then is the matrix which has:
1s on the diagonal,
0s everywhere else except in the th position, where there is a .
Such a matrix is an elementary matrix of type I.
For example, if you get things like: If , you get things like
Let and be -by- matrices. Then is the matrix obtained from by doing .
Let's consider the case (the other case is similar so we omit it). Consider the product The only difference the makes is when we multiply the th row into a column of (say the th column). Instead of just picking up , we get .
In other words, the result is obtained from by adding times row to row .
Let be an integer between and inclusive and let be a real number. Define to be the matrix which has 1s on the diagonal everywhere except in the th position, where it has a . Such a matrix is an elementary matrix of type II.
If ,
is obtained from by performing the row operation .
In the product, most of the entries are multiplied by , except those in the th row of , which are rescaled by .