1

\begin{equation} \left\{\begin{array}{@{}l@{}} 2x\equiv7\mod9 \\ 5x\equiv2\mod6 \end{array}\right.\,. \end{equation} Can this system of congruences be solved? I notice that $(9,6) = 3 \ne 1$ so I can't apply the Chinese theorem of remainders, but this doesn't imply that it can't be solved, so I thought to rewrite the second equation in two different equations, like this:

\begin{equation} \left\{\begin{array}{@{}l@{}} 2x\equiv7\mod9 \\ x\equiv0\mod2 \\ 5x\equiv2\mod3 \end{array}\right.\,. \end{equation}

But the problem still here: $(9,3) = 3 \ne 1$, so it can be solved or is it impossible?

2 Answers2

1

Hint:

The system of congruences $\begin{cases} x\equiv \alpha\mod a,\\ x\equiv \beta \mod b, \end{cases}$ has a solution if & only if $\alpha\equiv \beta\mod\gcd(a,b)$.

So, solve each congruence independently from the other, and check whether the condition is satisfied.

Bernard
  • 175,478
1

$9$ and $6$ are both multiples of $3$.

$2x\equiv7\pmod9\implies 2x\equiv1\pmod3$

$5x\equiv2\pmod6\implies 2x\equiv2\pmod3$

$1\equiv2\pmod3$ is a contradiction, so the system cannot be solved.

J. W. Tanner
  • 60,406