<p>not equal roots, but they’ll be rational. The only square root in the quadratic equations is in the square root of the discriminant…so if you square root a perfect square, you take out the only way to get an irrational number.</p>
<p>If the discriminant is zero in the quadratic equation, then you dont need even need to consider it. Then, the root is -b/2a, instead of (-b±sqrt(b^2-4ac))/2a.</p>
<p>kind of…the square root of a non-perfect square or a negative number(ie, the discriminant) is the only thing that can give you an irrational root. If the discriminant is greater than 0 and a non-perfect square, you’ll have unequal, irrational roots, but if it’s a perfect square, you’ll have rational roots(though not necessarily equal). You’ve got the rest right.</p>
<p>Not quite. If the discriminant is negative, then you don’t have any real roots, rational or irrational. This is because the roots contain the square root of the discriminant, which is imaginary if the discriminant is negative.</p>
<p>Wikipedia sums it up nicely:</p>
<p>For instance, the quadratic polynomial P(x) = ax^2 + bx + c has discriminant D = b^2 − 4ac, which is the quantity under the square root sign in the quadratic formula. For real numbers a, b, c, one has: </p>
<p>When D > 0 , P(x) has two distinct real roots x = (−b ± √D) / 2a , and its graph crosses the x-axis twice.
When D = 0, P(x) has exactly one real root x = −b / 2a, and its graph is tangent to the x-axis.
When D < 0 , P(x) has no real roots, and its graph lies strictly above or below the x-axis. </p>
<hr>
<p>Also, the statement that “if it’s a perfect square, you’ll have rational roots” is true only if b and a are rational. If, for example, a=pi, b=8 and c=1/pi, then D=4, but the roots aren’t rational.</p>