18
49
7
1
2
-0.333333
-1.5
-1.833333
0.5
1
1
0
-0
18
49
7
1
2
-0.333333
-1.5
-1.833333
0.5
1
1
0
-0
The Factoring Trinomials Calculator specializes in factoring quadratic trinomials of the form ax² + bx + c, with particular emphasis on the AC method (also called the grouping method) that is the standard technique for factoring trinomials where the leading coefficient a ≠ 1. This calculator computes the discriminant, roots, AC product, and determines whether the trinomial factors over the integers.
A trinomial is a polynomial with exactly three terms. Quadratic trinomials are the most common type encountered in algebra courses, and learning to factor them efficiently is a foundational skill. When a = 1 (monic trinomials), factoring is relatively straightforward: find two numbers that multiply to c and add to b. For example, x² + 5x + 6 factors as (x + 2)(x + 3) because 2 × 3 = 6 and 2 + 3 = 5.
When a ≠ 1 (non-monic trinomials), factoring becomes more challenging. The AC method provides a systematic approach. The idea is to find two numbers that multiply to the product ac and add to b. These two numbers are then used to split the middle term bx into two parts, after which the expression is factored by grouping. For example, to factor 6x² + 11x + 3, compute ac = 18. Find two numbers that multiply to 18 and add to 11: these are 9 and 2. Rewrite: 6x² + 9x + 2x + 3 = 3x(2x + 3) + 1(2x + 3) = (3x + 1)(2x + 3).
This calculator automates the process by computing the discriminant Δ = b² − 4ac, which determines whether real roots exist, and by checking whether the discriminant is a perfect square. If Δ is a non-negative perfect square, the trinomial factors over the integers (assuming a, b, c are integers). If Δ is non-negative but not a perfect square, the roots are irrational, meaning the trinomial factors over the reals but not over the integers. If Δ is negative, the trinomial is irreducible over the reals.
The AC product is displayed prominently because it is the key value in the AC method. Students need to find a pair of integers whose product equals ac and whose sum equals b. When such a pair exists (which happens precisely when Δ is a perfect square), the trinomial factors nicely. The calculator helps students verify whether such a pair exists without exhaustive trial-and-error searching.
Beyond the AC method, the calculator computes the exact roots using the quadratic formula, which always works regardless of whether the trinomial factors over the integers. The roots x₁ and x₂ directly give the factored form: a(x − x₁)(x − x₂). This approach bridges the gap between the algebraic factoring technique and the formula-based method, helping students understand that both methods produce the same result.
Vieta's formulas provide additional insight: the sum of roots equals −b/a and the product equals c/a. These relationships are independent of the factoring method used and provide a quick verification of any factoring result. If your proposed factors give roots whose sum and product do not match these values, the factoring contains an error.
Factoring trinomials has practical applications throughout mathematics and science. In physics, projectile motion equations are quadratic trinomials whose roots give the times at which a projectile reaches a given height. In economics, profit functions are often quadratic, and factoring reveals break-even points. In engineering, quadratic factors appear in transfer functions, circuit analysis, and control system design.
The calculator factors ax² + bx + c using the quadratic formula and checks for integer factorability via the discriminant.
Step 1: Compute the discriminant
$$\Delta = b^2 - 4ac$$
Step 2: Compute the AC product
$$\text{AC} = a \times c$$
For the AC method, you need two integers m and n such that m × n = AC and m + n = b.
Step 3: Find the roots
$$x_1 = \frac{-b + \sqrt{\Delta}}{2a}, \quad x_2 = \frac{-b - \sqrt{\Delta}}{2a}$$
Step 4: Check integer factorability
The trinomial factors over the integers if and only if Δ ≥ 0 and √Δ is an integer (i.e., Δ is a perfect square).
Step 5: Vieta's verification
$$x_1 + x_2 = -\frac{b}{a}, \quad x_1 \cdot x_2 = \frac{c}{a}$$
The factored form is a(x − x₁)(x − x₂), which can be rewritten with integer coefficients by clearing denominators.
The discriminant determines the nature of the factorization. A positive discriminant means two distinct real roots and two distinct linear factors. Zero means a perfect square trinomial (repeated root). Negative means no real factorization exists.
The AC product is the target product for the AC method. You need two integers whose product is AC and whose sum is b. If the "Factors over Integers" indicator shows 1, such a pair exists. If it shows 0, the trinomial has irrational or complex roots and does not factor neatly.
The roots give the factored form directly: ax² + bx + c = a(x − x₁)(x − x₂). To express this with integer coefficients, if x₁ = p/q in lowest terms, then one factor is (qx − p).
The sum and product of roots via Vieta's formulas serve as a verification. After factoring, check that the roots of your factored form yield the correct sum and product.
Inputs
Results
AC = 18. Find two numbers with product 18 and sum 11: 9 and 2. Rewrite: 6x² + 9x + 2x + 3 = 3x(2x + 3) + 1(2x + 3) = (3x + 1)(2x + 3). Roots: x = −1/3 and x = −3/2. Discriminant = 49 (perfect square), so it factors over integers ✓.
Inputs
Results
With a = 1, we need two numbers with product 12 and sum −7: these are −3 and −4. So x² − 7x + 12 = (x − 3)(x − 4). Discriminant = 1 (perfect square). Sum of roots = 7 = −(−7)/1 ✓. Product = 12 = 12/1 ✓.
The AC method (also called factoring by grouping) works for any trinomial ax² + bx + c. Multiply a × c to get the AC product. Find two integers m and n such that m × n = ac and m + n = b. Rewrite bx as mx + nx, then factor by grouping: ax² + mx + nx + c = (common factor 1)(group 1) + (common factor 2)(group 2). This method systematically handles non-monic trinomials that are difficult to factor by inspection.
A trinomial ax² + bx + c (with integer coefficients) fails to factor over the integers when the discriminant Δ = b² − 4ac is not a perfect square. If Δ > 0 but not a perfect square, the roots are irrational (involving square roots), and the factors contain irrational numbers. If Δ < 0, the roots are complex, and no real factorization exists. The calculator's "Factors over Integers" indicator checks this condition.
When a = 1, the trinomial is x² + bx + c. You need two numbers that multiply to c and add to b. If these numbers are p and q, then x² + bx + c = (x + p)(x + q). This is simpler than the full AC method because the AC product equals c itself. For example, x² + 7x + 12 = (x + 3)(x + 4) since 3 × 4 = 12 and 3 + 4 = 7.
Both methods find the same roots. The quadratic formula always works and gives exact roots. The AC method is an algebraic technique that finds integer-coefficient factors when they exist. The connection is that the AC method's requirement (find m, n with mn = ac and m + n = b) is equivalent to the discriminant being a perfect square. When √Δ is an integer, the quadratic formula gives rational roots, which correspond to integer-coefficient factors.
This calculator is designed for quadratic trinomials (degree 2). However, some higher-degree trinomials are "quadratic in form." For example, x⁴ − 5x² + 6 can be treated as u² − 5u + 6 where u = x². Factor using this calculator with a=1, b=−5, c=6 to get (u − 2)(u − 3) = (x² − 2)(x² − 3). Each quadratic factor can then be analyzed further.
The factor pair sum target (which equals b) is shown to help with the AC method. After computing the AC product, you search for two numbers whose product is AC and whose sum is this target value b. Having both the AC product and the target sum displayed together saves you from referring back to the original coefficients during the factoring process.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!
Polynomial Calculator
Polynomial Calculators
Polynomial Division Calculator
Polynomial Calculators
Synthetic Division Calculator
Polynomial Calculators
Factoring Calculator
Polynomial Calculators
Perfect Square Trinomial Calculator
Polynomial Calculators
Difference of Two Squares Calculator
Polynomial Calculators