Elementary Transformations and the Rank of a Matrix
Elementary Row Operations
The following three transformations of a matrix are called elementary row operations:
- Interchanging two rows: interchange row and row , written
- Multiplying a row by a scalar: multiply row by a nonzero constant , written
- Adding a multiple of one row to another: add times row to row , written
Elementary Column Operations
The following three transformations of a matrix are called elementary column operations:
- Interchanging two columns: interchange column and column , written
- Multiplying a column by a scalar: multiply column by a nonzero constant , written
- Adding a multiple of one column to another: add times column to column , written
Properties of Elementary Transformations
- Invertibility: each elementary transformation has its own inverse transformation
- Rank preservation: elementary transformations do not change the rank of the matrix
- Equivalence preservation: elementary transformations preserve the equivalence relation between matrices
The Definition of an Elementary Matrix
A matrix obtained by applying one elementary transformation to the identity matrix is called an elementary matrix.
The Types of Elementary Matrices
1. Interchange Elementary Matrices
The matrix obtained by interchanging row and row of the identity matrix:
2. Scaling Elementary Matrices
The matrix obtained by multiplying row of the identity matrix by a nonzero constant :
3. Shear Elementary Matrices
The matrix obtained by adding times row of the identity matrix to row :
Properties of Elementary Matrices
-
Invertibility: every elementary matrix is invertible
-
Inverse matrix:
-
Left-multiplication: left-multiplying a matrix by an elementary matrix amounts to performing the corresponding elementary row operation on
-
Right-multiplication: right-multiplying a matrix by an elementary matrix amounts to performing the corresponding elementary column operation on
The Definition of the Rank of a Matrix
The rank of a matrix is the number of linearly independent rows (or columns) in the largest such set, written or .
Equivalent definitions:
- The rank of equals the order of its highest-order nonzero minor
- The rank of equals the number of nonzero rows in its row echelon form
Properties of the Rank of a Matrix
-
Basic properties:
- ( is an matrix)
- if and only if
- if and only if has full rank
-
Properties under operations:
- ()
-
Elementary transformation property: elementary transformations do not change the rank of the matrix
Methods for Computing the Rank of a Matrix
Method 1: The Minor Method
- Starting from the highest order, compute the minors of the matrix
- The first nonzero minor you find has order equal to the rank of the matrix
Method 2: The Elementary Transformation Method
- Apply elementary row operations to the matrix to reduce it to row echelon form
- Count the number of nonzero rows
Example: find the rank of the matrix
Solution:
:
:
:
There are 2 nonzero rows, so .
The Definition of Matrix Equivalence
If the matrix can be transformed into the matrix by a finite number of elementary transformations, then and are called equivalent, written .
The Necessary and Sufficient Condition for Matrix Equivalence
Theorem
A theorem is a proposition that has been rigorously proved, and it is the foundation of mathematical reasoning. A theorem usually states its conditions and its conclusion, and is an important part of any mathematical system.
Two matrices and of the same size are equivalent if and only if they have the same rank.
The Canonical Form
Every matrix can be transformed by elementary transformations into the following form:
where is the r-th order identity matrix and is the rank of the matrix.
The Definition of a Block Matrix
Splitting a matrix along its rows and columns into several submatrices gives these submatrices the name block matrices.
Example:
where are all submatrices.
Operations on Block Matrices
1. Addition of Block Matrices
Let and . Then:
2. Multiplication of a Block Matrix by a Scalar
3. Multiplication of Block Matrices
Let and . Then:
Note: multiplication of block matrices requires the corresponding submatrices to be multipliable.
Special Block Matrices
1. Block-Diagonal Matrices
2. Upper-Triangular Block Matrices
3. Lower-Triangular Block Matrices
The Determinant of a Block Matrix
For a block matrix :
-
If is invertible, then:
-
If is invertible, then:
-
If or , then:
Exercise 1
Write down the elementary matrix that interchanges the first row and the second row of the matrix .
Approach: Construct the interchange elementary matrix.
Steps:
- Interchange row 1 and row 2 of the identity matrix
Answer:
Exercise 2
Reduce the matrix to row echelon form by elementary row operations.
Approach: Use elementary row operations to reduce the matrix to row echelon form.
Steps:
:
:
:
Answer: the row echelon form is
Exercise 3
Find the rank of the matrix .
Approach: Reduce to row echelon form by elementary transformations and count the nonzero rows.
Steps:
- Apply elementary row operations to : and , giving .
- Then interchange the second and third rows to obtain the row echelon form .
- The row echelon form has 2 nonzero rows, so by the definition of the rank the rank of the matrix equals the number of nonzero rows.
Answer:
Exercise 4
Decide whether the matrices and are equivalent.
Approach: Compute the rank of each matrix and check whether they are equal.
Steps:
-
, , so
-
, , so
-
The two matrices have the same rank, so they are equivalent.
Answer: and are equivalent
Exercise 5
Compute the determinant of the block matrix , where both and are invertible matrices.
Approach: Use the determinant property for block matrices.
Steps:
For the block matrix , we have , so:
Answer:
Exercise 6
Prove that: if is an matrix, then .
Approach: Use the definition and the properties of the rank of a matrix.
Steps:
-
The rank of the matrix equals its largest number of linearly independent rows, and the matrix has only rows, so
-
The rank of the matrix equals its largest number of linearly independent columns, and the matrix has only columns, so
-
Therefore
Answer: the proof is complete
Symbols Used in This Article
| Symbol | Type | Pronunciation / Note | Meaning in This Article |
|---|---|---|---|
| Mathematical symbol | R i swap R j | The elementary row operation that interchanges row and row | |
| Mathematical symbol | E i j | The interchange elementary matrix, obtained by interchanging rows of the identity matrix | |
| Mathematical symbol | E i of k | The scaling elementary matrix, obtained by multiplying row by | |
| Mathematical symbol | E i j of k | The shear elementary matrix, obtained by adding times row to row | |
| Mathematical symbol | rank of A | The rank of the matrix , the number of linearly independent rows (columns) | |
| Mathematical symbol | A equivalent to B | The matrices and are equivalent (they can be transformed into one another by elementary transformations) | |
| Mathematical symbol | I r | The r-th order identity matrix, used in the canonical form |
