Surjective Function
High school
A function is surjective if every element of the codomain is an output for some input.
Undergraduate
A function $f : X \to Y$ is surjective if for every $y \in Y$ there exists $x \in X$ such that $f(x) = y$.
Examples
Examples
-
$f$ is surjective, because every number in the codomain $[0, \infty)$ is the square of a real number.
-
$x \mapsto 2x$ is surjective because it is bijective.
Properties
All definitions · All distinctions · All examples · Notation