Suppose two sets $A$ and $B$, two relations $R \subseteq A \times B$ and $S \subseteq B \times A$. If both of them are surjective, then both of them are bijective relations.
Is this correct?
Can we disprove this with the following example:
- $A = \{ 1, 2 \}$
- $B = \{3\}$
- $R = A \times B = \{ (1, 3) , (2,3) \} $
- $S = B \times A = \{ (3,1), (3,2) \}$
Both of $R,S$ are certainly surjective but $R$ isn't injective, isn't it?
Definitions:
Taking some notes from the answer from Musa Al-hassy here, I want to establish some common ground since there appears to be confusion among other users and, indeed, these terms while having definitions don't appear to be in common use. At least in my experience anyhow.
Visualization:
Visualizing relations as directed graphs is helpful. In such a graph, $x$ points to $y$ iff $(x,y) \in R$. In such a case, then, the above properties may be visualized as so:
Now, To Your Question:
Your relation $R$ is surjective. Graphically, it is presented as below:
Notice how there are no arrows pointing to $1$ or $2$. While my above diatribes were focused on subsets of $A \times A$ rather than $A \times B$, there is no issue here, since every element of $B$ in particular has an arrow pointing to it. Indeed, note that
$$R^T = \Big\{ (3,1),(3,2) \Big\}$$
(Note that $R \subseteq A \times B \iff R^T \subseteq B \times A$.) For totality, we would require that, for all $b \in B$ there is $a \in A$ where $(b,a) \in R^T$. Since the only $b \in B$ is $B = \{3\}$, we're good in this respect.
Your other relation is $S = R^T$, coincidentally, graphically presented below:
As you can see, this is surjective, since every element of $A$ has an arrow pointing to it. Indeed,
$$S^T = R = \Big\{(1,3),(2,3)\Big\}$$
so each element of $A = \{1,2\}$ has an arrow pointing from it - and in $S$, every element of $B = \{3\}$ has an arrow pointing to it.
Are these bijective relations, though? Indeed not; the first is not injective. This follows as $R^T$ has the pairs $(3,1),(3,2)$ in it, but $1 \ne 2$.
Thus, you are correct -- you have found a pair of surjective relations on $A \times B$ and $B \times A$ where one is not a bijection.
...granted, this question is quite old, so I imagine you don't need help now. But hopefully this helps someone in the future, and, if nothing else, gets this question out of the unanswered queue.