I am studying Chinese Remainder Theorem in my Information Theory class. It involves solving congruences. All I know about congruences is what I learned from watching YouTube videos. I can do some congruences; the straightforward ones. However, I get stuck in the nutty ones.
Here is the one where I got stuck:
$$
88 y_2 \equiv 1 (mod 9)
$$
I could solve it a couple of steps and got stuck at:
$$
7 y_2 \equiv 10 (mod 9)
$$
It was only because the instructor in the video solved this that I could arrive at an answer. He subtracted 9 from the left side of the congruence.
I know this process is called "finding the inverse of a congruence" but I am no good at it. Can someone please tell me how it is done ?
The notation $\pmod{n}$ means that once you count till $n - 1$, you re-start counting from $0$. It is also known as clock arithmetic. Therefore, $n \equiv 0 \pmod{n}, n + 1 \equiv 1 \pmod{n}$ and so on. For example, in your case $10 = 9 + 1 \equiv 1 \pmod{9}$. In general, if we wish to calculate some number $m \pmod{n}$, we need to divide $m$ by $n$ and see what the remainder is. If $m = qn + r$ where $0 \leq r < n$, then $m \equiv r \pmod{n}$.