Skip to main content

Section 4.8 The Discriminant

Sometimes, a quadratic equation has only 1 or 0 solutions.

Example 4.8.1. A Quadratic with One Solution.

Solve \(-2x^2+12x-18=0\text{.}\) Using the quadratic formula, we have,
\begin{align*} x \amp= \frac{-12 \pm \sqrt{12^2 - 4(-2)(-18)}}{2(-2)}\\ \amp= \frac{-12 \pm \sqrt{0}}{-4}\\ \amp= \frac{-12 \pm 0}{-4}\\ \amp= \frac{-12}{-4}\\ \amp= 3 \end{align*}
Therefore, there is only 1 solution, \(x = 3\text{.}\) Notice that the part under the square root was 0 in this case, which caused the β€œ\(\pm\)” to disappear, and led to 1 solution.

Example 4.8.2. A Quadratic with No Solutions.

Solve \(x^2 + 4x + 5 = 0\text{.}\) Using the quadratic formula, we have,
\begin{align*} x \amp= \frac{-4 \pm \sqrt{4^2 - 4(1)(5)}}{2(1)}\\ \amp= \frac{-4 \pm \sqrt{-4}}{2} \end{align*}
We can’t take the square root of a negative number, so there are no solutions.
In general,
  • 0 solutions if you try to use the quadratic formula and get a negative number under the square root.
  • 1 solution if you use the quadratic formula and get a 0 under the square root.
In general, in the quadratic formula,
\begin{equation*} x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \end{equation*}
The expression under the square root sign, \(b^2 - 4ac\text{,}\) can tell you how many solutions there are.
  • If \(b^2 - 4ac \gt 0\text{,}\) then there are two real solutions, given by the quadratic formula, one with the \(+\) sign and the other with the \(-\) sign. This is the β€œnormal” case.
  • If instead, \(b^2 - 4ac = 0\text{,}\) then \(\sqrt{b^2 - 4ac} = 0\text{,}\) and the quadratic equation simplifies to \(x = -\frac{b}{2a}\text{,}\) a single (real) solution.
  • Finally, if \(b^2 - 4ac \lt 0\text{,}\) then we can’t take the square root of a negative \(\sqrt{b^2 - 4ac}\text{,}\) so there are no solutions.
This quantity \(b^2 - 4ac\) is called the discriminant.

Subsection 4.8.1 Definition and Theorem

Definition 4.8.3. Discriminant.

The discriminant \(D\) of a quadratic expression \(ax^2 + bx + c\) is given by,
\begin{equation*} D = b^2 - 4ac \end{equation*}
The discriminant is also sometimes denoted by the Greek letter delta \(\Delta\text{,}\) because delta and discriminant both start with β€œd”.
In this way, the discriminant quite literally helps us β€œdiscriminate” (in other words, distinguish apart) between the possible types of roots of an equation.

Exercise Group 4.8.1. Determining Number of Zeros.

Find the number of zeros of each quadratic function, using the discriminant.

Exercise Group 4.8.2. Determining Number of Zeros II.

Subsection 4.8.2 Examples

Don’t forget, with inequalities, dividing by a negative means you flip the inequality sign!

Example 4.8.5. Finding k for One x-Intercept.

Example 4.8.6. Finding k for No Zeros.

Example 4.8.7. Finding k for One Zero.

Example 4.8.8. Finding k for All Cases.

For what values of \(k\) will the function \(f(x) = 3x^2 + 4x + k\) have no zeros, one zero, or two zeros?
Answer.
Two zeros for \(k \lt \frac{4}{3}\text{,}\) one zero for \(k = \frac{4}{3}\text{,}\) and no zeros for \(k \gt \frac{4}{3}\text{.}\)

Example 4.8.9. Graph Touches x-Axis.

The graph of the function \(f(x) = x^2 - kx + k + 8\) touches the \(x\)-axis at one point. What are the possible values of \(k\text{?}\)
Hint.
Leads to \(k^2 - 4k - 32 = 0\text{.}\)
Answer.
\(k = 8, -4\)

Example 4.8.10. Break-Even Analysis.

A market researcher predicted that the profit function for the first year of a new business would be \(P(x) = -0.3x^2 + 3x - 15\text{,}\) where \(x\) is based on the number of items produced. Will it be possible for the business to break even in its first year?
Hint.
Break even means \(P(x) = 0\text{.}\)
Answer.
No, because \(D = -9 \lt 0\text{,}\) so there are no zeros.

Example 4.8.11. Is an Equality Possible?

Is it possible for \(n^2 + 25\) to equal \(-8n\text{?}\)
Answer.
No, because if \(n^2 + 25 = -8n\text{,}\) then \(n^2 + 8n + 25 = 0\text{,}\) and its discriminant is \(-36 \lt 0\text{,}\) so there are no solutions.

Example 4.8.12. Finding k for Two Solutions.

Example 4.8.13. Finding k for Two Solutions II.

Find the values of \(k\) such that the equation \(2x^2-2kx+4=0\) has 2 solutions.
Answer.
\(k \gt \sqrt{8}\) or \(k \lt -\sqrt{8}\)

Subsection 4.8.3 Discriminant and Factorable Equations

We have seen that some quadratics are factorable, and some are not. Up to now, the only way to know if it isn’t factorable is to try every combination and check it doesn’t work. In fact, the discriminant also provides insight about this.
If the discriminant is positive and is a perfect square (that is, its square root is a rational number), then \(\sqrt{b^2 - 4ac}\) is rational, and this means that both solutions provided by the quadratic formula are rational. This means that the equation is factorable.

Example 4.8.15. Determining if Factorable.

Determine whether the quadratic equation \(6x^2-13x+5=0\) is factorable over the rational numbers, using the discriminant.
Answer.
Yes, because the discriminant is \((-13)^2 - 4(6)(5) = 169 - 120 = 49\text{,}\) which is a perfect square.