

Graphs Numbers 
Algebra : FactorBasic  Intermediate  Advanced  Help Enter an expression and click the Factor button. FactoringThe process of factoring is essential to the simplification of many algebraic expressions and is a useful tool in solving higher degree equations. In fact, the process of factoring is so important that very little of algebra beyond this point can be accomplished without understanding it. In earlier chapters the distinction between terms and factors has been stressed. You should remember that terms are added or subtracted and factors are multiplied. Three important definitions follow. Terms occur in an indicated sum or difference. Factors occur in an indicated product. An expression is in factored form only if the entire expression is an indicated product. Note in these examples that we must always regard the entire expression. Factors can be made up of terms and terms can contain factors, but factored form must conform to the definition above. Factoring is a process of changing an expression from a sum or difference of terms to a product of factors. Note that in this definition it is implied that the value of the expression is not changed  only its form. REMOVING COMMON FACTORSOBJECTIVESUpon completing this section you should be able to:
In the previous chapter we multiplied an expression such as 5(2x + 1) to obtain 10x + 5. In general, factoring will "undo" multiplication. Each term of 10x + 5 has 5 as a factor, and 10x + 5 = 5(2x + 1). To factor an expression by removing common factors proceed as in example 1.
Next look for factors that are common to all terms, and search out the greatest of these. This is the greatest common factor. In this case, the greatest common factor is 3x. Proceed by placing 3x before a set of parentheses. The terms within the parentheses are found by dividing each term of the original expression by 3x.
The original expression is now changed to factored form. To check the factoring keep in mind that factoring changes the form but not the value of an expression. If the answer is correct, it must be true that . Multiply to see that this is true. A second check is also necessary for factoring  we must be sure that the expression has been completely factored. In other words, "Did we remove all common factors? Can we factor further?" If we had only removed the factor "3" from 3x^{2} + 6xy + 9xy^{2}, the answer would be 3(x^{2} + 2xy + 3xy^{2}). Multiplying to check, we find the answer is actually equal to the original expression. However, the factor x is still present in all terms. Hence, the expression is not completely factored.
For factoring to be correct the solution must meet two criteria:
Example 2 Factor 12x^{3} + 6x^{2} + 18x. Solution At this point it should not be necessary to list the factors of each term. You should be able to mentally determine the greatest common factor. A good procedure to follow is to think of the elements individually. In other words, don’t attempt to obtain all common factors at once but get first the number, then each letter involved. For instance, 6 is a factor of 12, 6, and 18, and x is a factor of each term. Hence 12x^{3} + 6x^{2} + 18x = 6x(2x^{2} + x + 3). Multiplying, we get the original and can see that the terms within the parentheses have no other common factor, so we know the solution is correct.
If an expression cannot be factored it is said to be prime.
FACTORING BY GROUPINGOBJECTIVESUpon completing this section you should be able to:
An extension of the ideas presented in the previous section applies to a method of factoring called grouping. First we must note that a common factor does not need to be a single term. For instance, in the expression 2y(x + 3) + 5(x + 3) we have two terms. They are 2y(x + 3) and 5(x + 3). In each of these terms we have a factor (x + 3) that is made up of terms. This factor (x + 3) is a common factor. Sometimes when there are four or more terms, we must insert an intermediate step or two in order to factor. Solution First note that not all four terms in the expression have a common factor, but that some of them do. For instance, we can factor 3 from the first two terms, giving 3(ax + 2y). If we factor a from the remaining two terms, we get a(ax + 2y). The expression is now 3(ax + 2y) + a(ax + 2y), and we have a common factor of (ax + 2y) and can factor as (ax + 2y)(3 + a). Multiplying (ax + 2y)(3 + a), we get the original expression 3ax + 6y + a^{2}x + 2ay and see that the factoring is correct. This is an example of factoring by grouping since we "grouped" the terms two at a time.
Sometimes the terms must first be rearranged before factoring by grouping can be accomplished. Example 7 Factor 3ax + 2y + 3ay + 2x. Solution The first two terms have no common factor, but the first and third terms do, so we will rearrange the terms to place the third term after the first. Always look ahead to see the order in which the terms could be arranged. In all cases it is important to be sure that the factors within parentheses are exactly alike. This may require factoring a negative number or letter.
Example 8 Factor ax  ay  2x + 2y. Solution Note that when we factor a from the first two terms, we get a(x  y). Looking at the last two terms, we see that factoring +2 would give 2(x + y) but factoring "2" gives  2(x  y). We want the terms within parentheses to be (x  y), so we proceed in this manner. FACTORING TRINOMIALSOBJECTIVESUpon completing this section you should be able to:
A large number of future problems will involve factoring trinomials as products of two binomials. In the previous chapter you learned how to multiply polynomials. We now wish to look at the special case of multiplying two binomials and develop a pattern for this type of multiplication. Since this type of multiplication is so common, it is helpful to be able to find the answer without going through so many steps. Let us look at a pattern for this. From the example (2x + 3)(3x  4) = 6x^{2} + x  12, note that the first term of the answer (6x^{2}) came from the product of the two first terms of the factors, that is (2x)(3x). Also note that the third term (12) came from the product of the second terms of the factors, that is ( + 3)(4). We now have the following part of the pattern: Now looking at the example again, we see that the middle term (+x) came from a sum of two products (2x)( 4) and (3)(3x). For any two binomials we now have these four products:
These products are shown by this pattern. When the products of the outside terms and inside terms give like terms, they can be combined and the solution is a trinomial.
You should memorize this pattern.
Not only should this pattern be memorized, but the student should also learn to go from problem to answer without any written steps. This mental process of multiplying is necessary if proficiency in factoring is to be attained. As you work the following exercises, attempt to arrive at a correct answer without writing anything except the answer. The more you practice this process, the better you will be at factoring. Now that we have established the pattern of multiplying two binomials, we are ready to factor trinomials. We will first look at factoring only those trinomials with a first term coefficient of 1. Solution Since this is a trinomial and has no common factor we will use the multiplication pattern to factor.
First write parentheses under the problem. We now wish to fill in the terms so that the pattern will give the original trinomial when we multiply. The first term is easy since we know that (x)(x) = x^{2}.
We must now find numbers that multiply to give 24 and at the same time add to give the middle term. Notice that in each of the following we will have the correct first and last term. Only the last product has a middle term of 11x, and the correct solution is This method of factoring is called trial and error  for obvious reasons.
Solution Here the problem is only slightly different. We must find numbers that multiply to give 24 and at the same time add to give  11. You should always keep the pattern in mind. The last term is obtained strictly by multiplying, but the middle term comes finally from a sum. Knowing that the product of two negative numbers is positive, but the sum of two negative numbers is negative, we obtain Solution We are here faced with a negative number for the third term, and this makes the task slightly more difficult. Since 24 can only be the product of a positive number and a negative number, and since the middle term must come from the sum of these numbers, we must think in terms of a difference. We must find numbers whose product is 24 and that differ by 5. Furthermore, the larger number must be negative, because when we add a positive and negative number the answer will have the sign of the larger. Keeping all of this in mind, we obtain
The following points will help as you factor trinomials:
In the previous exercise the coefficient of each of the first terms was 1. When the coefficient of the first term is not 1, the problem of factoring is much more complicated because the number of possibilities is greatly increased.
Notice that there are twelve ways to obtain the first and last terms, but only one has 17x as a middle term.
There is only one way to obtain all three terms: In this example one out of twelve possibilities is correct. Thus trial and error can be very timeconsuming. Even though the method used is one of guessing, it should be "educated guessing" in which we apply all of our knowledge about numbers and exercise a great deal of mental arithmetic. In the preceding example we would immediately dismiss many of the combinations. Since we are searching for 17x as a middle term, we would not attempt those possibilities that multiply 6 by 6, or 3 by 12, or 6 by 12, and so on, as those products will be larger than 17. Also, since 17 is odd, we know it is the sum of an even number and an odd number. All of these things help reduce the number of possibilities to try.
Solution First we should analyze the problem.
Solution Analyze:
(4x  3)(x + 2) : Here the middle term is + 5x, which is the right number but the wrong sign. Be careful not to accept this as the solution, but switch signs so the larger product agrees in sign with the middle term.
SPECIAL CASES IN FACTORINGOBJECTIVESUpon completing this section you should be able to:
In this section we wish to examine some special cases of factoring that occur often in problems. If these special cases are recognized, the factoring is then greatly simplified. The first special case we will discuss is the difference of two perfect squares. Recall that in multiplying two binomials by the pattern, the middle term comes from the sum of two products. From our experience with numbers we know that the sum of two numbers is zero only if the two numbers are negatives of each other.
In each example the middle term is zero. Note that if two binomials multiply to give a binomial (middle term missing), they must be in the form of (a  b) (a + b).
Reading this rule from right to left tells us that if we have a problem to factor and if it is in the form of , the factors will be (a  b)(a + b). Solution Here both terms are perfect squares and they are separated by a negative sign.
Special cases do make factoring easier, but be certain to recognize that a special case is just thatvery special. In this case both terms must be perfect squares and the sign must be negative, hence "the difference of two perfect squares."
You must also be careful to recognize perfect squares. Remember that perfect square numbers are numbers that have square roots that are integers. Also, perfect square exponents are even.
Another special case in factoring is the perfect square trinomial. Observe that squaring a binomial gives rise to this case. We recognize this case by noting the special features. Three things are evident.
Solution
To factor a perfect square trinomial form a binomial with the square root of the first term, the square root of the last term, and the sign of the middle term, and indicate the square of this binomial. Thus, 25x^{2} + 20x + 4 = (5x + 2)^{2}
Not the special case of a perfect square trinomial.
OPTIONAL SHORTCUTS TO TRIAL AND ERROR FACTORINGOBJECTIVESUpon completing this section you should be able to:
In this section we wish to discuss some shortcuts to trial and error factoring. These are optional for two reasons. First, some might prefer to skip these techniques and simply use the trial and error method; second, these shortcuts are not always practical for large numbers. However, they will increase speed and accuracy for those who master them. The first step in these shortcuts is finding the key number. After you have found the key number it can be used in more than one way. In a trinomial to be factored the key number is the product of the coefficients of the first and third terms.
The first use of the key number is shown in example 3. Solution
Step 4 Using only the outside cross product, find factors of the first and third terms that will multiply to give the product. In this example we must find factors of 4x2 and 10 that will multiply to give +8x. These are 4x from 4x2 and ( + 2) from (10). Place these factors in the first and last positions in the pattern
Step 5 Forget the key number at this point and look back at the original problem. Since the first and last positions are correctly filled, it is now only necessary to fill the other two positions.
We know the product of the two first terms must give 4x^{2} and 4x is already in place. There is no choice other than x.
We know that the product of the two second terms must be ( 10) and ( + 2) is already in place. We have no choice other than (  5).
A second use for the key number as a shortcut involves factoring by grouping. It works as in example 5. Solution
Step 3 Rewrite the original problem by breaking the middle term into the two parts found in step 2. 8x  5x = 3x, so we may write Step 4 Factor this problem from step 3 by the grouping method studied in section 82
Hence,
COMPLETE FACTORIZATIONOBJECTIVESUpon completing this section you should be able to factor a trinomial using the following two steps:
We have now studied all of the usual methods of factoring found in elementary algebra. However, you must be aware that a single problem can require more than one of these methods. Remember that there are two checks for correct factoring.
A good procedure to follow in factoring is to always remove the greatest common factor first and then factor what remains, if possible. SUMMARYKey Words
Procedures
