Factoring Quadratics
Progress can't be saved in this browser, so this lesson's status can't be set.
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 an expression is to write it as a product. A trinomial has three terms, and a monic quadratic has leading coefficient . For a monic trinomial, expanding tells us what to look for when we work backward.
Why factoring means finding two numbers with sum and product #
Expand by multiplying every term in one factor by every term in the other:
The middle coefficient is , and the constant is . Reading backward, the pair , factors .
The same expansion works for any numbers and in place of and :
Two quadratic expressions equal for every must have the same coefficients. To make this the trinomial , match the middle coefficient and the constant:
So find two numbers with sum and product , and write . Both leading terms are , which is why this rule gives a squared-term coefficient of .
For positive lengths, the expansion also describes a rectangle. Split its width into and , and its height into and . The four pieces show where the terms come from. The algebra above also works for negative values, even though a negative value cannot be a side length.
Finding the two numbers
We are looking for integer factors. List the integer pairs whose product is , then check their sums. Use the signs to narrow the list:
- Positive : the numbers have the same sign, because multiplying two positives or two negatives gives a positive product. A positive sum needs two positives; a negative sum needs two negatives. Their sum cannot be zero.
- Negative : the signs are opposite, because a positive times a negative is negative. If the sum is positive, the positive number is farther from zero; if the sum is negative, the negative number is farther from zero.
The cases with or also fit the method, as we will see below.
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 number farther from zero is positive: take and , since and :
For the sum is , so the number farther from zero is negative: take and , since and :
The same size pair handles both trinomials. Both signs reverse, keeping the product at and changing the sum from to .
The method also works when is . 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 other arrangements give the wrong middle term.
Solving a quadratic by factoring
Factoring rewrites an expression as a product. To solve an equation, we look for the values that make that product zero. First rearrange the equation so one side is . If its other side factors, then
gives or by the zero-product property from the previous lesson. Thus the roots are and . For example, the entry in a factor gives the root . Keep the factoring numbers and the roots separate.
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 . You can check the answer in two ways. Substituting confirms the roots, since and . Expanding the factors also rebuilds the original, since .
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
Before searching for a sum-and-product pair, check for a common factor. It can make the remaining trinomial simpler, or finish the factoring immediately. Here are two common cases.
The first case is a trinomial whose three coefficients share a common numerical factor, such as . Its leading coefficient is not , so the sum-and-product method 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
Pull out the greatest common numerical factor first. It reduces the coefficients you must work with. Here the remaining leading coefficient is , so the monic method applies. If it is still greater than , the next lesson shows what to do.
The second case is a quadratic with no constant term, like . Here , and instead of hunting for a pair you simply pull out the shared . The pair would be and (or and in ):
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: dividing both sides by removes it. Keep the factor instead of dividing, and you keep both roots.
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 is not , and a nonzero constant factor cannot make a product zero, so it adds no root; the product is zero exactly when one of the variable factors is. Setting or gives
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 integers 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 two linear factors with integer coefficients. For this monic quadratic, those factors would be with integers and .
Being irreducible over the integers is not the same as having no solutions at all. The equation is irreducible the same way, yet it still has two real solutions, just not integers. The equation , though, has no real solution at all: later lessons on completing the square and the quadratic formula will show why. For now, if you check every factor pair of and none of them adds to , you can stop and report that the trinomial does not factor over the integers.
Check your understanding
Which quadratic expression is irreducible over the integers?
For , the only integer pairs with product are and . Their sums are not :
The other expressions factor as , , and .