Skip to content
Family Table Math
Auto

Factoring Complex Trinomials (ax² + bx + c)

When the coefficient of x2x^2 isn’t 11, as in 6x2−x−126x^2 - x - 12, the quick product-and-sum shortcut from factoring trinomials doesn’t work directly. These are sometimes called complex trinomials. You’ll learn two reliable methods: decomposition, which always works if the trinomial factors, and inspection, which is faster once you get the feel for it.

Before anything else, take out any common factor. It makes the numbers smaller and sometimes turns the problem into an easier one:

6x2+18x+12=6(x2+3x+2)=6(x+1)(x+2)6x^2 + 18x + 12 = 6(x^2 + 3x + 2) = 6(x + 1)(x + 2)

If the x2x^2 coefficient is negative, take out a negative factor so that aa is positive.

To factor ax2+bx+cax^2 + bx + c:

  1. Multiply a×ca \times c.
  2. Find two integers mm and nn with product mn=acmn = ac and sum m+n=bm + n = b.
  3. Decompose (split) the middle term: rewrite bxbx as mx+nxmx + nx.
  4. Factor the four terms by grouping (see common factoring).
  5. Check by expanding.

For example, for 2x2+7x+32x^2 + 7x + 3: ac=2×3=6ac = 2 \times 3 = 6, and 11 and 66 have product 66 and sum 77.

2x2+7x+3=2x2+x+6x+3split 7x into x+6x=x(2x+1)+3(2x+1)group=(2x+1)(x+3)\begin{aligned} 2x^2 + 7x + 3 &= 2x^2 + x + 6x + 3 && \text{split } 7x \text{ into } x + 6x \\ &= x(2x + 1) + 3(2x + 1) && \text{group} \\ &= (2x + 1)(x + 3) \end{aligned}

Why does this work? Splitting the middle term doesn’t change the expression (x+6xx + 6x is still 7x7x), and choosing numbers with product acac is exactly what makes the two groups share a bracket. If the brackets don’t match after grouping, recheck your arithmetic or your signs.

It doesn’t matter which order you write mxmx and nxnx in. Writing 2x2+6x+x+32x^2 + 6x + x + 3 also works: 2x(x+3)+1(x+3)=(x+3)(2x+1)2x(x + 3) + 1(x + 3) = (x + 3)(2x + 1).

The factors must look like (px+q)(rx+s)(px + q)(rx + s), where

  • p×r=ap \times r = a (the first terms multiply to ax2ax^2),
  • q×s=cq \times s = c (the last terms multiply to cc),
  • the outside and inside products add to the middle term: ps+qr=bps + qr = b.

Try combinations of factors of aa and cc until the middle term comes out right. The first and last terms are easy to get; the middle term is the real test.

The same sign rules from x2+bx+cx^2 + bx + c still help:

  • If c>0c \gt 0, both constants have the same sign as bb.
  • If c<0c \lt 0, the constants have opposite signs.

If no pair of integers has product acac and sum bb, the trinomial doesn’t factor over the integers. For example, 2x2+3x+42x^2 + 3x + 4: ac=8ac = 8, and the pairs 1,81, 8 and 2,42, 4 (and their negatives) have sums ±9\pm 9 and ±6\pm 6. None is 33.

Example 1: Decomposition with positive terms

Section titled “Example 1: Decomposition with positive terms”

Factor 3x2+8x+43x^2 + 8x + 4.

Solution. There’s no common factor. ac=3×4=12ac = 3 \times 4 = 12. We need product 1212 and sum 88: the pair 2,62, 6 works.

3x2+8x+4=3x2+2x+6x+4=x(3x+2)+2(3x+2)=(3x+2)(x+2)\begin{aligned} 3x^2 + 8x + 4 &= 3x^2 + 2x + 6x + 4 \\ &= x(3x + 2) + 2(3x + 2) \\ &= (3x + 2)(x + 2) \end{aligned}

Check: (3x+2)(x+2)=3x2+6x+2x+4=3x2+8x+4(3x + 2)(x + 2) = 3x^2 + 6x + 2x + 4 = 3x^2 + 8x + 4. ✓

Factor 6x2−x−126x^2 - x - 12.

Solution. ac=6×(−12)=−72ac = 6 \times (-12) = -72. We need product −72-72 and sum −1-1. The numbers have opposite signs and are close together in size: −9-9 and 88 work, since (−9)(8)=−72(-9)(8) = -72 and −9+8=−1-9 + 8 = -1.

6x2−x−12=6x2−9x+8x−12=3x(2x−3)+4(2x−3)=(2x−3)(3x+4)\begin{aligned} 6x^2 - x - 12 &= 6x^2 - 9x + 8x - 12 \\ &= 3x(2x - 3) + 4(2x - 3) \\ &= (2x - 3)(3x + 4) \end{aligned}

Check: (2x−3)(3x+4)=6x2+8x−9x−12=6x2−x−12(2x - 3)(3x + 4) = 6x^2 + 8x - 9x - 12 = 6x^2 - x - 12. ✓

Factor 3x2−10x+83x^2 - 10x + 8 by inspection.

Solution. The first terms must be 3x3x and xx. Since c=8>0c = 8 \gt 0 and b=−10<0b = -10 \lt 0, both constants are negative. The negative factor pairs of 88 are −1,−8-1, -8 and −2,−4-2, -4, and each pair can go in either order. Test the middle term of each:

TryOutside + insideMiddle term
(3x−1)(x−8)(3x - 1)(x - 8)−24x−x-24x - x−25x-25x
(3x−8)(x−1)(3x - 8)(x - 1)−3x−8x-3x - 8x−11x-11x
(3x−2)(x−4)(3x - 2)(x - 4)−12x−2x-12x - 2x−14x-14x
(3x−4)(x−2)(3x - 4)(x - 2)−6x−4x-6x - 4x−10x-10x ✓
3x2−10x+8=(3x−4)(x−2)3x^2 - 10x + 8 = (3x - 4)(x - 2)

Check: (3x−4)(x−2)=3x2−6x−4x+8=3x2−10x+8(3x - 4)(x - 2) = 3x^2 - 6x - 4x + 8 = 3x^2 - 10x + 8. ✓

Factor fully: 12x2+2x−412x^2 + 2x - 4.

Solution. Every term is even, so take out 22:

12x2+2x−4=2(6x2+x−2)12x^2 + 2x - 4 = 2(6x^2 + x - 2)

Now factor 6x2+x−26x^2 + x - 2. ac=6×(−2)=−12ac = 6 \times (-2) = -12, and we need sum 11: the pair 4,−34, -3 works.

6x2+x−2=6x2+4x−3x−2=2x(3x+2)−1(3x+2)take out −1 so the brackets match=(3x+2)(2x−1)\begin{aligned} 6x^2 + x - 2 &= 6x^2 + 4x - 3x - 2 \\ &= 2x(3x + 2) - 1(3x + 2) && \text{take out } -1 \text{ so the brackets match} \\ &= (3x + 2)(2x - 1) \end{aligned}

So the full answer is

12x2+2x−4=2(3x+2)(2x−1)12x^2 + 2x - 4 = 2(3x + 2)(2x - 1)

Check with x=1x = 1: the original is 12+2−4=1012 + 2 - 4 = 10, and 2(5)(1)=102(5)(1) = 10. ✓

Skipping the common factor. 12x2+2x−4=(6x+4)(2x−1)12x^2 + 2x - 4 = (6x + 4)(2x - 1) is true, but not fully factored, because 6x+4=2(3x+2)6x + 4 = 2(3x + 2). Take out the common factor first and the numbers stay smaller too.

Using c instead of a × c. For 3x2+8x+43x^2 + 8x + 4, you need two numbers with product ac=12ac = 12, not 44. The product-and-sum shortcut with just cc only works when a=1a = 1.

Sign errors in the second group. In 6x2+4x−3x−26x^2 + 4x - 3x - 2, the second group is −3x−2=−1(3x+2)-3x - 2 = -1(3x + 2). Writing −1(3x−2)-1(3x - 2) is a common slip. Expand the group to check that you get back −3x−2-3x - 2.

Checking only the first and last terms. With inspection, (3x−2)(x−4)(3x - 2)(x - 4) gives the right 3x23x^2 and the right +8+8, but the wrong middle term (−14x-14x). The middle term is the one that decides it.

Dividing everything by a. You can’t just divide 2x2+7x+32x^2 + 7x + 3 by 22 to make it “nicer”. That changes the expression. Only take out a factor that divides every term, and keep it in the answer.

1. (Warm-up) For each trinomial, find two integers with product acac and sum bb.

  • (a) 3x2+8x+43x^2 + 8x + 4
  • (b) 2x2−3x−52x^2 - 3x - 5
Solution

(a) ac=12ac = 12, b=8b = 8: the integers are 22 and 66.

(b) ac=−10ac = -10, b=−3b = -3: the integers are −5-5 and 22.

2. (Warm-up) Factor 2x2−3x−52x^2 - 3x - 5 by decomposition, using your answer to question 1(b).

Solution2x2−3x−5=2x2+2x−5x−5=2x(x+1)−5(x+1)=(x+1)(2x−5)\begin{aligned} 2x^2 - 3x - 5 &= 2x^2 + 2x - 5x - 5 \\ &= 2x(x + 1) - 5(x + 1) \\ &= (x + 1)(2x - 5) \end{aligned}

Check: (x+1)(2x−5)=2x2−5x+2x−5=2x2−3x−5(x + 1)(2x - 5) = 2x^2 - 5x + 2x - 5 = 2x^2 - 3x - 5. ✓

3. (Core) Factor 5x2+13x−65x^2 + 13x - 6.

Solution

ac=−30ac = -30, sum 1313: the integers are 1515 and −2-2.

5x2+13x−6=5x2+15x−2x−6=5x(x+3)−2(x+3)=(x+3)(5x−2)\begin{aligned} 5x^2 + 13x - 6 &= 5x^2 + 15x - 2x - 6 \\ &= 5x(x + 3) - 2(x + 3) \\ &= (x + 3)(5x - 2) \end{aligned}

4. (Core) Factor.

  • (a) 4x2−4x−154x^2 - 4x - 15
  • (b) 6a2+11a+46a^2 + 11a + 4
Solution

(a) ac=−60ac = -60, sum −4-4: the integers are −10-10 and 66.

4x2−4x−15=4x2−10x+6x−15=2x(2x−5)+3(2x−5)=(2x−5)(2x+3)\begin{aligned} 4x^2 - 4x - 15 &= 4x^2 - 10x + 6x - 15 \\ &= 2x(2x - 5) + 3(2x - 5) \\ &= (2x - 5)(2x + 3) \end{aligned}

(b) ac=24ac = 24, sum 1111: the integers are 33 and 88.

6a2+11a+4=6a2+3a+8a+4=3a(2a+1)+4(2a+1)=(2a+1)(3a+4)\begin{aligned} 6a^2 + 11a + 4 &= 6a^2 + 3a + 8a + 4 \\ &= 3a(2a + 1) + 4(2a + 1) \\ &= (2a + 1)(3a + 4) \end{aligned}

5. (Core) Factor fully: 18x2−33x+1218x^2 - 33x + 12.

Solution

Take out the common factor 33 first: 18x2−33x+12=3(6x2−11x+4)18x^2 - 33x + 12 = 3(6x^2 - 11x + 4).

For 6x2−11x+46x^2 - 11x + 4: ac=24ac = 24, sum −11-11, so the integers are −3-3 and −8-8.

6x2−11x+4=6x2−3x−8x+4=3x(2x−1)−4(2x−1)=(2x−1)(3x−4)\begin{aligned} 6x^2 - 11x + 4 &= 6x^2 - 3x - 8x + 4 \\ &= 3x(2x - 1) - 4(2x - 1) \\ &= (2x - 1)(3x - 4) \end{aligned}

So 18x2−33x+12=3(2x−1)(3x−4)18x^2 - 33x + 12 = 3(2x - 1)(3x - 4).

6. (Core) Factor −10x2+11x+6-10x^2 + 11x + 6.

Solution

Take out −1-1 so the x2x^2 coefficient is positive: −10x2+11x+6=−(10x2−11x−6)-10x^2 + 11x + 6 = -(10x^2 - 11x - 6).

For 10x2−11x−610x^2 - 11x - 6: ac=−60ac = -60, sum −11-11, so the integers are −15-15 and 44.

10x2−11x−6=10x2+4x−15x−6=2x(5x+2)−3(5x+2)=(5x+2)(2x−3)\begin{aligned} 10x^2 - 11x - 6 &= 10x^2 + 4x - 15x - 6 \\ &= 2x(5x + 2) - 3(5x + 2) \\ &= (5x + 2)(2x - 3) \end{aligned}

So −10x2+11x+6=−(5x+2)(2x−3)-10x^2 + 11x + 6 = -(5x + 2)(2x - 3).

Check with x=1x = 1: the original is −10+11+6=7-10 + 11 + 6 = 7, and −(7)(−1)=7-(7)(-1) = 7. ✓

7. (Core) Factor 3x2+7xy+2y23x^2 + 7xy + 2y^2.

Solution

Treat it like 3x2+7x+23x^2 + 7x + 2, with yy travelling along. ac=6ac = 6, sum 77: the integers are 11 and 66.

3x2+7xy+2y2=3x2+xy+6xy+2y2=x(3x+y)+2y(3x+y)=(3x+y)(x+2y)\begin{aligned} 3x^2 + 7xy + 2y^2 &= 3x^2 + xy + 6xy + 2y^2 \\ &= x(3x + y) + 2y(3x + y) \\ &= (3x + y)(x + 2y) \end{aligned}

Check: (3x+y)(x+2y)=3x2+6xy+xy+2y2=3x2+7xy+2y2(3x + y)(x + 2y) = 3x^2 + 6xy + xy + 2y^2 = 3x^2 + 7xy + 2y^2. ✓

8. (Challenge) A rectangular poster has an area of (6x2+17x+12)(6x^2 + 17x + 12) cm².

  • (a) Find expressions for its dimensions.
  • (b) Find the dimensions when x=2x = 2, and check them against the area.
Solution

(a) ac=72ac = 72, sum 1717: the integers are 88 and 99.

6x2+17x+12=6x2+8x+9x+12=2x(3x+4)+3(3x+4)=(3x+4)(2x+3)\begin{aligned} 6x^2 + 17x + 12 &= 6x^2 + 8x + 9x + 12 \\ &= 2x(3x + 4) + 3(3x + 4) \\ &= (3x + 4)(2x + 3) \end{aligned}

The dimensions are (3x+4)(3x + 4) cm by (2x+3)(2x + 3) cm.

(b) When x=2x = 2: 3(2)+4=103(2) + 4 = 10 cm and 2(2)+3=72(2) + 3 = 7 cm, so the area is 7070 cm².

Check: 6(2)2+17(2)+12=24+34+12=706(2)^2 + 17(2) + 12 = 24 + 34 + 12 = 70. ✓

9. (Challenge) Find all integers kk so that 2x2+kx+32x^2 + kx + 3 can be factored over the integers.

Solution

By decomposition, kk must be the sum of two integers whose product is ac=2×3=6ac = 2 \times 3 = 6:

Pair1,61, 62,32, 3−1,−6-1, -6−2,−3-2, -3
Sum7755−7-7−5-5

So kk can be 77, 55, −5-5 or −7-7. For example, 2x2+7x+3=(2x+1)(x+3)2x^2 + 7x + 3 = (2x + 1)(x + 3) and 2x2+5x+3=(2x+3)(x+1)2x^2 + 5x + 3 = (2x + 3)(x + 1).