Question: what is the difference between one one and onto function?
Answer: A function f from A (the domain) to B (the range) is BOTH one-to-one and onto when no element of B is the image of more than one element in A, AND all elements in B are used. Functions that are both one-to-one and onto are referred to as bijective. Bijections are functions that are both injective and surjective.