2
$\begingroup$

I'm having trouble understanding this question and the answer

enter image description here

I know that if $GCD(z,n) = GCD(w,n) = 1$, that says that both $z^{-1}$ and $w^{-1}$ exist, but I'm unsure of the rest of the problem. I thought that if we could equate $z^{-1} = w^{-1}$ then we could say that multiplying both $x$ and $y$ by the same number wouldn't change their congruence, but I tried it with real numbers and of course that did not work.

EDIT: After coming back to this question, I'm afraid I don't understand the previously accepted answer. We didn't learn about modular arithmetic in terms of roots in our class, and I'm beginning to think there's a much simpler solution to this as these exams allot about 1 min / question. Any attempts to explain this in a different way would be much appreciated.

  • 0
    Yes, simply multiply the first congruence times the inverse of the second congruence.2017-01-21
  • 0
    Thanks, do you mind providing an example?2017-01-21

1 Answers 1

3

To clarify let's rename $\,x,y,z,w\,$ to $\,A,a,B,b,\,$ so it becomes

If $\ \color{#0a0}{\gcd(b,n) = 1}\,$ then $\ {\rm mod}\,\ n\!:\ \begin{align}A\equiv a\\ B\equiv b\end{align}\ \Rightarrow\ \dfrac{A}B\equiv \dfrac{a}b,\ \ {\rm i.e.}\ \ AB^{-1}\equiv ab^{-1}$

Hint $\ A/B\,$ and $\,a/b\,$ are both roots of $\, b\,x\equiv a\ $ This has unique roots by $\color{#0a0}{\ b^{-1}\ {\rm exists}\pmod{\!n}}.\,$ Indeed if $\,x_1,\,x_2$ are roots then $\, \color{#c00}b\,x_1\equiv a\equiv \color{#c00}b\,x_2\,$ $\Rightarrow$ $\,x_1\equiv x_2\,$ by cancelling the $\color{#c00}b$'s $ $ (doable by multiplying through by $\,\color{#0a0}{b^{-1})}$

  • 0
    How are you equating $xz^{-1}$ and $yw^{-1}$ to $t$ ? I'm also not sure where $zt \equiv x$ comes from or how the language of roots applies to mod arithmetic.2017-01-21
  • 0
    $t$ is a variable. I would have used the customary notation $x$ but that would conflict with the notation in your problem (the choice of $x,y,z,w$ was poor here - that's why I used $a$'s and $b$'s instead).2017-01-21
  • 0
    Ah yeah, I got that it's a placeholder but I still don't understand the concept of roots, and how both those quantities are equal to the same placeholder2017-01-21
  • 0
    We can study roots of polynomials mod $n$ too. Modular integers behave in many ways the same as ordinary integers. This will become clearer when you learn how to view the integers mod $n$ as a *ring* $\,\Bbb Z_{\large n} = \Bbb Z/n.\ \ $2017-01-21
  • 0
    Hm, you might be over estimating my ability to understand math ;) Couple more questions. How are the two quantities roots of $zt \equiv x$ and why are they unique ?2017-01-21
  • 0
    @Carpetfizz Note $\ zt\equiv z(xz^{-1})\equiv x\,$ by $\,zz^{-1}\equiv 1.\,$ Similarly $\,zt\equiv wt\equiv w(yw^{-1})\equiv y\equiv x.\,$ The uniqueness proof shows that if $\,t'$ is another root of $\,zt\equiv x\,$ then $\,t'\equiv t.$ (please don't move to chat)2017-01-21
  • 0
    Yeah I don't like the chat either. I think it's starting to make sense. How did you get the quantity $zt \equiv x$ in the first place? And what does a root of $zt \equiv x$ mean?2017-01-21
  • 0
    @Carpetfizz I eliminated the poor notation. Is that clearer?2017-01-21
  • 0
    Yes this is clearer. But I still have some questions. Do you mind updating the answer to describe what a root is? Also, we can say that "if $gcd(b, n)=1$ AND $gcd(B, n) = 1$"... because other wise $B^{-1}$ can't exist. Furthermore how can we say that $\frac{A}{B} \equiv \frac{a}{b}$2017-01-21
  • 1
    @Carpetfizz $\,x_i\,$ is a root of $\,bx\equiv a\,$ means $\,b x_i\equiv a.\,$ Note $\,B\equiv b\,\Rightarrow\, \gcd(B,n) = \gcd(b,n)\,$ so $\,B^{-1}\,$ exists $\iff b^{-1}\,$ exists; further $\,B^{-1}\equiv b^{-1}\,$ by the special case $\,A\equiv 1\equiv a\,$ in the proof. The notation $\,c/d\,$ means $\,cd^{-1}\ $ (that this is *well-defined* is the point of the above proof, i.e. it doesn't depend on the choice of rep for the num/denominator). Fraction arithmetic works mod $n$ as long as you restrict to denominators that are invertible, i.e. coprime to $n.\ $2017-01-21
  • 0
    @Carpetfizz If your unaccept means something remains unclear then let me know what and I will be happy to elaborate further2017-03-06