Lesson illustration

Factoring Monic Quadratics with Integer Factors

Welcome back. In the last lesson, you expanded products such as

(x+2)(x+4)(x+2)(x+4)

to get

x2+6x+8.x^2+6x+8.

This lesson reverses that process. Given a monic quadratic trinomial—a quadratic whose x2x^2 coefficient is 11—you will rewrite it as a product of two binomials. This is called factoring. It is a central algebra skill for graphing because the factors will soon reveal where a parabola crosses the xx-axis.

By the end, you should be able to factor expressions of the form

x2+bx+cx^2+bx+c

whenever integer factors exist.


Factoring is undoing expansion

Last lesson established the pattern

(x+p)(x+q)=x2+(p+q)x+pq.(x+p)(x+q)=x^2+(p+q)x+pq.

The two numbers inside the parentheses, pp and qq, play two roles:

  • Their sum becomes the coefficient of xx.
  • Their product becomes the constant term.

Factoring asks you to work backward. For

x2+bx+c,x^2+bx+c,

find integers pp and qq such that

p+q=bp+q=b

and

pq=c.pq=c.

Then the factored expression is

(x+p)(x+q).\boxed{(x+p)(x+q)}.

This shortcut works specifically because the leading term is x2x^2, with coefficient 11. That is what monic means in this setting.

{"type":"image","url":"https://resources.maneuveringthemiddle.com/wp-content/uploads/2023/01/02110146/Factoring-Trinomials-Images-05-1024x859.png","caption":"The image finds factor pairs of \\(24\\), selects \\(4\\) and \\(6\\) because they sum to \\(10\\), and writes \\(x^2+10x+24\\) as \\((x+4)(x+6)\\).","isV2":true,"blockId":"89b802e2-67d5-4169-bb87-abe91f438149","lessonId":"4658de43-ec7a-419a-ab47-bbae5644f66e"}



For that example:

x2+10x+24,x^2+10x+24,

we need two numbers whose product is 2424 and whose sum is 1010.

Factor pair of 2424Sum
1,241,242525
2,122,121414
3,83,81111
4,64,61010

So,

x2+10x+24=(x+4)(x+6).\boxed{x^2+10x+24=(x+4)(x+6)}.

The order does not matter:

(x+4)(x+6)=(x+6)(x+4).(x+4)(x+6)=(x+6)(x+4).

To see why the method is reliable, expand your answer:

(x+4)(x+6)=x2+6x+4x+24=x2+10x+24.\begin{aligned} (x+4)(x+6) &=x^2+6x+4x+24\\ &=x^2+10x+24. \end{aligned}

The expansion returns the original trinomial, so the factorization is correct.

{"type":"video","title":"Factoring Trinomials of the Form x2+bx+c","learning_duration":286,"video_id":"4B0hAUn1i_k","par_intro":"Watch “Factoring Trinomials of the Form x2+bx+c” from Mometrix Academy for a concise visual introduction to factoring as the reverse of FOIL. It includes examples with all the main sign patterns.","par_directions":"Watch <span data-type=\"resource_video_timerange\" data-resource-subitem-id=\"4d7614f3\" data-range-start=\"0\" data-range-end=\"38\">the setup</span> for the meaning of factoring and its connection to expansion. Then watch <span data-type=\"resource_video_timerange\" data-resource-subitem-id=\"0da20b91\" data-range-start=\"38\" data-range-end=\"135\">a positive example</span>, where the two numbers are both positive. Continue with <span data-type=\"resource_video_timerange\" data-resource-subitem-id=\"8dcf699e\" data-range-start=\"135\" data-range-end=\"220\">mixed signs</span>, then <span data-type=\"resource_video_timerange\" data-resource-subitem-id=\"93e2de11\" data-range-start=\"220\" data-range-end=\"286\">two negatives</span>. In every example, identify the required sum before the required product.","video_duration":317,"isV2":true,"blockId":"89bb7595-6579-4be6-8480-c3163ad5031a","lessonId":"4658de43-ec7a-419a-ab47-bbae5644f66e"}




The sum-and-product routine

When you see

x2+bx+c,x^2+bx+c,

use this routine.

  1. Read the middle coefficient bb. This is the target sum.
  2. Read the constant cc. This is the target product.
  3. List factor pairs of cc, including appropriate negative signs.
  4. Select the pair whose sum is bb.
  5. Put that pair into two binomials:
(x+p)(x+q).(x+p)(x+q).

Worked example: both factors positive

Factor

x2+9x+18.x^2+9x+18.

The needed pair must:

  • multiply to 1818,
  • add to 99.

The positive factor pairs of 1818 are:

118,29,36.1\cdot18,\qquad 2\cdot9,\qquad 3\cdot6.

Their sums are 1919, 1111, and 99. The correct pair is 33 and 66.

x2+9x+18=(x+3)(x+6)\boxed{x^2+9x+18=(x+3)(x+6)}

A quick expansion check confirms it:

(x+3)(x+6)=x2+6x+3x+18=x2+9x+18.(x+3)(x+6)=x^2+6x+3x+18=x^2+9x+18.

Notice that a positive constant and a positive middle coefficient led to two positive numbers. That makes sense: positive times positive is positive, and positive plus positive is positive.

{"type":"reading","par_intro":"Read the opening of this LibreTexts lesson to reinforce the sum-and-product logic and see both the full grouping derivation and the faster monic-quadratic shortcut.","par_directions":"In the section “Factoring Trinomials of the Form \\(x^2+bx+c\\),” read <span data-type=\"resource_reading_textrange\" data-resource-subitem-id=\"474b9e7c\" data-range-start=\"Factoring with three terms, or trinomials, is the most important technique\" data-range-end=\"then we can split the middle term and factor by grouping.\">the core pattern</span>. Then read the listed “Steps for factoring trinomials of the form \\(x^2+bx+c\\)” and follow Example 7.2.1 through its verification. Next, under the “Note” after Example 7.2.4, read <span data-type=\"resource_reading_textrange\" data-resource-subitem-id=\"3b1cbead\" data-range-start=\"There is a shortcut for factoring expressions of the type\" data-range-end=\"in the next section.)\">the shortcut explanation</span> and Example 7.2.5. Focus on why the two selected integers become the constants in the binomials.","learning_duration":"12 minutes","url":"https://math.libretexts.org/Bookshelves/Algebra/Intermediate_Algebra_for_Science_Technology_Engineering_and_Mathematics_(Diaz)/07:_Factoring_Expressions_and_Solving_by_Factoring/7.02:_Factoring_trinomials_of_the_form_x__bx__c","title":"7.2: Factoring trinomials of the form x² + bx + c - Mathematics LibreTexts","isV2":true,"blockId":"0cd8d3af-4300-43dc-b432-25074a983e15","lessonId":"4658de43-ec7a-419a-ab47-bbae5644f66e"}




Signs: use the constant first, then the middle term

The sign of cc, the constant term, tells you whether the two numbers have matching or opposite signs.

Signs in the trinomialWhat the two numbers must look like
c>0c>0Same sign: both positive or both negative
c<0c<0Opposite signs: one positive and one negative
c>0, b>0c>0,\ b>0Both positive
c>0, b<0c>0,\ b<0Both negative
c<0, b>0c<0,\ b>0Opposite signs, with the positive number having greater magnitude
c<0, b<0c<0,\ b<0Opposite signs, with the negative number having greater magnitude

These are not separate rules to memorize blindly. They follow from integer multiplication and addition.

Worked example: both factors negative

Factor

x28x+15.x^2-8x+15.

We need two numbers whose product is 1515 and whose sum is 8-8.

The factor magnitudes 33 and 55 multiply to 1515. Because the product is positive, the signs must match. Because the sum must be negative, both numbers must be negative:

3+(5)=8-3+(-5)=-8

and

(3)(5)=15.(-3)(-5)=15.

Therefore,

x28x+15=(x3)(x5).\boxed{x^2-8x+15=(x-3)(x-5)}.

Check:

(x3)(x5)=x25x3x+15=x28x+15.\begin{aligned} (x-3)(x-5) &=x^2-5x-3x+15\\ &=x^2-8x+15. \end{aligned}

Worked example: opposite signs

Factor

x2+2x63.x^2+2x-63.

This time, the product must be 63-63. Therefore the two numbers need opposite signs.

The factor pair 77 and 99 has a difference of 22. To obtain a sum of positive 22, the larger magnitude must be positive:

7+9=2-7+9=2

and

(7)(9)=63.(-7)(9)=-63.

So,

x2+2x63=(x7)(x+9).\boxed{x^2+2x-63=(x-7)(x+9)}.

A useful sign check comes directly from the factorization:

(x7)(x+9)(x-7)(x+9)

has a negative constant because (7)(+9)(-7)(+9) is negative. Its middle term is positive because 97=29-7=2.

{
  "type": "exercise",
  "id": "74a6d10c-2db8-4c65-919a-462ac651126c"
}

Factor pairs systematically

For small constants, you may recognize the pair quickly. For larger ones, a short, organized list is safer than guessing.

Factor

x27x18.x^2-7x-18.

We need a product of 18-18 and a sum of 7-7. Since the product is negative, try pairs with opposite signs:

PairProductSum
1,181,-1818-1817-17
2,92,-918-187-7
3,63,-618-183-3

The pair is 22 and 9-9. Thus,

x27x18=(x+2)(x9).\boxed{x^2-7x-18=(x+2)(x-9)}.

It is tempting to put 2-2 and 99 into the factors because they also multiply to 18-18. But their sum is 77, not 7-7:

2+9=7.-2+9=7.

Their factorization would produce the wrong middle term:

(x2)(x+9)=x2+7x18.(x-2)(x+9)=x^2+7x-18.

The sum condition and product condition must both be satisfied.


Why the answer has two binomials beginning with xx

Suppose we factor a monic trinomial:

x2+bx+c.x^2+bx+c.

The first term of each factor must be xx, because

xx=x2.x\cdot x=x^2.

So the overall shape is already determined:

(x+)(x+).(x+\square)(x+\square).

Factoring consists of filling the two blanks with the right signed integers. The constants you insert must create:

  • the correct constant term through multiplication;
  • the correct middle term through addition.

For example, for

x23x28,x^2-3x-28,

we need product 28-28 and sum 3-3. The numbers 7-7 and 44 work:

(7)(4)=28(-7)(4)=-28

and

7+4=3.-7+4=-3.

Therefore,

x23x28=(x7)(x+4).\boxed{x^2-3x-28=(x-7)(x+4)}.

This also has a geometric interpretation. If

x23x28x^2-3x-28

represented a rectangle’s area, then the factors

x7x-7

and

x+4x+4

could represent its algebraic side lengths.

{
  "type": "exercise",
  "id": "929f4f11-d034-435f-98ff-ea42035f448f"
}

Checking and common mistakes

Expanding the two factors is the most dependable check, and you already know how to do it.

Suppose you factor

x2+13x+40x^2+13x+40

as

(x+5)(x+8).(x+5)(x+8).

Verify:

(x+5)(x+8)=x2+8x+5x+40=x2+13x+40.\begin{aligned} (x+5)(x+8) &=x^2+8x+5x+40\\ &=x^2+13x+40. \end{aligned}

The check works.

Choosing a pair that only has the right product

For

x2+11x+24,x^2+11x+24,

both 33 and 88, and 44 and 66, multiply to 2424. But only one pair has the target sum:

3+8=11,3+8=11,

while

4+6=10.4+6=10.

Therefore,

x2+11x+24=(x+3)(x+8),x^2+11x+24=(x+3)(x+8),

not (x+4)(x+6)(x+4)(x+6).

Losing signs

For

x29x+20,x^2-9x+20,

the constant is positive and the middle coefficient is negative. The numbers must therefore both be negative:

4+(5)=9,(4)(5)=20.-4+(-5)=-9, \qquad (-4)(-5)=20.

So,

x29x+20=(x4)(x5).\boxed{x^2-9x+20=(x-4)(x-5)}.

Writing (x+4)(x+5)(x+4)(x+5) would produce +9x+9x, not 9x-9x.

Factoring when no integer pair exists

Not every monic quadratic can be factored using integers. For example,

x2+2x+6x^2+2x+6

would require two integers with product 66 and sum 22. The factor pairs of 66 have sums 77 and 55, or their negative versions 7-7 and 5-5. None has sum 22.

So this expression does not factor into binomials with integer constants. For this lesson, focus on recognizing and factoring the cases where the required integer pair does exist. Later algebra provides methods for quadratics that do not factor neatly this way.


A compact factoring checklist

Before treating a factorization as finished, check these points:

  1. The expression has the form
x2+bx+c.x^2+bx+c.
  1. The two selected integers multiply to cc.
  2. The same two integers add to bb.
  3. They are placed into the factors as
(x+p)(x+q).(x+p)(x+q).
  1. If needed, expand to verify.

For example:

x2+5x24.x^2+5x-24.

The pair must multiply to 24-24 and add to 55. The correct pair is 88 and 3-3:

8(3)=24,8+(3)=5.8(-3)=-24, \qquad 8+(-3)=5.

Thus,

x2+5x24=(x+8)(x3).\boxed{x^2+5x-24=(x+8)(x-3)}.
{
  "type": "exercise",
  "id": "99a25454-132f-43bf-b5d0-639a3b92124e"
}

Key takeaways

Factoring a monic quadratic trinomial reverses the expansion pattern from the previous lesson:

(x+p)(x+q)=x2+(p+q)x+pq.(x+p)(x+q)=x^2+(p+q)x+pq.

To factor

x2+bx+c,x^2+bx+c,

find integers that add to bb and multiply to cc, then place them in

(x+p)(x+q).(x+p)(x+q).

Use the sign of cc to determine whether the pair has matching or opposite signs, and use the sign of bb to decide which signs give the required sum. Finally, expand the factors if you want a reliable verification.

Next, you will use factored expressions to solve quadratic equations. A factorization such as

(x3)(x+5)=0(x-3)(x+5)=0

will let you identify the two input values that make the quadratic equal zero—exactly the xx-intercepts that matter for graphing parabolas.

Can't find a good explanation? Sign up and we'll make it for you