0

I have the three equations:

enter image description here

Using the Chinese Remainder Theorem I have found that 10.15.84 are coprime, however they are not pairwise co-prime.

I have worked out the following:

enter image description here

However, none of these values have multiplicative inverses. Where do I go from here?

Bernard
  • 175,478

2 Answers2

1

I prefer to separate the system into the prime power factors in the first place.

$$x\equiv 3\pmod{10}\iff x\equiv 1\pmod{2}\text{ and } x\equiv 3\pmod{5}$$

$$x\equiv 8\hspace{3pt}(mod\hspace{3pt} 15) \iff x\equiv 2\hspace{3pt} (mod\hspace{3pt} 3) \text{ and }x\equiv 3 \hspace{3pt}(mod\hspace{3pt} 5)$$

$$x\equiv 5\hspace{3pt}(mod\hspace{3pt} 84) \iff x\equiv 2\hspace{3pt} (mod\hspace{3pt} 3) \text{, }x\equiv 1 \hspace{3pt}(mod\hspace{3pt} 4)\text{ and }x\equiv 5 \hspace{3pt}(mod\hspace{3pt} 7)$$

So, your initial system is equivalent to:

$$x\equiv 1\hspace{3pt} (mod\hspace{3pt} 4)$$ $$x\equiv 2\hspace{3pt} (mod\hspace{3pt} 3)$$ $$x\equiv 3 \hspace{3pt}(mod\hspace{3pt} 5)$$ $$x\equiv 5 \hspace{3pt}(mod\hspace{3pt} 7)$$

Arturo Magidin
  • 398,050
JPMarciano
  • 1,075
1

The Chinese remainder theorem works for pairwise co-prime moduli,

and, as you noted, yours are not pairwise co-prime. Now

$x\equiv3\bmod10\iff x\equiv1\bmod2$ and $x\equiv3\bmod5$,

$x\equiv8\bmod15\iff x\equiv2\bmod3$ and $x\equiv3\bmod5$, and

$x\equiv5\bmod84\iff x\equiv2\bmod3, x\equiv1\bmod4$ and $x\equiv5\bmod7$.

Putting this all together, your system is satisfied when

$x\equiv3\bmod5, x\equiv2\bmod3, x\equiv5\bmod7, $ and $x\equiv1\bmod4$,

which you solved (per comments) using CRT to get $x\equiv173\bmod420$.

J. W. Tanner
  • 60,406