I have been trying to learn binary operations and have not been able to understand how to prove that an operation is binary. For example:
Show that $*:\mathbb R×\mathbb R→\mathbb R$ given by $(a,b)\mapsto a+4b^2$ is a binary operation.
Now the answer in the book is:
Since $*$ carries each pair $(a, b)$ to a unique element $a + 4b^2$ in $\mathbb R$, $*$ is a binary operation on $\mathbb R$.
Firstly, I think that the reason they are giving is false as wouldn't $(a,-b)$ give the same answer under the same operation, thereby disproving the answer by the fact that $*$ carries each pair $(a, b)$ to a unique element?
Apologies if this is a newbie question, thanks.