2. Functions

Discriminants

Discriminants in Functions

Introduction: Why does a quadratic sometimes cross the $x$-axis twice, once, or not at all? 🎯

students, when you graph a quadratic function, one of the most important questions is whether the graph touches or crosses the $x$-axis. This matters because the $x$-intercepts are the solutions to the equation $f(x)=0$. In IB Mathematics: Analysis and Approaches HL, this idea is captured by the discriminant.

The discriminant helps us predict the number of real solutions of a quadratic equation without solving it completely. That makes it a powerful tool in function work, especially when studying polynomial graphs, roots, and intersections. It is also useful in real-world situations such as projectile motion, area problems, and optimization, where equations often need to be solved quickly and interpreted carefully.

Learning objectives

By the end of this lesson, students, you should be able to:

  • explain the key ideas and terminology behind the discriminant,
  • use the discriminant to determine the number of real roots of a quadratic,
  • connect discriminants to graph features of functions,
  • apply discriminants in IB-style reasoning and problem solving,
  • summarize how discriminants fit into the wider study of functions.

What is the discriminant?

A quadratic equation is usually written in the form $ax^2+bx+c=0$, where $a\ne 0$.

For this equation, the discriminant is the expression

$$\Delta=b^2-4ac$$

The symbol $\Delta$ is often read as “delta.” It tells us about the roots of the quadratic equation.

The word discriminant is important because it “discriminates” between different cases:

  • $\Delta>0$ means two distinct real roots,
  • $\Delta=0$ means one real repeated root,
  • $\Delta<0$ means no real roots.

This is linked to the quadratic formula:

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

The expression inside the square root is exactly the discriminant, $b^2-4ac$. Since a square root of a negative number is not real, the sign of $\Delta$ tells us whether real solutions exist.

Why this matters in functions

When studying the function $f(x)=ax^2+bx+c$, finding the roots means solving $f(x)=0$. The discriminant tells us how many times the graph meets the $x$-axis:

  • two intersections if $\Delta>0$,
  • one tangent point if $\Delta=0$,
  • no intersections if $\Delta<0$.

This means the discriminant is not just an algebra tool; it is also a graphing tool 📈.

Using the discriminant to analyze quadratic functions

Let’s look at examples of how students can use the discriminant.

Example 1: Two real roots

Consider

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

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

Compute the discriminant:

$$\Delta=b^2-4ac=(-5)^2-4(1)(6)=25-24=1$$

Since $\Delta>0$, the equation has two distinct real roots.

If we solve it, we get

$$x^2-5x+6=(x-2)(x-3)=0$$

So the roots are $x=2$ and $x=3$.

This matches the discriminant prediction perfectly.

Example 2: One repeated root

Consider

$$x^2-4x+4=0$$

Here, $a=1$, $b=-4$, and $c=4$.

The discriminant is

$$\Delta=(-4)^2-4(1)(4)=16-16=0$$

Since $\Delta=0$, there is exactly one real root, repeated twice.

Factorizing gives

$$x^2-4x+4=(x-2)^2=0$$

So the root is $x=2$.

On the graph, the parabola touches the $x$-axis at exactly one point and turns back around. This is called tangent to the axis.

Example 3: No real roots

Consider

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

Here, $a=1$, $b=2$, and $c=5$.

The discriminant is

$$\Delta=2^2-4(1)(5)=4-20=-16$$

Since $\Delta<0$, there are no real roots.

That means the graph does not meet the $x$-axis. The quadratic still has solutions in the complex numbers, but in the real coordinate plane, there are no intercepts.

Interpreting discriminants in graphs and contexts

The discriminant gives information about the shape and position of a quadratic graph relative to the $x$-axis. This is extremely useful when the exact roots are not needed.

Suppose a question asks: “For what values of $k$ does the equation $x^2+kx+9=0$ have two real roots?”

Using the discriminant:

$$\Delta=k^2-4(1)(9)=k^2-36$$

For two real roots, we need

$$\Delta>0$$

So

$$k^2-36>0$$

which gives

$$k^2>36$$

Therefore,

$$k<-6\quad \text{or} \quad k>6$$

This kind of reasoning is very common in IB HL questions because it combines algebra, inequalities, and function interpretation.

Key connection to function language

If $f(x)=x^2+kx+9$, then the condition for real zeros is the same as the condition for the graph to cross the $x$-axis. So discriminants help us talk about functions using precise mathematical language.

Instead of saying “it probably crosses,” students can say:

  • the function has two real zeros,
  • the function has one repeated zero,
  • the function has no real zeros.

That is clear, correct, and mathematically strong 💡.

Solving inequality problems using the discriminant

The discriminant often appears in problems where the question is not to find roots, but to find values of a parameter that produce certain root behavior.

Example 4: Conditions for two roots

Find the values of $m$ for which

$$x^2+2mx+m=0$$

has two distinct real roots.

Here,

$$a=1,\quad b=2m,\quad c=m$$

So the discriminant is

$$\Delta=(2m)^2-4(1)(m)=4m^2-4m$$

For two distinct real roots,

$$\Delta>0$$

Thus,

$$4m^2-4m>0$$

Factor out $4m$:

$$4m(m-1)>0$$

Since $4>0$, the sign depends on

$$m(m-1)>0$$

This is true when

$$m<0\quad \text{or} \quad m>1$$

So the equation has two distinct real roots for those values of $m$.

This is a classic IB-style application because it uses both the discriminant and sign analysis.

Example 5: One repeated root

If the question asks for a repeated root, set

$$\Delta=0$$

Using the same equation

$$x^2+2mx+m=0$$

we get

$$4m^2-4m=0$$

Factorize:

$$4m(m-1)=0$$

So

$$m=0\quad \text{or} \quad m=1$$

These are the values for which the quadratic has exactly one real repeated root.

How discriminants fit into the wider topic of functions

Discriminants belong to the larger study of functions because they help analyze roots, graphs, and intersections. In IB Mathematics: Analysis and Approaches HL, functions are not only about calculating values; they are about understanding behavior.

Discriminants connect to several important function ideas:

  • Polynomial functions: especially quadratics, where the discriminant is most direct.
  • Graph interpretation: the sign of $\Delta$ tells how many times the graph meets the $x$-axis.
  • Equations and inequalities: discriminants help determine when a function is positive, negative, or zero.
  • Modelling: in real-world problems, discriminants help identify whether a model has meaningful real solutions.

For example, if a ball is thrown upward, its height may be modeled by a quadratic function such as

$$h(t)=-5t^2+20t+1$$

To find when the ball hits the ground, solve

$$-5t^2+20t+1=0$$

The discriminant helps confirm whether there are real times when the height is zero. Since time cannot be negative in the physical situation, interpretation matters as much as calculation.

This is a major part of IB reasoning: the mathematics must fit the context.

Common mistakes to avoid 🚫

students, here are some mistakes students often make:

  • forgetting that the discriminant is $b^2-4ac$, not just $b^2-4c$,
  • using the wrong sign for $b$ when substituting values,
  • confusing the number of real roots with the total number of roots,
  • forgetting that $\Delta=0$ means one repeated real root,
  • stopping at calculation without interpreting the answer in terms of the function.

Always remember to state what the result means for the graph.

Conclusion

The discriminant is a fast and powerful way to study quadratic functions. By calculating $\Delta=b^2-4ac$, students can predict whether a quadratic has two real roots, one repeated root, or no real roots. This links algebra to graph behavior and helps solve inequality and parameter problems in a structured way.

In IB Mathematics: Analysis and Approaches HL, discriminants are important because they support deeper understanding of functions, not just routine solving. They help you connect formulas, graphs, and real-world interpretation. When used carefully, they make quadratic analysis more efficient and more meaningful.

Study Notes

  • The discriminant of $ax^2+bx+c=0$ is $\Delta=b^2-4ac$.
  • If $\Delta>0$, there are two distinct real roots.
  • If $\Delta=0$, there is one real repeated root.
  • If $\Delta<0$, there are no real roots.
  • For the graph of $f(x)=ax^2+bx+c$, the discriminant tells how many times the graph meets the $x$-axis.
  • The discriminant comes from the quadratic formula

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

  • In parameter problems, set $\Delta>0$, $\Delta=0$, or $\Delta<0$ depending on the condition asked.
  • Discriminants are part of function analysis because they describe roots, intersections, and graph behavior.
  • Always interpret the answer in context, especially in applied problems.

Practice Quiz

5 questions to test your understanding