ThisCalculator

Everyday

Factor Polynomial Equations Calculator

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

This calculator factors polynomial equations step by step. You enter a polynomial in standard form, and it returns the factored form with real or complex factors, plus the roots. It handles quadratic, cubic, and higher-degree polynomials with integer or rational coefficients.

Formula

The calculator uses the standard algebraic factoring techniques: greatest common factor (GCF), difference of squares, perfect square trinomials, sum/difference of cubes, and the quadratic formula for quadratics that cannot be factored by inspection. For higher-degree polynomials, it applies the rational root theorem to find possible rational roots, then performs polynomial division to reduce the degree.

For a quadratic ax² + bx + c, the roots are given by:

x = (−b ± √(b² − 4ac)) / (2a)

where a, b, c are coefficients (with a ≠ 0). The factored form is a(x − r₁)(x − r₂) where r₁ and r₂ are the roots.

Worked Example

Using the default polynomial x² − 5x + 6:

  1. Identify coefficients: a = 1, b = −5, c = 6.
  2. Look for two numbers that multiply to 6 and add to −5: those are −2 and −3.
  3. Write the factored form: (x − 2)(x − 3).
  4. Set each factor to zero: x − 2 = 0 → x = 2; x − 3 = 0 → x = 3.
  5. Roots are 2 and 3.

So the calculator outputs Factored form: (x − 2)(x − 3) and Roots: 2, 3.

When to Use This Calculator

Use it when you need to factor a polynomial for solving equations, simplifying rational expressions, or finding zeros of a function. It is especially helpful for verifying your manual work or when the polynomial is too complex to factor by inspection.

How to Read the Result

The factored form shows the product of irreducible factors. The roots are the values of x that make each factor zero. For example, (x − 2)(x − 3) = 0 means x = 2 or x = 3. If a root is repeated, it appears as a power, like (x − 1)².

Common Mistakes

  • Forgetting the leading coefficient: When factoring a quadratic, remember to include the coefficient a in the factored form: a(x − r₁)(x − r₂).
  • Sign errors: If the constant term is positive and the middle term is negative, both roots are positive or both negative. Double-check signs.
  • Ignoring complex roots: If the discriminant is negative, the roots are complex. The calculator will show them in the form a + bi.
  • Not simplifying: Always simplify the factored form by removing any common factors.

Tips

  • Enter the polynomial using ^ for exponents, e.g., x^3 – 2x^2 + x.
  • Use parentheses for clarity, e.g., (x^2 – 1) is treated as a single expression.
  • For polynomials with missing terms, include zero coefficients, e.g., x^3 + 0x^2 + 2x – 1.
  • Check your input for typos: a common error is writing 5x instead of 5*x.

Troubleshooting

If the calculator does not factor your polynomial, first check that the polynomial is entered correctly and in standard form (descending powers of x). Ensure you use * for multiplication and ^ for exponents. If the polynomial has non-integer coefficients, the calculator may not factor it completely; try multiplying by a common denominator to get integer coefficients. For very high-degree polynomials, the factoring may be slow or return an unfactored form; in that case, try to factor out a GCF first.

Frequently Asked Questions

Can the calculator factor polynomials with complex roots?

Yes, it returns complex factors like (x – (1 + i)) when the discriminant is negative.

Does it handle cubic and quartic equations?

Yes, it can factor polynomials up to degree 4 using standard formulas, and higher degrees using rational root theorem and synthetic division when possible.

What does “irreducible” mean?

An irreducible factor cannot be factored further over the real numbers. For example, x² + 1 is irreducible over the reals but factors as (x – i)(x + i) over the complex numbers.

How do I enter a polynomial with missing terms?

Include the missing terms with zero coefficients, e.g., x^3 + 0x^2 + 2x – 1.

Why does the calculator show roots as decimals?

For polynomials that do not factor neatly, roots may be irrational or complex, and the calculator displays them as decimals to a set precision.

Can I use this for factoring by grouping?

Yes, the calculator uses grouping internally for higher-degree polynomials, but you can also manually group terms and enter the factored form to verify.

Related

Formula used
in poly | Polynomial | - | x^2 - 5x + 6 | 0
out factored | Factored form | - | factor(poly) | 0
out roots | Roots | - | roots(poly) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.