What Factoring a Quadratic Means
A quadratic trinomial is a three-term polynomial of degree two. In standard form, it is written as \(ax^2+bx+c\), where \(a\), \(b\), and \(c\) are integers and \(a\ne 0\). Factoring the trinomial means writing it as a product of simpler expressions. In this tutorial, we look for factors that are linear binomials with integer coefficients.
For example, the expression \(x^2+7x+12\) can be written as \((x+3)(x+4)\). The factorization is useful only if it is correct: expanding the product must return the original trinomial. That check is part of the method, not an optional final flourish.
Before factoring a trinomial, check for a greatest common factor in all three terms. If one exists, factor it out first, as in the earlier material on factoring out the greatest common factor. Then factor the remaining trinomial if possible. A common factor outside parentheses is already part of the factorization.
The Coefficient Conditions
Expanding two general linear binomials shows exactly what must match. Multiply each term in the first binomial by each term in the second:
Therefore, for this product to equal \(ax^2+bx+c\), the coefficients must satisfy three conditions: \(pq=a\), \(ps+qr=b\), and \(rs=c\). For a monic trinomial, \(a=1\), so the leading coefficient condition is especially simple: the two coefficients of \(x\) in the factors must multiply to \(1\).
These conditions explain two useful search strategies. For a monic trinomial \(x^2+bx+c\), look for integers whose product is \(c\) and whose sum is \(b\). For a nonmonic trinomial, look for coefficient pairs that satisfy the full three-condition test. In either case, expansion provides the final verification.
Factoring Monic Trinomials
A monic quadratic has leading coefficient \(1\). To factor \(x^2+bx+c\) into integer linear factors, look for integers \(m\) and \(n\) such that \(m+n=b\) and \(mn=c\). If such integers exist, then the factorization is \((x+m)(x+n)\), because expanding gives \(x^2+(m+n)x+mn\).
The signs of the pair matter. If the constant \(c\) is positive, the two integers have the same sign; their sum determines whether both are positive or both are negative. If \(c\) is negative, the integers have opposite signs; the larger absolute value determines the sign of their sum.
Worked Example: A Positive Constant and Positive Middle Coefficient
Factor \(x^2+7x+12\) into integer linear factors, if possible.
The leading coefficient is \(1\), so we need two integers with product \(12\) and sum \(7\). The positive factor pairs of \(12\) are \(1,12\), \(2,6\), and \(3,4\). Their sums are \(13\), \(8\), and \(7\), respectively. Thus the required pair is \(3,4\), giving the candidate \((x+3)(x+4)\).
Check by expansion:
The expansion reproduces the original trinomial, so the factorization is correct.
Worked Example: A Negative Constant
Factor \(x^2-x-12\) into integer linear factors, if possible.
The two integers must multiply to \(-12\) and add to \(-1\). Because their product is negative, they must have opposite signs. The pair \(3,-4\) has product \(-12\) and sum \(3+(-4)=-1\). The candidate factorization is \((x+3)(x-4)\).
Check by expansion:
The product and middle coefficient both match, confirming the factorization.
Factoring Nonmonic Trinomials
When \(a\ne 1\), do not use the monic sum-and-product test by itself. The coefficients of \(x\) in the factors must multiply to \(a\), while the constants must multiply to \(c\). The two cross-products must then add to \(b\).
A practical approach is to list factor pairs for \(a\) and \(c\), form possible binomials, and calculate the cross-products. The order of the factors can affect those cross-products, so check the actual candidate rather than relying on a pair of numbers that merely seems promising.
Worked Example: A Nonmonic Trinomial with Positive Terms
Factor \(6x^2+11x+3\) into integer linear factors, if possible.
The leading coefficient \(6\) can be written as \(3\cdot2\), and the constant \(3\) can be written as \(1\cdot3\). Try the corresponding factors \((3x+1)(2x+3)\). Their leading coefficients multiply to \(3\cdot2=6\), and their constants multiply to \(1\cdot3=3\). The cross-products are \(3x\cdot3=9x\) and \(1\cdot2x=2x\), which add to \(11x\).
Check by expanding all terms:
All three coefficients match the original, so this factorization is correct.
Worked Example: A Nonmonic Trinomial with a Negative Constant
Factor \(4x^2-4x-3\) into integer linear factors, if possible.
The leading coefficients of the factors must multiply to \(4\), and their constants must multiply to \(-3\). Try \(2x\) and \(2x\) for the leading terms, and \(-3\) and \(1\) for the constants. This gives \((2x-3)(2x+1)\). The leading product is \(2\cdot2=4\), the constant product is \((-3)\cdot1=-3\), and the cross-products are \(2x\cdot1=2x\) and \((-3)\cdot2x=-6x\). Their sum is \(-4x\), as required.
Check the complete expansion:
The expansion matches the original trinomial, including the negative middle and constant terms.
Why the Method Works
The method is not a guessing trick: it follows directly from the distributive property. Suppose integers \(p,q,r,s\) satisfy \(pq=a\), \(ps+qr=b\), and \(rs=c\). Expanding the proposed product gives \(pq x^2+(ps+qr)x+rs\). Substituting those three equalities gives \(ax^2+bx+c\). Thus the proposed product is exactly the original trinomial.
The same calculation proves the monic test. If \(m+n=b\) and \(mn=c\), then
Conversely, if a monic trinomial factors as \((x+m)(x+n)\) with integer constants \(m,n\), expansion forces their sum to be \(b\) and their product to be \(c\). So finding the pair is both a way to construct a factorization and a necessary test for this form of integer factorization.
Sign Checks and Common Mistakes
Writing signs carefully prevents many errors. With a negative constant, the factors must have opposite-sign constants. With a positive constant, the constants have the same sign, and their sum must have the sign of the middle coefficient. For nonmonic trinomials, the cross-products—not the constants alone—determine the middle coefficient.
A common mistake is to find constants whose product is correct and assume the factorization works. For example, a student might propose \((3x+1)(2x+3)\) for \(6x^2+10x+3\), reasoning that the leading and constant coefficients match. But the cross-products give \(9x+2x=11x\), not \(10x\). Expanding shows the error:
The correction is to check all three coefficient conditions. Matching the leading and constant terms is not enough; the middle coefficient must also match. If no candidate does so, do not present a near-match as a factorization.
When No Integer Pair Works
For some trinomials, the required integer pair does not exist. Consider \(x^2+2x+2\). The integers that multiply to \(2\) are \(1,2\) and their negatives, \(-1,-2\). Their sums are \(3\) and \(-3\), not \(2\). Therefore there is no integer pair with product \(2\) and sum \(2\), so this trinomial does not factor into integer linear binomials.
A zero constant is a special straightforward case. If the trinomial has the form \(ax^2+bx\), both terms contain \(x\), so \(x\) can be factored out to give \(x(ax+b)\). Check whether \(a\) and \(b\) have a common factor as well, since the greatest common factor may be larger than \(x\).
A Reliable Factoring Routine
Factor out any common factor before searching for binomial factors.
Write the trinomial as \(ax^2+bx+c\) and note the signs of \(a\), \(b\), and \(c\).
For a monic trinomial, find a pair with product \(c\) and sum \(b\). For a nonmonic one, test leading and constant factor pairs and calculate their cross-products.
Multiply the binomials and combine like terms. Confirm that every coefficient matches the original trinomial.
Factoring is a way to rewrite a polynomial without changing its value. The expansion check makes that principle concrete: it confirms that the proposed product and the original expression are identical for every value of \(x\).
Check Your Understanding
For each question, use the coefficient conditions and check any proposed factorization by expansion.
- Which two integers have product \(18\) and sum \(9\), and what factorization do they give for \(x^2+9x+18\)?
- Factor \(x^2-5x+6\) into integer linear factors, or explain why the integer-pair test would fail.
- For \(5x^2+13x+6\), identify binomial factors by checking the leading product, constant product, and cross-products.
- Why is matching the leading and constant coefficients alone insufficient to confirm a nonmonic factorization?
- Does \(x^2+4x+5\) factor into integer linear binomials? Explain using the required product-and-sum conditions.