The codomain of a function f:AB is {x : there is some a in A such that f(a) = x}, or, in Eindhoven notation, (∪ : aA : {f(a)}).

If the codomain of a function f:AB is C, and B = C (i.e. if the range is equal to the codomain), then f is surjective. If BC, then there is a function g:AC such that g(x) = f(x), and g is surjective.

Compare with domain and range.

Log in or register to write something here or to contact authors.