The Full Storyofx2 + bx + c Factoring trinomials of the form x2 + bx + c is often perceived by many students of a first year course in Algebra as a grand mystery and a topic that leads to much frustration, if I may judge from my teaching experience and comments recently received from students in an on-line math help service. So this page is being prepared to provide some help in this topic. It is not what I would call a typical "Trotter Math" theme, but it is one I like to teach, and therefore like to give my own special flavor to it. With those thoughts in mind, I will proceed with what I call the "full story" of this portion of traditional school math lessons. I trust it will help those readers who are having difficulty in this area. ### Background

First of all, one must realize what the word factoring really means. If I give you two numbers (5 and 7) in an elementary math class and say, "Multiply them.", you would not hestitate too much and think, "5 times 7 is 35." You would write very quickly "5 × 7 = 35".

But if I said, "Factor 35.", you might think just a bit longer before replying, "35 is 5 times 7." It is sort of like the famous TV show called JEOPARDY!, where the "answer" is stated by the moderator, and the "question" is stated by the contestant. Things are merely reversed here. Likewise, "to multiply" and "to factor" are reverse concepts.

And the same is true in algebra. The only difference is that the things we multiply and factor are a bit more complicated. Here we are called to deal with things called binomials and trinomials. An algebraic binomial is an expression made up of two terms ["bi" meaning "two", as in "bicycle"]. So you might figure that a trinomial has three terms ["tri" meaning "three"].

Here are some typical examples of these items:

```		BINOMIALS		TRINOMIALS

x + 3			x2 + 4x + 3
x - 4			x2 - 6x + 9
x + 2			x2 + 7x - 8
``` ### Multiplying Binomials

It has long been my belief that much of the trouble arising in the factoring of trinomials into a pair of binomials stems from an unclear understanding of the patterns that are found when multiplying two binomials in the first place. In earlier lessons of an Algebra course, students are asked to multiply binomials as homework exercises; then in later lessons they have to factor trinomials that were products of that earlier type of multiplication practice. And they view the two actions as somewhat unrelated. And that unfortunately is where the anxiety begins.

I well recall that when I first learned about multiplying binomials, we did it in a traditional vertical format, very similar to what I had learned in my arithmetic classes in grade school. Notice:

```		ARITHMETIC		ALGEBRA

23			x + 3
× 27			x + 7
161			x2 + 3x
46 			     7x  + 21
` 621			x2 + 10x + 21
```

Sure, there are some differences, but there are some similarities. The arithmetic goes right-to-left, and the algebra goes the other way. But they both have two sub-products which are finally added. The "cross-multiplying" steps that one does in arithmetic [the "7 × 20" and the "20 × 3"] are also done in algebra [the "x × 3" and the "7 × x"]. And what many don't realize is the arithmetic example could be done in algebraic style. Watch.

```			Algebraic-Arithmetic

20 + 3
x 20 + 7
400 +  60
140 + 21
400 + 200 + 21 = 621
```

See? There is a link between the two levels of math here. Even 23 and 27 could be considered as binomials: 20 + 3 and 20 + 7. So it's just a matter of a wolf dressed up in sheep's clothing.

Now let's get down to the real nitty-gritty of multiplying algebraic binomials. We really only have 4 cases to consider:

```	a) (x + a)(x + b)  <-- where both signs are "+"
b) (x - c)(x - d)  <-- where both signs are "-"
c) (x + e)(x - f)  <-- where e > f, but one sign of each
d) (x + g)(x - h)  <-- where g < h, but one sign of each
```

Let's look at some numerical cases now.

```			x + 5		x - 9
x + 4		x - 2
x2 + 5x		x2 -  9x
4x + 20	   -  2x + 18
x2 + 9x + 20    x2 - 11x + 18
```

Perhaps the most important pattern to be gained from these two examples that will help us in our future work in factoring trinomials concerns the signs in the products. Notice that both have a "+" in front of the third term (numbers 20 and 18). This is due of course to the basic property of muliplying "signed numbers" (integers): like signs give a positive product.

Next, the signs of the middle terms matches the signs used in the binomials themselves: "+" with the "sum binomials" and "-" with the "difference binomials". This should be fairly obvious to most.

Finally, the specific numbers: in the first case, 20 is the product of 4 and 5, whereas 9 is the sum of 4 and 5. It's actually the same for the second case; 18 is the product of 2 and 9, whereas 11 is the sum of 2 and 9.

Now, the two other cases:

```			x + 5		x - 8
x - 2		x + 3
x2 + 5x		x2 - 8x
- 2x - 10	    3x - 24
x2 + 3x - 10    x2 - 5x - 24
```
Once again, let's look for patterns in the signs. First we see that the signs in front of the 3rd terms are "-". That's due to the other property of multiplying signed numers: unlike signs give a negative product. ["+5 x -2 = -10" and "-8 x +3 = -24"]

Regarding the signs of the middle terms, we have one of each. Where's the help there? Well, notice the sign of the "larger factor number" in each case -- +5 and -8. Those signs were just the ones used for the middle term. This is due to the rule for adding two integers with unlike signs: subtract the absolute values and apply the sign of the "larger" number.

So summarizing these two cases briefly: when the binomials consist of a "sum" and a "difference", the product will consist of a negative 3rd term and a middle term with a sign that corresponds to the "larger factor number"; and the numerical part of that middle term will be the "difference" of the two involved numbers.

(I hope this isn't confusing you. You just need to do several practice exercises for awhile in order to feel comfortable with it. This is the necessary "drill" so often despised by many students. But sometimes "ya' just gotta buckle down and grind it out.") ### Factoring Trinomials

Let's see if we can now apply the above information to the main reason for me writing this page in the first place. We'll begin with the easiest case: (a).

Factor x2 + 14x + 24. From our experience above, we know our binomial factors should look like

(x + __ )(x + __ )

because the sign of the 3rd term is "+", as well as the middle term. The trouble that 24 has many factor pairs to consider. (Well, not really THAT many, I know; but other numbers do have many more.) And you need that specific pair that has a sum of 14. In any case, until you can do these things "in your head", I recommend you write out a little factor T-chart, like this:

```				    24
----|-----
1 | 24
2 | 12
3 |  8
4 |  6
```

Now inspect the chart carefully to lcate a pair that has the sum of 14. There it is, in color, 2 and 12. So our task is done:

```(x + 2)(x + 12).
```

If our problem had simply been x2 - 14x + 24, not too much would have changed in our work. So I will only give the final result here: (x - 2)(x - 12).

The final two cases work pretty much the same way; the differences are pretty much what you would expect. Especially if you understood well the multiplication part above. Here's a good case:

Factor x2 + 7x - 30. Here due to the sign of the 3rd term being negative, we know our factors set up like this:

(x + )(x - __ );      or, if you wish,      (x - )(x + __ ).

But now we need a factor pair of 30 that has a difference of 7. Construct a factor T-chart for 30.

```				    30
----|-----
1 | 30
2 | 15
3 | 10
5 |  6
```

The highlighted pair does the job, leaving us with one last decision: where to place the 3 and the 10 (because the signs are different in our parentheses). But recall the middle term was positive, so it must have resulted from adding +10 and -3. That's it then. Put the 10 in the "sum binomial" and the 3 in the "difference binomial.

```
(x - 3)(x + 10)
```

A similar line of reasoning would be necessary if our trinomial were x2 - 13x - 30. This time we need a factor pair for 30 with a difference of 13. Consulting our chart gives us the pair of 2 and 15. Since our middle term is negative, it must have resulted from adding -15 and +2, we will place the larger number factor in the difference binomial.

```(x - 15)(x + 2)
``` That pretty well covers the story. But I'd like to add two pieces of advice. First, always double check your work multiplying out the two factors you've formed. It's easy to make a goof in this work.

Second, become proficient at making those factor T-charts with all the possible factor pairs that a number might have. I have seen situations when a student made an incomplete chart, leaving out a certain pair, and THAT WAS THE PAIR NEEDED TO DO THE JOB!

Also, on occasion, some trinomials are presented that are NOT factorable. For instance, if we had x2 + 9x + 24 or x2 + 10x - 30, because our charts are complete and correct, we know there is no factor pair of 24 with a sum of 9, and likewise there is no factor pair of 30 with a difference of 10. Hence, these trinomials are not factorable using integers and are therefore called (what else?) prime trinomials.

### Update (Feb 2002)

Here is a javascript program that will give you the factor pairs necessary to factor trinomials. Thanks to Jeff LeMieux, of Oak Harbor, Washington.

 Check a number for factor pairs: Enter the number to be evaluated: ©Jeff LeMieux 9/2001