The other day I was deriving the combined equation for the angle bisectors of a pair of straight lines ($a{x^2} + 2hxy + b{y^2}$) passing through the origin. After some simplification, I got this equation - $$\left( {{m_1} + {m_2}} \right)\left( {{x^2} - {y^2}} \right) = 2xy\left( {1 - {m_1}{m_2}} \right)$$
where ${m_1}$ and ${m_2}$ are the slopes of the straight lines. By substituting ${m_1} + {m_2} = {{ - 2h} \over b}$ and ${m_1}{m_2} = {a \over b}$,$$\left( {{{ - 2h} \over b}} \right)\left( {{x^2} - {y^2}} \right) = 2xy\left( {{{b - a} \over b}} \right)$$
Since $b$ was a constant (coefficient of ${{y^2}}$), I multiplied both sides by $b$ and eliminated it.
But if $b$ happened to be zero, the equation would have been of the form $\infty = \infty $, and by multiplying $0$ on both sides, the result would be indeterminate.
How do the proofs tackle the case when denominator can also take the value zero?
Your problem came earlier; whatever method you used to determine $m_1 + m_2 = -2h/b$ and $m_1 m_2 = a/b$ is inapplicable in the case that $b=0$.
The usual fix to things like this is to split the problem into two parts:
And then combine the two solutions in whatever manner is appropriate to the problem.
As an example of this method, consider the problem of finding under what conditions the equation
$$ a x^2 + bx + c = 0$$
has a unique solution for $x$. We'd be tempted to use the quadratic formula, but that depends on $a$ being nonzero. So we split the problem:
So, the end result is that the equation above has a unique solution for $x$ if and only if one of the following two conditions are satisfied: