Given n=pq where p and q, p ne q are primes, P(x) is polynomial and z in Z_n
bucstar11n0h
Answered question
2022-11-19
Modular arithmetic with polynomial Given where are primes, P(x) is polynomial and I need to prove that:
If i could prove the more general case: (q is the same) then i could also prove what i need of course. from my understanding so far, the above is true, but i can't figure out a way to prove this. Back to the original question, i tried to see why the fact that p divides P(z mod p) and q divides P(z mod q) implies that pq divides P(z) and vice versa, but i didn't have much success with this.
Answer & Explanation
Hailee West
Beginner2022-11-20Added 15 answers
Step 1 1. Chinese remainder theorem, to go from p,q to n. Step 2 2. Expand the polynomial P, to see that .
jorgejasso85xvx
Beginner2022-11-21Added 2 answers
Step 1 First, generally But when p,q are coprime. Second holds true because , for any polynomial P with integer coefficients. This is true because polynomials are composed of Sums and Products, and these operations respect congruences, i.e. the rules below hold true Congruence Sum Rule Proof Congruence Product Rule Proof Step 2 Beware that such rules need not hold true for other operations, e.g. the exponential analog of above is not generally true (unless so it follows by applying b times the Product Rule).