2. Functions

Discriminants

Discriminants in Functions

Welcome, students, to a key idea in the study of quadratic functions: the discriminant. This lesson will show how discriminants help us predict the number of solutions a quadratic equation has, connect algebraic form to graph shape, and support quick reasoning in IB Mathematics Analysis and Approaches SL 📘✨

What you will learn

  • What the discriminant is and why it matters
  • How to use the discriminant to determine the number of real roots of a quadratic equation
  • How discriminants connect to graphs of quadratic functions
  • How discriminants fit into the broader study of functions, equations, and modeling

A discriminant is useful because it gives important information without fully solving the equation. In many real situations, such as finding when a projectile hits the ground or when two business models intersect, you may want to know whether solutions exist, how many there are, and whether they are real numbers. The discriminant answers that quickly.

What is the discriminant?

For a quadratic equation in standard form,

$$ax^2+bx+c=0,$$

the discriminant is the expression

$$b^2-4ac.$$

It is called the discriminant because it “discriminates” between different types of solutions. The value of $b^2-4ac$ tells us how many real solutions the quadratic equation has.

If the discriminant is positive, then there are two distinct real roots. If it is zero, then there is exactly one real root, also called a repeated root or a double root. If it is negative, then there are no real roots, because the solutions are complex numbers.

This works because of the quadratic formula:

$$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}.$$

The expression inside the square root is the discriminant. Since the square root of a negative number is not real, the sign of the discriminant tells us whether real solutions exist.

For students, this is a powerful shortcut. Instead of solving every quadratic fully, you can use the discriminant to understand the equation first.

Interpreting the discriminant in graph form

A quadratic function has the form

$$f(x)=ax^2+bx+c.$$

Its graph is a parabola. The roots of the equation $ax^2+bx+c=0$ are the $x$-intercepts of the graph of $f(x)$.

When the discriminant is positive, the parabola crosses the $x$-axis at two points. When the discriminant is zero, the parabola touches the $x$-axis exactly once at its turning point. When the discriminant is negative, the parabola does not intersect the $x$-axis at all.

This creates a direct connection between algebra and geometry. The discriminant tells you about the intersection of the function with the horizontal axis. In IB Mathematics Analysis and Approaches SL, this is important because functions are not only formulas; they also have graphs, transformations, and real-world meanings.

Example 1:

Consider

$$f(x)=x^2-5x+6.$$

Here, $a=1$, $b=-5$, and $c=6$. The discriminant is

$$(-5)^2-4(1)(6)=25-24=1.$$

Because $1>0$, the equation $x^2-5x+6=0$ has two distinct real roots. Indeed, the graph of $f(x)$ crosses the $x$-axis twice.

Example 2:

Consider

$$f(x)=x^2+4x+4.$$

Here, $a=1$, $b=4$, and $c=4$. The discriminant is

$$4^2-4(1)(4)=16-16=0.$$

So there is one repeated real root. In fact,

$$x^2+4x+4=(x+2)^2,$$

so the parabola touches the $x$-axis at $x=-2$.

Example 3:

Consider

$$f(x)=x^2+x+1.$$

Here, $a=1$, $b=1$, and $c=1$. The discriminant is

$$1^2-4(1)(1)=1-4=-3.$$

Because the discriminant is negative, there are no real roots. The graph does not cross the $x$-axis.

Why the discriminant matters in problem solving

In mathematics and science, it is often useful to know whether a model has real solutions before doing more work. The discriminant helps you decide quickly.

Suppose a problem asks when a ball reaches a certain height. The model may lead to a quadratic equation. If the discriminant is positive, then the height is reached at two times. If it is zero, the ball just reaches that height once. If it is negative, then that height is never reached.

This also appears in business and optimization. For example, if two revenue models are set equal, the resulting quadratic equation can show whether the two models intersect. The discriminant tells whether there are zero, one, or two intersection points.

For students, this means discriminants are not only about abstract algebra. They are a fast way to interpret real situations modeled by quadratics.

Using discriminants in IB-style reasoning

In IB Mathematics Analysis and Approaches SL, you are expected to reason carefully with functions and equations. A common IB task is to determine the number of solutions without solving completely.

To do this, identify $a$, $b$, and $c$ from the quadratic equation, then calculate

$$b^2-4ac.$$

After that, interpret the result:

  • If $b^2-4ac>0$, there are two real roots.
  • If $b^2-4ac=0$, there is one real repeated root.
  • If $b^2-4ac<0$, there are no real roots.

Example 4:

How many real solutions does

$$2x^2-3x+5=0$$

have?

Here, $a=2$, $b=-3$, and $c=5$. The discriminant is

$$(-3)^2-4(2)(5)=9-40=-31.$$

Since $-31<0$, there are no real solutions.

Example 5:

How many real solutions does

$$3x^2+12x+12=0$$

have?

Here, $a=3$, $b=12$, and $c=12$. The discriminant is

$$12^2-4(3)(12)=144-144=0.$$

So there is one real repeated solution.

This type of reasoning is especially useful when the exact roots are not required. The discriminant gives enough information to make a clear mathematical conclusion.

Discriminants and transformations of quadratics

Quadratic functions often appear after transformations such as shifts, stretches, and reflections. The discriminant helps describe how these transformed graphs interact with the $x$-axis.

For example, consider

$$f(x)=(x-1)^2-4.$$

This is a transformed quadratic in vertex form. Expanding gives

$$f(x)=x^2-2x-3.$$

The discriminant is

$$(-2)^2-4(1)(-3)=4+12=16.$$

Since the discriminant is positive, the graph has two real roots. Indeed, a downward or upward shift can move the parabola so that it crosses the $x$-axis twice, once, or not at all.

This links discriminants to transformations because changing the constants in a quadratic changes where the graph sits relative to the axes. If the parabola moves upward enough, it may stop crossing the $x$-axis, causing the discriminant to become negative.

Connection to the broader topic of functions

Discriminants fit into the functions topic because they help you analyze the behavior of quadratic functions. Functions are about inputs, outputs, graphs, and relationships. The discriminant is one tool for studying those relationships.

In the larger functions unit, you may work with linear, quadratic, rational, exponential, and logarithmic models. Among these, quadratics are especially important because they produce parabolas and often lead to equations with two, one, or no real intersections.

The discriminant supports:

  • finding the number of $x$-intercepts of a quadratic function
  • understanding whether a quadratic equation has real solutions
  • interpreting model behavior in context
  • comparing graphical and algebraic views of a function

It also prepares you for more advanced function ideas. When you study composite functions or inverse functions later, you will still need to understand how algebraic conditions affect whether a function behaves in a useful way.

Common mistakes to avoid

One common mistake is forgetting that the discriminant applies to equations written in the form

$$ax^2+bx+c=0.$$

If the equation is not in standard form, rewrite it first.

Another mistake is confusing the sign of the discriminant with the sign of the roots. The discriminant does not directly tell whether roots are positive or negative. It only tells how many real roots there are.

A third mistake is forgetting that a zero discriminant means one repeated real root, not zero roots. The graph touches the $x$-axis once.

students, careful notation matters in IB mathematics. Write the equation clearly, identify $a$, $b$, and $c$, and then interpret the result correctly.

Conclusion

The discriminant is a small expression with a big role in quadratic functions. By calculating

$$b^2-4ac,$$

you can quickly determine whether a quadratic equation has two real roots, one real repeated root, or no real roots. This connects algebra to graphs, supports problem solving, and strengthens your understanding of functions in IB Mathematics Analysis and Approaches SL.

When you see a quadratic, think of the discriminant as a quick check on the behavior of the function. It is one of the most efficient ways to connect the equation to its meaning 📈

Study Notes

  • The discriminant of $ax^2+bx+c=0$ is $b^2-4ac$.
  • If $b^2-4ac>0$, there are two distinct real roots.
  • If $b^2-4ac=0$, there is one repeated real root.
  • If $b^2-4ac<0$, there are no real roots.
  • The discriminant is the expression under the square root in the quadratic formula $x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$.
  • For the graph of $f(x)=ax^2+bx+c$, the discriminant tells how many times the parabola meets the $x$-axis.
  • Positive discriminant → two $x$-intercepts.
  • Zero discriminant → one tangent point on the $x$-axis.
  • Negative discriminant → no $x$-intercepts.
  • Discriminants are useful in modeling because they show whether a real solution exists before solving fully.
  • In IB Mathematics Analysis and Approaches SL, discriminants help connect function notation, graphs, and equation-solving reasoning.

Practice Quiz

5 questions to test your understanding

Discriminants — IB Mathematics Analysis And Approaches SL | A-Warded