Paul's Online Math Notes
[Notes]
Algebra - Notes

Internet Explorer 10 & 11 Users : If you have been using Internet Explorer 10 or 11 to view the site (or did at one point anyway) then you know that the equations were not properly placed on the pages unless you put IE into "Compatibility Mode". I beleive that I have partially figured out a way around that and have implimented the "fix" in the Algebra notes (not the practice/assignment problems yet). It's not perfect as some equations that are "inline" (i.e. equations that are in sentences as opposed to those on lines by themselves) are now shifted upwards or downwards slightly but it is better than it was.

If you wish to test this out please make sure the IE is not in Compatibility Mode and give it a test run in the Algebra notes. If you run into any problems please let me know. If things go well over the next week or two then I'll push the fix the full site. I'll also continue to see if I can get the inline equations to display properly.
 Next Chapter Solving Equations and Inequalities Polynomials Previous Section Next Section Rational Expressions

## Factoring Polynomials

Of all the topics covered in this chapter factoring polynomials is probably the most important topic.  There are many sections in later chapters where the first step will be to factor a polynomial.  So, if you can’t factor the polynomial then you won’t be able to even start the problem let alone finish it.

Let’s start out by talking a little bit about just what factoring is.  Factoring is the process by which we go about determining what we multiplied to get the given quantity.  We do this all the time with numbers.  For instance, here are a variety of ways to factor 12.

There are many more possible ways to factor 12, but these are representative of many of them.

A common method of factoring numbers is to completely factor the number into positive prime factors.  A prime number is a number whose only positive factors are 1 and itself.  For example 2, 3, 5, and 7 are all examples of prime numbers.  Examples of numbers that aren’t prime are 4, 6, and 12 to pick a few.

If we completely factor a number into positive prime factors there will only be one way of doing it.  That is the reason for factoring things in this way.  For our example above with 12 the complete factorization is,

Factoring polynomials is done in pretty much the same manner.  We determine all the terms that were multiplied together to get the given polynomial.  We then try to factor each of the terms we found in the first step.  This continues until we simply can’t factor anymore.  When we can’t do any more factoring we will say that the polynomial is completely factored.

Here are a couple of examples.

This is completely factored since neither of the two factors on the right can be further factored.

Likewise,

is not completely factored because the second factor can be further factored.  Note that the first factor is completely factored however.  Here is the complete factorization of this polynomial.

The purpose of this section is to familiarize ourselves with many of the techniques for factoring polynomials.

Greatest Common Factor

The first method for factoring polynomials will be factoring out the greatest common factor.  When factoring in general this will also be the first thing that we should try as it will often simplify the problem.

To use this method all that we do is look at all the terms and determine if there is a factor that is in common to all the terms.  If there is, we will factor it out of the polynomial.  Also note that in this case we are really only using the distributive law in reverse.  Remember that the distributive law states that

In factoring out the greatest common factor we do this in reverse.  We notice that each term has an a in it and so we “factor” it out using the distributive law in reverse as follows,

Let’s take a look at some examples.

 Example 1  Factor out the greatest common factor from each of the following polynomials. (a)    [Solution] (b)    [Solution] (c)    [Solution] (d)    [Solution] Solution (a)    First we will notice that we can factor a 2 out of every term.  Also note that we can factor an x2 out of every term.  Here then is the factoring for this problem.                                                Note that we can always check our factoring by multiplying the terms back out to make sure we get the original polynomial.   (b)   In this case we have both x’s and y’s in the terms but that doesn’t change how the process works.  Each term contains and x3 and a y so we can factor both of those out.  Doing this gives,                                            (c)   In this case we can factor a 3x out of every term.  Here is the work for this one.                                                  Notice the “+1” where the 3x originally was in the final term, since the final term was the term we factored out we needed to remind ourselves that there was a term there originally.  To do this we need the “+1” and notice that it is “+1” instead of “-1” because the term was originally a positive term.  If it had been a negative term originally we would have had to use “-1”.    One of the more common mistakes with these types of factoring problems is to forget this “1”.   Remember that we can always check by multiplying the two back out to make sure we get the original.  To check that the “+1” is required, let’s drop it and then multiply out to see what we get.                                             So, without the “+1” we don’t get the original polynomial!  Be careful with this.  It is easy to get in a hurry and forget to add a “+1” or “-1” as required when factoring out a complete term.   (d)   This one looks a little odd in comparison to the others.  However, it works the same way.  There is a 3x in each term and there is also a  in each term and so that can also be factored out.  Doing the factoring for this problem gives,

Factoring By Grouping

This is a method that isn’t used all that often, but when it can be used it can be somewhat useful.  This method is best illustrated with an example or two.

 Example 2  Factor by grouping each of the following. (a)    [Solution] (b)    [Solution] (c)    [Solution] Solution (a)   In this case we group the first two terms and the final two terms as shown here,                                                          Now, notice that we can factor an x out of the first grouping and a 4 out of the second grouping.  Doing this gives,                                           We can now see that we can factor out a common factor of  so let’s do that to the final factored form.                                                 And we’re done.  That’s all that there is to factoring by grouping.  Note again that this will not always work and sometimes the only way to know if it will work or not is to try it and see what you get.   (b)    In this case we will do the same initial step, but this time notice that both of the final two terms are negative so we’ll factor out a “-” as well when we group them.  Doing this gives,                                                            Again, we can always distribute the “-” back through the parenthesis to make sure we get the original polynomial.   At this point we can see that we can factor an x out of the first term and a 2 out of the second term.  This gives,                                             We now have a common factor that we can factor out to complete the problem.                                                    (c)   This one also has a “-” in front of the third term as we saw in the last part.  However, this time the fourth term has a “+” in front of it unlike the last part.  We will still factor a “-” out when we group however to make sure that we don’t lose track of it.  When we factor the “-” out notice that we needed to change the “+” on the fourth term to a “-”.  Again, you can always check that this was done correctly by multiplying the “-” back through the parenthsis.                                                            Now that we’ve done a couple of these we won’t put the remaining details in and we’ll go straight to the final factoring.

Factoring by grouping can be nice, but it doesn’t work all that often.  Notice that as we saw in the last two parts of this example if there is a “-” in front of the third term we will often also factor that out of the third and fourth terms when we group them.

First, let’s note that quadratic is another term for second degree polynomial.  So we know that the largest exponent in a quadratic polynomial will be a 2.  In these problems we will be attempting to factor quadratic polynomials into two first degree (hence forth linear) polynomials.  Until you become good at these, we usually end up doing these by trial and error although there are a couple of processes that can make them somewhat easier.

Let’s take a look at some examples.

Special Forms

There are some nice special forms of some polynomials that can make factoring easier for us on occasion.  Here are the special forms.

Let’s work some examples with these.

 Example 4  Factor each of the following. (a)    [Solution] (b)    [Solution] (c)    [Solution] Solution (a)   In this case we’ve got three terms and it’s a quadratic polynomial.  Notice as well that the constant is a perfect square and its square root is 10.  Notice as well that 2(10)=20 and this is the coefficient of the x term.  So, it looks like we’ve got the second special form above.  The correct factoring of this polynomial is,                                                         To be honest, it might have been easier to just use the general process for factoring quadratic polynomials in this case rather than checking that it was one of the special forms, but we did need to see one of them worked.   (b)   In this case all that we need to notice is that we’ve got a difference of perfect squares,                                                         So, this must be the third special form above.  Here is the correct factoring for this polynomial.                                                      (c)   This problem is the sum of two perfect cubes,                                                           and so we know that it is the fourth special form from above.  Here is the factoring for this polynomial.

Do not make the following factoring mistake!

This just simply isn’t true for the vast majority of sums of squares, so be careful not to make this very common mistake. There are rare cases where this can be done, but none of those special cases will be seen here.

Factoring Polynomials with Degree Greater than 2

There is no one method for doing these in general.  However, there are some that we can do so let’s take a look at a couple of examples.

 Example 5  Factor each of the following. (a)    [Solution] (b)    [Solution] (c)    [Solution] Solution (a)   In this case let’s notice that we can factor out a common factor of 3x2 from all the terms so let’s do that first.                                                What is left is a quadratic that we can use the techniques from above to factor.  Doing this gives us,                                                Don’t forget that the FIRST step to factoring should always be to factor out the greatest common factor.  This can only help the process.   (b)   There is no greatest common factor here.  However, notice that this is the difference of two perfect squares.                                                          So, we can use the third special form from above.                                                         Neither of these can be further factored and so we are done.  Note however, that often we will need to do some further factoring at this stage.   (c)   Let’s start this off by working a factoring a different polynomial.                                                      We used a different variable here since we’d already used x’s for the original polynomial.   So, why did we work this?  Well notice that if we let  then .  We can then rewrite the original polynomial in terms of u’s as follows,                                                       and we know how to factor this!  So factor the polynomial in u’s then back substitute using the fact that we know .                                                       Finally, notice that the first term will also factor since it is the difference of two perfect squares.  The correct factoring of this polynomial is then,                                                   Note that this converting to u first can be useful on occasion, however once you get used to these this is usually done in our heads.

We did not do a lot of problems here and we didn’t cover all the possibilities.  However, we did cover some of the most common techniques that we are liable to run into in the other chapters of this work.

 Polynomials Previous Section Next Section Rational Expressions Next Chapter Solving Equations and Inequalities

[Notes]

 © 2003 - 2016 Paul Dawkins