Factor x^2 - 5x + 6
- Two numbers: multiply to 6, add to −5
- Write the factors
- Check by expanding
Type a polynomial. Get the factors and the reason for each one.
Saved on this device only. Nothing leaves your browser.
Factoring is writing a polynomial as a product. It is how quadratics get solved, how fractions cancel, and how most of an algebra course quietly works. There is a fixed order to try things in, and once you know it, most school polynomials fall out in one line.
Work down this list. The first one that fits is almost always the intended route.
Pull out the greatest common factor of every term. 6x³ − 9x² becomes 3x²(2x − 3), and what is left is usually easy.
A difference of squares is a² − b² = (a − b)(a + b). A difference of cubes is a³ − b³ = (a − b)(a² + ab + b²), and a sum of cubes flips the middle signs. A sum of squares does not factor over the real numbers.
For x² + bx + c, find two numbers that multiply to c and add to b. Those two numbers are the factors.
For ax² + bx + c, find two numbers that multiply to a·c and add to b, split the middle term with them, then factor in pairs.
Factor each pair, and if the same bracket appears twice, pull it out.
Multiply your factors back out. It takes five seconds and catches every sign error.
Each one is solved the way the solver solves it: the rule first, then the line.
Asked here and worked through in full. Open one for every step.
Factoring 2x² − 8 as (2x − 4)(x + 2) is not wrong, but it is not finished. Pull out the 2 first: 2(x − 2)(x + 2).
x² + 4 does not factor over the real numbers. A difference does; a sum does not.
When the two numbers have different signs, the middle term is the difference, not the sum. Expanding at the end catches this every time.
For x² + bx + c, find two numbers that multiply to c and add to b. For x² − 5x + 6 that is −2 and −3, so it factors as (x − 2)(x − 3). Always multiply back to check.
Writing an expression as a product instead of a sum. 6 factors as 2 × 3, and x² − 9 factors as (x + 3)(x − 3). It is the step that turns an equation into a list of roots.
Factor the left side, then set each bracket to zero. x² + x − 6 = 0 becomes (x + 3)(x − 2) = 0, so x = −3 or x = 2. A product is zero only when one of its factors is.
For ax² + bx + c, look for two numbers that multiply to a × c and add to b, then split the middle term and group. For 2x² + 7x + 3 use 6 and 1: 2x² + 6x + x + 3 = 2x(x + 3) + 1(x + 3) = (2x + 1)(x + 3).
Anything of the form a² − b² factors as (a + b)(a − b). x² − 16 is (x + 4)(x − 4). A sum of squares, x² + 16, does not factor over the real numbers.
Take out the greatest common factor before anything else. 2x² − 8 is 2(x² − 4), which then becomes 2(x + 2)(x − 2). Skipping this step is the most common way to get a half-finished answer.
Check b² − 4ac. If it is not a perfect square there are no whole-number factors, and the quadratic formula or completing the square will give the exact roots instead.
Yes. The solver handles cubics and higher by taking out common factors, grouping, and testing rational roots, and it names the rule at each step.