Navigation
Calculators Pricing Blog About Contact
Get Started
Get Started Login
🔢

Factoring Trinomials Calculator

Factor any trinomial ax² + bx + c with step-by-step solutions showing the discriminant, roots, and factored form.

x² + x +

What Is Factoring Trinomials?

Factoring trinomials is the process of breaking down a quadratic expression of the form ax² + bx + c into a product of two binomial factors. This is one of the most fundamental skills in algebra, used extensively in solving quadratic equations, simplifying rational expressions, graphing parabolas, and throughout higher mathematics. When we factor x² - 5x + 6, for example, we rewrite it as (x - 2)(x - 3), revealing that the expression equals zero when x = 2 or x = 3.

Factoring is essentially the reverse of the FOIL method (First, Outer, Inner, Last) used to multiply binomials. While multiplication is straightforward and mechanical, factoring requires pattern recognition, number sense, and sometimes systematic trial and error. This calculator handles any trinomial with real coefficients, showing step-by-step work using the quadratic formula to find roots and then expressing the result in factored form.

Factoring Simple Trinomials (a = 1)

When the leading coefficient is 1 (the expression is x² + bx + c), factoring is simpler because you need to find two numbers that multiply to c and add up to b. For x² + 7x + 12, you need two numbers that multiply to 12 and add to 7. Those numbers are 3 and 4, so x² + 7x + 12 = (x + 3)(x + 4). You can verify by multiplying: (x + 3)(x + 4) = x² + 4x + 3x + 12 = x² + 7x + 12.

The signs in the original trinomial provide clues. If c is positive and b is positive, both factors have positive signs: (x + _)(x + _). If c is positive and b is negative, both factors have negative signs: (x - _)(x - _). If c is negative, the factors have opposite signs: (x + _)(x - _), with the larger number taking the sign of b. Mastering these sign patterns speeds up mental factoring significantly.

Factoring When a Is Not 1 (AC Method)

When the leading coefficient a is not 1, factoring becomes more challenging. The AC method (also called factoring by grouping) is a systematic approach. For ax² + bx + c: (1) Compute the product ac. (2) Find two numbers that multiply to ac and add to b. (3) Rewrite the middle term bx as the sum of two terms using these numbers. (4) Factor by grouping pairs of terms. (5) Factor out the common binomial.

Example: Factor 2x² + 7x + 3. AC product = 2 × 3 = 6. Find two numbers that multiply to 6 and add to 7: those are 6 and 1. Rewrite: 2x² + 6x + 1x + 3. Group: (2x² + 6x) + (x + 3). Factor each group: 2x(x + 3) + 1(x + 3). Factor out (x + 3): (x + 3)(2x + 1). The factored form is (2x + 1)(x + 3).

Using the Quadratic Formula for Factoring

The quadratic formula x = (-b ± sqrt(b² - 4ac)) / (2a) always finds the roots of ax² + bx + c = 0, which can then be used to write the factored form. If the roots are r1 and r2, then ax² + bx + c = a(x - r1)(x - r2). This method works for any trinomial, including those that are difficult to factor by inspection.

The discriminant (b² - 4ac) determines the nature of the roots. If the discriminant is positive, there are two distinct real roots and the trinomial factors into two different binomials. If the discriminant is zero, there is one repeated root and the trinomial is a perfect square: a(x - r)². If the discriminant is negative, the roots are complex numbers and the trinomial cannot be factored over the real numbers (it is "prime" or "irreducible" over the reals).

Special Factoring Patterns

Difference of squares: a² - b² = (a + b)(a - b). Example: x² - 9 = (x + 3)(x - 3). This is a "trinomial" with b = 0. Perfect square trinomial: a² + 2ab + b² = (a + b)² and a² - 2ab + b² = (a - b)². Example: x² - 6x + 9 = (x - 3)². Recognizing these patterns allows instant factoring without calculation.

Sum/difference of cubes: While not trinomials, these are related patterns. a³ + b³ = (a + b)(a² - ab + b²) and a³ - b³ = (a - b)(a² + ab + b²). GCF first: Always check for a greatest common factor before attempting to factor the trinomial. For 6x² + 12x + 6, first factor out 6 to get 6(x² + 2x + 1) = 6(x + 1)². Failing to extract the GCF makes the remaining factoring unnecessarily difficult.

Applications of Factoring Trinomials

Solving quadratic equations: Setting a factored expression equal to zero and applying the zero product property gives the solutions directly. If (x - 2)(x + 5) = 0, then x = 2 or x = -5. Graphing parabolas: The factored form reveals the x-intercepts of the parabola y = ax² + bx + c. The vertex lies exactly halfway between the x-intercepts. Simplifying rational expressions: Factoring the numerator and denominator of fractions allows cancellation of common factors.

Calculus: Factoring is essential for partial fraction decomposition, finding critical points, and solving differential equations. Physics and engineering: Many physical relationships involve quadratic expressions — projectile motion, electrical circuits, optimization problems — where factoring provides the solutions. Number theory: Factoring polynomials underlies many concepts in modern algebra and cryptography.

Common Mistakes When Factoring

Sign errors: The most frequent mistake is getting signs wrong in the factors. Always verify by multiplying your factors back together. Forgetting the GCF: Attempting to factor 4x² + 8x + 4 as a complex trinomial when simply factoring out 4 first gives 4(x + 1)². Assuming all trinomials factor nicely: Not every trinomial with integer coefficients factors into binomials with integer coefficients. For example, x² + x + 1 is irreducible over the reals. Dropping the leading coefficient: When a is not 1, the factored form must account for it. If roots are r1 and r2, the factored form is a(x - r1)(x - r2), not (x - r1)(x - r2).

Frequently Asked Questions

Factoring a trinomial means rewriting an expression like ax² + bx + c as a product of simpler expressions, typically two binomials like (dx + e)(fx + g). It is the reverse of multiplying binomials using FOIL. Factoring reveals the roots (zeros) of the expression and simplifies algebraic manipulation.
No. A trinomial can only be factored over the real numbers if its discriminant (b² - 4ac) is non-negative. If the discriminant is negative, the trinomial has complex roots and is called "irreducible" or "prime" over the reals. For example, x² + x + 1 cannot be factored using real numbers.
The discriminant is b² - 4ac. If it is positive, the trinomial has two distinct real roots and factors into two different binomials. If it is zero, there is one repeated root and the trinomial is a perfect square. If it is negative, there are no real roots and the trinomial cannot be factored over the reals.
Use the AC method: multiply a and c, find two numbers that multiply to ac and add to b, rewrite the middle term, then factor by grouping. Alternatively, use the quadratic formula to find the roots and write the factored form as a(x - r1)(x - r2), then simplify.
Factoring rewrites an expression as a product (e.g., x² - 5x + 6 = (x-2)(x-3)). Solving finds the values of x that make the expression equal zero (e.g., x = 2 or x = 3). Factoring is a tool used for solving: once factored, set each factor to zero and solve.
A perfect square trinomial factors into a single binomial squared. The form is a² + 2ab + b² = (a+b)² or a² - 2ab + b² = (a-b)². For example, x² + 6x + 9 = (x+3)² and 4x² - 12x + 9 = (2x-3)². The discriminant of a perfect square trinomial is always zero.
Multiply your factors back together using FOIL (or distribution) and verify that you get the original trinomial. For example, if you factored x² - 5x + 6 as (x-2)(x-3), multiply: x·x + x·(-3) + (-2)·x + (-2)·(-3) = x² - 3x - 2x + 6 = x² - 5x + 6. The result matches, confirming the factoring is correct.

Embed this Calculator

Copy the code below and paste it into your website's HTML. Your visitors can use this calculator for free.

px × px
<iframe src="https://calculatorteam.com/embed/factoring-trinomials-calculator" width="100%" height="600" style="border:none;border-radius:12px;" loading="lazy" title="Factoring Trinomials Calculator"></iframe>

Report an Issue

Let us know what's wrong with this calculator. We'll review and fix it as soon as possible.