Bijection


In mathematics, a bijection, bijective function, one-to-one correspondence, or invertible function, is a function between the elements of two sets, where each element of one set is paired with exactly one element of the other set, and each element of the other set is paired with exactly one element of the first set. There are no unpaired elements. In mathematical terms, a bijective function is a one-to-one and onto mapping of a set X to a set Y. The term one-to-one correspondence must not be confused with one-to-one function .
A bijection from the set X to the set Y has an inverse function from Y to X. If X and Y are finite sets, then the existence of a bijection means they have the same number of elements. For infinite sets, the picture is more complicated, leading to the concept of cardinal number—a way to distinguish the various sizes of infinite sets.
A bijective function from a set to itself is also called a permutation, and the set of all permutations of a set forms a symmetry group.
Bijective functions are essential to many areas of mathematics including the definitions of isomorphism, homeomorphism, diffeomorphism, permutation group, and projective map.

Definition

For a pairing between X and Y to be a bijection, four properties must hold:
  1. each element of X must be paired with at least one element of Y,
  2. no element of X may be paired with more than one element of Y,
  3. each element of Y must be paired with at least one element of X, and
  4. no element of Y may be paired with more than one element of X.
Satisfying properties and means that a pairing is a function with domain X. It is more common to see properties and written as a single statement: Every element of X is paired with exactly one element of Y. Functions which satisfy property are said to be "onto Y " and are called surjections. Functions which satisfy property are said to be "one-to-one functions" and are called injections. With this terminology, a bijection is a function which is both a surjection and an injection, or using other words, a bijection is a function which is both "one-to-one" and "onto".
Bijections are sometimes denoted by a two-headed rightwards arrow with tail, as in f : XY. This symbol is a combination of the two-headed rightwards arrow, sometimes used to denote surjections, and the rightwards arrow with a barbed tail, sometimes used to denote injections.

Examples

Batting line-up of a baseball or cricket team

Consider the batting line-up of a baseball or cricket team. The set X will be the players on the team and the set Y will be the positions in the batting order The "pairing" is given by which player is in what position in this order. Property is satisfied since each player is somewhere in the list. Property is satisfied since no player bats in two positions in the order. Property says that for each position in the order, there is some player batting in that position and property states that two or more players are never batting in the same position in the list.

Seats and students of a classroom

In a classroom there are a certain number of seats. A bunch of students enter the room and the instructor asks them to be seated. After a quick look around the room, the instructor declares that there is a bijection between the set of students and the set of seats, where each student is paired with the seat they are sitting in. What the instructor observed in order to reach this conclusion was that:
  1. Every student was in a seat,
  2. No student was in more than one seat,
  3. Every seat had someone sitting there, and
  4. No seat had more than one student in it.
The instructor was able to conclude that there were just as many seats as there were students, without having to count either set.

More mathematical examples and some non-examples

A bijection f with domain X also defines a converse relation starting in Y and going to X. The process of "turning the arrows around" for an arbitrary function does not, in general, yield a function, but properties and of a bijection say that this inverse relation is a function with domain Y. Moreover, properties and then say that this inverse function is a surjection and an injection, that is, the inverse function exists and is also a bijection. Functions that have inverse functions are said to be invertible. A function is invertible if and only if it is a bijection.
Stated in concise mathematical notation, a function f: X → Y is bijective if and only if it satisfies the condition
Continuing with the baseball batting line-up example, the function that is being defined takes as input the name of one of the players and outputs the position of that player in the batting order. Since this function is a bijection, it has an inverse function which takes as input a position in the batting order and outputs the player who will be batting in that position.

Composition

The composition of two bijections f: X → Y and g: Y → Z is a bijection, whose inverse is given by is.
Conversely, if the composition of two functions is bijective, it only follows that f is injective and g is surjective.

Bijections and cardinality

If X and Y are finite sets, then there exists a bijection between the two sets X and Y if and only if X and Y have the same number of elements. Indeed, in axiomatic set theory, this is taken as the definition of "same number of elements", and generalising this definition to infinite sets leads to the concept of cardinal number, a way to distinguish the various sizes of infinite sets.

Properties

Bijections are precisely the isomorphisms in the category Set of sets and set functions. However, the bijections are not always the isomorphisms for more complex categories. For example, in the category Grp of groups, the morphisms must be homomorphisms since they must preserve the group structure, so the isomorphisms are group isomorphisms which are bijective homomorphisms.

Generalization to partial functions

The notion of one-to-one correspondence generalizes to partial functions, where they are called partial bijections, although partial bijections are only required to be injective. The reason for this relaxation is that a partial function is already undefined for a portion of its domain; thus there is no compelling reason to constrain its inverse to be a total function, i.e. defined everywhere on its domain. The set of all partial bijections on a given base set is called the symmetric inverse semigroup.
Another way of defining the same notion is to say that a partial bijection from A to B is any relation
R with the property that R is the graph of a bijection f:A′B′, where A′ is a subset of A and B′ is a subset of B.
When the partial bijection is on the same set, it is sometimes called a one-to-one partial transformation. An example is the Möbius transformation simply defined on the complex plane, rather than its completion to the extended complex plane.

Contrast with