Yesterday, I attempted to solve the general system of linear congruences (I'm not sure why I've never tried this before.)
x≡a(modA)x≡b(modB).
I let x=a+pA and x=b+qB for some p,q∈Z, and I got
a+pA=b+qB⟹a≡b+qB(modA)⟹q≡(a−b)B−1A(modA).
where B−1A is the inverse of B modulo A. Then q=(a−b)⋅B−1A+rA for some r∈Z, so
x=b+(a−b)B−1AB+rAB⟹x≡b+(a−b)B−1AB(modAB).
However, note that by symmetry, we can also conclude that
x≡a+(b−a)A−1BA(modAB).
Thus,
a+(b−a)A−1BA≡b+(a−b)B−1AB(modAB).
If gcd, then
a - b = (a - b)(BB^{-1}_A + AA_B^{-1}) \pmod{AB} \implies BB^{-1}_A + AA_B^{-1}\equiv 1 \pmod{AB}.
Can this result be generalized to product rings? Also, if there is a generalization, does it have any uses?
Answer
I always use your method to solve these equations, but your result is just the standard formula for the Chinese remainder theorem.
If \gcd(a-b,AB) = 1:
\gcd(qB-pA,AB) = \gcd((x-pA)-(x-qB),AB) = 1.
Thus \gcd(A,B) = 1 and hence A_B^{-1},B_A^{-1} exist [which you already assumed].
[Note that the converse is clearly not true! A,B could be coprime while a,b are both zero.]
If \gcd(A,B) = 1:
Thus A \mid AA_B^{-1} + BB_A^{-1} - 1 and B \mid AA_B^{-1} + BB_A^{-1} - 1.
Thus AB \mid AA_B^{-1} + BB_A^{-1} - 1 and hence AA_B^{-1} + BB_A^{-1} \equiv 1 \pmod{AB}.
[So the result you got holds under the usual more general condition that A,B are coprime.]
The chinese remainder theorem also holds for principal ideal domains in the way you want, namely product rings, and generalizes to the product of any coprime quotient rings of a commutative rings. (You can take a look at the Wikipedia article.)
No comments:
Post a Comment