1

How should I approach this question? I was thinking of splitting it up such as as $ mt=b$ and $ax + ny=b$

Aaron
  • 11
  • 1
    Are the answers given not satisfactory ? If they are , consider accepting them and giving them the green tick $\color{#2f0}{\checkmark}$ – Fallen_Prince Dec 13 '19 at 16:18

2 Answers2

1

Note that $a\equiv b \mod m \implies\color{#d05}{a = mk+b} \,.$ Since $a\equiv b\mod n$ , we have :

$$mk+b\equiv b\mod n \implies mk \equiv 0\mod n$$

Since gcd$(m,n) =1$ , we conclude that $k \equiv 0\mod n \implies \color{#3ce}{k =nl}\,.$

Putting this in the original equation , we get $$a = mnl + b \implies \boxed{\color{#2d0}{a\equiv b\mod mn}}$$

1

$ a \equiv b \mod m $ means $m |(a-b)$

if $ m | (a-b)$ and $n | (a - b)$ then $lcm(m,n)|(a-b)$

since $lcm(m,n)gcd(m,n) = mn$ and $gcd(m,n) = 1$, we have $lcm(m,n) = mn$

so $mn | (a-b)$

David Holden
  • 18,040