MathSolver AI

Factoring Calculator

Factoring writes a polynomial as a product of simpler polynomials. For quadratics, factors correspond to the roots.

Type a quadratic such as x^2 - 5x + 6. The calculator finds the roots, then writes the matching factors.

Solve a problem

No account required. Type, upload, or snap a photo.

Press Ctrl+Enter to solve

Example problems

How this solver works

  1. Find the roots.
  2. Write a(x − r)(x − s).
  3. You can expand to check.

Formula

r and s are the roots.

Worked examples

x^2 - 5x + 6

  1. Roots 2 and 3
  2. (x-2)(x-3)

Answer: (x-2)(x-3)

Common mistakes

Wrong constant signs

If the constant term is positive and the middle term is negative, both binomials usually have minus signs.

Related calculators

Related guides

Related formulas

More in this topic

Frequently asked questions

Does factoring always work over the reals?

Irreducible quadratics over the reals do not factor into real binomials. The discriminant tells you.

Try the solver again