Applying Chinese Remainder Theorem to polynomials

In summary, in order to find all integers x that satisfy the given congruences, we can use the Chinese Remainder theorem and Bezout's theorem. The first step is to get rid of the coefficients by computing their respective modular multiplicative inverses. This allows us to rewrite the system of congruences in terms of x alone. Then, using the extended Euclidean algorithm, we can solve for x and obtain all possible solutions.
  • #1
48
0

Homework Statement


Find all integers x such that
[itex] 7x \equiv 11 mod 30 [/itex] and
[itex] 9x \equiv 17 mod 25 [/itex]


Homework Equations


I guess the Chinese Remainder theorem and Bezout's theorem would be used here.



The Attempt at a Solution


I can do this if the x-terms didn't have a coefficient. I'd just rewrite the congruences so that x - 11 = 30k etc and use Euclid's algorithm to solve it, which is not too difficult.
I'm just confused as to what to do since there are the coefficients and I'm not too sure what to do.

Thanks
 
Physics news on Phys.org
  • #2
stgermaine said:

Homework Statement


Find all integers x such that
[itex] 7x \equiv 11 mod 30 [/itex] and
[itex] 9x \equiv 17 mod 25 [/itex]


Homework Equations


I guess the Chinese Remainder theorem and Bezout's theorem would be used here.



The Attempt at a Solution


I can do this if the x-terms didn't have a coefficient. I'd just rewrite the congruences so that x - 11 = 30k etc and use Euclid's algorithm to solve it, which is not too difficult.
I'm just confused as to what to do since there are the coefficients and I'm not too sure what to do.

Thanks

The first step is to get rid of those coefficients by computing their respective modular multiplicative inverses.

So the system becomes ##x \equiv 7^{-1}.11 \pmod {30}## and ##x \equiv 9^{-1}.17 \pmod {25}##.

You can do this because the coefficients are relatively prime to those moduli.

Do you know how to compute those inverses? If not, you can read: http://en.wikipedia.org/wiki/Modular_multiplicative_inverse and http://en.wikipedia.org/wiki/Extended_Euclidean_algorithm (for the actual algorithm). A quick calculator is available online at: http://www.cs.princeton.edu/~dsri/modular-inversion.html [Broken]
 
Last edited by a moderator:

Suggested for: Applying Chinese Remainder Theorem to polynomials

Replies
12
Views
930
Replies
23
Views
913
Replies
3
Views
360
Replies
2
Views
911
Replies
3
Views
551
Replies
23
Views
912
Replies
27
Views
2K
Replies
1
Views
447
Back
Top