Always check for a common factor first
Before trying anything clever, pull out the greatest common factor. It makes every later step easier and keeps you from missing a factor at the end.
Factor 2x³ − 4x² − 6x
- The GCF of the three terms is 2x.
- Pull it out: 2x(x² − 2x − 3).
- Factor the trinomial: x² − 2x − 3 = (x − 3)(x + 1).
Answer: 2x(x − 3)(x + 1)
Patterns worth recognising
A sum of squares such as x² + 4 does not factor over the real numbers.
| Pattern | Formula | Example |
|---|---|---|
| Difference of squares | a² − b² = (a − b)(a + b) | x² − 16 = (x − 4)(x + 4) |
| Perfect square | a² + 2ab + b² = (a + b)² | 4x² + 12x + 9 = (2x + 3)² |
| Difference of cubes | a³ − b³ = (a − b)(a² + ab + b²) | x³ − 8 = (x − 2)(x² + 2x + 4) |
| Sum of cubes | a³ + b³ = (a + b)(a² − ab + b²) | x³ + 27 = (x + 3)(x² − 3x + 9) |
The AC method for trinomials
Factor 6x² + 11x − 35
- Multiply a and c: 6 × (−35) = −210.
- Find two numbers that multiply to −210 and add to 11. They are 21 and −10.
- Split the middle term: 6x² + 21x − 10x − 35.
- Group: 3x(2x + 7) − 5(2x + 7).
- Take out the common bracket: (3x − 5)(2x + 7).
Answer: (3x − 5)(2x + 7)
Factoring cubics with the rational root test
Factor x³ − 6x² + 11x − 6
- Possible rational roots are the factors of 6: ±1, ±2, ±3, ±6.
- Test x = 1: 1 − 6 + 11 − 6 = 0, so (x − 1) is a factor.
- Divide to get x² − 5x + 6, which factors as (x − 2)(x − 3).
Answer: (x − 1)(x − 2)(x − 3)
How to check your factoring
Multiply the factors back out. If you get the original polynomial you are done. You can also substitute a value: if x = 3 makes both the original and the factored form equal 0, the factor (x − 3) is right.
Frequently asked questions
What does it mean when a polynomial is prime?
It cannot be written as a product of simpler polynomials with integer coefficients. For example x² + 4 is prime over the integers and the real numbers.
Other calculators
Quadratic Equation SolverSolve ax² + bx + c = 0 by factoring or the quadratic formulaSimplify & ExpandSimplify algebraic expressions, expand brackets with FOIL, cancel rational expressions, find partial fractions and evaluate expressions step by stepEquation SolverSolve linear, quadratic, cubic, rational, radical, exponential, log and trig equations for x with full step-by-step working and a graphPartial Fractions CalculatorDecompose rational expressions into partial fractions with every step shown: factor the denominator, set up A and B, solve and checkInequality SolverSolve linear, compound, quadratic, polynomial, rational and absolute value inequalities with a sign chart and interval notation