Consistent vs inconsistent systems, unique vs infinite solutions, and free variables.
Overview
A system of linear equations Ax=b can have no solution, exactly one solution, or infinitely many solutions. Understanding when each occurs is fundamental to linear algebra.
Three Possibilities
Type
Number of Solutions
Visual (2D)
Inconsistent
0
Parallel lines
Consistent, unique
1
Intersecting lines
Consistent, infinite
∞
Same line
Determining Solution Type
After row reducing the augmented matrix [A∣b]:
No Solution (Inconsistent)
A row of the form [00⋯0∣c] where c=0.
100210320435←0=5 (contradiction)
Unique Solution
Every column of A has a pivot (full column rank).
100010001234
Infinitely Many Solutions
Consistent, but A has at least one free variable (column without pivot).
100200010340
Testing with Rank
For system Ax=b where A is m×n:
Condition
Result
rank(A)<rank([A∣b])
No solution
rank(A)=rank([A∣b])=n
Unique solution
rank(A)=rank([A∣b])<n
Infinitely many solutions
Free Variables
When infinitely many solutions exist:
Free variables: correspond to non-pivot columns
Basic variables: correspond to pivot columns
Dimension of solution set = number of free variables
Parametric Solutions
Express basic variables in terms of free variables.
Example
RREF:
[1030012456]
Variables: x1,x2,x3,x4
Pivot columns: 1, 3 (basic variables: x1, x3)
Free columns: 2, 4 (free variables: x2, x4)
Solution:
x1=5−3x2−2x4x3=6−4x4x2=s (free)x4=t (free)
Vector form:
x=5060+s−3100+t−20−41
Homogeneous Systems
For Ax=0:
Always consistent (x=0 is always a solution)
Either unique solution (x=0) or infinitely many
When Only Trivial Solution
A has full column rank (n pivots for m×n matrix)
Columns of A are linearly independent
When Non-trivial Solutions Exist
A does not have full column rank
n>rank(A)
For m<n (more variables than equations): always non-trivial solutions
General Solution Structure
For Ax=b (consistent):
x=xp+xh
where:
xp is any particular solution to Ax=b
xh is the general solution to Ax=0
The solution set is a translate of the null space.