Articles by others on the same topic
A function is surjective when every element of its codomain occurs as a value: for each there is an with . Equivalently, its image is all of .
For example, is surjective as a function , but not as a function , since negative values are missed. A surjective function may identify different inputs. Together with injectivity, surjectivity gives a bijection and hence an inverse function.