In my book there are three things that I need to prove. First of: $$a \equiv a \pmod n , \forall a \in Z.$$ I tried to prove it this way: $$ a-a = 0$$ $$0 \pmod n = 0$$ Is this correct? Second one: $$ a \equiv b \pmod n \Rightarrow b \equiv a \pmod n$$ I tried with this: $$a-b=c$$ $$b-a=-c$$ $$c \pmod n=-c \pmod n$$ Is this correct? And the third one: $$a \equiv b \pmod n \land b \equiv c \pmod n \Rightarrow a \equiv c \pmod n$$
No clue how to prove this so I need full help on this one.
In proving any relation involving congruences or such properties of congruences, I'll advise you to use the definition of congruence and convert the congruence to the division form and carry out the necessary calculations, i.e. use $n|a-b$ which means $a-b$ is divisible by $n$ instead of $a \equiv b \pmod n $
As for examples, I am working out your three problems.