1

From what I understand, this is asking me to find functions $\alpha$ and $\beta$ such that $\alpha$ is surjective and not injective, while $\beta$ is injective and not surjective. Given that the question clearly states that the function is on $A$, I don't see how it is possible to construct a function that is one and not the other.

Does this mean I need to define two functions as $\alpha:A\to A$ and $\beta:A\to A$ or is there another way of interpreting this?

user26857
  • 52,094
Mirrana
  • 9,009

1 Answers1

1

Consider the functions $f$ and $g$ on the set of natural numbers $\mathbb N=\{0,1,2\dots\}$ defined as follows:

$f(0)=1,f(2)=2,f(3)=2\dots f(n)=n+1$

$g(0)=0,g(1)=0,g(2)=1\dots g(n)=max(0,n-1)$.

Then $g(f(n))=n$ for all $n$. On the other hand $f(g(n))=n$ for all $n$ except $n=0$. So $g\circ f=\mathsf{id}_{\mathbb N}$ and $f\circ g\neq \mathsf{id}_{\mathbb N}$.

Of course such a construction is possible if and only if the set is infinite.

Asinomás
  • 105,651