I am not completely sure how inverses work with sets of integer modulo. I have just started to learn about them. I have tried some practice problems, though I am not sure if my approach is correct in solving them.
Currently, this is what I am doing when solving for additive inverses:
Example Problem: Which element in $\mathbb{Z}_8$ is an additive inverse of $[13]$?
My solution:
$13\equiv 5(\text{mod }8 )$, and so we need to find the inverse of $5(\text{mod }8)$. The additive inverse of $x$ is simply the number which when added to $x$ yields the additive identity and the additive identity is $0$.
So what $y$ should we add to $x=5$ to give $x+y\equiv 0(\text{mod }8)$?
Say $y\equiv−x\equiv−5$ and ask what is equivalent to $−5$ modulo $8$? The answer will be $y\equiv 3(\text{mod }8)$.
Or, the solution to $5+y\equiv 8\equiv0(\text{mod }8)$. Again you’ll get $y\equiv 3(\text{mod }8)$.
Thus, the element $[3]$ is an additive inverse of $[13]$.
Can someone check if this is done correctly? If anyone has any other ways to solve this or advice on how to better understand integer modulo, I would appreciate it! Thanks!