Modular operation on polynomial rings. I originally started modular arithmetic by the following: 1mod2, 1/2 is 0.5, 0 times 2 is 0, 1-0=1

Zackary Diaz

Zackary Diaz

Answered question

2022-11-23

Modular operation on polynomial rings
I originally started modular arithmetic by the following:
1mod2
1/2 is 0.5
0 times 2 is 0
1 0 = 1
1 equals 1mod2.
Is it the same way to compute a quotient of a polynomial ring such as C [ x 1 , , x n ] x 2 + y 2 z 2
x 3 + 2 x y 2 2 x z 2 + x mod x 2 + y 2 z 2
x 3 + 2 x y 2 2 x z 2 + x x 2 + y 2 z 2
( x 3 + 2 x y 2 2 x z 2 + x ) × ( x 3 + 2 x y 2 2 x z 2 + x ) ( x 2 + y 2 z 2 )
x 3 + 2 x y 2 2 x z 2 + x ( x 3 + 2 x y 2 2 x z 2 + x ) × ( x 3 + 2 x y 2 2 x z 2 + x ) x 2 + y 2 z 2

Answer & Explanation

Phiplyrhypelw0

Phiplyrhypelw0

Beginner2022-11-24Added 24 answers

Step 1
You can think of two numbers being congruent modulo n as follows:
a b  (mod  n ) a b is a multiple of n
In your example we get:
1 1 = 0 which is indeed divisible by 2, in fact it's divisible by any number n.
For another example, suppose we wish to calculate 40 (mod 17), we could proceed as you did:
40 17  is  2.35294... is 2.35294...
2 times 17 is 34
40 34 = 6.
so 40 6 (mod 17).
This is correct but somehow it feels, for lack of a better word, clunky. Instead, we can approach this from a slightly different point of view.
We observe that 40 = 2 ( 17 ) + 6
40 6 = 2 ( 17 ), which is a multiple of 17
40 6 (mod 17).
We have in essence done the same thing both times, but in the latter calculation it is clearer how we "extract" the multiples of 17 from 40.
Step 2
This latter way of thinking carries over nicely to other quotient rings, such as the polynomial ring you are interested in. That is
f ( x ) g ( x ) ( mod  h ( x ) ) f ( x ) g ( x ) = p ( x ) h ( x ) for some p ( x ) C [ x 1 , . . . x n ]. ie. f ( x ) g ( x ) is a multiple of h(x). We now want to calculate
x 3 + 2 x y 2 2 x z 2 + x
As we did in our above example, we wish to "extract" any multiples of x 2 + y 2 z 2 from x 3 + 2 x y 2 2 x z 2 + x
We notice that x 3 + 2 x y 2 2 x z 2 + x = x ( 2 x 2 + 2 y 2 2 z 2 ) x 3 + x = 2 x ( x 2 + y 2 z 2 ) x 3 + x
( x 3 + 2 x y 2 2 x z 2 + x ) ( x 3 + x ) = 2 x ( x 2 + y 2 z 2 ) is a multiple of x 2 + y 2 z 2
x 3 + 2 x y 2 2 x z 2 + x x 3 + x  (mod  x 2 + y 2 z 2 )
Step 2
One final thing to note is that there are other equivalent ways to state this, for example, we could have instead said that
x 3 + 2 x y 2 2 x z 2 + x = x ( x 2 + y 2 z 2 ) + x y 2 x z 2 + x
x 3 + 2 x y 2 2 x z 2 + x x y 2 x z 2 + x  (mod  x 2 + y 2 z 2 )
and this is of course fine too.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?