Show that the function $f(x)=x+\sqrt{x}$ is one-to-one.
I know that for showing that a function is one-to-one I have to prove that if $f(a)=f(b)$ then $a=b$.
Then I'm trying that in here but I get stuck.
$$f(a)=f(b)$$ $$a+\sqrt{a}=b+\sqrt{b}$$ $$a-b=\sqrt{b}-\sqrt{a}$$
How to do I show from here that $a=b$?
I've tried square both sides, completing the square and haven't worked. :(
I will appreciate a detail to understand, thanks in advance.