I can't solve the following equation system using $\mathbb{Z}_3$: \begin{align} &x+y=1,\\ &2x+y=0. \end{align} $\mathbb{Z}_3$ is a field with the numbers $(0,1,2)$ and modular operations.
What I tried: I added $2$ to the first equation and got:
$$ x+y+2= 0 = 2x + y,$$
$$x+2=2x.$$
And I don't know what to do from here, i know it seems obvious $x=2$ but we just learned all the $11$ axioms of a field, and I can only use them or the $5$ properties that derived from them. My problem is that I don't know how to express the $2x$ in a way that can help solve it.
Thanks for help.
You can solve it in exactly the same way as you would in the rational or real numbers; solve for $y$ the first equation, $y=1-x$, and substitute in the second one: $$ 2x+(1-x)=0 $$ that becomes $$ x=-1 $$ or $x=2$, since you are in $\mathbb{Z}/3\mathbb{Z}$. Now you get $y=1-(-1)=2$.
Or sum the two equations, getting $x+2x+y+y=1$, so $2y=1$. Since $2^{-1}=2$, because $2\cdot 2=1$, you have again $y=2$. Subtracting the first equation from the second gives $x=-1$, that is, $x=2$.
In general you can compute inverses in fields of the form $\mathbb{Z}/p\mathbb{Z}$ ($p$ a prime) using the Euclidean algorithm and Bézout's theorem.