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.
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.
Then the roots are not whole numbers, and the quadratic formula is the right tool. A negative discriminant means it does not factor over the real numbers at all.
Multiply a by c, find two numbers that multiply to that and add to b, split the middle term, then factor in pairs. Example four above works through 6x² + 11x − 10.
No, but it is the step before it. Once x² − 5x + 6 = (x − 2)(x − 3), the equation equals zero when either bracket is zero, so x = 2 or x = 3.
Yes, when they factor over the rationals. It tries the rational root theorem, divides out the root it finds, and factors whatever is left.