More on Polynomial Functions
See also: Intro to Polynomial Functions
Contents
Factoring
Common Factor
Factoring polynomials deals with picking out the common factor. Just like before when we factored a real number we apply the same idea to binomials, trinomials, and other polynomials. We assume that you don't know how to factor variables, so we will introduce the concept by analyzing the question into smaller and smaller pieces to further understanding with the example problem below. For those who know how to do this, this may seem a little bit excessive, but it is important to fully understand what these type of problems means. Plus, in mathematics, when problems are very difficult, you break it down into easier pieces until you can finally tackle the big monster that is the problem.
Example Problem 1
Factor the expression . Notice that each term in the expression has an with no coefficients. If you have not memorized exponent rules, please do! The reason for that memorization is to simplify the process. When multiplying two terms such that , the result of the expression is . Thus, you want to have some that when distributed onto every term in the parentheses, you get the same expression above. Let us set that up now:
- .
While this seems like a complicated way to look at it, a simple tasked is asked of you. In short, . Because , each term in has the same basic structure. Ergo,
- .
Here we have what the question is actually asking us to figure out: . Because is always equal to itself, yet the exponents are not, we may further rewrite the problem like so:
Since is in the system of equations twice, it may be easier to eliminate from the system. In that case, multiply to the equation (2). After, add equation (1) to equation (2):
- (3):
You could keep going, but you are going to find out some hard truths, and you probably have no time to waste getting every thing done. If you want a proof that what you are doing is futile, read the note.[Note 1.] What most problems mean by factoring an expression is to simply make it so that equation (3) is easy to solve. That is, let . From there:
Because we allowed these two truths to exist, we can substitute these two values into the systems to find that . This option was very arbitrary (as you would have learned if you read note 1). Nevertheless, this is what most problems want you to do when factoring an expression with no coefficients. Allow to equal the smallest power value in the expression. Either way:
- .
The biggest truth you should have learned is when factoring an expression with no coefficients, you are really being asked to find the greatest common factor, and you do that by factoring the variable in the problem to the smallest power value (highlighted in ). Here are a few examples:
But what about when factoring with coefficients. This is a little bit more complicated, but it works the same either way.
Example Problem 2
Factor the expression .}} Here, we should be focusing on the coefficients before the exponents. If we were to do that, we would analyze this small problem first:
- .
If you were to notice (or use a calculator), the largest value that is a factor of the numbers within is . Let us go ahead and factor that into our expression:
The coefficients should not matter if you factor because when multiplying the expression , where is some constant, as per the associative property, . From there, multiplying one term by a constant does not matter: .*
Therefore, we can apply the same general rule we discovered for Example 1:
*Even if the other value is multiplied by another arbitrary constant , so long as the commutative property is a thing, .
This procedure outlined above seems to work for any polynomial. Let's try it on a few:
We may now synthesize the information we learned from these two problems to outline a general procedure:
Factoring any polynomial with a common term (procedure)
- Given a polynomial with coefficients and variables, the following procedure should be followed.
- Find the greatest common factor for each of the coefficients.
- If there is no constant (a value that has no variable attached to it), factor the variable to the lowest power value in the expression. If there is a constant, simply keep the greatest common factor outside the parentheses.}}
You are now ready to fully factor any expression with a common term.
Grouping
When there is no common term that travels throughout the entire polynomial you can factor by grouping. When factoring by grouping you need to split up the polynomial into two binomials.
Example Problem 3
Factor the expression . Before we group, we need to do a quick check to see if we can factor the entire expression with just one term outside the parenthesis. If "4" was not a constant, we could factor the expression using the second step of the procedure. Another thing is that , which if we were to factor, that would mean that we are multiplying the same thing by 1, which is not very helpful.
What are we to do then? We could factor by putting parts of the expression that have something similar together. This is harder to explain than do, so follow along with us. First, we are going to rewrite the expression. However, instead of keeping it black, we are going to recolor the expression with two groups of colors, red and green:
- .
First, we are going to factor the red bit, . Notice that this part of the expression has a common factor . Factor that bit out and leave it to the side:
From there we group the second binomial (in green) from the polynomial: . Notice the common factor is , so factor that bit:
With these two bits factored, put them together; after all, they were part of the same expression:
- .
- .
You are now finished. The concept is simple, although some problems may be a little bit more difficult than others.
Notice that we factored two binomials. Would it work if we were to factor a trinomial and then a binomial? We will answer that in a little bit. For now, try the next problem below, where we group polynomials with different variables.
Example Problem 4
Factor the expression . As before, we need to do a quick check to see if we can factor the entire expression with just one term outside the parenthesis. First, , which if we were to factor, that would mean that we are multiplying the same thing by 1, which is not very helpful. However, because there is an inside the expression in some form, we could factor the entire expression like this:
- .
We are not done however. Notice that you could still group the polynomial inside the parentheses with common terms. The may seem to complicate things; however, you can simply ignore it and say you are working on the inside of the parentheses. If you do get easily confused when too many things are on the paper or screen, it may be helpful to ignore them but always be sure to come back to them. Let us rewrite the expression inside of the parentheses in the same way we did in Example 2.2.a:
- .
Looking at the red term , there is a common factor of with both terms, and , so we will factor outside the red term:
As before, do the green term . Look at the coefficients and constants first: . We found a factor! As per the definition of constant, there is no variable and thus nothing to factor. Therefore, we can now factor that bit:
- .
- .
Finally, put everything together, including the term we ignored for a large part of the problem. In the spirit of not confusing the reader, the red and green parts will be placed inside the brackets "[]":
- .
For the more astute readers, you may have noticed that is multiplied to each term inside the square brackets. In case you do not see it, let . If we were to replace the inside of the brackets like so (we are ignoring the colors since they are unnecessary for this part of the problem)
we would notice that each term is multiplied by C, which is a factor of the expression and must be separated like so:
- .
Remembering that we let , we substitute that back in and get
- .
Finally, because of the associative property, we may ignore the large square brackets (but keep the parentheses because anything inside the parentheses must be done first before multiplying them:
This problem was a little bit more involved than expected. Is there an easier way to do the green and red bits? Yes, and it is a method called F.O.I.L (Firsts, Outside, Insides, Lasts). Here is what we mean by foil (see right):
By remembering the foil method we can move backwards and solve this problem: .
We know that we multiply "firsts" with no coefficients. It is easier to :
- .
From there we go "outsides". We see that the first term is a multiple to the second term, , in the first binomial. So we get
- .
Next, "insides": we see is a multiple of . Therefore, we get
In fact, we are finished. Notice that "lasts" is , which gives us , the last term of the polynomial.
Keep in mind, this trick doesn't always work because the middle terms often end up having the same common variables and get simplified. It's helpful to start with the first terms and then go to the last terms. If you can get these two things you should be able to find the middle terms. Another thing to note is that we had to factor to make this work. While it could be possible to do the original problem like this, it is much easier to use FOIL when the last term does not have any variables. Before we move on to the next section, we must answer one final pressing question that we asked at the beginning of this section.
Factoring by grouping: a trinomial then a binomial? This question is fundamental to the curious student. Let us try it out using Example 2.2.a:
- .
Let us factor the trinomial: . Next, factor the monomial: . Now put them together:
- .
It seems to functionally work the same. In fact, it gives you the same answer. This should make sense because how you group anything does not change the answer (remember, associative property). However, it is standard mathematical syntax to factor a polynomial into two binomials. Because the CLEP exam is multiple choice, it should be easy to tell what the question is asking you to do. Either way, we have a procedure outlined for you again:
Factoring any polynomial with no common term (procedure)
- Given a polynomial with coefficients and variables, the following procedure should be followed.
- Find the greatest common factor for each of the coefficients.
- If there is no constant (a value that has no variable attached to it), factor the variable to the lowest power value in the expression. If there is a constant, simply keep the greatest common factor outside the parentheses.
- Group the polynomial into two binomials, and apply steps 1 and 2 to the different groupings. Do this separately for the two groupings.
- After completely factoring the two binomials. Put them together. If there is a common factor with the two combined binomials, factor it.}}
The procedure outlined above is best demonstrated in Example 4, and it does have a new: factoring by grouping. Simply look back at that example and apply each and every step onto that polynomial. Once you have done that, you now fully understand grouping polynomials.
Trinomials
It may seem strange to start factoring larger expressions only to then move back to the trinomial. However, there is a reason why the book is arranged the way it is. Trinomial factoring may be the most difficult aspect of the journey to, ultimately, solve equations involving degrees higher than 1. Nevertheless, this difficult concept is necessary for the college algebra student, especially for the next two sections of the "factoring" section.
As before, we will introduce the concept by exploring the consequences and behaviors that a mathematician may have first discovered techniques to solve. First, let us apply our algorithm and see if it applies to problems like these.
Example 5
Factor the expression .}}
- .
- We can only factor for the following expression.
- ???
- ???
Notice how our algorithm is confused at steps 3 and 4. Rightly, it should be because our algorithm assumes that we are factoring by grouping, which is not always applicable to all situations, such as this one. However, we can "force" the algorithm to fit into this situation. For example, we can try making the middle term split up into two terms. That is, we set , where
However, if we are to get anywhere with this, we want the middle term to have common factors. This is an interesting dilemma!
Our ultimate end goal is to use the algorithm we have used previously on the trinomial above to get a factored form such the following is true:
However, notice how we got this result. If we want this to be factored, then must be a factor of this trinomial. The question is, what is ? This is the ultimate question. To answer this, we need to analyze this application of the algorithm carefully. Since is grouped together, we want to find a greatest common factor for and for . Ultimately, this means is the greatest factor of the grouped expression. Otherwise, it would be impossible to get as a factor of the expression.
Therefore, . This tells us a very important truth about factoring the above expression:
Template:Equation
This is a result of applying our algorithm! Using what we know, let us rewrite the above problem in terms of what we know: , where and . LOOK AT THIS! We can use a systems of equations!
For. the purposes of saving time, we will skip through the process of finding those factors. This can be trivially done with a "guess-and-check," but a technique for finding this factor will be explained later. For now, just thank us when we tell you the factors are and .
Using this result, we can now definitively use the same algorithm as before, but through some "fudging" or adjustments to the base expression we were solving for. Here is the process in action:
Example 5 showed us a very important algorithm that is taught all around the world. It is called the ac-method or the diamond method, the steps for which we will outline below.
AC-method of factoring trinomials
- Given a trinomial of the form , with , the following procedure should be followed.
- Find the greatest common factor for each of the coefficients.
- If there is no constant (a value that has no variable attached to it), factor the variable to the lowest power value in the expression. If there is a constant, simply keep the greatest common factor outside the parentheses.
- Find two values and whereby and .
- Rewrite the trinomial into the form ; then, group the polynomial into two binomials, and apply steps 1 and 2 to the different groupings. Do this separately for the two groupings.
- After completely factoring the two binomials. Put them together. If there is a common factor with the two combined binomials, factor it.}}
You should have realized by now that the ac-method is a modified version of the factoring by grouping method. This is why we decided to show factoring trinomials later, because the work involved is actually more than what you would expect from a carefully designed polynomial.
Difference of Two Squares
So far in our factoring journey, we tried factoring general expressions that are not usually commonly seen. Despite that, there is a procedure that almost always works. Similarly, there are specialized cases in which a formula exists. It is the hope of this Wikibook that you understand why the formula is the way it is so that you may not simply blindly apply some seemingly unrelated relation.