How Do I Factorize Large Polynomials by Hand?

  • Thread starter Thread starter miahmad
  • Start date Start date
  • Tags Tags
    Polynomials
miahmad
Messages
5
Reaction score
0
Basically, i am doing some cryptography, i need to show that a polynomial i have, which is not irreducibale, implies it is not primitive.

I am having trouble factorising these rather large polynomials.

I have checked to see whether the following polynomials are irreducible and found there factorisation with maple.
Could someone please teach me how you would do these by hand.
x5+x+1=(x2+x+1)(x3-x2+1)

Another example:

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

an explanation of either would be gratefuly appreciated, thank you.
 
Physics news on Phys.org
Since you've already solved these using maple, I assume you know that they can not be factored using real numbers, where best that you can do is what you already had. There is one real root and 2 pairs of complex conjugate roots, which is what you need for the polynomial to have real coefficients.

Since your polynomials factor to a cubic times a quadratic you just need to solve each separately. Thus you need the quadratic formula and the cubic formula.
The quadratic formula is derived via completing the square.
The standard derivation of the cubic is on the http://en.wikipedia.org/wiki/Cubic_function" .
 
Last edited by a moderator:
Your post doesn't make sense. Could you clarify? The problem you seem to be trying to solve has nothing to do with actually performing any sort of calculation, so I don't understand why you are asking about how to factor polynomials.

For this specific example, the proof of the rational root theorem could be adapted to minimize the number of cases to consider, at which point you could just solve an equation to see if there was a nontrivial factorization.

What ring are you trying to factor over? Even if the integers, you could get a head start by factoring first over one or more finite fields.

I'm not sure why you would want to factor by hand, though...
 
miahmad said:
Basically, i am doing some cryptography, i need to show that a polynomial i have, which is not irreducibale, implies it is not primitive.

I am having trouble factorising these rather large polynomials.

I have checked to see whether the following polynomials are irreducible and found there factorisation with maple.
Could someone please teach me how you would do these by hand.
x5+x+1=(x2+x+1)(x3-x2+1)

Another example:

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

an explanation of either would be gratefuly appreciated, thank you.

I'm assuming that since your application is cryptography, the UFD of interest to you is the integers.
Note that x^5+x^4+1 is primitive in Z[x], the gcd of the coefficients is 1, even though it is reducible. So there is already a counterexample to your conjecture: if f(x) is not irreducible, then it is not primitive.
As far as factoring large polynomials, there is no simple formula unless the polynomial is quadratic in form. Quintics are not solvable by radicals in general and so very few indeed will be reducible over Z[x].
 
##\textbf{Exercise 10}:## I came across the following solution online: Questions: 1. When the author states in "that ring (not sure if he is referring to ##R## or ##R/\mathfrak{p}##, but I am guessing the later) ##x_n x_{n+1}=0## for all odd $n$ and ##x_{n+1}## is invertible, so that ##x_n=0##" 2. How does ##x_nx_{n+1}=0## implies that ##x_{n+1}## is invertible and ##x_n=0##. I mean if the quotient ring ##R/\mathfrak{p}## is an integral domain, and ##x_{n+1}## is invertible then...
The following are taken from the two sources, 1) from this online page and the book An Introduction to Module Theory by: Ibrahim Assem, Flavio U. Coelho. In the Abelian Categories chapter in the module theory text on page 157, right after presenting IV.2.21 Definition, the authors states "Image and coimage may or may not exist, but if they do, then they are unique up to isomorphism (because so are kernels and cokernels). Also in the reference url page above, the authors present two...
When decomposing a representation ##\rho## of a finite group ##G## into irreducible representations, we can find the number of times the representation contains a particular irrep ##\rho_0## through the character inner product $$ \langle \chi, \chi_0\rangle = \frac{1}{|G|} \sum_{g\in G} \chi(g) \chi_0(g)^*$$ where ##\chi## and ##\chi_0## are the characters of ##\rho## and ##\rho_0##, respectively. Since all group elements in the same conjugacy class have the same characters, this may be...
Back
Top