surjekcj
Surjection, also called an onto function, is a relation f: A → B between sets such that every element of B has a preimage in A. In other words, for every b in B there exists an a in A with f(a) = b. Equivalently, the image of f is the entire codomain B, written as im(f) = B.
A surjective function is contrasted with an injective (one-to-one) function, where distinct elements of A map
Key properties include: the composition of surjections is surjective; if f: A → B and g: B →
Examples help illustrate the concept: f: R → R with f(x) = x^3 is surjective (and bijective). The
In category theory, surjections correspond to epimorphisms in the category of sets.