Categories
Pages
π

Factoring Calculator

Factor polynomials, find prime factorization, or simplify rational expressions with step-by-step

LIVE
198
Uses
1
Select typeChoose conversion direction
2
Enter amountType the value to convert
3
Get resultsSee live conversion rates
NUMBER
:

Copy the code below to embed this calculator on your website:

<iframe src="https://calculatorcafe.com/widget/factoring-calculator/" width="100%" height="500" frameborder="0" style="border:1px solid #e2e8f0;border-radius:12px"></iframe>

Free to use · Links back to CalculatorCafe

What Is Factoring?

Factoring is the process of breaking a mathematical expression into a product of simpler expressions. The number 12 factors into 2 times 2 times 3. The polynomial x² + 5x + 6 factors into (x + 2)(x + 3). Factoring reverses multiplication: instead of expanding (x + 2)(x + 3) into x² + 5x + 6, you start with x² + 5x + 6 and find the factors that produce it. This skill is essential for solving equations, simplifying fractions, and finding roots of polynomials. Enter any expression in the calculator above for instant factoring with step-by-step work shown.

How to Factor Trinomials?

A trinomial of the form x² + bx + c factors as (x + m)(x + n), where m and n multiply to c and add to b. For x² + 7x + 12: find two numbers that multiply to 12 and add to 7. Those numbers are 3 and 4, so x² + 7x + 12 = (x + 3)(x + 4). For x² - 5x + 6: numbers that multiply to 6 and add to -5 are -2 and -3, giving (x - 2)(x - 3). When the leading coefficient is not 1, the process is more complex. For 2x² + 7x + 3, multiply the leading coefficient by the constant (2 times 3 = 6), find factors of 6 that add to 7 (1 and 6), split the middle term, and factor by grouping: 2x² + x + 6x + 3 = x(2x + 1) + 3(2x + 1) = (x + 3)(2x + 1).

Common Factoring Patterns

Greatest common factor (GCF): Always check for a GCF first. 6x³ + 9x² = 3x²(2x + 3). Difference of squares: a² - b² = (a + b)(a - b). x² - 49 = (x + 7)(x - 7). 4x² - 25 = (2x + 5)(2x - 5). Perfect square trinomial: a² + 2ab + b² = (a + b)². x² + 10x + 25 = (x + 5)². Sum of cubes: a³ + b³ = (a + b)(a² - ab + b²). Difference of cubes: a³ - b³ = (a - b)(a² + ab + b²). Recognizing these patterns instantly speeds up the factoring process dramatically.

Factoring by Grouping

When a polynomial has four or more terms, grouping pairs of terms can reveal common factors. For x³ + 2x² + 3x + 6: group as (x³ + 2x²) + (3x + 6) = x²(x + 2) + 3(x + 2) = (x² + 3)(x + 2). The key is grouping terms so that each pair shares a factor, and after extracting those factors, a common binomial appears. This method extends to polynomials that resist simpler factoring approaches and is particularly useful when combined with synthetic division for higher-degree polynomials.

Why Is Factoring Important?

Factoring solves polynomial equations. To solve x² + 5x + 6 = 0, factor to (x + 2)(x + 3) = 0, then set each factor to zero: x = -2 or x = -3. Factoring simplifies algebraic fractions: (x² - 9)/(x + 3) = (x + 3)(x - 3)/(x + 3) = x - 3. Factoring identifies the zeros (x-intercepts) of polynomial functions, which determines where graphs cross the axis. In number theory, prime factorization is the foundation of modern cryptography. RSA encryption relies on the fact that multiplying large primes is easy but factoring their product is computationally difficult.

How to Factor Higher-Degree Polynomials?

For polynomials of degree 3 or higher, use the rational root theorem to find potential rational roots: any rational root p/q has p dividing the constant term and q dividing the leading coefficient. Test candidates using synthetic division. Once you find one root, divide it out and factor the remaining lower-degree polynomial. For x³ - 6x² + 11x - 6: possible rational roots are plus or minus 1, 2, 3, 6. Testing x = 1: synthetic division gives remainder 0, so (x - 1) is a factor. The quotient is x² - 5x + 6 = (x - 2)(x - 3). Full factorization: (x - 1)(x - 2)(x - 3). The calculator above handles these multi-step factorizations automatically.

What Happens When an Expression Is Not Factorable?

Not every polynomial factors over the integers. x² + x + 1 has no real factors because its discriminant (1 - 4 = -3) is negative. Such polynomials are called irreducible (or prime) over the integers. They can be factored over the complex numbers using the quadratic formula, producing factors with imaginary components. Similarly, x² + 4 is irreducible over the reals but factors as (x + 2i)(x - 2i) over the complex numbers. The calculator above identifies irreducible polynomials and provides complex factorizations when appropriate, so you know whether further factoring is possible.

Frequently asked questions

How do I factor a trinomial?
For x²+bx+c, find two numbers that multiply to c and add to b. Example: x²+7x+12 = (x+3)(x+4) because 3*4=12 and 3+4=7.
What is the difference of squares?
a²-b² = (a+b)(a-b). Example: x²-49 = (x+7)(x-7). One of the most common and useful factoring patterns.
What if I cannot find factors?
The polynomial may be irreducible. Check the discriminant for quadratics. If b²-4ac < 0, it has no real factors.
What is factoring by grouping?
For 4+ term polynomials: group pairs, extract common factors from each pair, then factor out the common binomial. Works when simpler methods fail.
How is factoring related to solving equations?
Factor the expression, set each factor to zero. x²+5x+6=0 → (x+2)(x+3)=0 → x=-2 or x=-3.
What is the rational root theorem?
For polynomial equations, potential rational roots p/q have p dividing the constant term and q dividing the leading coefficient.
USER RATINGS

Rate This Calculator

Your feedback helps us improve our tools