Factoring Quadratics
Learning goals
- Find two numbers with sum and product
- Read the signs from first, then from
- Solve by factoring and the zero-product property
- Pull out a common factor, or a shared , first
- Check by expanding the factors back
- Call a trinomial irreducible when no integer pair fits
Factoring reverses expanding
To factor a trinomial is to write it as a product of factors, the exact reverse of expanding a product into a trinomial. Since the two operations undo each other, the way to discover the factors is to look closely at what expanding produces. In the chapter on expanding you multiplied two simple factors of the form and and got
Read that equation from right to left and it stops being a multiplication rule and becomes a factoring recipe.
Why factoring means finding two numbers with sum and product #
Start by expanding a general product of the two factors and , multiplying every term of the first by every term of the second:
Now suppose this product is the trinomial you are trying to factor. Two expressions in are equal for every value of only when they match term by term. So line up the coefficient of and the constant term on each side:
That is the whole secret of the method. To factor you need two numbers, and , that add up to and multiply to . Find that pair and the factorization is , with nothing left to guess. Notice also that the squared term on the left is a plain with coefficient , and the expansion produces an with coefficient to match. That match is exactly why this recipe fits a trinomial that begins with and no number in front.
The picture behind the recipe is the same rectangle you drew for expanding, read the other way. Give a rectangle a width of and a height of . The two splits carve it into four pieces whose areas are , , , and the small corner .
The two strips and together make the middle term, since they combine to , and the corner is the constant. So matching the middle term of a trinomial pins down , and matching the constant pins down . Everything below is just carrying out that search.
Finding the two numbers
The recipe turns factoring into a small, orderly search. Run through the pairs of whole numbers that multiply to , and pick the pair that also adds to . The signs do much of the work of narrowing that search, so read them before you start listing.
Because is the product of the two numbers, its sign tells you whether they share a sign. When is positive, and must have the same sign, because only two positives or two negatives multiply to a positive. In that case the pair’s sum tells you which sign they share: both positive when is positive, and both negative when is negative. When is negative, the two numbers must have opposite signs, because a positive times a negative is negative. When the signs are opposite, the number with the larger size carries the sign of . Reading the signs this way cuts the list of candidate pairs roughly in half before you add anything.
Worked example 1 Factor
Here and . The product is positive and the sum is positive, so both numbers are positive. List the positive pairs that multiply to and check which one adds to :
The pair and has the sum you want, so those are and :
Check by expanding the answer back: , the original.
Worked example 2 Factor
Now and . The product is positive, so the two numbers share a sign, and the sum is negative, so both are negative. List the negative pairs multiplying to :
The pair and works, so
Expanding confirms it: .
Worked example 3 Factor , then
Both trinomials have , which is negative, so in each the two numbers have opposite signs. The size pairs that multiply to are and or and . Of those two pairs, only and can be arranged to give a sum of size .
For the sum is , so the larger number is positive: take and , since and :
For the sum is , so the larger number is negative: take and , since and :
The same size pair handles both trinomials; only the sign on the larger number flips to match the sign of .
The method does not care if happens to be . To factor , read it as and look for two numbers with sum and product . Opposite numbers of the same size add to , and and multiply to , so . A missing middle term simply means the two numbers are opposites.
Check your understanding
Factor .
The product is positive and the sum is positive, so both numbers are positive. Look for a positive pair that multiplies to and adds to .
So . The pair and multiplies to but adds to , and the negative pairs give the wrong sign on the middle term.
Solving a quadratic by factoring
Factoring is worth the effort because it feeds straight into the zero-product property from the last lesson. To solve , factor the left side into and set the product to zero:
A product is zero only when one of its factors is zero, so or , which gives or . Watch the sign flip one more time: the number that sits inside a factor as becomes the root . A factor and the root it produces always have opposite signs, and that is where a careless solve most often goes wrong.
Worked example 4 Solve
First factor the left side. With and , the product is negative, so the two numbers have opposite signs, and they must add to . The pair and works, since and :
By the zero-product property, set each factor to :
so or . Two checks are available, and it is worth using them. Substituting confirms the roots, since and . Expanding the factors also rebuilds the original, since . Either check catches a slip.
Check your understanding
Solve by factoring.
The product is negative, so the two numbers have opposite signs, and their sum is . A product of and a sum of come from and .
Setting each factor to gives or . Mind the sign flip: the factor yields the root , and yields .
Pulling out a common factor first
Two setups look harder than they are, and both begin with a factor you pull out before the sum-and-product search even starts.
The first is a trinomial whose three coefficients share a common numerical factor, such as . Its leading coefficient is not , so the recipe does not apply directly. But every term is even, so factor the out front first:
Inside the parentheses the leading coefficient is back to . The sum-and-product method now finishes the job: two numbers with sum and product are and , so
Always pull out a common numerical factor first. It shrinks the numbers you have to work with and turns a stubborn-looking trinomial into a monic one you already know how to handle.
The second setup is a trinomial with no constant term, like . Here , and instead of hunting for a pair you simply pull out the shared :
Every term contains an , so is the common factor, and a single linear factor is left. Solving then gives or . The root is the one most often lost, because dividing both sides by quietly throws it away. Keep the factor rather than dividing, and both roots survive.
Worked example 5 Solve
Every coefficient is a multiple of , so pull out the first:
Now factor the monic trinomial inside. With sum and product , the numbers are and , since and :
The constant can never equal , so it contributes no root; the product is zero exactly when one of the variable factors is. Setting or gives
A nonzero number pulled out front is carried along for the ride and never changes the roots.
Check your understanding
Factor completely.
Every term is even, so pull out the common factor first, which restores a leading coefficient of inside.
Inside, two numbers with sum and product are and . The distractor expands to , not the original trinomial.
When a trinomial will not factor
Not every trinomial can be factored this way. The method depends on finding two whole numbers with the right sum and product, and sometimes no such pair exists. Take . You would need two numbers that multiply to and add to . The only integer pairs that multiply to are and , which add to , or and , which add to . Neither adds to , so the search fails, and is irreducible over the integers: it cannot be written as a product of factors with whole-number coefficients.
That does not mean the equation has no solutions. It means only that factoring over the integers is the wrong tool for it. Later lessons build methods, completing the square and the quadratic formula, that solve any quadratic whether it factors or not. For now, an honest run through the factor pairs of may turn up no pair that adds to . When that happens, you can stop and report that the trinomial does not factor over the integers, rather than force an answer that is not there.