Consider the general case $Ax = b$. If $A$ is non-invertible - ie $\det(A) = 0$ - then we have two cases:
(i) There are no solutions non-trivial (ie $x \neq 0$) solutions - this happens when $b$ is not in the image of $A$.
(ii) There are infinitely many solutions given by a subspace.
(i) There may be a contradiction for non-zero $x$ such as the following:
$$ A = \begin{pmatrix}
1 & 1 \\
1 & 1
\end{pmatrix},
b = \begin{pmatrix} 1 \\ 2 \end{pmatrix}$$
$$\Rightarrow
\begin{matrix}
x_1 + x_2 = 1 \\
x_1 + x_2 = 2
\end{matrix}
\Rightarrow 1 = 2$$
which is clearly a contradiction. This is because $b \notin Im(A) = \{Ax | x \in V\}$, where $V$ is your vector space.
(ii) If there exists a solution, then there exists a subspace of solutions. Suppose that $x$ satisfies $Ax = b$ (so $x \neq 0$). Since $\det(A) = 0$, we can find a vector $y \neq 0$ such that $Ay = 0$. As such, $A(x + \lambda y) = Ax + \lambda Ay = b$ for all scalars $\lambda$. This gives a 1D subspace of your vector space that satisfies the equation. Similarly, if you can find a vector $z \neq 0 $ such that $Az = 0$ and $y$ and $z$ are linearly independent (ie we do not have $y = cz$ for a constant $c$, recalling that $y,z \neq 0$), then $A(x + \lambda y + \mu z) = Ax + \lambda Ay + \mu z= b$. Thus any vector $v$ with $v \in \{b + \lambda y + \mu z | \lambda,\mu \text{scalars} \}$ satisfies $Av = b$. This gives a 2D subspace of solutions. We can then continue similarly (if su