Given equations and unknowns, one usually expects a unique solution. But two other possibilities exist: there could be no solution, or an infinite number of solutions. We will illustrate what happens during Gaussian elimination in these two cases. Consider
Note that the first two equations are the same as in (2.1.1), but the left-hand-side of the third equation has been replaced by the sum of the left-hand-sides of the first two equations, and the right-hand-side has been replaced by the parameter . If , then the third equation is just the sum of the first two equations and adds no new information to the system. In this case, the equations should admit an infinite number of solutions. However, if , then the third equation is inconsistent with the first two equations and there should be no solution.
We solve by Gaussian elimination to see how it plays out. Writing the augmented matrix and doing row elimination, we have
Evidently, Gaussian elimination has reduced the last row of the matrix to zeros, and the last equation becomes
If , there will be no solution, and if , the under-determined systems of equations becomes
The unknowns and can be solved in terms of as
indicating an infinite family of solutions dependent on the free choice of .
To be clear, for a linear system represented by , if there is a unique solution then is invertible and the solution is given formally by
If there is not a unique solution, then is not invertible. We then say that the matrix is singular. Whether or not an -by- matrix is singular can be determined by row reduction on . After row reduction, if the last row of is all zeros, then is a singular matrix; if not, then is an invertible matrix. We have already shown in the two-by-two case, that is invertible if and only if , and we will later show that this is also true for -by- matrices.