Rank of a matrix
If a $3 \times 3$ matrix has determinant zero, then is it possible that its rank could be $3$? I think it only could be $2$ or less. I am right or wrong? Please explain.
Solution 1:
Just think about this image: A matrix can be viewed as a set of $n$ vectors of $n$ dimension (imagine the case of $n=3$). Thus the determinant is actually the volumn of the polyhedron spanned by these vectors (example: $(1,0,0)^T,(0,1,0)^T$ and $(0,0,1)^T$ form a unit cube), where the sign (plus or minus) indicates the orientation (right-handed system -- plus, and left-handed system otherwise).
Now you can understand many properties of determinants: Exchanging two columns (or rows) will flip the sign of determinant -- that's because the orientation has changed. Or, if one column (or row) becomes all zeroes, the determinant will also be reduced to zero -- that's because the polyhedron shrinks to a sheet, and thus occupies no space.
As for the rank, the rank of a matrix actually tells you what is the minimum dimension of the space holding all the vectors of the matrix. Take $n=3$ as an example again: If $r(A)=3$, it means, in order to contain all the column vectors of $A$, a space of at least 3 dimension is a must. As a result, they span a nonzero volumn. If $r(A)=2$, it means the vectors are in fact lying in a plane, or $r(A)=1$, lying within a line, either of which holds a zero volumn.
Solution 2:
A matrix does have full rank iff it is invertible. The determinant of a matrix is zero iff it is not invertible. Thus if a $3 \times 3$ matrix has a determinant of zero it can not have the rank $3$.
Solution 3:
You are correct; a singular matrix (square matrix with determinant zero) cannot be full rank.
To see this, think about the effect that elementary row operations have on the determinant:
If $B$ is obtained from $A$ by exchanging two rows, then $\det(B) = -\det(A)$.
If $B$ is obtained from $A$ by multiplying a row by a $\lambda$, then $\det(B) = \lambda\det(A)$. Remember that for this to be an elementary row operation, you must have $\lambda\neq 0$.
If $B$ is obtained from $A$ by adding a multiple of one row to another row, then $\det(B)=\det(A)$.
This means that if $B$ is obtained from $A$ by a sequence of elementary row operations, then $\det(B)=0$ if and only if $\det(A)=0$; that is, you cannot go from a matrix with zero determinant to a matrix with nonzero determinant by doing elementary row operations; and neither can you go from a matrix with nonzero determinant to a matrix with zero determinant. (Though the value of the determinant can change from some nonzero number to another, because of the second type of elementary row operation mentioned above, it cannot go from zero to nonzero or from nonzero to zero).
Now suppose that $A$ is $n\times n$ and has rank $n$. Then we know that by doing elementary row operations we can transform $A$ into the $n\times n$ identity matrix. The $n\times n$ matrix has determinant $1$; so if we can transform $A$ into the identity matrix with elementary row operations, then $\det(A)\neq 0$ (because $\det(I_n)\neq 0$). So a matrix of rank $n$ has nonzero determinant. This is logically equivalent to the contrapositive: if $\det(A)=0$, then $A$ does not have rank $n$ (and so has rank $n-1$ or less).
Conversely, if the rank of $A$ is strictly less than $n$, then with elementary row operations we can transform $A$ into a matrix that has at least one row of zeros. The determinant of a matrix with one row of zeros is $0$, so that means that $\det(A)=0$.
In summary, if $A$ is $n\times n$, then $\mathrm{rank}(A)=n$ if and only if $\det(A)\neq 0$.