Factorization of ax² + bx + c

Factoring a quadratic trinomial reverses binomial multiplication: the leading coefficients multiply to a, the constants multiply to c, and the outer and inner products combine to bx. This lesson organizes the search for integer factors in a table, handles negative constants and negative leading coefficients, and checks each result by FOIL.

Course cover for Factorization of ax² + bx + c

Cracking the Code

How can $$3x^2+17x+10$$ be written as a product of two binomials? An organized search, rather than guessing, reveals which arrangement produces all three terms

Compare the candidates $$(3x+2)(x+5)$$ and $$(3x+5)(x+2)$$. Both have first product $$3x^2$$ and last product $$10$$. However, the first gives middle terms $$15x+2x=17x$$, while the second gives $$6x+5x=11x$$. Therefore, $$3x^2+17x+10=(3x+2)(x+5)$$

The middle term distinguishes these candidates. The lesson's task is to use that middle term to factor trinomials $$ax^2+bx+c$$, especially when the leading coefficient is not 1, and then verify the factors by multiplying

Reverse FOIL

Where the middle term comes from

FOIL names the First, Outer, Inner, and Last products when multiplying two binomials. For $$(3x+2)(x+5)$$, First is $$3x\cdot x=3x^2$$, Outer is $$3x\cdot5=15x$$, Inner is $$2\cdot x=2x$$, and Last is $$2\cdot5=10$$

Combining gives $$(3x+2)(x+5)=3x^2+15x+2x+10=3x^2+17x+10$$. The outer and inner products build the middle term

The three rules

In the general pattern, $$(px+m)(qx+n)=pqx^2+(pn+mq)x+mn$$. To obtain $$ax^2+bx+c$$, the four numbers $$p,q,m,n$$ must satisfy three conditions at once

Products from the binomialsRequired coefficient
$$p\cdot q$$Leading coefficient $$a$$
$$m\cdot n$$Constant term $$c$$
$$p\cdot n+m\cdot q$$Middle coefficient $$b$$

Factoring is FOIL in reverse: start with the trinomial and search for numbers satisfying all three rules. Some trinomials have no such integer combination and do not factor over the integers

Reverse FOIL: reverse FOIL

In $$(2x+1)(x+3) = 2x^2 + 7x + 3$$, which products build the middle term $$7x$$?

A

Outer $$2x \cdot 3 = 6x$$ plus Inner $$1 \cdot x = x$$

B

The constants added: $$1 + 3$$

C

First $$2x \cdot x$$ plus Last $$1 \cdot 3$$

Practice 2 asks: Match each product from $$(px+m)(qx+n)$$ to the coefficient of $$ax^2+bx+c$$ it must equal. The correct relationships are $$p\cdot q\leftrightarrow a$$, $$m\cdot n\leftrightarrow c$$, and $$p\cdot n+m\cdot q\leftrightarrow b$$. The cross-product sum controls the middle coefficient, not either outside term

The Systematic Search

Test every arrangement: 6x² + 17x + 5

For $$6x^2+17x+5$$, the coefficients are $$a=6$$, $$b=17$$, and $$c=5$$. The positive factor pairs of 6 are $$(1,6)$$ and $$(2,3)$$. The positive factor pair of 5 is $$(1,5)$$, and both orders must be tested. The target is an outer-plus-inner coefficient sum of 17

CandidateOuter + InnerCompared with 17x
$$(x+1)(6x+5)$$$$5x+6x=11x$$Too small
$$(x+5)(6x+1)$$$$x+30x=31x$$Too large
$$(2x+1)(3x+5)$$$$10x+3x=13x$$Too small
$$(2x+5)(3x+1)$$$$2x+15x=17x$$Match

These four arrangements cover the listed coefficient pairs and both constant orders. The matching arrangement gives $$6x^2+17x+5=(2x+5)(3x+1)$$

Organize the search: 5x² + 23x + 12

A factor table avoids writing full binomials for every trial. For $$5x^2+23x+12$$, use the coefficient pair $$(p,q)=(1,5)$$ and test the ordered constant pairs $$(m,n)$$ of 12. Each row represents $$(x+m)(5x+n)$$, so the target is $$n+5m=23$$

Factors of 5: (p, q)Factors of 12: (m, n)Outer + Inner coefficient
$$(1,5)$$$$(1,12)$$$$1\cdot12+5\cdot1=17$$: not a match
$$(1,5)$$$$(12,1)$$$$1\cdot1+5\cdot12=61$$: not a match
$$(1,5)$$$$(2,6)$$$$1\cdot6+5\cdot2=16$$: not a match
$$(1,5)$$$$(6,2)$$$$1\cdot2+5\cdot6=32$$: not a match
$$(1,5)$$$$(3,4)$$$$1\cdot4+5\cdot3=19$$: not a match
$$(1,5)$$$$(4,3)$$$$1\cdot3+5\cdot4=23$$: match

The same constant pair can give different sums when reversed: $$(1,12)$$ gives 17, but $$(12,1)$$ gives 61. Read the winning row in order: $$m=4$$, $$n=3$$, so $$5x^2+23x+12=(x+4)(5x+3)$$

Check by FOIL: $$(x+4)(5x+3)=5x^2+3x+20x+12=5x^2+23x+12$$. Every term matches the original

Practice 3 asks: Complete $$4x^2+13x+3=(x+\square)(4x+\square)$$ so that Outer + Inner equals 13. The available numbers are 1, 3, 4, and 13. The coefficient pair $$(1,4)$$ is already placed, and the constant orders to test are $$(1,3)$$ and $$(3,1)$$

The first blank is 3 and the second is 1: $$4x^2+13x+3=(x+3)(4x+1)$$. This placement gives outer $$x$$ plus inner $$12x$$, totaling $$13x$$. The reversed constants would give $$3x+4x=7x$$, so placement matters as well as the constant product

When c Is Negative

Use signs to guide the search

What signs do the two binomial constants take? In the positive-leading-coefficient search used so far, with positive $$p$$ and $$q$$, the sign relationships are: if $$c>0$$ and $$b>0$$, both constants are positive; if $$c>0$$ and $$b<0$$, both are negative; if $$c<0$$, they have opposite signs

The negative-constant rule follows from $$(+)(-)=(-)$$ and $$(-)(+)=(-)$$. Since $$mn=c$$, a negative $$c$$ requires one positive constant and one negative constant. Test both placements of the signs as well as the orders of the factor pair, keeping every sign inside the table entries

Factor 2x² + 3x − 5

For $$2x^2+3x-5$$, use $$(p,q)=(1,2)$$. The target coefficient is positive 3. Each signed pair $$(m,n)$$ represents $$(x+m)(2x+n)$$, with outer-plus-inner coefficient $$n+2m$$

Factors of 2Factors of −5: (m, n)Outer + Inner coefficient
$$(1,2)$$$$(1,-5)$$$$1(-5)+2(1)=-3$$: wrong sign
$$(1,2)$$$$(5,-1)$$$$1(-1)+2(5)=9$$: not a match
$$(1,2)$$$$(-5,1)$$$$1(1)+2(-5)=-9$$: not a match
$$(1,2)$$$$(-1,5)$$$$1(5)+2(-1)=3$$: match

Flipping both constants' signs flips the cross-product sum: the rows $$(5,-1)$$ and $$(-5,1)$$ give 9 and −9. A sum of −3 is also not enough when the target is +3. The winning row is $$(-1,5)$$, giving $$2x^2+3x-5=(x-1)(2x+5)$$

Check: $$(x-1)(2x+5)=2x^2+5x-2x-5=2x^2+3x-5$$. The inner product is negative, and that sign must survive the calculation

Practice 4: Factor $$3x^2+2x-8$$. Here $$c=-8$$ forces opposite-signed constants, the coefficient pair is $$(1,3)$$, and the target outer-plus-inner coefficient is 2

Which factorization is correct?

A

$$(x + 2)(3x - 4)$$

B

$$(x - 2)(3x + 4)$$

C

$$(x + 4)(3x - 2)$$

D

$$(x - 4)(3x + 2)$$

When a Is Negative

For a negative leading coefficient, first factor out $$-1$$ from all three terms. In $$-3x^2-17x-10$$, this gives $$-(3x^2+17x+10)$$. Keep the outside negative sign while factoring the expression inside

The inside trinomial is the opening example: $$3x^2+17x+10=(3x+2)(x+5)$$. Thus $$-3x^2-17x-10=-(3x+2)(x+5)$$. Distribute the $$-1$$ into exactly one binomial to obtain $$(-3x-2)(x+5)$$

FOIL confirms the result: $$(-3x-2)(x+5)=-3x^2-15x-2x-10=-3x^2-17x-10$$

Practice 5 asks: Step 1 is done. Put the remaining steps in the correct order. The task is to factor $$-2x^2-9x-4$$, and the completed first step is $$-(2x^2+9x+4)$$. The remaining moves are to factor the inside, distribute the $$-1$$ into one binomial, and check by FOIL

  1. Factor the inside, $$2x^2+9x+4=(2x+1)(x+4)$$
  2. Distribute the outside $$-1$$ into one binomial, giving $$(-2x-1)(x+4)$$
  3. Check by FOIL; the product returns $$-2x^2-9x-4$$. The inside must be factored before the negative is put into one of its binomial factors, and the final product is checked last

Summary

1. Structure: in $$(px+m)(qx+n)=ax^2+bx+c$$, the required relationships are $$pq=a$$, $$mn=c$$, and $$pn+mq=b$$. Factoring reverses these FOIL relationships

2. Systematic search: list factor pairs of $$a$$ and $$c$$, test both constant orders, and organize the cross-product sums in a factor table. A candidate must match the middle coefficient as well as the leading coefficient and constant

3. Signs: when using positive $$p$$ and $$q$$ for the positive-leading-coefficient search, $$c>0$$ means both constants share the sign of $$b$$. If $$c<0$$, the constants have opposite signs; test the signed arrangements against the exact target $$b$$

4. Negative leading coefficient: factor out $$-1$$ first, factor the inside trinomial, and then distribute the outside $$-1$$ into exactly one binomial

5. Verification: expand by FOIL and combine like terms. The result must reproduce the original trinomial, sign for sign. Some trinomials do not factor over the integers

Quiz

Quiz 1: A positive constant

Factor $$5x^2+17x+6$$. The target outer-plus-inner coefficient is 17

Which factorization is correct?

A

$$(x + 3)(5x + 2)$$

B

$$(x + 2)(5x + 3)$$

C

$$(x + 1)(5x + 6)$$

D

$$(x + 6)(5x + 1)$$

Quiz 2: Signed constants

Fill in the two signed constants to complete the factorization: $$2x^2-7x-15=(x\;\square)(2x\;\square)$$. The available signed constants are $$-5$$, $$+5$$, $$-3$$, and $$+3$$. Since $$c=-15$$, the constants must have opposite signs; the target outer-plus-inner coefficient is −7

The first signed constant is $$-5$$ and the second is $$+3$$, giving $$2x^2-7x-15=(x-5)(2x+3)$$. Their product is −15, and the outer and inner products combine as $$3x-10x=-7x$$

Quiz 3: A negative leading coefficient

Factor completely: $$-4x^2-9x-2$$. The leading coefficient is negative

Which is a correct factorization?

A

$$(-x - 2)(4x + 1)$$

B

$$(x + 2)(4x + 1)$$

C

$$(-x - 2)(-4x - 1)$$

D

$$(-x - 1)(4x + 2)$$

Continue with the interactive lesson