Factoring Trinomials Calculator
Factor quadratic trinomials step-by-step using the AC method and box method of grouping with real roots, factor pairs, and visual grid.
What Is a Quadratic Trinomial?
A quadratic trinomial is a second-degree polynomial expression containing three distinct terms written in standard algebraic form:
$$ax^2 + bx + c$$
where $a$, $b$, and $c$ are constant real coefficients with $a \neq 0$. Factoring a trinomial involves rewriting this sum of terms into a product of two simpler linear binomial factors:
$$ax^2 + bx + c = (px + r)(qx + s)$$
The AC Method and Box Method of Factoring
When factoring quadratic trinomials where $a \neq 1$, the AC method (also called factoring by grouping) and the visual Box method provide a systematic technique:
- Calculate the AC Product: Multiply coefficient $a$ by constant $c$ to get the target product $P = a \times c$.
- Find Factor Pairs: Find two integers $m$ and $n$ such that $m \times n = ac$ and $m + n = b$.
- Split the Middle Term: Rewrite the middle term $bx$ as $mx + nx$.
- Group and Factor: Group the terms into pairs $(ax^2 + mx) + (nx + c)$ and extract greatest common factors (GCF) from each pair.
- Use the 2×2 Box Grid: Place $ax^2$ in the top-left cell, $mx$ in the top-right, $nx$ in the bottom-left, and $c$ in the bottom-right. Factor out common terms along rows and columns to find binomial factors.
Example: Factoring $2x^2 + 5x + 2$
Let us factor the quadratic trinomial $2x^2 + 5x + 2$:
- $a = 2$, $b = 5$, $c = 2$.
- $ac = 2 \times 2 = 4$.
- We need two numbers that multiply to $4$ and add to $5$. The pair is $4$ and $1$ ($4 \times 1 = 4, 4 + 1 = 5$).
- Split the middle term: $2x^2 + 4x + 1x + 2$.
- Group: $2x(x + 2) + 1(x + 2)$.
- Factor out $(x + 2)$: $(2x + 1)(x + 2)$.
The Role of the Discriminant ($\Delta$)
The discriminant $\Delta = b^2 - 4ac$ determines factorability:
- If $\Delta > 0$ and is a perfect square, the trinomial factors cleanly into two linear binomials with integer or rational coefficients.
- If $\Delta > 0$ but not a perfect square, the trinomial has two irrational real roots and can be factored using the quadratic formula.
- If $\Delta = 0$, the expression is a perfect square trinomial $a(x - r)^2$.
- If $\Delta < 0$, the trinomial has complex roots and cannot be factored over real numbers.
Related Math Calculators
Check out other helpful algebraic and polynomial solvers:
- Quadratic Calculator: Solve quadratic equations with vertex and discriminant analysis.
- Factor Calculator: Find all integer factors and factor pairs for any number.
- Prime Factors Calculator: Compute the prime factorization of integers.
Frequently Asked Questions
Can all quadratic trinomials be factored?
Not all trinomials can be factored over real numbers. A quadratic trinomial can only be factored over real numbers if its discriminant (b^2 - 4ac) is greater than or equal to zero. If the discriminant is negative, the roots are complex numbers.
What is the difference between the AC method and the box method?
The AC method and the box method are mathematically equivalent. The AC method writes out algebraic grouping steps, whereas the box method arranges the four terms into a 2x2 visual grid to make finding common binomial factors intuitive.
What if the leading coefficient a is negative?
If coefficient a is negative, it is customary to first factor out -1 from all three terms before finding factor pairs for the remaining positive leading coefficient.
How do you find the roots from the factored form?
Set each linear factor equal to zero using the zero product property. For example, if the factored form is (2x + 1)(x + 2) = 0, then 2x + 1 = 0 yields x = -1/2, and x + 2 = 0 yields x = -2.