--- title: Bijectivity --- ## Bijectivity ### A bijective function is a function that is both injective and surjective. #### Injective Function For a function to be injective, or one-to-one, every element of the codomain must be mapped to a unique element of the domain. Each X value has it's own special Y value. ![injective](http://images.tutorvista.com/cms/images/113/injective-function.png) "An Injective Function" #### Surjective Function For a function to be surjective, or onto, every element codomain is mapped to be at least one element of the domain. Each Y value has at least one X value. ![surjective](http://images.tutorvista.com/cms/images/113/surjective-function.png) "A Surjective Function" #### Bijective Function For a function to be a bijection, or a one-to-one correspondence, the function must be both injective and surjective. Every element of the codomain maps to exactly one element of the domain. The cardinality (or number of elements) of the codomain and the domain are equal. ![bijective](http://images.tutorvista.com/cms/images/113/bijective-function.png) "A Bijective Function" #### More Information: * [wikipedia article on functions](https://en.wikipedia.org/wiki/Bijection,_injection_and_surjection) * [more functions](http://www.tutorvista.com/content/math/different-types-of-functions/) * [great for people new to math](https://www.mathsisfun.com/sets/injective-surjective-bijective.html)