The rank of a matrix provides crucial information about the existence and number of solutions to a system of linear equations. Consider a system of (m) linear equations with (n) variables, which can be written in matrix form as:
[
A\mathbf{x} = \mathbf{b}
]
where:
- ( A ) is the ( m \times n ) coefficient matrix.
- ( \mathbf{x} ) is the ( n \times 1 ) vector of variables.
- ( \mathbf{b} ) is the ( m \times 1 ) vector of constants.
We also use the augmented matrix ( [A | \mathbf{b}] ), which is the ( m \times (n+1) ) matrix formed by appending the column vector ( \mathbf{b} ) to the matrix ( A ).
The relationship between the rank of ( A ), the rank of ( [A | \mathbf{b}] ), and the number of variables ( n ) determines the nature of the solutions:
-
No Solution (Inconsistent System):
- The system ( A\mathbf{x} = \mathbf{b} ) has no solution if and only if the rank of the coefficient matrix ( A ) is less than the rank of the augmented matrix ( [A | \mathbf{b}] ).
- Mathematically: ( \text{rank}(A) < \text{rank}([A | \mathbf{b}]) )
- This occurs when, during Gaussian elimination on the augmented matrix, you obtain a row that looks like ( [0 \ 0 \ \dots \ 0 | c] ), where ( c \neq 0 ). This corresponds to the equation ( 0 = c ), which is a contradiction.
-
At Least One Solution (Consistent System):
-
The system ( A\mathbf{x} = \mathbf{b} ) has at least one solution if and only if the rank of the coefficient matrix ( A ) is equal to the rank of the augmented matrix ( [A | \mathbf{b}] ).
-
Mathematically: ( \text{rank}(A) = \text{rank}([A | \mathbf{b}]) )
-
If the system is consistent, we can further determine if there's a unique solution or infinitely many:
-
Unique Solution:
- If the system is consistent (( \text{rank}(A) = \text{rank}([A | \mathbf{b}]) )), and the rank is equal to the number of variables ( n ), then there is a unique solution.
- Mathematically: ( \text{rank}(A) = \text{rank}([A | \mathbf{b}]) = n )
- This means every variable corresponds to a pivot column after row reduction; there are no "free" variables.
-
Infinitely Many Solutions:
- If the system is consistent (( \text{rank}(A) = \text{rank}([A | \mathbf{b}]) )), but the rank is less than the number of variables ( n ), then there are infinitely many solutions.
- Mathematically: ( \text{rank}(A) = \text{rank}([A | \mathbf{b}]) < n )
- This means there are ( n - \text{rank}(A) ) "free" variables, which can take any value, leading to an infinite set of solutions.
Summary Table:
| Relationship of Ranks and Variables | Number of Solutions |
|---|
| ( \text{rank}(A) < \text{rank}([A | \mathbf{b}]) ) |
| ( \text{rank}(A) = \text{rank}([A | \mathbf{b}]) = n ) |
| ( \text{rank}(A) = \text{rank}([A | \mathbf{b}]) < n ) |
(where (n) is the number of variables)
Special Case: Homogeneous Systems (( A\mathbf{x} = \mathbf{0} ))
For a homogeneous system ( A\mathbf{x} = \mathbf{0} ), the vector ( \mathbf{b} ) is the zero vector. The augmented matrix is ( [A | \mathbf{0}] ). The rank of ( [A | \mathbf{0}] ) is always equal to the rank of ( A ), because adding a column of zeros does not increase the number of linearly independent rows. Thus, homogeneous systems are always consistent and always have the trivial solution ( \mathbf{x} = \mathbf{0} ). The nature of other solutions depends only on the rank of ( A ) relative to ( n ):
- If ( \text{rank}(A) = n ), the only solution is the trivial solution ( \mathbf{x} = \mathbf{0} ) (unique solution).
- If ( \text{rank}(A) < n ), there are infinitely many solutions (including the trivial solution). The number of free variables is ( n - \text{rank}(A) ), which is also the dimension of the null space of ( A ).
In essence, the rank tells us the effective number of independent equations in the system (equal to ( \text{rank}(A) )) and whether the constant vector ( \mathbf{b} ) is consistent with these independent equations (checked by comparing ( \text{rank}(A) ) and ( \text{rank}([A | \mathbf{b}]) )).