I recently posted a question (Solving $f(x+f(y)) = f(x) + y$). However, I can't wrap my head around how to prove this function is injective. I tried using the answers in the responses but my I don't understand how "Let's start by plugging in x=0. We have f(f(y))=f(0)+y. This tells us that f is injective, since if $f(a)=f(b)$, then $f(0)+a=f(f(a))=f(f(b))=f(0)+b$ and hence $a=b$." works. If anyone can give a basic explanation that would be great.
Thanks in advance.