Example. Projection functions and surjections [00MC]
The projection function \pi _1\colon A\times B\to A sending {\mathopen {}\left (a,b\right )\mathclose {}} to a is surjective if and only if either B \not =\varnothing or A=\varnothing .
The projection function \pi _1\colon A\times B\to A sending {\mathopen {}\left (a,b\right )\mathclose {}} to a is surjective if and only if either B \not =\varnothing or A=\varnothing .