Conditions for two straight lines to intersect: is this exam question wrong?
Solution 1:
If two lines do not intersect--i.e., they have no points in common--then the system of equations $$\begin{align*} a_1 x + b_1 y + c_1 &= 0 \\ a_2 x + b_2 y + c_2 &= 0 \end{align*}$$ will have no solution for $(x,y)$. Thus, if we solve the system, we find $$x = \frac{b_1 c_2 - b_2 c_1}{a_1 b_2 - a_2 b_1}, \quad y = \frac{a_2 c_1 - a_1 c_2}{a_1 b_2 - a_2 b_1}.$$ This solution does not exist or is indeterminate if $a_1 b_2 - a_2 b_1 = 0$.
However, some care is required: two lines coincide if $$(a_1, b_1, c_1) = k(a_2, b_2, c_2)$$ for some nonzero scalar constant $k$, and in this case, both the numerators and denominator of the aforementioned solution are zero, meaning that there are infinitely many points that the two equations share in common. So while it is a sufficient condition for $a_1 b_2 - a_2 b_1 \ne 0$ to imply that the lines intersect, it is not a strictly necessary condition, and for that reason, the question should have been better phrased by saying "two lines...intersect if..." rather than "only if"; alternatively, it might be phrased "two distinct lines...intersect only if...."