Skip to main content

Factoring Trinomials Calculator

Free Factoring trinomials Calculator for algebra. Enter values to get step-by-step solutions with formulas and graphs. Get results you can export or share.

Share this calculator

Formula

ax^2 + bx + c = a(x - r1)(x - r2)

Where a is the leading coefficient, b is the middle coefficient, c is the constant, and r1 and r2 are the roots found by identifying factor pairs of a*c that sum to b, or by using the quadratic formula.

Worked Examples

Example 1: Factor x^2 + 5x + 6

Problem: Factor the trinomial x^2 + 5x + 6 into two binomials.

Solution: Here a = 1, b = 5, c = 6. We need two numbers that multiply to 6 and add to 5.\nFactor pairs of 6: (1, 6) and (2, 3).\n2 + 3 = 5, which matches b.\nSo x^2 + 5x + 6 = (x + 2)(x + 3).\nVerify: (x + 2)(x + 3) = x^2 + 3x + 2x + 6 = x^2 + 5x + 6.

Result: (x + 2)(x + 3)

Example 2: Factor 2x^2 + 7x + 3

Problem: Factor the trinomial 2x^2 + 7x + 3 using the AC method.

Solution: a = 2, b = 7, c = 3. Product AC = 2 * 3 = 6.\nFind two numbers that multiply to 6 and add to 7: 1 and 6.\nRewrite: 2x^2 + 1x + 6x + 3.\nGroup: (2x^2 + x) + (6x + 3) = x(2x + 1) + 3(2x + 1).\nFactor out common binomial: (2x + 1)(x + 3).\nVerify: (2x + 1)(x + 3) = 2x^2 + 6x + x + 3 = 2x^2 + 7x + 3.

Result: (2x + 1)(x + 3)

Frequently Asked Questions

What is the difference between factoring when a equals 1 versus when a does not equal 1?

When the leading coefficient a equals 1, the trinomial takes the simpler form x^2 + bx + c, and you simply need to find two numbers that multiply to c and add to b. When a is not equal to 1, the process becomes more involved because you must find two numbers that multiply to the product a times c and sum to b, then use a technique called factoring by grouping. This grouping method involves splitting the middle term into two terms using the factor pair you found, then grouping and extracting common factors from each pair. Many students find the a-not-equal-to-1 case more challenging, but the underlying logic remains the same.

What role does the discriminant play in factoring trinomials?

The discriminant, calculated as b^2 - 4ac, tells you whether a trinomial can be factored over the real numbers and what type of roots the corresponding quadratic equation has. If the discriminant is a perfect square (including zero), the trinomial can be factored over the rational numbers. If the discriminant is positive but not a perfect square, the roots are irrational and the trinomial cannot be factored neatly with integer coefficients. A negative discriminant means the roots are complex numbers, so the trinomial has no real factorization. Understanding the discriminant saves time by telling you in advance whether integer factoring will succeed.

What is the AC method for factoring trinomials?

The AC method (also called the product-sum method) is a systematic approach for factoring any trinomial ax^2 + bx + c. First, compute the product A times C. Then find two integers m and n such that m times n equals AC and m plus n equals b. Next, rewrite the middle term bx as mx + nx, creating a four-term expression. Finally, factor by grouping: group the first two and last two terms, extract the greatest common factor from each group, and combine. This method works for all factorable trinomials regardless of the value of a, making it a universal and reliable technique.

Can all trinomials be factored over the integers?

No, not all trinomials can be factored over the integers. A trinomial ax^2 + bx + c is only factorable over the integers if there exist two integers whose product equals a times c and whose sum equals b. If no such integer pair exists, the trinomial is called prime or irreducible over the integers. You can check this by computing the discriminant b^2 - 4ac: if it is a perfect square, the trinomial is factorable over the rationals, otherwise it is not. For example, x^2 + x + 1 has a discriminant of -3, making it irreducible over the real numbers. In such cases, the quadratic formula provides the roots in radical or complex form.

How does factoring trinomials relate to solving quadratic equations?

Factoring trinomials is one of the primary methods for solving quadratic equations of the form ax^2 + bx + c = 0. Once the trinomial is factored into two binomials, say (px + q)(rx + s) = 0, you apply the zero product property, which states that if the product of two factors is zero then at least one factor must be zero. This gives two linear equations: px + q = 0 and rx + s = 0, each easily solved. The solutions (roots) of the quadratic are x = -q/p and x = -s/r. This method is faster than the quadratic formula when the trinomial factors neatly over the integers.

What is the difference between factoring and using the quadratic formula?

Both factoring and the quadratic formula are methods for finding the roots of a quadratic equation, but they differ in approach and applicability. Factoring is a direct algebraic decomposition that works elegantly when the trinomial has integer or rational roots, providing exact answers quickly. The quadratic formula x = (-b plus or minus the square root of b^2 - 4ac) divided by 2a works for every quadratic equation regardless of whether it factors neatly. The trade-off is that factoring is faster when it works but impossible when the roots are irrational or complex, while the quadratic formula always provides an answer but involves more computation. Most mathematicians recommend trying factoring first and falling back to the formula.

References