Sunday, March 17, 2019

discrete mathematics - Factorising polynomials in to their irreducible factors over GF(2)



A skill I'm trying to learn/understand is how to do this manually. I've noticed as a predecessor to a lot of my discrete maths example questions we are asked to obtain the irreducible factorisation of things like x151,x181,x201F2[x].




What approach should one take generally when trying to do something like this? I've tried practising with smaller ones which are easier to do but I can't really see a general technique.



For x181=(x91)2=(x31)2(x6+x3+1)2=(x1)2(x2+x+1)2(x6+x3+1)2
This one I mostly understand, aside from the x6 factor, how could you know this was an irreducible polynomial in this field which out memorising them all? Or is that the technique..



Then, for x151 I am told to assume that the primitive quartic polynomials in F2[x] are x4+x+1 and x4+x3+1.



I can check on wolfram alpha that the factorisation looks like:
x151=(x+1)(x2+x+1)(x4+x+1)(x4+x3+1)(x4+x3+x2+x+1)




Now my hint suggested there are only 2 quartic polynomials but this makes use of 3...unless the 3rd one is not primitive?



And also, how could one find this factorisation easily by hand? The one above I could attempt trial and error to find the irreducible polynomial of degree 6 perhaps but for this one that seems a bit strange.



Any advice is greatly appreciated.


Answer



Note that from the theory of finite fields,



Theorem





The finite field Fpn is a splitting field of the polynomial xpnx.




From this theorem, every element of Fpn is a root of the polynomial xpnx. We can apply this to F24 and x24x.



x24x=x(x151)=x(x1)g(x)
where g(x) contains factors (xα) for each αF24F2.



Since F24 contains F22, we consider an irreducible polynomial of degree 2 over F2. Then
g(x)=(x2+x+1)h(x)
where h(x) contains factors (xα) for each αF24F22. Each such α must be of degree 4 over F2. Thus, h(x) must contain an irreducible polynomial of degree 4 over F2. Also, there are exactly three of them, x4+x3+1, x4+x+1, and x4+x3+x2+x+1. This gives the factorization
x151=(x+1)(x2+x+1)(x4+x3+1)(x4+x+1)(x4+x3+x2+x+1).


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...