Consider the following system of linear equations
$$\begin{cases}a_1x + b_1y = c_1, \\ a_2x + b_2y = c_2,\end{cases}\quad\quad (1)$$
where $a_1^2 + b_1^2 \not=0$, $a_2^2 + b_2^2 \not=0$. Next, let us define the following three determinants
$$\Delta = \left|\begin{array}{cc} a_1 & b_1 \\ a_2 & b_2 \end{array}\right| = a_1b_2 - a_2b_1;$$
$$\Delta_x = \left|\begin{array}{cc} c_1 & b_1 \\ c_2 & b_2 \end{array}\right| = c_1b_2 - c_2b_1;$$
$$\Delta_y = \left|\begin{array}{cc} a_1 & c_1 \\ a_2 & c_2 \end{array}\right| = a_1c_2 - a_2c_1.$$
Then the system (1) has a unique solution if and only if the determinant $\Delta \not=0$. In this case the solution is given by the formulas
$$x = \frac{\Delta_x}{\Delta}, \quad y = \frac{\Delta_y}{\Delta},$$
which are called Cramer's formulas, or Cramer's rule. If all of the coefficients $a_1$, $b_1$, $a_2$ and $b_2$ are not equal to zero, then the condition $\Delta \not=0$ is equivalent to
$$\frac{a_1}{a_2} \not= \frac{b_1}{b_2}.$$
Conversely, the system (1) has no solutions if and only if $\Delta = 0$ and at least one of the determinants $\Delta_x$ and $\Delta_y$ is not equal to zero.
If all of the coefficients $a_1$, $b_1$, $a_2$ and $b_2$ are not equal to zero, then the condition $\Delta = 0$, $\Delta_x \not=0$ (or, $\Delta = 0$, $\Delta_y \not=0$) is equivalent to the following condition
$$\frac{a_1}{a_2} = \frac{b_1}{b_2} \not=\frac{c_1}{c_2}.$$
The system (1) has infinitely many solutions if and only if $\Delta = \Delta_x = \Delta_y = 0.$ If all of the coefficients $a_1$, $b_1$, $a_2$ and $b_2$ are not equal to zero, then the condition $\Delta = \Delta_x = \Delta_y = 0$ is equivalent to the following condition
$$\frac{a_1}{a_2} = \frac{b_1}{b_2} =\frac{c_1}{c_2}.$$
If the conditions $a_1^2 + b_1^2 \not= 0$, $a_2^2 + b_2^2 \not=0$ are not satisfied, then $\Delta = \Delta_x = \Delta_y = 0$ may not imply that the system (1) has infinitely many solutions. For example, all of the three determinants of the linear system
$$\begin{cases} 0\cdot x + 0\cdot y = 4, \\ 0\cdot x + 0\cdot y = 15\end{cases}$$
vanish, but the system has no solutions.