The rank of a matrix is a fundamental concept in linear algebra that directly influences the existence, uniqueness, and structure of solutions to a system of linear equations ( A\mathbf{x} = \mathbf{b} ). Here's how:
Key Definitions:
-
Rank of a Matrix (( \text{rank}(A) )):
The maximum number of linearly independent rows (or columns) in ( A ).
Equivalently, the dimension of the column space (or row space) of ( A ).
-
Augmented Matrix: For the system ( A\mathbf{x} = \mathbf{b} ), the augmented matrix is ( [A ,|, \mathbf{b}] ), formed by appending ( \mathbf{b} ) as an extra column to ( A ).
Relationship Between Rank and Solutions:
Consider the linear system:
[
A\mathbf{x} = \mathbf{b}, \quad \text{where} \quad
A \in \mathbb{R}^{m \times n}, \quad
\mathbf{x} \in \mathbb{R}^{n}, \quad
\mathbf{b} \in \mathbb{R}^{m}.
]
Let ( r = \text{rank}(A) ) and ( r_a = \text{rank}([A ,|, \mathbf{b}]) ) (rank of the augmented matrix).
Case 1: No Solution (Inconsistent System)
[
\text{If} \quad \boxed{\text{rank}(A) < \text{rank}([A ,|, \mathbf{b}])}
]
- This means ( \mathbf{b} ) cannot be expressed as a linear combination of the columns of ( A ).
- Geometrically, ( \mathbf{b} ) lies outside the column space of ( A ).
- Example: Parallel planes in 3D space that never intersect.
Why it happens:
A row in ( [A ,|, \mathbf{b}] ) reduces to ( [0 , 0 , \cdots , 0 , | , c] ) with ( c \neq 0 ) during row reduction (e.g., ( 0 = 5 )). This contradiction implies no solution.
Case 2: Infinitely Many Solutions (Consistent System)
[
\text{If} \quad \boxed{\text{rank}(A) = \text{rank}([A ,|, \mathbf{b}]) < n}
]
- Here, ( \mathbf{b} ) is in the column space of ( A ), so at least one solution exists.
- Since ( r < n ), there are free variables (( n - r ) of them).
- The solution set forms an affine subspace of dimension ( n - r ).
Example:
[
\begin{cases}
x + y + z = 3 \
2x + 2y + 2z = 6
\end{cases}
\quad \implies \quad
\text{rank}(A) = 1, \quad n = 3.
]
Solutions: ( x = 3 - s - t, , y = s, , z = t ) (two free variables).
Case 3: Unique Solution (Consistent System)
[
\text{If} \quad \boxed{\text{rank}(A) = \text{rank}([A ,|, \mathbf{b}]) = n}
]
- ( \mathbf{b} ) is in the column space of ( A ), ensuring at least one solution.
- Since ( r = n ), no free variables exist. Every variable is pivotal (determined uniquely).
- The system has exactly one solution.
Example:
[
\begin{cases}
x + y = 2 \
x - y = 0
\end{cases}
\quad \implies \quad
\text{rank}(A) = 2, \quad n = 2.
]
Solution: ( x = 1, , y = 1 ) (unique).
Summary Table:
| Condition | Solution Existence | Solution Structure |
|---|
| ( \text{rank}(A) < \text{rank}([A , | , \mathbf{b}]) ) | No solution |
| ( \text{rank}(A) = \text{rank}([A , | , \mathbf{b}]) < n ) | Infinitely many solutions |
| ( \text{rank}(A) = \text{rank}([A , | , \mathbf{b}]) = n ) | Unique solution |
Geometric Interpretation:
- Rank(( A )) = ( r ): Dimension of the subspace spanned by columns of ( A ).
- ( \mathbf{b} \in \text{Column Space}(A) ): ( \text{rank}(A) = \text{rank}([A ,|, \mathbf{b}]) ) (consistent system).
- ( r = n ): Column space of ( A ) is all of ( \mathbb{R}^m ) (if ( m = n )), ensuring a unique solution.
- ( r < n ): Column space has "gaps"; solutions lie in a lower-dimensional slice.
Critical Points to Remember:
-
Full Rank:
- If ( m \geq n ) and ( \text{rank}(A) = n ), ( A ) has full column rank (unique solution if consistent).
- If ( n \geq m ) and ( \text{rank}(A) = m ), ( A ) has full row rank (always consistent, may have infinitely many solutions).
-
Homogeneous System (( A\mathbf{x} = \mathbf{0} )):
- Always consistent (( \mathbf{x} = \mathbf{0} ) is a solution).
- Nontrivial solutions exist if and only if ( \text{rank}(A) < n ).
In essence, the rank of ( A ) reveals:
- Whether ( \mathbf{b} ) is reachable (consistency),
- How many degrees of freedom exist in the solution set,
- Whether the system is uniquely solvable.
This is why rank is called the "fundamental theorem of linear systems"—it distills the entire behavior of ( A\mathbf{x} = \mathbf{b} ) into a single number!