Quadratic Solver • Discriminant • Real & Complex Roots

Quadratic Formula Calculator

Use this Quadratic Formula Calculator to solve equations in the form \( ax^2+bx+c=0 \), find the discriminant \( \Delta=b^2-4ac \), identify the number and type of solutions, and see a clear step-by-step explanation.

Standard formEnter \( a \), \( b \), and \( c \) for \( ax^2+bx+c=0 \).
Vertex formUse \( a(x-h)^2+k=0 \) and convert automatically.
Factored formUse \( a(x-x_1)(x-x_2)=0 \) and expand instantly.

Select formula and enter parameters

Formula form

Standard form selected.
Enter coefficients \( a \), \( b \), and \( c \).

After entering values, the calculator automatically computes the discriminant, roots, vertex, axis of symmetry, and step-by-step solution.

Results \( \Delta \) & solutions

Enter values and calculate.
Discriminant \( \Delta=b^2-4ac \)
-23
Solution \( x_1 \)
-0.75 + 1.199i
Solution \( x_2 \)
-0.75 - 1.199i
Vertex
\((-0.75,2.875)\)

Quadratic formula

The quadratic formula is the main method for solving any quadratic equation written in standard form. A quadratic equation has degree \(2\), meaning the highest power of the variable is \(x^2\). The standard form is:

\[ ax^2+bx+c=0 \]

Here, \(a\), \(b\), and \(c\) are coefficients, and \(a\neq0\). The coefficient \(a\) controls the width and opening direction of the parabola, \(b\) affects the horizontal position and slope behavior, and \(c\) is the y-intercept of the graph. Once the equation is in standard form, the solutions are found using:

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

The expression under the square root is called the discriminant. It is usually written as:

\[ \Delta=b^2-4ac \]

The discriminant tells you whether the equation has two real solutions, one repeated real solution, or two complex solutions. This calculator follows the same structure: it first identifies \(a\), \(b\), and \(c\), then calculates \( \Delta \), then substitutes everything into the quadratic formula, and finally simplifies the solutions.

How to use the Quadratic Formula Calculator

  1. Select the equation form. Choose standard form \(ax^2+bx+c=0\), vertex form \(a(x-h)^2+k=0\), or factored form \(a(x-x_1)(x-x_2)=0\).
  2. Enter the parameters. For standard form, enter \(a\), \(b\), and \(c\). For vertex form, enter \(a\), \(h\), and \(k\). For factored form, enter \(a\), \(x_1\), and \(x_2\).
  3. Calculate the discriminant. The calculator uses \( \Delta=b^2-4ac \) after converting the selected form into standard form if needed.
  4. Find the solutions. The roots are calculated with \(x=\frac{-b\pm\sqrt{\Delta}}{2a}\). If \( \Delta<0 \), the roots are complex.
  5. Read the explanation. The step-by-step section shows substitution, classification, vertex, and axis of symmetry.

This design is useful for students because it connects different representations of a quadratic. Many calculators only solve standard form, but students often meet the same quadratic in vertex form or factored form. By allowing all three, this tool helps users understand how the forms are connected instead of treating them as separate topics.

What is a quadratic equation?

A quadratic equation is a polynomial equation of degree \(2\). The general form is \(ax^2+bx+c=0\), where \(a\), \(b\), and \(c\) are real or complex constants and \(a\neq0\). The condition \(a\neq0\) is essential. If \(a=0\), the equation becomes linear, not quadratic, because the \(x^2\) term disappears.

Quadratic equations appear in algebra, coordinate geometry, physics, economics, business modeling, projectile motion, optimization, area problems, and graph interpretation. Their graphs are parabolas. A parabola can open upward or downward depending on the sign of \(a\). If \(a>0\), the parabola opens upward and has a minimum point. If \(a<0\), the parabola opens downward and has a maximum point.

The solutions of a quadratic equation are also called roots, zeros, or x-intercepts. They represent the values of \(x\) that make the expression equal to zero. On a graph, real roots are the points where the parabola crosses or touches the x-axis. If the roots are complex, the parabola does not intersect the x-axis, even though the equation still has two solutions in the complex number system.

Meaning of \(a\), \(b\), and \(c\)

In the equation \(ax^2+bx+c=0\), each coefficient has a specific role. The coefficient \(a\) is the leading coefficient. It determines the direction and width of the parabola. A larger absolute value of \(a\) makes the parabola narrower, while a smaller absolute value makes it wider. The sign of \(a\) controls whether the parabola opens upward or downward.

The coefficient \(b\) influences the position of the axis of symmetry and the location of the vertex. The axis of symmetry is calculated by:

\[ x=-\frac{b}{2a} \]

The coefficient \(c\) is the constant term. In the function \(y=ax^2+bx+c\), \(c\) is the y-intercept because when \(x=0\), the value of \(y\) is \(c\). For example, \(y=2x^2+3x+4\) crosses the y-axis at \(4\).

Understanding these coefficients helps you interpret the calculator output. The solutions tell you where the graph meets the x-axis, the vertex tells you the turning point, and the discriminant tells you the type of root behavior before you even simplify the final answers.

The discriminant and solution types

The discriminant is one of the most useful parts of the quadratic formula. It is the expression \(b^2-4ac\). Because it appears inside the square root, it controls the type of answer the equation will have. The discriminant is written as \( \Delta \), so:

\[ \Delta=b^2-4ac \]
Discriminant Solution type Graph meaning
\(\Delta>0\) Two distinct real solutions The parabola crosses the x-axis at two different points.
\(\Delta=0\) One repeated real solution The parabola touches the x-axis at the vertex.
\(\Delta<0\) Two complex conjugate solutions The parabola does not intersect the x-axis.

For example, if \(a=2\), \(b=3\), and \(c=4\), then \( \Delta=3^2-4(2)(4)=9-32=-23 \). Since \( \Delta<0 \), the calculator returns two complex conjugate roots. The graph of \(y=2x^2+3x+4\) opens upward and stays above the x-axis, so it has no real x-intercepts.

Worked example with complex roots

Suppose the equation is:

\[ 2x^2+3x+4=0 \]

Here, \(a=2\), \(b=3\), and \(c=4\). First calculate the discriminant:

\[ \Delta=b^2-4ac=3^2-4(2)(4)=9-32=-23 \]

Since the discriminant is negative, the square root becomes imaginary:

\[ \sqrt{-23}=i\sqrt{23} \]

Now substitute into the quadratic formula:

\[ x=\frac{-3\pm i\sqrt{23}}{4} \]

So the exact solutions are:

\[ x_1=\frac{-3+i\sqrt{23}}{4}, \qquad x_2=\frac{-3-i\sqrt{23}}{4} \]

In decimal form, these are approximately \(x_1=-0.75+1.199i\) and \(x_2=-0.75-1.199i\). Complex roots always appear in conjugate pairs when the coefficients \(a\), \(b\), and \(c\) are real.

Worked example with two real roots

Now consider:

\[ x^2-5x+6=0 \]

Here, \(a=1\), \(b=-5\), and \(c=6\). The discriminant is:

\[ \Delta=(-5)^2-4(1)(6)=25-24=1 \]

Because \( \Delta>0 \), the equation has two distinct real solutions. Substitute into the formula:

\[ x=\frac{-(-5)\pm\sqrt{1}}{2(1)}=\frac{5\pm1}{2} \]

Therefore:

\[ x_1=3,\qquad x_2=2 \]

This same equation can also be solved by factoring because \(x^2-5x+6=(x-2)(x-3)\). The quadratic formula still works, and it is especially useful when factoring is not obvious.

Worked example with one repeated root

Consider the equation:

\[ x^2-6x+9=0 \]

Here, \(a=1\), \(b=-6\), and \(c=9\). Calculate the discriminant:

\[ \Delta=(-6)^2-4(1)(9)=36-36=0 \]

Because \( \Delta=0 \), there is exactly one repeated real root:

\[ x=\frac{-(-6)}{2(1)}=3 \]

The graph touches the x-axis at \(x=3\). It does not cross the axis. Algebraically, the equation is \( (x-3)^2=0 \). This repeated solution is also called a double root.

Vertex form and standard form

Vertex form is written as:

\[ a(x-h)^2+k=0 \]

The vertex of the parabola is \( (h,k) \). This form is very useful for graphing because it gives the turning point directly. However, the quadratic formula needs standard form, so the calculator expands vertex form automatically:

\[ a(x-h)^2+k = a(x^2-2hx+h^2)+k \]
\[ ax^2-2ahx+(ah^2+k)=0 \]

So the standard-form coefficients are:

\[ b=-2ah,\qquad c=ah^2+k \]

For example, \(2(x-3)^2-8=0\) becomes \(2x^2-12x+10=0\). From there, the calculator applies the discriminant and quadratic formula exactly as it would for any standard-form equation.

Factored form and standard form

Factored form is written as:

\[ a(x-x_1)(x-x_2)=0 \]

This form immediately reveals the roots: \(x=x_1\) and \(x=x_2\). Still, expanding factored form is useful because it shows how the same equation connects to \(a\), \(b\), and \(c\). The expansion is:

\[ a(x-x_1)(x-x_2)=a(x^2-(x_1+x_2)x+x_1x_2) \]

So the standard-form coefficients are:

\[ b=-a(x_1+x_2),\qquad c=ax_1x_2 \]

For example, \( (x-2)(x+3)=0 \) becomes \(x^2+x-6=0\). The roots are \(2\) and \(-3\). If the equation includes a leading coefficient such as \(3(x-2)(x+3)=0\), the roots are still \(2\) and \(-3\), but the expanded standard form becomes \(3x^2+3x-18=0\).

Completing the square and the quadratic formula

The quadratic formula is not a random rule. It comes from completing the square. Starting with:

\[ ax^2+bx+c=0 \]

Move \(c\) to the other side and divide by \(a\):

\[ x^2+\frac{b}{a}x=-\frac{c}{a} \]

Complete the square by adding \( \left(\frac{b}{2a}\right)^2 \) to both sides:

\[ \left(x+\frac{b}{2a}\right)^2=\frac{b^2-4ac}{4a^2} \]

Taking square roots gives:

\[ x+\frac{b}{2a}=\pm\frac{\sqrt{b^2-4ac}}{2a} \]

Finally, subtract \( \frac{b}{2a} \):

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

This derivation helps students understand why the discriminant appears and why the denominator is \(2a\). It also shows the connection between the quadratic formula and vertex form.

Graph meaning of the quadratic formula

The quadratic formula does more than solve equations. It gives information about the graph of a parabola. When solving \(ax^2+bx+c=0\), you are finding the x-values where the graph \(y=ax^2+bx+c\) intersects the x-axis. These x-values are the roots.

If the discriminant is positive, the graph crosses the x-axis twice. If the discriminant is zero, the graph touches the x-axis once at the vertex. If the discriminant is negative, the graph does not touch the x-axis at all, so the roots are complex. This is why the calculator displays both the discriminant and the vertex.

The vertex is calculated using:

\[ x_v=-\frac{b}{2a},\qquad y_v=f(x_v) \]

The vertical line \(x=-\frac{b}{2a}\) is the axis of symmetry. It cuts the parabola into two mirror-image halves. The roots, when real, are symmetric around this axis. This symmetry is one reason the quadratic formula includes the central term \( -\frac{b}{2a} \).

Common mistakes when using the quadratic formula

  • Forgetting that \(a\neq0\). If \(a=0\), the equation is linear and the quadratic formula does not apply.
  • Using the wrong sign for \(b\). The formula begins with \( -b \), so if \(b\) is negative, \( -b \) becomes positive.
  • Forgetting parentheses. Expressions like \( (-5)^2 \) must be squared carefully. Without parentheses, signs are often mishandled.
  • Calculating the discriminant incorrectly. The correct expression is \( b^2-4ac \), not \( b^2+4ac \).
  • Dividing only part of the numerator by \(2a\). The entire numerator \( -b\pm\sqrt{\Delta} \) is divided by \(2a\).
  • Ignoring complex roots. A negative discriminant does not mean there is no solution. It means there are no real solutions, but there are complex solutions.
  • Rounding too early. Keep exact form as long as possible, especially when working with square roots.

The best way to avoid these errors is to write the values of \(a\), \(b\), and \(c\) clearly before substituting. Then calculate the discriminant separately. Once \( \Delta \) is correct, the rest of the process becomes much safer.

When should you use the quadratic formula?

The quadratic formula works for every quadratic equation, so it is the most reliable method. However, it is not always the fastest method. If the equation factors easily, factoring may be quicker. If the equation is already in vertex form, solving by square roots may be faster. If the equation has decimal or difficult coefficients, the quadratic formula is usually the safest option.

Use the quadratic formula when factoring is not obvious, when the discriminant is important, when the answer may involve radicals or complex numbers, or when you need an exact general method. In exams, the quadratic formula is especially useful because it reduces guesswork. It gives a clear process that works consistently.

The calculator also helps users compare methods. For example, factored form shows roots quickly, vertex form shows the turning point quickly, and standard form works directly with the formula. Seeing all three forms together builds stronger algebraic understanding.

Exact form versus decimal form

A quadratic solution can be written exactly or approximately. Exact form keeps square roots and fractions. Decimal form rounds the answer. For example:

\[ x=\frac{-3\pm\sqrt{5}}{2} \]

This is exact. A decimal approximation would be:

\[ x\approx-0.382,\qquad x\approx-2.618 \]

Exact form is preferred in algebra because it preserves the full value. Decimal form is useful when graphing, measuring, estimating, or interpreting real-world answers. This calculator gives clean decimal values and also explains the formula steps so students can understand the structure behind the result.

Real-world uses of quadratic equations

Quadratic equations are used whenever a relationship involves a squared variable. In physics, projectile motion often uses quadratic models because height changes according to gravity. In business, profit models can be quadratic when revenue and cost relationships create a maximum profit point. In geometry, area problems often produce quadratic equations because area frequently involves multiplying two changing lengths.

For example, the height of a thrown object may be modeled by:

\[ h(t)=-16t^2+v_0t+h_0 \]

Solving \(h(t)=0\) tells you when the object hits the ground. This is a quadratic equation in time. The quadratic formula can then find the physically meaningful time value. In optimization, the vertex helps identify maximum or minimum values, such as maximum height, maximum profit, or minimum cost.

Because quadratics appear in many contexts, understanding the formula is not just an algebra exercise. It is a general problem-solving tool for equations that curve, turn, rise, fall, and intersect axes.

Related calculators and study tools

After solving a quadratic equation, students often need related tools for graphing, factoring, functions, and algebra practice. These links can help users continue learning on NUM8ERS.

Update these internal links if your final NUM8ERS URL structure uses different calculator paths.

Quadratic Formula Calculator FAQs

What is the quadratic formula?

The quadratic formula is \(x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}\). It solves any quadratic equation written as \(ax^2+bx+c=0\), where \(a\neq0\).

What is the discriminant?

The discriminant is \( \Delta=b^2-4ac \). It tells whether a quadratic equation has two real roots, one repeated real root, or two complex roots.

What happens if the discriminant is negative?

If \( \Delta<0 \), the equation has no real roots, but it has two complex conjugate roots. The graph does not cross the x-axis.

Can every quadratic be solved with the quadratic formula?

Yes. As long as the equation is quadratic and \(a\neq0\), the quadratic formula works. It can solve equations that are easy to factor and equations that cannot be factored neatly.

What does \(a=0\) mean?

If \(a=0\), the equation is not quadratic because the \(x^2\) term disappears. The equation becomes linear, so the quadratic formula should not be used.

What is the axis of symmetry of a quadratic?

The axis of symmetry is \(x=-\frac{b}{2a}\). It is the vertical line passing through the vertex of the parabola.