[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Discrete Math Help

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 10
Thread images: 1

File: factorization in z2.png (7KB, 724x203px) Image search: [Google]
factorization in z2.png
7KB, 724x203px
Factorization of a polynomial in Z2.

I know x+1 is one of the factors, but how do I go about finding the rest?
>>
Math wizards, I know you're out there somewhere.
>>
divide the polynomials in Z2
I think
>>
I think that there is only one factorization since Z2 is a field.

So we have x+1 as a factor and divide x^12 + 1 by it.

x^12 + 1 = (x + 1)(x^11 + x^10 + x^9 + x^8 + x^7 + x^6 + x^5 + x^4 + x^3 + x^2 + x + 1) = (x + 1)p(x)

Since the number of summands in p(x) is even, p(1) = 0 and (x+1) is again a factor.

p(x) = (x+1)(x^10 + x^8 + x^6 + x^4 + x^2 + 1) = (x+1)q(x)

and again

q(x) = (x+1)(x^9 + x+8 + x^5 + x^4 + x + 1) = (x+1)r(x)

and again

r(x) = (x + 1)(x^8 + x^4 + 1) = (x + 1)s(x)

Now we need to check s(x) for quadratic factors. The only irreducible quadratic factor is x^2 + x + 1 since x^2 = x x, x^2 + 1 = (x+1)(x+1), x^2 + x = x(x + 1).

x^8 + x^4 + 1 = (x^2 + x + 1)(x^6 + x^5 + x^3 + x + 1)
x^7 + x^6 + x^4 + 1
x^5 + x^4 + 1
x^3 + 1
x^2 + x + 1
0

So x^2 + x + 1 is another factor, and again:

x^6 + x^5 + x^3 + x + 1 = (x^2 + x + 1)(x^4 + x^2 +1)

Since (x^2 + x + 1)^2 = x^4 + x^2 + 1 we have finished.

x^12 + 1 = (x + 1)^4 (x^2 + x + 1)^4
>>
>>75442
The last step can be simplified:

Since (x^2 + x + 1)^2 = x^4 + x^2 + 1 = z^2 + z + 1 for z = x^2:

s(x) = x^8 + x^4 + 1 = z^4 + z^2 + 1 = (z^2 + z + 1)^2 = ((x^2 + x + 1)^2)^2 = (x^2 + x + 1)^4
>>
>>75185
(x^12+1)
(x^6+1)(x^6+1)
(x^3+1)(x^3+1)(x^6+1)
(x^3+1)(x^3+1)(x^3+1)(x^3+1)
(x+1)(x^2+x+1)(x^3+1)(x^3+1)(x^3+1)
(x+1)(x^2+x+1)(x+1)(x^2+x+1)(x^3+1)(x^3+1)
(x+1)(x^2+x+1)(x+1)(x^2+x+1)(x+1)(x^2+x+1)(x^3+1)
(x+1)(x^2+x+1)(x+1)(x^2+x+1)(x+1)(x^2+x+1)(x+1)(x^2+x+1)
>>
>>75442
>>75583

Thanks, anons.

Wasn't sure I was doing it right.

What about x^5-2x4+x3-2x2+x-2 mod 3, 5 or 7?

Z3 for example, f(1) = -3 = 0 and f(2) = 0. So x+1 and x+2 are factors. I divide and get the quotient, but it doesn't divide by these factors anymore.

It ends up factoring to (x+1)^3(x+2)^2 mod 3 somehow but I don't know how to get there.
>>
>>75718
I would first multiply the two factors:

(x+1)(x+2) = x^2 + 3x + 2 = x^2 + 2 (mod 3)

and then divide:
x^5 - 2x^4 + x^3 - 2x^2 + x - 2 =
x^5 + x^4 + x^3 + x^2 + x + 1 =
(x^2 + 2)(x^3 + x^2 - x - 1)

and again:
x^3 + x^2 - x - 1 = (x^2 + 2)(x + 1)

f(x) = (x^2 + 2)^2(x + 1) = (x+2)^2(x+1)^3
>>
>>75786
A more general solution is to factorize f(x) in the integers and then look at the factors modulo 3,5,7:

x^5 - 2x^4 + x^3 - 2x^2 + x - 2 =
(x - 2)(x^4 + x^2 + 1)

Since x^4 + x^2 + 1 > 0 there are no further zeros in Z which means that x^4 + x^2 + 1 can only be the product of two irreducible quadratic functions or be irreducible itself.

(x^2 + ax + 1)(x^2 + bx + 1) = x^4 + (a+b)x^3 + (ab+2)x^2 +(a+b)x + 1

Since a+b = 0, b = -a which implies ab+2 = -a^2 + 2 = 1, that is, a = +-1 and b = -+1

f(x) = (x-2)(x^2 + x + 1)(x^2 - x + 1)

Now you can check the quadratic functions modulo 3,5,7.
>>
>>75786
>>75805

Awesome, thanks again.

I haven't learned about the general solution strat yet, but your post cleared it up.
Thread posts: 10
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

If you need a post removed click on it's [Report] button and follow the instruction.
If you like this website please support us by donating with Bitcoin at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties. Posts and uploaded images are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that website. If you need information about a Poster - contact 4chan. This project is not affiliated in any way with 4chan.