Yes, it is possible.
Is it possible for a function to be 1:1 and not onto and is it possible for a function to be onto but not 1:1? The catch is the function is from a set A->A. I can't find a set A and a function f so f:A->A that fits these (two separate functions and sets to meet each condition). Any hints on this are greatly appreciated.