I learnt that for the equation: $Ax=b$
There is one solution if $A$ is invertible.
But if $A$ is singular there are infinity solutions or no solutions at all.
If $A$ is singular is it possible to determine whether there are no solutions or infinity solutions?
Yes, the general theory says that the solutions exist iff
$$ rk(A)=rk(\bar{A}), $$
where $\bar{A}$ is the matrix with the additional column $b$ appended to it (it is called the augmented matrix).