0
$\begingroup$

I haven't taken a math class in a few years and I have come to realize, as I am taking one again, that I do not know/remember how to factor equations.

One example from my textbook is:

$3x^3-x^2+3x+1$

Looking for a very detailed description of how to factor this, and just factoring in general.

EDIT: Isaac gave a very good description of how to factor this equation but I am looking for a general description of how to factor equations not just this equation.

  • 0
    Just a quick tip: If you have a polynomial with integer coefficients, then if your polynomial have integer solutions, then this solution must divide the degree zero coefficient, in this case 1. So if this equation have integer solutions they must be $\pm 1$. (this does not have integer solutions)2011-01-23

4 Answers 4

1

One thing you may always want to try is the rational root theorem (http://en.wikipedia.org/wiki/Rational_root_theorem), if your polynomial has integer coefficients. This is already touched on by the above answers. While this isn't a general trick, it may be able to help you find factors, and potentially then reduce this to something that you can easily recognize and factor.

  • 0
    This was well-covered in two other answers. Additionally, as in my comments there and in the note in my answer, there are polynomials with integer coefficients that factor over the integers, but do not have rational roots.2011-01-24
3

The polynomial given does not factor (with integer coefficients), but perhaps $3x^3-x^2-3x+1$ was intended. One technique for factoring polynomials with several terms (typically more than 3) is to group terms together and factor a common monomial factor out of each group. In this instance: $\begin{align} 3x^3-x^2-3x+1 &= (3x^3-x^2)+(-3x+1) \\ &= x^2(3x-1)-1(3x-1) \\ &=(x^2-1)(3x-1) \\ &=(x+1)(x-1)(3x-1) \end{align}$ The final step is one of several common factoring patterns—this one is sometimes referred to as a difference of squares: $a^2-b^2=(a+b)(a-b)$.


edit As to how to factor in general, my inclination is to say that you don't. If you pick a polynomial with random integer coefficients, the probability that it factors over the integers is 0. Typically, in textbooks, the factoring problems are common monomial factors, specific factoring patterns (difference of squares, sum/difference of cubes, perfect-square, perfect-cube, etc.), factoring-by-grouping, quadratics, or some other special-case technique (as below).

On a side note, since two other answers have suggested factoring by looking for roots, there are polynomials with integer coefficients that factor over the integers but have no real roots or no rational roots (though I think they must be of degree 4 or greater). For example: $\begin{align} x^4+2x^2+81 &=x^4+18x^2+81-16x^2 \\ &=(x^2+9)^2-(4x)^2 \\ &=(x^2-4x+9)(x^2+4x+9) \end{align}$ (This is an example of a class of such problems [quartics that are quadratics in $x^2$] that I have seen in multiple textbooks where the technique is a sort of "completing the square," but applied to the middle term, followed by a difference-of-squares factoring.)

  • 0
    @Isaac: Gah..yes..thanks.2011-01-25
2
  • There's general factoring of polynomials which is really not doable by humans. Given a random sequence of integer coefficients, it's just intractable (because the roots could be arbitrary complex numbers involving square roots and fractions).

  • Fortunately, what's usually given as exercises are polynomials that look pretty random but for teaching purposes are 'easy' (have only nice integer or fractional solutions, no roots or imaginaries). So the way to do these is to (intelligently) guess a solution $r$, then try to divide out $x - r$ from the original polynomial.

    • If that works then you try the same strategy again on the (necessarily) smaller degree polynomial. So really, what you're being asked to do is practice polynomial division.
    • If that guess didn't work, try another guess. Your initial guesses come from the rational root theorem (the first and last coefficients).

So for the above (fixed) example $3x^3-x^2-3x+1$, you'd guess maybe $1\over 3$ (from Peter Taylor's list; I picked it because I know that it happens to be a factor). Divide through by $(3x- 1)$ (because its root is $1\over3$) and get $x^2 + 0x - 1= x^2-1$ which you already know how to factor by the quadratic formula.

  • 0
    @Isaac: Yes, I used your fixed polynomial, but pointing out how to do it in general. Also, as is often the case in the teaching of this procedure, the roots are implicitly guaranteed to have all integer (or rational) roots.2011-01-25
1

Factoring over the integers, $(bx + c)$ can only divide into $a_n x^n + ... + a_1 x + a_0$ if $b | a_n$ and $c | a_0$. For small $a_n$ and $a_0$ you can easily try the different cases. Here you have $a_n$ = 3 and $a_0$ = 1, so you can evaluate your polynomial at $x \in \{-1, \frac{-1}{3}, \frac{1}{3}, 1\}$ to get the roots. If you don't find enough roots, divide through by the terms you have found and re-test the roots you found to see whether any are repeated.

  • 0
    Though it's not an issue with cubics, beware that there are quartic polynomials that factor into two quadratics, neither of which have rational roots.2011-01-23