Database › Mathematics › Pure mathematics › Algebra
A linear system Ax = b is solvable exactly when rank A equals the rank of the augmented matrix; the solution is unique when that rank equals the number of unknowns, otherwise it has n − rank free parameters.
Explanation
Row operations (swap, scale, add multiples) do not change the solution set; reducing to echelon form exposes the rank $r$ as the number of pivots. The general solution is one particular solution plus the general solution of the homogeneous system $A\mathbf x=0$.
For a square matrix, $\det A\neq0$ gives a unique solution for every $\mathbf b$; if $\det A=0$ the homogeneous system has non-trivial solutions — the condition behind every eigenvalue and normal-mode problem.
Example 1
Solve $x+y+z=6$, $x-y+2z=5$, $2x+y-z=1$.
Solution
$\det A=7\neq0$; elimination gives $(x,y,z)=(1,2,3)$.
Example 2
For which $k$ does $x+2y=3$, $2x+ky=m$ have no solution, a unique solution, or infinitely many?
Solution
$\det=k-4$. For $k\neq4$: unique. For $k=4$ the left sides are proportional: infinitely many if $m=6$, none otherwise.