Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I ran into this version of the Chinese Remainder Theorem:

Show that the solutions to the simultaneous system of congruences $$x\equiv a_1\pmod{m_1},$$ $$x\equiv a_2\pmod{m_2},$$ $$...$$ $$x\equiv a_r\pmod{m_r},$$ where the $m_j$ are pairwise relatively prime, are given by $$x\equiv a_1M_1^{\phi(m_1)}+a_2M_2^{\phi(m_2)}+\cdots+a_rM_r^{\phi(m_r)}\pmod{M},$$ where $M=m_1m_2\cdots m_r$ and $M_j=M/m_j$ for $j=1, 2, ..., r.$

This is basically the exact Chinese Remainder Theorem, except that instead of $x_jM_jy_j$, we have $x_jM_j^{\phi(m_j)}$. Would it then suffice to show that $x_jM_j^{\phi(m_j)}\equiv x_jM_jy_j\pmod{M}$? If so, how could I go about it? Thanks in advance!

share|cite|improve this question
Relevant:'s_theorem – user2468 Mar 7 '12 at 1:55
You introduce the notation $y_j$ without definition. But what are you trying to accomplish? Are you trying to prove the CRT in the given version? Isn't it enough to just take the proposed solution and show it satisfies the congruences, doing so by making use of Euler's Theorem? – Gerry Myerson Mar 7 '12 at 1:55
@GerryMyerson, $y_j$ is the inverse of $M_j$ modulus $m_j$. I will try what you suggested. – EsX_Raptor Mar 7 '12 at 1:59
up vote 2 down vote accepted

Hint $\ $ Both $\rm\: M_i^{\phi(m_i)}$ and $\rm\:M_i ({M_i}^{-1}\ mod\ m_i)\:$ are $\rm\:\equiv 1\pmod{m_i},\:$ and $\rm\:\equiv 0\pmod{m_j},\ j\ne i$

since $\rm\:gcd(M_i,m_i) = 1,\:$ and $\rm\:j\ne i\:\Rightarrow\:m_j\ |\ M_i $

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.