Use quantifiers and logical connectives to express the fact that a quadratic polynomial with real number coefficients has at most two real roots
Solution:
$\forall a \forall b \forall c ((a \neq 0 \lor b \neq 0) \rightarrow \exists x(x = \frac {-b + \sqrt {b^2 - 4ac}}{2a} \lor x = \frac {-b - \sqrt {b^2 - 4ac}}{2a}) \land \forall y ((y = \frac {-b + \sqrt {b^2 - 4ac}}{2a} \lor y = \frac {-b - \sqrt {b^2 - 4ac}}{2a}) \rightarrow y =x))$
Why this solution is not right? Please explain.
You should write something like
or alternatively