Give an example of two explicit sets...
Solution.
I know this may be a little regressive of me, but I found it easier to think of this problems in terms of "onto" and "one-to-one". Since I’m looking for a map that "has a section but not a retraction", that effectively means the map is "one-to-one but not onto". My insticts about functions tell me that this occurs when my "output space" is bigger than my "input space".
Consider the sets \(A = \set{a}\) and \(B = \set{b,c}\text{,}\) and define \(A \xrightarrow{f} B\) by the following internal diagram:
To demonstrate that this map has the required properties, let’s start by identifying the retraction \(B \xrightarrow{r} A\text{:}\)
Proving this is a retraction requires that we show \(r \circ f = 1_A\text{.}\) Fortunately this proof is trivial since there’s only one element in \(A\) for us to test. Since \(a\) is the only possible input, the fact that \((r \circ f)(a) = r(f(a)) = r(b) = a\) is sufficient to satisfy the condition \(r \circ f = 1_A\text{.}\) Thus, \(r\) is a retraction of \(f\text{.}\)
Note that this map \(r\) does not function as a section because \((f \circ r) \neq 1_B\text{.}\) This can be easily observed by applying the composition \(f \circ r\) to point \(c\text{:}\) \((f \circ r)(c) = f(r(c)) = f(a) = b \neq c\text{.}\) In order for a map to be a section of \(f\text{,}\) it needs to send point \(c\) to something other than \(b\text{,}\) but there isn’t anywhere else for it to go!
Since we lose an element when mapping from \(B \longrightarrow A\text{,}\) there’s no way to reconstruct it afterwards. It follows that \(f\) cannot possibly have a section \(s\) satisfying \(f \circ s = 1_B\text{.}\) This completes the proof that \(f\) satistfies the desired properties.