Given values:
$$x \equiv a \bmod c$$ $$y \equiv b \bmod c $$
Can you write a formula for $(a-b) \bmod c$ with respect to $x$ and $y$?
Given values:
$$x \equiv a \bmod c$$ $$y \equiv b \bmod c $$
Can you write a formula for $(a-b) \bmod c$ with respect to $x$ and $y$?
From the original system: $$\begin{cases}x\equiv a \pmod c\\ y\equiv b\pmod c\end{cases}$$
You subtract the second from the first and you get: $$(x-y)\equiv (a-b)\pmod c$$
Here you can find some information about operations in congruences.
subtract the second from the first and you get ....
– dxiv
Dec 15 '17 at 06:42
(x-y) mod c, did it (not) work? – dxiv Dec 15 '17 at 06:03