Quadratic Formula: Definition, Method and Examples

MathPublished

The Quadratic Formula: Definition and Step-by-Step Method

For an equation in the form ax2+bx+c=0ax^2+bx+c=0, the quadratic formula gives the solution as x=−b±b2−4ac2ax=\dfrac{-b \pm \sqrt{b^2-4ac}}{2a}. To find the roots, substitute the exact coefficients along with their signs, carefully simplify the discriminant under the square root, and always check each resulting root in the original equation.

What is the quadratic formula?

The quadratic equation formula is a universal method for finding the solutions, or roots, of quadratic equations. When an equation is written in the standard form ax2+bx+c=0ax^2 + bx + c = 0, this formula determines the exact values of xx.

The formula is:

x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}


The ±\pm symbol represents "plus or minus." It indicates that the mathematical expression must be evaluated twice—once using addition and once using subtraction. This accounts for the fact that quadratic equations can have up to two real roots.

Identify aa, bb, and cc

Before substituting values into the formula, the equation must be set to equal zero. Then, locate the coefficients for each term.

  • aa is the coefficient of the x2x^2 term.
  • bb is the coefficient of the xx term.
  • cc is the constant term.

Always include the sign immediately before each number. If a term is subtracted, its corresponding coefficient is negative.

The quadratic equation 3 x squared minus 4 x plus 7 equals 0 with colored indicators labeling a as 3, b as negative 4, and c as 7.


Always rewrite the equation to equal zero before identifying the coefficients.

Use the formula step by step

Understanding how to use quadratic formula steps correctly ensures you can solve any standard quadratic equation. Follow this numbered method:

  1. Write the equation in the standard form ax2+bx+c=0ax^2 + bx + c = 0.
  2. Identify the values of aa, bb, and cc, including their signs.
  3. Substitute the values into the formula x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}, using brackets around negative numbers to avoid calculation errors.
  4. Simplify the expression under the radical, calculating square roots when necessary. When squaring a negative bb value, apply the laws of exponents to ensure the result is positive.
  5. Calculate the final values of xx by splitting the formula into its plus and minus cases.

Interpret the discriminant

The expression underneath the square root, b2−4acb^2 - 4ac, is known as the discriminant. It reveals how many real solutions the equation has before you solve the entire formula.

  • If b2−4ac>0b^2 - 4ac > 0, there are two distinct real solutions. The parabola crosses the x-axis twice.
  • If b2−4ac=0b^2 - 4ac = 0, there is exactly one real solution. The parabola touches the x-axis at its vertex.
  • If b2−4ac<0b^2 - 4ac < 0, there are no real solutions. The parabola never intersects the x-axis.

Three coordinate planes showing how the discriminant relates to the number of roots. Greater than zero shows two intersections, equal to zero shows one intersection, and less than zero shows no intersections.

Check roots

After calculating the roots, verify that they are correct by substituting them back into the original equation. If the calculations are accurate, both sides of the equation will balance and equal zero.

Alternatively, you can examine quadratic graphs to confirm that your calculated roots perfectly match the x-intercepts of the parabola.

Worked examples

This solve quadratics formula determines the roots efficiently, provided you simplify the arithmetic carefully.


Example 1: Solving an equation with two roots


Question: Solve x2+5x+6=0x^2 + 5x + 6 = 0 using the quadratic formula.


A coordinate plane showing a parabola intersecting the x-axis at negative 2 and negative 3, confirming the two calculated roots.


Method:

  1. Identify the coefficients: a=1a=1, b=5b=5, and c=6c=6.
  2. Substitute into the formula: x=−5±52−4(1)(6)2(1)x = \dfrac{-5 \pm \sqrt{5^2 - 4(1)(6)}}{2(1)}.
  3. Simplify the discriminant: 25−24=125 - 24 = 1.
  4. Calculate roots: x=−5+12=−2x = \dfrac{-5 + 1}{2} = -2 and x=−5−12=−3x = \dfrac{-5 - 1}{2} = -3.

Answer: The roots are x=−2x=-2 and x=−3x=-3.


Check: Substitute x=−2x=-2 back into x2+5x+6=0→4−10+6=0x^2+5x+6=0 \rightarrow 4 - 10 + 6 = 0. The equation balances.


Example 2: Solving an equation with one root


Question: Solve 4x2−12x+9=04x^2 - 12x + 9 = 0.


Method:

  1. Identify the coefficients: a=4a=4, b=−12b=-12, and c=9c=9.
  2. Substitute into the formula: x=−(−12)±(−12)2−4(4)(9)2(4)x = \dfrac{-(-12) \pm \sqrt{(-12)^2 - 4(4)(9)}}{2(4)}.
  3. Simplify the discriminant: 144−144=0144 - 144 = 0.
  4. Evaluate the single root: x=12±08=128=32x = \dfrac{12 \pm 0}{8} = \dfrac{12}{8} = \dfrac{3}{2}.

Answer: The only root is x=32x = \dfrac{3}{2}.


Check: Substitute x=1.5x = 1.5 into 4(1.5)2−12(1.5)+94(1.5)^2 - 12(1.5) + 9. This evaluates as 4(2.25)−18+9=9−18+9=04(2.25) - 18 + 9 = 9 - 18 + 9 = 0. The equation balances.


Example 3: Rearranging before solving


Question: Solve 2x2+5x=32x^2 + 5x = 3.


Method:

  1. Rearrange to standard form by subtracting 33 from both sides: 2x2+5x−3=02x^2 + 5x - 3 = 0.
  2. Identify the coefficients: a=2a=2, b=5b=5, and c=−3c=-3.
  3. Substitute into the formula: x=−5±52−4(2)(−3)2(2)x = \dfrac{-5 \pm \sqrt{5^2 - 4(2)(-3)}}{2(2)}.
  4. Simplify the discriminant: 25−(−24)=4925 - (-24) = 49.
  5. Evaluate both roots: x=−5+74=24=12x = \dfrac{-5 + 7}{4} = \dfrac{2}{4} = \dfrac{1}{2} and x=−5−74=−124=−3x = \dfrac{-5 - 7}{4} = \dfrac{-12}{4} = -3.

Answer: The roots are x=12x = \dfrac{1}{2} and x=−3x = -3.


Check: Substitute x=−3x = -3 into 2(−3)2+5(−3)2(-3)^2 + 5(-3). This gives 2(9)−15=18−15=32(9) - 15 = 18 - 15 = 3. The equation matches the original prompt and balances.

Common mistakes

  • Missing signs on coefficients: When setting up aa, bb, and cc, always include negative signs from the original equation. For x2−7x+10=0x^2 - 7x + 10 = 0, the bb value is −7-7, not 77.
  • Dividing only the radical: The 2a2a denominator spans the entire numerator, dividing both the −b-b term and the square root. Do not write −b±b2−4ac2a-b \pm \dfrac{\sqrt{b^2-4ac}}{2a}.
  • Forgetting standard form: The formula requires the equation to equal zero. If presented with x2=9xx^2 = 9x, you must subtract 9x9x to form x2−9x=0x^2 - 9x = 0 before identifying aa and bb.

Frequently asked questions

  • Does the quadratic formula work for all quadratic equations?

Yes, it works for every quadratic equation. However, if the discriminant is negative, the equation has no real solutions, and the roots will involve imaginary numbers.


  • Is the quadratic formula the only way to solve?

No. While it always works, you can also solve quadratic equations by factoring, graphing, or completing the square depending on which method is easiest for the specific equation.


  • What if the x2x^2 coefficient is negative?

The formula functions normally. You can substitute a negative value for aa, or you can multiply the entire equation by −1-1 first to make aa positive.

Practice questions

Question

A coordinate plane showing a parabola that crosses the x-axis at negative 1 and 4, with a y-intercept at negative 4.


Which quadratic formula setup correctly represents the equation shown in the graph?

  • x=−3±32−4(1)(4)2x = \dfrac{-3 \pm \sqrt{3^2 - 4(1)(4)}}{2}

  • x=−(−3)±(−3)2−4(1)(−4)2(1)x = \dfrac{-(-3) \pm \sqrt{(-3)^2 - 4(1)(-4)}}{2(1)}

  • x=3±(−3)2−4(1)(4)2(1)x = \dfrac{3 \pm \sqrt{(-3)^2 - 4(1)(4)}}{2(1)}

  • x=−3±−32−4(1)(−4)2(1)x = \dfrac{-3 \pm \sqrt{-3^2 - 4(1)(-4)}}{2(1)}

Answer:

x=−(−3)±(−3)2−4(1)(−4)2(1)x = \dfrac{-(-3) \pm \sqrt{(-3)^2 - 4(1)(-4)}}{2(1)}

Question

Solve x2−6x+8=0x^2 - 6x + 8 = 0 using the quadratic formula.

  • x=−2,x=−4x = -2, x = -4

  • x=2,x=4x = 2, x = 4

  • x=−2,x=4x = -2, x = 4

  • x=2,x=−4x = 2, x = -4

Answer:

x=2,x=4x = 2, x = 4

Question

How many real solutions does the equation 2x2+3x+5=02x^2 + 3x + 5 = 0 have?

  • Zero real solutions

  • One real solution

  • Two real solutions

  • Three real solutions

Answer:

Zero real solutions

Question

A step-by-step calculation showing x equals negative 5 plus or minus the square root of 25 minus 4 times 2 times negative 3, all divided by 4, leading to incorrect simplification.

A student tries to solve 2x2+5x−3=02x^2 + 5x - 3 = 0 but makes an error in Step 2. What is the mistake?

  • The denominator should be 22, not 44.

  • The 2525 inside the square root should be negative.

  • The value under the square root should be 25+2425 + 24, not 25−2425 - 24.

  • The −5-5 at the beginning should be positive 55.

Answer:

The value under the square root should be 25+2425 + 24, not 25−2425 - 24.

Question

Solve for xx in the equation x2=7x−10x^2 = 7x - 10.

  • x=2,x=5x = 2, x = 5

  • x=−2,x=−5x = -2, x = -5

  • x=2,x=−5x = 2, x = -5

  • x=−2,x=5x = -2, x = 5

Answer:

x=2,x=5x = 2, x = 5