Let function $g$ from $V = \{1,2,3,4\}$ into V be defined by: $g(n)=3$.
I'm having trouble understanding why $g$ is not onto. I understand why it is not one-to-one but, since all the $y$ in $Y$, are mapped at least one $x$ in $X$ such that f(x) = y, wouldn't the function be onto?