Quadratic Equation Calculator

Published on: December 8, 2024

Enter a quadratic equation in standard form, e.g. 4x^2-5x-12=0.

Step-by-step method

  1. Rewrite the equation in standard form ax^2 + bx + c = 0.
  2. Identify the coefficients a, b, and c.
  3. Compute the discriminant D = b^2 − 4ac.
  4. Use the quadratic formula x = (−b ± √D) / (2a).
  5. Simplify the two solutions.

Example 1: 4x^2-5x-12=0

Step 1 - Rewrite the equation in standard form ax^2 + bx + c = 0.

In this problem: Rewrite 4x^2-5x-12=0 into standard form.

4x^2 - 5x - 12 = 0

Step 2 - Identify the coefficients a, b, and c.

In this problem: Read off the coefficients from ax^2 + bx + c = 0.

a = 4,b = -5,c = -12

Step 3 - Compute the discriminant D = b^2 − 4ac.

In this problem: Compute the discriminant.

D=( -5 )^24·4·( -12 )=217

Step 4 - Use the quadratic formula x = (−b ± √D) / (2a).

In this problem: Use the quadratic formula with the values found.

x=
5 ± √217
8

Step 5 - Simplify the two solutions.

In this problem: Simplify the solutions.

x=
5 + √217
8
orx=
5 - √217
8

Final answer: x = 5 + √217/8, x = 5 - √217/8

Example 2: x^2+6x+5=0

Step 1 - Rewrite the equation in standard form ax^2 + bx + c = 0.

In this problem: Rewrite x^2+6x+5=0 into standard form.

x^2 + 6x + 5 = 0

Step 2 - Identify the coefficients a, b, and c.

In this problem: Read off the coefficients from ax^2 + bx + c = 0.

a = 1,b = 6,c = 5

Step 3 - Compute the discriminant D = b^2 − 4ac.

In this problem: Compute the discriminant.

D=6^24·1·5=16

Step 4 - Use the quadratic formula x = (−b ± √D) / (2a).

In this problem: Use the quadratic formula with the values found.

x=
-6 ± √16
2

Step 5 - Simplify the two solutions.

In this problem: Simplify the solutions.

x=-1orx=-5

Final answer: x = -1, x = -5