A binary relation $R$ is a subset of the Cartesian product between two sets $X$ and $Y$, containing a set of ordered pairs $\{(x,y) : x \in X, y \in Y\}$. $R$ is a function if each element of $X$ is the first component of at most one ordered pair, injective if each element of $Y$ is the second component of at most one ordered pair, surjective if each element of $Y$ is the second component of at least one ordered pair, and bijective if it is both injective and surjective. Surjectivity and injectivity are independent of functionality; eg, a relation can be surjective and/or injective without being a function, as they are not composite relation types like bijections and equivalence relations.
So, can a function also be symmetric, transitive, total and/or reflexive? Would the definitions then, for a function $f : X \rightarrow Y$, be:
- Symmetric: $f(x) = y \rightarrow f(y) = x$
- Transitive: $f(x) = y, f(y) = z \rightarrow f(x) = z$
- Total: $f(x) = y \lor f(y) = x$
- Reflexive: $f(x) = x$
Intuitively, the identity function $f(x) = x$ is all of these, $f(x) = -x$ is total and symmetric, no injection is transitive, no function is transitive if $x \neq y \neq z$, and every surjective function is total, but are there others? Is there an arithmetic function between numbers that's symmetric, or that's transitive, or both? If so, what is it (or are they) and if not, why not?
Here are some ideas that can help: For $f:\mathbb{R} \longrightarrow \mathbb{R}$ to be symmetric you need $f(f(x))=x$ (because we need if $(x,y) \in f$, then $(y,x) \in f$. Now functions of the form $f(x)=x$ and $f(x)=-x+c$ will satisfy this condition.