Factoring x^5+x^4+1 but with only 0, 1, & 2
Overview
blackpenredpen explains how factoring over Z₃ restricts coefficients and calculations to the residues 0, 1, and 2, then applies synthetic division to x⁵ + x⁴ + 1. The polynomial has two roots at 1, giving the factorization (x + 2)²(x³ + 2x + 1) modulo 3; the remaining cubic has no root in Z₃.
Key takeaways
- In Z₃, every integer coefficient is reduced to one of 0, 1, or 2, and every arithmetic operation is performed modulo 3.
- The polynomial x⁵ + x⁴ + 1 has root 1 in Z₃ because substituting 1 gives 3 ≡ 0.
- Synthetic division by 1 twice shows that (x − 1)² divides the polynomial over Z₃.
- The remaining cubic is x³ + 2x + 1; testing the possible residues 0, 1, and 2 shows it has no root in Z₃.
- Since −1 ≡ 2 modulo 3, the repeated factor can be written using the allowed residue representatives as (x + 2)².
Chapters
- Factoring over Z₃ requires polynomial coefficients and factors to use only the residues 0, 1, and 2.
- Replace integers with their remainders after division by 3: for example, 17 ≡ 2 and 99 ≡ 0 modulo 3.
- Negative values also reduce to residues: −1 ≡ 2 because adding 3 gives 2.
- The congruence a ≡ b mod n means a = b + kn for some integer k.
- Since the constant term is 1, 0 cannot be a root; testing 1 gives 1 + 1 + 1 = 3 ≡ 0 modulo 3.
- Synthetic division by the root 1 starts from coefficients 1, 1, 0, 0, 0, 1, with every sum reduced modulo 3.
- The first division yields x⁴ + 2x³ + 2x² + 2x, so x − 1 is a factor in Z₃.
- Dividing the quartic by x − 1 again gives x³ + 2x + 1, establishing a repeated root at 1.
- Testing 1 and 2 against the remaining cubic gives nonzero remainders, so neither residue is another root.
- Because −1 ≡ 2 modulo 3, rewrite (x − 1)² as (x + 2)².
- The resulting factorization is x⁵ + x⁴ + 1 ≡ (x + 2)²(x³ + 2x + 1) modulo 3.
Transcript excerpt
0:00 So, I did a YouTube short on the other day, factoring x to the fifth power plus x to the fourth power plus one in the regular sense. And this viewer wanted me to factor the same thing in Z mod 3. So, let's go ahead and give it a try. What does this even mean though? We factor this polynomial over Z3. Well, first, we want the polynomial and the result, the factors, their coefficients, they all have to be from Z3. Which means, just think about this as in the world of only three numbers, namely 0, 1, and 2. What do we do when we have other numbers though? Well, we look at the number, divide it by three, and look for the remainder.
0:47 And here, we will not be talking about fractions decimals irrational numbers, none of that. Here. For example, if we have, let's say, the number 17, in the Z3 world, this is the same as 2. And we can say 17 is congruent to 2 mod 3 because 17 divided by 3 is 5 with a remainder 2. And if you have the number, let's say, 99, this is congruent to 0 because this is actually a multiple of 3. And 3 is actually the same as 0 in the Z3 world. If you have a negative number such as -1, hmm, what does this even mean, right? Well, you can start with -1, you can
1:36 keep adding three to it. Once you hit one of these, then you'll be done. If you start with -1, if you add three, you get two. So, -1 is congruent to 2 mod 3. And you guys can let me know 17 negative though is congruent to what mod 3. Go ahead and just add leave a
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, blackpenredpen.