### 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.

** ** = *2 x ^{2 ∙}(4x^{2} – 2x +5)*

** ** ** **** = 3 x ∙ (x^{5}– 3x + 1)**

First we will notice that we can factor a 2 out of every term. Also note that we can factor an *x ^{2}* out of every term. Here then is the factoring for this problem.

### 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.

*Example 2*

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.

### Special Forms

There are some nice special forms of some polynomials that can make factoring easier for us on occasion. This formules was listed in “Special Factors” part. Let’s work some examples with these.

Let’s work some examples with these.

*Example 3*

This time we need two numbers that multiply to get 9 and add to get 6. In this case 3 and 3 will be the correct pair of numbers. Don’t forget that the two numbers can be the same number on occasion as they are here.

Here is the factored form for this polynomial.

*Example 4*

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.

*Example 5*

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.

### Completing the Square

Completing the square may be used to solve any quadratic equation. For example:

*Example 6*

The first step is to complete the square: