I'm reading Sawyer's Prelude to Mathematics, here:

I can't understand what's the meaning and application of "condition" here. Also when he gives the example on the cubic equation, stating that the condition is: $$(bc-ad)^2-4(ac-b^2)(bd-c^2)=0$$
I can understand that it is $b^2-4ac=0$ (I hope I'm right with this), I just have no idea on where is the order of the variables inside the parentheses coming from.
1: I noticed that the $b^2-4ac$ can be found here:
$$-b\pm \frac{\sqrt{b^2-4ac}}{2a}$$
Which could be found by solving a general form quadratic equation:
$$ax^2+bx+c=0$$
Then I thought about searching it on the solutions for cubic equations with some help of Mathematica, but I got nothing that was similar to:
$$(bc-ad)^2-4(ac-b^2)(bd-c^2)=0$$
or:
$$a^2d^2-6abcd+4b^3d+4ac^3-3b^2c^2=0$$
With no success. You can see it here:

Actually, the stated equation ensures that at least two of the roots are equal. Let $x_1$, $x_2$ and $x_3$ be three roots of the cubic $a x^3 + 3 b x^2 + 3 c x+d =0$. Discriminant of the equation: $$ D = a^4 (x_1-x_2)^2 (x_2-x_3)^2 (x_1-x_3)^2 $$ can be expressed in terms of coefficients of the cubic: $$ D = -27 \left(a^2 d^2-6 a b c d+4 a c^3+4 b^3 d-3 b^2 c^2\right) $$ $D$ equals zero when at least two of the roots are equal.