Everything Student

Quadratic Formula Calculator

Solve any quadratic equation ax² + bx + c = 0, including complex roots, and see the discriminant and the parabola's vertex.

  • Math
  • Instant Results
  • Works Offline

Solves a x squared plus b x plus c equals 0.

Any equation you can write as ax² + bx + c = 0 can be solved with the quadratic formula. Enter the three coefficients and this calculator gives the solutions, real or complex, tells you why there are two, one or none that are real, and finds the parabola’s vertex.

How to Use It

  1. Rearrange your equation so one side is 0, in the form ax² + bx + c = 0.
  2. Enter a, b and c, keeping each sign. Use 0 for a missing term.
  3. Press Calculate to see the solutions, the discriminant, the vertex and the axis of symmetry.

How It Works

The quadratic formula gives both solutions at once:

x=−b±b2−4ac2ax = \frac{-\vB{b} \pm \sqrt{\vB{b}^2 - 4\vA{a}\vC{c}}}{2\vA{a}}

The part under the square root, the discriminant b2−4acb^2 - 4ac, decides what kind of solutions you get: two real ones if it’s positive, one repeated one if it’s 0, and a pair of complex ones if it’s negative.

The vertex of the parabola y=ax2+bx+cy = ax^2 + bx + c sits at x=−b2ax = -\frac{b}{2a}; put that x back into the equation to get its y. The vertical line through it is the axis of symmetry.

Worked Example

Solve x2−5x+6=0x^2 - 5x + 6 = 0, so a = 1, b = −5 and c = 6:

b2−4ac=25−24=1b^2 - 4ac = 25 - 24 = 1 x=5±12=3 or 2x = \frac{5 \pm \sqrt{1}}{2} = 3 \text{ or } 2

The vertex is at x=52=2.5x = \frac{5}{2} = 2.5, where y=2.52−5(2.5)+6=−0.25y = 2.5^2 - 5(2.5) + 6 = -0.25.

Tips and Common Mistakes

  • Set it equal to 0 first. For x2=5x−6x^2 = 5x - 6, move everything to one side: x2−5x+6=0x^2 - 5x + 6 = 0.
  • Keep the signs. In x2−5x+6x^2 - 5x + 6, b is −5, not 5; a sign slip changes both answers.
  • Square all of b. (−5)2=25(-5)^2 = 25, so a negative b still gives a positive b2b^2.
  • Divide the whole top by 2a, not just the square root.
  • Check your answers. Put each solution back into the equation; it should give 0.

Frequently Asked Questions

What is the quadratic formula?

x = (−b ± √(b² − 4ac)) / 2a. It gives the solutions of any equation of the form ax² + bx + c = 0.

What does the discriminant tell me?

b² − 4ac decides how many real solutions there are: two if it's positive, one if it's 0, and none (a pair of complex solutions) if it's negative.

What if my equation has no x term or no constant?

Enter 0 for the missing number. For x² − 9 = 0, use a = 1, b = 0 and c = −9.

What does the i mean in an answer?

i is the imaginary unit, √−1. Complex solutions come in pairs, like −0.5 ± 0.866i, when the parabola never crosses the x-axis.

What is the vertex?

The parabola's turning point, at x = −b / 2a. It's the lowest point when a is positive and the highest when a is negative, and the axis of symmetry passes through it.

Should I use the formula or factor?

Factoring is quicker when the numbers are friendly, like x² − 5x + 6 = (x − 2)(x − 3). The formula always works, including when the solutions are decimals or complex.

Sources

Home