Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
Split the leading coefficient across both factors
Try reverse FOIL, expanding each candidate to check
Use a⋅c to find the pair that splits the middle
Remove a common factor before factoring the rest
Recognize that a root can come out as a fraction when the leading coefficient exceeds one
The leading coefficient splits across both factors
A trinomial such as 2x2+7x+3 is non-monic: its leading coefficient is not 1.
In this lesson we look for factors with integer coefficients. The leading coefficient
must come from multiplying the two x terms, while the middle term comes from two
cross products.
Why the factors of ax2+bx+c satisfy pq=a, rs=c, and ps+qr=b#
First expand a numerical example:
(2x+3)(3x+4)=6x2+8x+9x+12=6x2+17x+12.
The leading coefficient is 2⋅3=6, the constant is 3⋅4=12, and the
middle coefficient is 2⋅4+3⋅3=17.
Now use letters for the same four positions: p=2, r=3 in the first factor,
and q=3, s=4 in the second. Although q and r both equal 3 here, they
play different roles: q multiplies x, while r is a constant. Distributing gives
(px+r)(qx+s)=pqx2+psx+qrx+rs=pqx2+(ps+qr)x+rs.
Two quadratic expressions equal for every x must have the same coefficients.
So any factorization of ax2+bx+c must satisfy all three equations:
pq=a,ps+qr=b,rs=c.
So choose factor pairs for a and c whose cross productsps and qr add to b.
Since a=0 for a quadratic, neither p nor q can be zero.
∎
For positive lengths, a rectangle shows the same multiplication. Split its width into
px and r, and its height into qx and s. The algebra above also works with
negative numbers, even though a side length cannot be negative.
The four areas add to pqx² + (ps + qr)x + rs. The two cross terms make the middle term.
The diagonally opposite cells give pqx2 and rs. The other two cells give the cross terms
psx and qrx.
Factoring by reverse FOIL
Choose a factor pair for a and a factor pair for c. Arrange them in
(px+r)(qx+s), then expand to check the middle term. If it is not bx, try a
different arrangement or a different factor pair. The first examples have positive coefficients, so we start
with positive factor pairs.
Worked example 1Factor 2x2+7x+3
Here a=2, b=7, and c=3. Both 2 and 3 are prime, so there is only one factor pair to
place: a=2 splits as 2⋅1, and c=3 splits as 3⋅1. That fixes the skeleton as
(2x+)(x+) with 3 and 1 to drop into the blanks. Two arrangements
are possible, so write each and expand to see which gives a middle term of 7x:
(2x+3)(x+1)(2x+1)(x+3)=2x2+5x+3,=2x2+7x+3.
The second arrangement lands the middle term on 7x, so
2x2+7x+3=(2x+1)(x+3).
The 2x multiplies the constant in the other binomial. Putting 3 there gives
6x; putting 1 there gives 2x. That is why swapping the constants changes the
middle term. Reversing the order of the two whole factors still leaves the product
unchanged: (x+3)(2x+1) is the same factorization.
Worked example 2Factor 3x2+10x+8
Now a=3, b=10, and c=8. Since 3 is prime the skeleton is (3x+)(x+), and the constant 8 offers the factor pairs 1⋅8 and 2⋅4. Each of
those pairs can drop into the blanks in either order. Test them by expanding and watching only the
middle term:
Expanding confirms it fully: (3x+4)(x+2)=3x2+6x+4x+8=3x2+10x+8. Notice that the
3 in front makes the two arrangements (3x+4)(x+2) and (3x+2)(x+4) give different middle
terms, so both really do need checking.
Check your understanding
Factor 2x2+7x+5.
With a=2 prime and c=5 prime, the skeleton is (2x+)(x+) holding 5 and 1. Try each arrangement and read the middle term.
(2x+5)(x+1)=2x2+2x+5x+5=2x2+7x+5
The cross products 2x and 5x add to 7x, so 2x2+7x+5=(2x+5)(x+1). The other arrangement (2x+1)(x+5) gives 11x.
Using the product of a and c
In the previous lesson, the two factoring numbers had sum b and product c.
Here we look at the cross-term coefficients instead. The proof’s example
(2x+3)(3x+4) had cross-term coefficients 8 and 9. They add to 17,
and their product is 72, the same as 6⋅12. Regroup the four numbers:
(2⋅4)(3⋅3)=(2⋅3)(3⋅4)=72.
This happens in every factorization (px+r)(qx+s) because multiplication can be regrouped:
(ps)(qr)=(pq)(rs)=a⋅c.
The cross-term coefficients therefore have sum b and product a⋅c.
Find that pair first, then choose factors that produce those cross terms, and
expand to check all three coefficients.
Worked example 3Factor 6x2+7x−3
Here a=6, b=7, and c=−3, so the middle term should split into two numbers with sum 7 and
product a⋅c=6⋅(−3)=−18. Because the product is negative the two numbers have opposite
signs, and a short search gives them:
9+(−2)=7and9⋅(−2)=−18.
So the two cross terms are 9x and −2x. Now build a factor pair of 6 and of −3 whose cross
products come out to 9x and −2x. Pairing 3x with 3 makes a 9x, and pairing 2x with −1
makes a −2x, which suggests (3x−1)(2x+3). Expand to confirm:
(3x−1)(2x+3)=6x2+9x−2x−3=6x2+7x−3.
The cross products are the 9x and −2x predicted by the sum-and-product pair, and the whole product rebuilds the
original, so
6x2+7x−3=(3x−1)(2x+3).
Check your understanding
Factor 3x2−8x+4.
The middle term should split into two numbers with sum −8 and product a⋅c=3⋅4=12. Both are negative, and −6 and −2 work, since −6+(−2)=−8 and (−6)(−2)=12.
(3x−2)(x−2)=3x2−6x−2x+4=3x2−8x+4
The cross products −6x and −2x match the split, so 3x2−8x+4=(3x−2)(x−2).
Pull out a common factor first
Before trying factor pairs, remove the greatest common factor of the coefficients.
The smaller coefficients make the remaining search easier.
Worked example 4Factor 6x2+15x+6 completely
Every coefficient is a multiple of 3, so factor the 3 out front before anything else:
6x2+15x+6=3(2x2+5x+2).
Pulling out the 3 dropped the leading coefficient inside from 6 to 2, which is much easier to
handle. Factor 2x2+5x+2 by the same trial as before. The middle should split into two numbers
with sum 5 and product 2⋅2=4, namely 4 and 1, so try (2x+1)(x+2):
(2x+1)(x+2)=2x2+4x+x+2=2x2+5x+2.
Putting the common factor back gives the complete factorization:
6x2+15x+6=3(2x+1)(x+2).
Leaving off the 3 changes the expression. Writing (6x+3)(x+2) is equal to the
original, but still has a common factor inside the first binomial. For a complete
factorization, pull that 3 out and keep it out front.
Solving gives roots that can be fractions
To solve ax2+bx+c=0, first write its left side as a product. Then the
zero-product property says to set each factor to zero.
For example, 2x−3=0 gives x=3/2: a root can be a fraction.
In general, if ax2+bx+c=(px+r)(qx+s), then
(px+r)(qx+s)=0
means px+r=0 or qx+s=0. Since p and q are nonzero, division gives
x=−r/p or x=−s/q. So a quadratic with integer coefficients can have roots that are not integers.
Worked example 5Solve 2x2+x−6=0
First factor the left side. With a=2, b=1, and c=−6, the middle should split into two
numbers with sum 1 and product 2⋅(−6)=−12. Those are 4 and −3, since 4+(−3)=1 and
4⋅(−3)=−12. Pairing 2x with 2 gives 4x, and pairing x with −3 gives −3x, which
suggests (2x−3)(x+2), which expands to 2x2+4x−3x−6=2x2+x−6. So
2x2+x−6=(2x−3)(x+2)=0.
By the zero-product property, set each factor to zero:
2x−3=0orx+2=0.
The roots are x=3/2 and x=−2. Check by substitution:
Split the middle into two numbers with sum −5 and product 2⋅(−3)=−6, which are −6 and 1. That points to (2x+1)(x−3), and expanding gives 2x2−6x+x−3=2x2−5x−3.
(2x+1)(x−3)=0
Setting each factor to zero gives 2x+1=0, so x=−21, and x−3=0, so x=3. The fraction comes from dividing out the leading 2.
When a harder trinomial will not factor
As with monic trinomials, not every non-monic trinomial factors over the integers. The search can
fail. Any integer factorization would produce cross-term coefficients with product a⋅c
and sum b. So if no such integer pair exists, no integer factorization is possible.
Take 2x2+2x−1. The middle would have to split
into two integers with product 2⋅(−1)=−2 and sum 2. But the only integer pairs multiplying to
−2 are 1 and −2 (sum −1) or −1 and 2 (sum 1). Neither adds to 2, so the trinomial is
irreducible over the integers.
That does not say the equation 2x2+2x−1=0 has no solutions, only that integer factoring is the
wrong tool for it. Later lessons give methods for finding real roots when they exist, even when integer
factoring fails. For now, a complete search with no matching pair is enough to
report that the trinomial does not factor over the integers.
Common mistakes
Practice
Multiple Choice Questions (MCQ)
Progressively harder sets of questions. Each opens on its own page.
Practice problems at the level of the course, to be worked out on paper. Hints one at a
time, then the answer or the full worked solution, with your progress kept in this browser.
What can an algebra book do when a solution is not a whole number or a fraction?
Abu Kamil, a mathematician working in Egypt around the year 900, treated square
roots as quantities he could calculate with.
His algebra book included problems whose answers contain square roots. In one
problem about splitting 10 into two parts, an answer appears as 125−5.
He also worked with irrational numbers in the equations themselves, rather than
using only integer coefficients. His book contained 69 problems, and later
mathematicians, including Fibonacci, drew on his work.
Abu Kamil did not invent the idea of an irrational length. His achievement was to
develop methods for calculating with such quantities in algebra. Answers like his are
not integers, so when integer factoring fails, that does not show that an equation
has no real roots; another method may express them using square roots.