a function is said to be bijective if it is both one-to-one and onto.