SOLUTION: I am not sure how to factor this problem: X^4-X^3+X-1

Algebra ->  Polynomials-and-rational-expressions -> SOLUTION: I am not sure how to factor this problem: X^4-X^3+X-1      Log On


   



Question 401037: I am not sure how to factor this problem:
X^4-X^3+X-1

Answer by jsmallt9(3758) About Me  (Show Source):
You can put this solution on YOUR website!
x%5E4-x%5E3%2Bx-1
There is no Greatest Common Factor (GCF) other than 1. And there are too many terms for factoring by patterns or for trinomial factoring. All that is left is factoring by grouping or by trial and error of the possible rational roots. The trial and error method is usually a method of last resort. So we will try factoring by grouping.

When factoring by grouping, I find it helps to rewrite any subtractions as additions of the opposite. By having an expression of all additions we can use the Commutative and/or Associative Properties as needed and this method of factoring sometimes needs rearrangement of the terms. Changing the subtractions sometimes helps in another way as we will see shortly. So first we make everything an addition:
x%5E4%2B%28-x%5E3%29%2Bx%2B%28-1%29
Now we can group the terms. We want pairs of terms from which we can factor out a common factor. (Note: Factoring by grouping is one of the few occasions where you might actually factor out a 1!)
%28x%5E4%2B%28-x%5E3%29%29%2B%28x%2B%28-1%29%29
From the first group we can factor out x%5E3. From the second group we can factor out a 1 or a -1. I'll factor out a 1 because I can see that it is the one we need:
x%5E3%28x%2B%28-1%29%29%2B1%28x%2B%28-1%29%29
As you can see, the "other" factors in each group are the same. This is what we want when factoring by grouping. We can now factor out (x+(-1)):
%28x%2B%28-1%29%29%28x%5E3%2B1%29
or
%28x-1%29%28x%5E3%2B1%29}

When factoring, keep factoring until no more factoring can be done. The first factor above will not factor further. But the second factor is a sum of cubes and will factor according to the pattern a%5E3%2Bb%5E3+=+%28a%2Bb%29%28a%5E2-ab%2Bb%5E2%29:
%28x-1%29%28x%2B1%29%28%28x%29%5E2+-+%28x%29%281%29+%2B+%281%29%5E2%29
which simplifies to:
%28x-1%29%28x%2B1%29%28x%5E2+-+x+%2B+1%29
No more factoring can be done so we are finished.