discriminant calculator

Discriminant Calculator

A discriminant calculator helps you find the discriminant of a quadratic equation and quickly determine what kind of roots it has.

For a quadratic equation written as:

ax² + bx + c = 0

the discriminant is calculated with:

Δ = b² − 4ac

The value of Δ tells you whether the equation has two distinct real roots, one repeated real root, or two complex conjugate roots.

In this guide, you will learn how to calculate the discriminant step by step, understand what the result means, and see how it connects to the quadratic formula and the graph of a parabola.

What Is a Discriminant?

The discriminant is a value obtained from the coefficients of a quadratic equation.

For:

ax² + bx + c = 0

the three coefficients are:

  • a — coefficient of x²
  • b — coefficient of x
  • c — constant term

The discriminant formula is:

Δ = b² − 4ac

The symbol Δ is called delta.

One of the main benefits of the discriminant is that you can determine the nature of the roots without solving the entire equation.


Discriminant Formula

The standard formula for calculating the discriminant is:

Δ = b² − 4ac

For example, consider:

2x² − 3x − 2 = 0

Here:

  • a = 2
  • b = −3
  • c = −2

Substitute these values:

Δ = (−3)² − 4(2)(−2)

Δ = 9 + 16

Δ = 25

So, the discriminant of the equation is 25.

The important part is to identify the coefficients correctly before applying the formula. A negative sign belongs to the coefficient, so if b = −3, you must use (−3)².


How to Calculate the Discriminant

You can calculate the discriminant of a quadratic equation in five simple steps.

Step 1: Write the Equation in Standard Form

Make sure the equation is written as:

ax² + bx + c = 0

For example:

3x² + 5x − 2 = 0

Step 2: Identify the Coefficients

From this equation:

  • a = 3
  • b = 5
  • c = −2

Step 3: Apply the Formula

Use:

Δ = b² − 4ac

Substitute the values:

Δ = (5)² − 4(3)(−2)

Step 4: Simplify

Δ = 25 + 24

Δ = 49

Step 5: Interpret the Result

Since:

Δ = 49 > 0

the equation has two distinct real roots.

This method works for any quadratic equation that can be written in standard form.


What Does the Discriminant Tell You?

The sign of the discriminant tells you what type of roots a quadratic equation has.

DiscriminantResult
Δ > 0Two distinct real roots
Δ = 0One repeated real root
Δ < 0Two complex conjugate roots

Positive Discriminant: Δ > 0

When the discriminant is positive, the equation has two different real roots.

For example:

x² − 5x + 6 = 0

Here:

Δ = (−5)² − 4(1)(6)

Δ = 25 − 24 = 1

Because 1 > 0, the equation has two distinct real roots.

In fact, the equation factors as:

(x − 2)(x − 3) = 0

so the roots are x = 2 and x = 3.

Zero Discriminant: Δ = 0

When the discriminant is zero, the equation has one repeated real root.

Consider:

x² − 6x + 9 = 0

Calculate:

Δ = (−6)² − 4(1)(9)

Δ = 36 − 36

Δ = 0

The equation has a repeated root. In this example:

(x − 3)² = 0

so the root is x = 3.

Negative Discriminant: Δ < 0

When the discriminant is negative, the equation has two repeated real root.

For example:

x² + 4x + 8 = 0

Calculate:

Δ = 4² − 4(1)(8)

Δ = 16 − 32

Δ = −16

Since the discriminant is negative, the equation does not have real roots. Its roots are complex.


Discriminant Calculator Examples

Looking at all three possible cases makes the concept easier to understand.

Example 1: Discriminant Greater Than Zero

Find the discriminant of:

2x² − 3x − 2 = 0

Identify the coefficients:

  • a = 2
  • b = −3
  • c = −2

Apply the formula:

Δ = (−3)² − 4(2)(−2)

Δ = 9 + 16

Δ = 25

Because Δ > 0, there are two distinct real roots.

Using the quadratic formula gives:

x = 2 and x = −1/2


Example 2: Discriminant Equal to Zero

Find the discriminant of:

x² − 6x + 9 = 0

Here:

  • a = 1
  • b = −6
  • c = 9

Therefore:

Δ = (−6)² − 4(1)(9)

Δ = 36 − 36

Δ = 0

So, the equation has one repeated real root:

x = 3


Example 3: Discriminant Less Than Zero

Find the discriminant of:

x² + 4x + 8 = 0

Here:

  • a = 1
  • b = 4
  • c = 8

Therefore:

Δ = 4² − 4(1)(8)

Δ = 16 − 32

Δ = −16

Because Δ < 0, the equation has two complex conjugate roots rather than real roots.


How to Use a Discriminant Calculator

A discriminant calculator can save time when you need to check several quadratic equations.

A simple process is:

  1. Enter the quadratic equation or its coefficients.
  2. Identify the values of a, b, and c.
  3. Calculate the discriminant using b² − 4ac.
  4. Check whether the result is positive, zero, or negative.
  5. Use the result to determine the type of roots.

For example, if you enter:

2x² − 3x − 2 = 0

the calculation gives:

Δ = 25

Since the result is positive, there are two distinct real roots.

For learning, it is useful to calculate the problem yourself first and then use the calculator to verify your answer.


Discriminant and the Quadratic Formula

The discriminant is closely connected to the quadratic formula:

x = (−b ± √Δ) / 2a

The discriminant appears under the square-root sign. That is why its value determines the type of roots.

  • Δ > 0: the square root is real and nonzero, giving two distinct real roots.
  • Δ = 0: the square root is zero, giving one repeated real root.
  • Δ < 0: the square root involves a negative number, resulting in complex roots.

So, the discriminant can tell you what type of answer to expect before you calculate the actual roots.


Discriminant and the Graph of a Quadratic

The discriminant also has a useful connection with the graph of a quadratic function.

A quadratic function produces a parabola, and the discriminant tells you how that parabola relates to the x-axis.

When Δ > 0

The parabola crosses the x-axis at two points.

This corresponds to two distinct real roots.

When Δ = 0

The parabola touches the x-axis at one point.

This corresponds to one repeated real root.

When Δ < 0

The parabola does not cross the x-axis.

This corresponds to two complex conjugate roots.

This gives you a visual way to understand what the discriminant is telling you.


Common Mistakes When Calculating the Discriminant

Most discriminant mistakes come from incorrect substitution rather than from the formula itself.

Forgetting to Square a Negative Number

If:

b = −5

then:

b² = (−5)² = 25

It is not −25.

Using the Wrong Sign for c

For:

x² + 3x − 7 = 0

the value of c is −7.

Forgetting the 4 in 4ac

The formula is:

b² − 4ac

not:

b² − ac

Getting the Sign of 4ac Wrong

If a = 2 and c = −3:

4ac = 4(2)(−3) = −24

Therefore:

b² − 4ac = b² − (−24)

which becomes addition.

Using the Formula Before Standardizing the Equation

Always rearrange the equation into:

ax² + bx + c = 0

before identifying a, b, and c.


Discriminant vs Quadratic Formula

The discriminant and quadratic formula work together, but they do different jobs.

DiscriminantQuadratic Formula
Δ = b² − 4acx = (−b ± √Δ) / 2a
Determines the nature of the rootsCalculates the root values
Tells whether roots are real or complexGives the actual solutions
Uses a, b, and cUses a, b, c, and Δ

In simple terms, the discriminant tells you what kind of roots you have, while the quadratic formula can be used to find their values.


Can the Discriminant Be Used for Any Quadratic Equation?

The standard discriminant formula applies to a quadratic equation in the form:

ax² + bx + c = 0

The coefficient a must be nonzero. If a = 0, the equation is no longer quadratic.

If an equation is written differently, first rearrange it into standard form. Then identify a, b, and c before calculating the discriminant.


Frequently Asked Questions About the Discriminant

What is the discriminant formula?

The discriminant formula is:

Δ = b² − 4ac

for a quadratic equation written as ax² + bx + c = 0.

What does a positive discriminant mean?

A positive discriminant means the equation has two distinct real roots.

What does a zero discriminant mean?

A zero discriminant means the equation has one repeated real root.

What does a negative discriminant mean?

A negative discriminant means the equation has two complex conjugate roots and no real roots.

How do you find the discriminant?

Write the equation in standard form, identify a, b, and c, and substitute them into Δ = b² − 4ac.

Can the discriminant be zero?

Yes. When Δ = 0, the quadratic has one repeated real root.

What is the difference between the discriminant and the quadratic formula?

The discriminant determines the nature of the roots, while the quadratic formula can calculate their actual values.

How does the discriminant relate to a parabola?

A positive discriminant means the parabola crosses the x-axis twice, zero means it touches the x-axis once, and a negative discriminant means it does not cross the x-axis.


Final Takeaway

The discriminant provides a quick way to understand the roots of a quadratic equation.

For:

ax² + bx + c = 0

use:

Δ = b² − 4ac

Then interpret the result:

  • Δ > 0 → two distinct real roots
  • Δ = 0 → one repeated real root
  • Δ < 0 → two complex conjugate roots

A discriminant calculator can make these calculations faster and help you check your work. The key is to identify the coefficients correctly, apply the formula carefully, and use the sign of Δ to understand the result.

Publicaciones Similares

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *