Relationship between Bijections and Cardinality

25 Views Asked by At

Can a function $f:A\to A$ be onto but not injective? My thought process would be that if it is onto, then the $range(f)$ would be $A$. Then wouldn't it follow that the function is one-to-one, since $|dom(f)| = |range(f)|$.