- Status
- Verified
- Maximum degree
- 2
- Coefficient domain
- Rational numbers
- Independent check
- Exact expansion
How to factor polynomials
Factoring rewrites a sum or difference as a product. Start by looking for a factor shared by every term. For a quadratic trinomial, the coefficient of the squared term helps you choose what to do next. Multiply the finished factors to check that you get the original polynomial.
Take out the greatest common factor
Both coefficients are divisible by 3, and each term has at least one x. Divide each term by 3x to get 2x and −3, then put 3x in front. Distributing it gives 6x² − 9x again.
Factor a trinomial with leading coefficient 1
Look for two numbers that multiply to +6 and add to −5. Those numbers are −2 and −3. Check the middle term by adding the cross products, −3x and −2x.
Factor a trinomial by grouping
- Multiply the first and last coefficients to get 2 × 2 = 4. The numbers 4 and 1 multiply to 4 and add to 5.
- Split 5x into 4x + x. Group the terms as (2x² + 4x) + (x + 2).
- Factor each group to get 2x(x + 2) + 1(x + 2). Pull out the common binomial to get (x + 2)(2x + 1).
Spot a repeated factor with fractions
Take out 1/8. The remaining trinomial, 4y² − 4y + 1, is the square of 2y − 1. Expanding that square and multiplying by 1/8 recovers all three terms.
Current limitations
- One variable and degree two or lower.
- Factors over the rational numbers, not the complex numbers.
- Equations should use Solve / simplify; Factor accepts expressions.
- Multivariable and higher-degree factoring remain unsupported.
Check factors by expanding them
Multiply the factors and compare each term with the original polynomial, including any factor pulled out at the start. The line-by-line checking guide shows how to find a sign or distribution error.
If your problem is an equation, use the quadratic equation solver to find real roots or the completing the square calculator to rewrite it in vertex form.