The methods that are used to factor a polynomial depend on how many terms the polynomial has. Note: This page assumes that the polynomials are being factored on the real field (that the coefficients of the factors are real numbers).
The first step to factor any polynomial is always to factor out the Greatest Common Factor, commonly referred to as the GCF.
For example:
or
or
Binomial (two terms)
Again, the first step is to factor out the GCF. If there is no GCF, then there are three possibilities:
Difference of squares, sum of cubes, or difference of cubes.
Difference of squares
For example:
or
Sum of cubes
For example:
or
Difference of cubes
For example:
or
Trinomial (three terms)
There are three possibilities for factoring a trinomial depending on which type of trinomial it is.
Monic trinomials
A monic trinomial has 1 as the leading coefficient.
where and .
For example: because and
or
because and
Non-monic trinomials
A non-monic trinomial has a constant other than 1 as the leading coefficient.
where , , and
Many times students are taught that to factor a non-monic trinomials, they must guess different combinations of m,n,p,and q and then FOIL the factors to see if they had guessed correctly. There is a method of factoring that, while not often taught, will work.
Example: Factor
Step 1
Multiply a and c. (Multiply the number in front of and the constant)
Multipy 6 and -3,
Step 2
Find factors of ac.
Find factors of -18: -1(18), 1(-18), -2(9), 2(-9), -3(6), and 3(-6).
Step 3
Decide which factors of ac that when added together will give b.
The combination of -2 and 9 is the one needed since -2+9=7.
Step 4
Rewrite the middle term of bx using the factors found in step 3.
Instead of , write
Step 5
Factor by grouping.
Therefore
Perfect square trinomials
Perfect square trinomials are of the form or and
For example:
or
Polynomials with four terms
Some polynomials with four terms can be factored by some form of grouping. There are special groupings but the most common form is referred to as factoring by grouping and is described step by step below.
Example:
Step 1 Split the polynomial into groups of 2 terms.
Step 2 Find the GCF (greatest common factor) of each group.
Step 3 If the 'leftovers match' factor them out.
Since there is a (a-3b) in each term, factor out (a-3b) from each term.
Therefore
When nothing works
If the polynomial can't be factored, then it is considered prime.