Bijective function

A function that is both one-to-one and onto
Bijective function

A bijective function is a f:ABf:A\to B that is both and .

A bijection sets up a perfect pairing between elements of the domain and codomain, and it is exactly the situation in which an exists. Two sets have the same precisely when there is a bijection between them.

Examples:

  • The function f:ZZf:\mathbb{Z}\to\mathbb{Z} given by f(n)=n+1f(n)=n+1 is bijective.
  • If A={1,2,3}A=\{1,2,3\} and B={a,b,c}B=\{a,b,c\}, the function defined by 1a1\mapsto a, 2b2\mapsto b, 3c3\mapsto c is bijective.