The Discriminant
Theory
The discriminant \(\Delta=b^{2}-4ac\) of \(ax^{2}+bx+c=0\) tells you the nature of the roots without solving the equation. This Year 11 Mathematics Advanced page covers two, one or no real roots, rational and irrational roots, finding an unknown coefficient for equal, real or no real roots, and using \(\Delta\) to count the points of intersection of a line or curve with a parabola, circle or hyperbola, including tangents.
For the quadratic equation \(ax^{2}+bx+c=0\) (\(a\neq0\)), the discriminant is \(\Delta=b^{2}-4ac\). It is the expression under the square root in the quadratic formula, so its sign decides how many real roots there are.
If \(\Delta>0\) there are two distinct real roots; if \(\Delta=0\) there is one repeated (equal) real root; if \(\Delta<0\) there are no real roots. When \(a\), \(b\) and \(c\) are rational, the roots are rational exactly when \(\Delta\) is the square of a rational number (a perfect square such as \(25\)); otherwise real roots are irrational.
Graphically, the real roots are the \(x\)-intercepts of \(y=ax^{2}+bx+c\). If \(\Delta<0\) and \(a>0\), the parabola lies entirely above the \(x\)-axis; if \(\Delta<0\) and \(a<0\), it lies entirely below.
To find where a line meets a parabola, circle or hyperbola, substitute one equation into the other to get a quadratic. Its discriminant counts the points of intersection: two if \(\Delta>0\), one if \(\Delta=0\) (the line is a tangent), none if \(\Delta<0\).
| Discriminant | Roots of \(ax^{2}+bx+c=0\) | Graph of \(y=ax^{2}+bx+c\) |
|---|---|---|
| \(\Delta>0\), perfect square | two distinct real, rational | cuts the \(x\)-axis twice |
| \(\Delta>0\), not a perfect square | two distinct real, irrational | |
| \(\Delta=0\) | one repeated (equal) real root | touches the \(x\)-axis |
| \(\Delta<0\) | no real roots | does not meet the \(x\)-axis |
(The rational/irrational test assumes \(a\), \(b\) and \(c\) are rational.)
How to use the discriminant
- Write the equation as \(ax^{2}+bx+c=0\) and identify \(a\), \(b\) and \(c\) with their signs.
- Calculate \(\Delta=b^{2}-4ac\), using brackets for negative or algebraic coefficients.
- Interpret the sign (and whether it is a perfect square), or set up the condition the question asks for: \(=0\), \(\ge0\), \(>0\) or \(<0\).
- Solve for the unknown coefficient, and check \(a\neq0\).
Intersections of a line and a curve
- Substitute the line into the curve (for a line through a given point, first write \(b\) in terms of \(m\)).
- Rearrange to a quadratic equal to zero; multiply through by \(x\) for a hyperbola.
- Use \(\Delta\): two points, one point (tangent) or none.
- Solve the quadratic and substitute into the line to find the points, if asked.
(i) \(3x^{2}-5x+1=0\)
(ii) \(6x^{2}-x-2=0\)
(iii) \(5x^{2}+2x+1=0\)
(i) \(a=3,\ b=-5,\ c=1\):
| \(\Delta\) | \(=\) | \((-5)^{2}-4(3)(1)\) |
| \(\) | \(=\) | \(13\) |
\(\Delta>0\) and \(13\) is not a perfect square: two distinct irrational real roots.
(ii) \(a=6,\ b=-1,\ c=-2\):
| \(\Delta\) | \(=\) | \((-1)^{2}-4(6)(-2)\) |
| \(\) | \(=\) | \(49=7^{2}\) |
Two distinct rational real roots (they are \(x=-\dfrac{1}{2}\) and \(x=\dfrac{2}{3}\)).
(iii) \(a=5,\ b=2,\ c=1\):
| \(\Delta\) | \(=\) | \(2^{2}-4(5)(1)\) |
| \(\) | \(=\) | \(-16\) |
\(\Delta<0\): no real roots.
Two distinct real roots require \(\Delta>0\); here \(a=1,\ b=k,\ c=9\):
| \(k^{2}-4(1)(9)\) | \(>\) | \(0\) |
| \(k^{2}-36\) | \(>\) | \(0\) |
| \((k-6)(k+6)\) | \(>\) | \(0\) |
The parabola \(y=k^{2}-36\) is above the axis outside its zeros \(\pm6\).
\(\therefore\ \boldsymbol{k<-6}\) or \(\boldsymbol{k>6}\)
Equal roots require \(\Delta=0\); here \(a=k+2,\ b=-2k,\ c=1\):
| \(\Delta\) | \(=\) | \((-2k)^{2}-4(k+2)(1)\) |
| \(\) | \(=\) | \(4k^{2}-4k-8\) |
| \(\) | \(=\) | \(4(k^{2}-k-2)\) |
| \(\) | \(=\) | \(4(k-2)(k+1)\) |
\(\Delta=0\) gives \(k=2\) or \(k=-1\). Both make \(k+2\neq0\), so the equation is quadratic.
\(\therefore\ k=\mathbf{2}\) or \(k=\mathbf{-1}\)
Check: \(k=2\) gives \(4x^{2}-4x+1=(2x-1)^{2}\). ✓
Equate the line and the parabola:
| \(x^{2}+3\) | \(=\) | \(mx-1\) |
| \(x^{2}-mx+4\) | \(=\) | \(0\) |
A tangent meets the parabola once, so \(\Delta=0\):
| \((-m)^{2}-4(1)(4)\) | \(=\) | \(0\) |
| \(m^{2}\) | \(=\) | \(16\) |
| \(m\) | \(=\) | \(\pm4\) |
\(m=4\): \(x^{2}-4x+4=(x-2)^{2}=0\), so \(x=2\), \(y=7\).
\(m=-4\): \(x^{2}+4x+4=(x+2)^{2}=0\), so \(x=-2\), \(y=7\).
\(\therefore\ \boldsymbol{y=4x-1}\) touching at \(\mathbf{(2,7)}\), and \(\boldsymbol{y=-4x-1}\) touching at \(\mathbf{(-2,7)}\).
Common pitfalls
Frequently asked questions
What is the discriminant of a quadratic?
For \(ax^{2}+bx+c=0\), the discriminant is \(\Delta=b^{2}-4ac\), the expression under the square root in the quadratic formula.
What does the discriminant tell you?
Positive: two distinct real roots. Zero: one repeated real root. Negative: no real roots. If it is a perfect square (with rational coefficients), the roots are rational.
How do you find k for equal roots?
Write \(\Delta\) in terms of \(k\), set \(\Delta=0\) and solve. If \(k\) appears in the coefficient of \(x^{2}\), make sure that coefficient is not zero.
How do you show a line is a tangent to a curve?
Substitute the line into the curve to get a quadratic equal to zero. The line is a tangent when that quadratic has \(\Delta=0\), so they meet at exactly one point.
What does a negative discriminant mean on a graph?
The parabola does not cross the \(x\)-axis. It lies entirely above the axis if \(a>0\) and entirely below it if \(a<0\).