Functions with
left inverses are always injections. That is, given , if there is a function g : Y \to X such that for every , , then f is injective. The proof is that f(a) = f(b) \rightarrow g(f(a))=g(f(b)) \rightarrow a = b. In this case, g is called a
retraction of . Conversely, f is called a
section of . For example: f:\R\rightarrow\R^2,x\mapsto(1,m)^\intercal x is retracted by {{tmath| g:y\mapsto\frac{(1,m)}{1+m^2}y }}. Conversely, every injection f with a non-empty domain has a left inverse g. It can be defined by choosing an element a in the domain of f and setting g(y) to the unique element of the pre-image f^{-1}[y] (if it is non-empty) or to a (otherwise).{{refn|Unlike the corresponding statement that every surjective function has a right inverse, this does not require the
axiom of choice, as the existence of a is implied by the non-emptiness of the domain. However, this statement may fail in less conventional mathematics such as
constructive mathematics. In constructive mathematics, the inclusion \{ 0, 1 \} \to \R of the two-element set in the reals cannot have a left inverse, as it would violate
indecomposability, by giving a
retraction of the real line to the set {0,1}.}} The left inverse g is not necessarily an
inverse of f, because the composition in the other order, , may differ from the identity on . In other words, an injective function can be "reversed" by a left inverse, but is not necessarily
invertible, which requires that the function is bijective. == Injections may be made invertible ==