CraigsMaths

Mathematics Teaching for Learning

Factoring polynomials

CraigsMaths
Mathematics Teaching for Learning
Engineering Maths B, Trinomial factors
January 24th, 2009 by Craig Rose
Permalink: http://www.craigsmaths.com/ea003-engineering-mathematics-b/factoring-polynomials/

There are several approaches to factoring polynomials.  Some are easier than others depending on the polynomial you are trying to factor.  Here’s a step by step method to help you on the way to selecting the “best” approach to use.  This article only considers real solutions and does not deal with complex solutions.

When to factor?

Factoring is used when:

  1. Solving a polynomial equation f(x)=0
  2. Finding the roots of a polynomial equation f(x)=0
  3. Finding the zeros of a polynomial function f(x)
  4. Factoring a polynomial function f(x)
  5. Finding the x-intercepts of a polynomial function f(x)

In fact all five of these are the same thing and hence will use the following process.

How many factors?

An nth degree polynomial will have exactly n factors and n roots.

If the sign of the coefficients of each term changes p times in f(x) then there will be p or p less an even number of positive roots.

If the sign of the coefficients of each term changes p times in f(-x) then there will be p or p less an even number of negative roots.

By knowing what to expect you will know where to start and what to look for when finding factors.

Step 1 - Arrange the function into the standard form

The standard form consists of the terms arranged in descending order of exponent with the coefficients expressed as integers.

ax^{n}+bx^{n-1}+cx^{n-2}+dx^{n-3} ...

Where n is the degree of the polynomial.

Step 2 - Factorise on the common factors

Look at the polynomial you now have and find any common factors of all the terms.  This includes any common factors that have powers of x in them.

For example the common factors of:

8x^{3}+12x^{2}+2x are 2 and x

So factorising this we get:

2x(4x^{2}+6x+1)

Step 3 - Look for standard forms and factorise them

Difference of squares

Where the expression can be expressed as a difference of two squares the factors are also determined directly:

ax^{2}-b = \left(\sqrt{a}x-\sqrt{b}\right) \left(\sqrt{a}x+\sqrt{b}\right)

Perfect squares

a^{2}x^{2}+2abx+b^{2} = \left(ax+b\right)^{2}

Sum of cubes

a^3+b^3 = (a+b)(a^2-ab+b^2)

(Note the resulting quadratic will not factor.)

Difference of cubes

a^3-b^3 = (a-b)(a^2+ab+b^2)

(Note the resulting quadratic will not factor.)

Grouping

For ax^3+bx^2+cx+d if a/b=c/d then you can group terms and common factors will be apparent.

Step 3 - Test for rational factors

For any factors that have a degree greater than 1 you need to try to factorise further.  If these are quadratics then go to step 4.  Otherwise continue with this step.

First we need a short list.  We can get this from the rational roots test. First make sure that all your coefficeints are integers.  This should have happened at step 1 already. Make a list of possible rational roots by constructing fractions with the denominators formed from all the factors of the constant term and the numerator from all the factors of the leading coefficient.  List each +/- combination.

You can further eliminate numbers from this list by considering the sign of the roots that you expect.

It may turn out that none of these are roots - but they are worthy first candidates and no other rational numbers can possibly be roots.

If there are no rational roots you then need to look to the possibility of irrational and complex roots.

Check each of the possible rational roots by:

  1. Long division
  2. Synthetic division
  3. OR Substitution

If the polynomial is large the computational overhead for 3 may be greater than 1 or 2 and not yeild as much useful results.  1 and 2 will give you the factors.

Step 4 - Factorise the quadratics

Factors of a x c that add up to b.  This will yield rational roots.

http://www.craigsmaths.com/quadratic-equations/factors-of-quadratics/

Quadratic formula.  This may yield non-rational, complex or rational roots.

Use the discriminant to determine the nature of factors.

Step 5 - Repeat

Repeat the above steps on each factor found so far until the equation can no longer be reduced.

Tags: ,

7 Responses to “Factoring polynomials”

  1. Ivan Lakhturov Says:

    Dear Craig. I’ve seen you were asking the wpmathpub plugin’s author about the “wpmathpub plugin not usable under these conditions” error. I have the same problem… how did you solve it?

  2. Craig Rose Says:

    I haven’t looked at the problem since. I’ll try it again sometime in the near future, but I’m just too busy teaching and tutoring at the moment.

  3. Ivan Lakhturov Says:

    But here at your blog I see nicely rendered TeX-formulae. Which plugin do you use currently for math-notation?

  4. Craig Rose Says:

    Good point Ivan! I guess I “solved it” by using this one:

    http://wordpress.org/extend/plugins/latex/

  5. Ivan Lakhturov Says:

    Thank you!

  6. Ivan Lakhturov > Installed LaTeX plugin for WordPress Says:

    [...] tried wpmathpub plugin, but it didn’t work for me. Now thanks to Craig Rose I have a better plugin for math notation. It uses an external service (usually WordPress server) [...]

  7. ROBERTO Says:


    MedicamentSpot.com. Canadian Health&Care.Special Internet Prices.No prescription online pharmacy.Best quality drugs. High quality pills. Order pills online

    Buy:Actos.Synthroid.Nexium.Valtrex.Accutane.Prednisolone.Human Growth Hormone.Zyban.Retin-A.100% Pure Okinawan Coral Calcium.Zovirax.Petcam (Metacam) Oral Suspension.Prevacid.Arimidex.Lumigan.Mega Hoodia….

Leave a comment