Quadratic Equation Calculator

Published on: December 8, 2024
Final Answer: Free | Full Steps: Plus

This Quadratic Equation Calculator solves an equation with an x-squared term in it, and shows the working line by line. The equation is first moved into standard form so the coefficients a, b and c can be read straight off it. The coefficients are then put into the quadratic formula, and the \(\pm\) in it splits the answer into the two solutions. Following the same pattern every time makes each coefficient easy to trace.

Step-by-step method

  1. Set up the problem.
  2. Rewrite the equation in standard form, with every term on the left and 0 on the right.
  3. Identify the coefficients a, b and c.
  4. Write the quadratic formula.
  5. Substitute the coefficients into the formula.
  6. Work out the numbers in the formula.
  7. Split the \(\pm\) into the two solutions.

Depending on the equation, some of these steps are not needed, so they are skipped.

Required knowledge

Formula: Quadratic Formula

This formula is used to solve any equation in the form ax² + bx + c = 0. Put in a, b and c, then work out the + and − versions to get the two solutions.

\(x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}\)

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(2x^{2} + 3x = 5\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Rewrite the equation in standard form, with every term on the left and 0 on the right.
  3. Identify the coefficients a, b and c.
  4. Write the quadratic formula.
  5. Substitute the coefficients into the formula.
  6. Work out the numbers in the formula.
  7. Split the \(\pm\) into the two solutions.

Depending on the equation, some of these steps are not needed, so they are skipped.

Step 1

Step 1 - Set up the problem.

In this problem: The equation to solve is \(2x^{2} + 3x = 5\), and the unknown is \(x\).

\(2x^{2} + 3x = 5\)

Step 2

Step 2 - Rewrite the equation in standard form, with every term on the left and 0 on the right.

In this problem: Moving every term to the left of the equals sign turns \(2x^{2} + 3x = 5\) into \(2x^{2} + 3x - 5 = 0\).

\(2x^{2} + 3x - 5 = 0\)

Step 3

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

In this problem: Matching \(2x^{2} + 3x - 5 = 0\) with \(ax^{2} + bx + c = 0\) gives \(a = 2\), \(b = 3\) and \(c = -5\).

\(a = 2,\; b = 3,\; c = -5\)

Step 4

Step 4 - Write the quadratic formula.

In this problem: The quadratic formula solves any equation in the form \(ax^{2} + bx + c = 0\).

\(x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}\)

Step 5

Step 5 - Substitute the coefficients into the formula.

In this problem: Putting \(a = 2\), \(b = 3\) and \(c = -5\) into the formula gives \(x = \frac{-3 \pm \sqrt{3^{2} - 4(2)(-5)}}{2(2)}\).

\(x = \frac{-3 \pm \sqrt{3^{2} - 4(2)(-5)}}{2(2)}\)

Step 6

Step 6 - Work out the numbers in the formula.

In this problem: Under the square root, \(3^{2} = 9\) and \(4(2)(-5) = -40\), so \(9 + 40 = 49\). Underneath, \(2(2) = 4\). Then \(\sqrt{49} = 7\).

\(x = \frac{-3 \pm \sqrt{9 + 40}}{4} = \frac{-3 \pm \sqrt{49}}{4} = \frac{-3 \pm 7}{4}\)

Step 7

Step 7 - Split the \(\pm\) into the two solutions.

In this problem: The \(\pm\) means there are two solutions, one with \(+\) and one with \(-\).

\(x = \frac{-3 \pm 7}{4}\)

Step 7a

Step 7a - Take the \(+\) sign.

In this problem: Using \(+\) gives \(x = \frac{-3 + 7}{4} = \frac{4}{4} = 1\).

\(x = \frac{-3 + 7}{4} = \frac{4}{4} = 1\)

Step 7b

Step 7b - Take the \(-\) sign.

In this problem: Using \(-\) gives \(x = \frac{-3 - 7}{4} = \frac{-10}{4} = - \frac{5}{2}\).

\(x = \frac{-3 - 7}{4} = \frac{-10}{4} = - \frac{5}{2}\)

Final Answer

\(x = 1,\; x = - \frac{5}{2}\)
See Example 2 Hide Example 2

Problem

\(9x^{2} - 6x + 1 = 0\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Rewrite the equation in standard form, with every term on the left and 0 on the right.
  3. Identify the coefficients a, b and c.
  4. Write the quadratic formula.
  5. Substitute the coefficients into the formula.
  6. Work out the numbers in the formula.
  7. Split the \(\pm\) into the two solutions.

Depending on the equation, some of these steps are not needed, so they are skipped.

Step 1

Step 1 - Set up the problem.

In this problem: The equation to solve is \(9x^{2} - 6x + 1 = 0\), and the unknown is \(x\).

\(9x^{2} - 6x + 1 = 0\)

Step 2

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

In this problem: Matching \(9x^{2} - 6x + 1 = 0\) with \(ax^{2} + bx + c = 0\) gives \(a = 9\), \(b = -6\) and \(c = 1\).

\(a = 9,\; b = -6,\; c = 1\)

Step 3

Step 3 - Write the quadratic formula.

In this problem: The quadratic formula solves any equation in the form \(ax^{2} + bx + c = 0\).

\(x = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}\)

Step 4

Step 4 - Substitute the coefficients into the formula.

In this problem: Putting \(a = 9\), \(b = -6\) and \(c = 1\) into the formula gives \(x = \frac{-(-6) \pm \sqrt{(-6)^{2} - 4(9)(1)}}{2(9)}\).

\(x = \frac{-(-6) \pm \sqrt{(-6)^{2} - 4(9)(1)}}{2(9)}\)

Step 5

Step 5 - Work out the numbers in the formula.

In this problem: On top, \(-(-6) = 6\). Under the square root, \((-6)^{2} = 36\) and \(4(9)(1) = 36\), so \(36 - 36 = 0\). Underneath, \(2(9) = 18\). Then \(\sqrt{0} = 0\).

\(x = \frac{6 \pm \sqrt{36 - 36}}{18} = \frac{6 \pm \sqrt{0}}{18} = \frac{6 \pm 0}{18}\)

Step 6

Step 6 - Split the \(\pm\) into the two solutions.

In this problem: Since \(\sqrt{0} = 0\), adding and taking away give the same value, so there is one solution.

\(x = \frac{6 + 0}{18} = \frac{6}{18} = \frac{1}{3}\)

Final Answer

\(x = \frac{1}{3}\)

Example Problems

Click one to load it into the box and solve it.