Sub topic 8
Factoring Trinomials: \(x^2+bx+c\) and \(ax^2+bx+c\)
Assume you can combine like terms, multiply signed integers, expand products, and solve linear equations. Factoring reverses expansion: it rewrites a polynomial as a product of simpler expressions.
Factoring \(x^2+bx+c\)
For a trinomial of the form
\[ x^2+bx+c, \]
find two integers \(m\) and \(n\) such that
\[ m+n=b \quad \text{and} \quad mn=c. \]
Then
\[ x^2+bx+c=(x+m)(x+n). \]
Example
Factor \(x^2-7x+12\).
The two numbers must add to \(-7\) and multiply to \(12\). They are \(-3\) and \(-4\).
\[ x^2-7x+12=(x-3)(x-4) \]
Check by FOIL:
\[ (x-3)(x-4)=x^2-4x-3x+12=x^2-7x+12. \]
The signs provide a useful shortcut:
| Constant \(c\) | Possible signs of \(m,n\) |
|---|---|
| Positive | Same signs |
| Negative | Opposite signs |
If \(c\) is positive, use the sign of \(b\) to choose both signs. If \(c\) is negative, the number with the greater absolute value must have the sign of \(b\).
Factoring \(ax^2+bx+c\)
When the coefficient \(a\) is not 1, use the AC method.
- Multiply \(a\) and \(c\).
- Find two numbers whose product is \(ac\) and whose sum is \(b\).
- Split the middle term using those numbers.
- Factor by grouping.
Example
Factor \(6x^2+11x+3\).
First calculate:
\[ ac=6\cdot3=18. \]
The numbers \(9\) and \(2\) multiply to \(18\) and add to \(11\). Split \(11x\):
\[ 6x^2+9x+2x+3. \]
Group the terms:
\[ (6x^2+9x)+(2x+3). \]
Factor each group:
\[ 3x(2x+3)+1(2x+3). \]
The common binomial is \(2x+3\), so
\[ 6x^2+11x+3=(3x+1)(2x+3). \]
Diagram: the factoring process
Common errors and GRE strategy
Always factor out a greatest common factor first. For example,
\[ 4x^2+12x+8=4(x^2+3x+2)=4(x+1)(x+2). \]
Do not confuse the product condition with the sum condition. For \(x^2+bx+c\), the numbers multiply to \(c\), not to \(b\). For \(ax^2+bx+c\), they multiply to \(ac\).
After factoring, multiply the factors mentally or test a simple value of \(x\). This catches sign errors quickly. If no suitable integer pair exists, the quadratic may not factor over the integers, so use another method such as the quadratic formula.
def original(x):
return 6 * x**2 + 11 * x + 3
def factored(x):
return (3 * x + 1) * (2 * x + 3)
for value in [-2, 0, 1, 5]:
assert original(value) == factored(value)
print("The factorization checks out.")Exercise
Factor \(2x^2-5x-3\).
Show answer
Since \(ac=-6\), use \(1\) and \(-6\). Then \(2x^2+x-6=2x^2+ x-6\) groups as \(x(2x+1)-3(2x+1)\), so the factorization is \((x-3)(2x+1)\).