Calculator
Factoring Calculator with Steps
Factor a polynomial completely with the pattern named before it is used — greatest common factor, difference of squares, trinomial, or grouping — and every factor checked for whether it breaks down further.
Solve a factoring problem now
First solution freeHow to use it
Type the polynomial and say completely if you want every factor broken down as far as it goes, which is what exam questions normally mean. Powers can be written with a caret, so 16x^4-81 parses. Terms do not need to be in descending order. If you want the roots rather than the factors, ask for the equation set to zero instead, or send it to the algebra solver.
The method behind it
Factoring is multiplication read backwards, so every pattern below is just an expansion you already know, written from right to left. There are only four patterns worth memorising, and the order you check them in matters more than the patterns themselves.
Always take the greatest common factor first. It makes every subsequent step smaller, and skipping it is the single most common reason an otherwise correct answer is marked down as incompletely factored.
With two terms, look for squares or cubes. The difference of squares is the pattern that appears most often, and it is worth recognising even inside larger expressions.
Cubes factor too, and the signs follow a fixed pattern: the binomial keeps the original sign, the middle term of the trinomial takes the opposite sign, and the last term is always positive.
With three terms and a leading coefficient of 1, expanding shows what to look for: the constants multiply to give the constant term and add to give the middle coefficient.
When the leading coefficient is not 1 that shortcut breaks, because the leading coefficient also multiplies into the middle term. The AC method repairs it: find and with and , split the middle term, and group the resulting four terms.
Four terms with no obvious pattern means grouping: pair them, extract a common factor from each pair, and the same bracket should appear twice. The four patterns and how to tell them apart at a glance are covered in factoring quadratics: the four patterns, and rewriting terms with exponent and radical rules often exposes a pattern that was hiding.
Worked examples
Worked example
- 1
All three coefficients are divisible by 3 and every term has at least one x. Pull out 3x before touching anything else.
- 2
The bracket is a trinomial with leading coefficient 2, so use the AC method. Multiply a by c to get the target product.
- 3
Find two numbers multiplying to 20 and adding to −9. Both must be negative, and −4 and −5 work.
- 4
Split the middle term using those two numbers and group the four terms in pairs.
- 5
The bracket (x − 2) is common to both pairs, so factor it out. Expanding back confirms the original.
Answer
Worked example
- 1
Four terms with no common factor across all of them, so try grouping. Pair the first two and the last two.
- 2
Take the common factor out of each pair. Pulling −4 rather than +4 out of the second pair is what makes the brackets match.
- 3
The same bracket now appears twice, so treat (x + 3) as a common factor.
- 4
Do not stop here. The second factor is a difference of squares, so it breaks down further.
- 5
Write all three linear factors. The roots are −3, 2, and −2, which you can confirm by substitution.
Answer
Which pattern is it?
Counting terms narrows the choice to one or two patterns almost immediately, which is why experienced solvers look at the term count before the coefficients. Work down this tree in order and the pattern identifies itself.
Identify the factoring pattern
Do every one of the terms share a common factor?
Common mistakes
Leaving the common factor behind
Factoring as is technically a factorisation, but not a complete one, and it will not earn full marks. Extract first and the rest becomes easier as well as correct.
Factoring a sum of squares
does not factor over the real numbers. It is not , which expands to , and it is not , which is . Only the difference of squares factors.
Stopping one step early
After grouping produced the work was not finished, because the second factor still factors. Before writing an answer, look at every factor once more and ask whether any of them matches a pattern.
Practice
Answers are checked here — nothing is sent anywhere.
- 1
- 2
- 3