factoring all-one polynomials using the grouping method


The method of grouping terms can be used to factor all-one polynomials, i.e. polynomialsPlanetmathPlanetmath of the form

m=0n-1xm

when n is composite. (When n is prime, these polynomials are irreducible, so there is nothing to do in that case.)

Let us consider a few examples:

n=4:

1+x+x2+x3=
(1+x)+(x2+x3)=
(1+x)+x2(1+x)=
(1+x)(1+x2)

n=6:

1+x+x2+x3+x4+x5=
(1+x+x2)+(x3+x4+x5)=
(1+x+x2)+x3(1+x+x2)=
(1+x3)(1+x+x2)

n=8:

1+x+x2+x3+x4+x5+x6+x7=
(1+x+x2+x3)+(x4+(x5+x6+x7)=
(1+x+x2+x3)+x4(1+x+x2+x3)=
(1+x4)(1+x+x2+x3)

Combining this result with the factorization we have for the case n=4, we obtain the following:

1+x+x2+x3+x4+x5+x6+x7=
(1+x)(1+x2)(1+x4)

n=9:

1+x+x2+x3+x4+x5+x6+x7+x8=
(1+x+x2)+(x3+x4+x5)+(x6+x7+x8)=
(1+x+x2)+x3(1+x+x2)+x6(1+x+x2)=
(1+x+x2)(1+x3+x6)

n=12:

1+x+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11=
(1+x+x2)+(x3+x4+x5)+(x6+x7+x8)+(x9+x10+x11)=
(1+x+x2)+x3(1+x+x2)+x6(1+x+x2)+x9(1+x+x2)=
(1+x+x2)(1+x3+x6+x9)=
(1+x+x2)((1+x3)+(x6+x9))=
(1+x+x2)((1+x3)+x6(1+x3))=
(1+x+x2)(1+x3)(1+x6)

It might be worth pointing out that the polynomials produced by this factorization are not all irreducible. For instance,

1+x3=(1+x)(1-x+x2).

However, to obtain this factorization, one needs to use some techique other than the grouping method. Likewise. the polynomial 1+x6 is also reducible.

Title factoring all-one polynomials using the grouping method
Canonical name FactoringAllonePolynomialsUsingTheGroupingMethod
Date of creation 2013-03-22 15:06:52
Last modified on 2013-03-22 15:06:52
Owner rspuzio (6075)
Last modified by rspuzio (6075)
Numerical id 13
Author rspuzio (6075)
Entry type Example
Classification msc 13P05
Related topic AllOnePolynomial
Related topic CyclotomicPolynomial