I'm confused about the difference between a binary relation and binary operator, a function is a specific example of a binary relation, a binary relation $R$ could be a function, and a binary operator will be a function, however we could define a function of two real arguments (or one tuple of two reals) and have the following $f(x,y)$ could be written in infix as:
$xfy$ but we can define a a binary relation using: $(x,y)fz$ the first being a number which may be equal to $z$ and the last being a proposition about whether the pair on the left is taken to the number $z$ using the function $f$.
I might see something like $aRb$ and have no idea whether this is a statement of truth of $R$ a a binary relation or the value of $R$ for the real numbers $a,b$.
How do we make a distinction between the two, as just having two numbers with the function name between them is unclear.
A binary relation $R$ on a set $X$ is a subset of $X\times X$. If, for certain $a,b\in X$, we have $(a,b)\in R$ then we sometimes write $aRb$ and we say that $a$ is in relation with $b$.
A binary operation on $X$ is a function $f: X\times X\to X$. That means that it is a subset of $X\times X\times X$. As a consequence, we cannot write this as a relation on the set $X$. We can write it as a relation $R_{f}$ between $X\times X$ and $X$. A couple $((a,b),c)$ with $(a,b)\in X\times X$ and $c\in X$ is in this relation precisely when $c$ is the image of $(a,b)$ under the function $f$.
Take as a simple example $X=\mathbb{N}$ and consider $+$ as binary operator. Then $f(a,b)=a+b$ and $R_{f}=\left\{((a,b),c)\mid a,b,c\in\mathbb{N}: a+b=c\right\}$.