While determining the condition for the pair of straight line equation $$ax^2+2hxy+by^2+2gx+2fy+c=0$$ i.e $\quad$$ax^2+2(hy+g)x+(by^2+2fy+c)=0$ $$x=\frac{-2(hy+g)}{2a}\pm\frac{\sqrt{(hy+g)^2-a(by^2+2fy+c)}}{a} $$$$x=\frac{-2(hy+g)}{2a}\pm\frac{\sqrt{(h^2-ab)y^2+2(hg-af)y+(g^2-ac)}}{a}$$ The terms inside square root need to be a perfect square. I understand this. What I do not understand is when the inside square root terms ,quadratic in y is taken to be zero. Because of which its determinant $4(hg-af)^2-4(h^2-ab)(g^2-ac)=0$ becomes the condition for the pair of straight line equation.
I am stuck here. Can someone please help. Thanks.
For $A\ge0,$
$$Ax^2+Bx+C=A(x+B/2A)^2+C-B^2/4A$$ will be perfect square for all real values of $x$ iff $$C-B^2/4A=0$$