Function (map)
A relation that assigns to each input exactly one output
Function (map)
Let and be sets . A function (or map) from to , written , can be defined as a relation (with the Cartesian product of and ) such that
where is an ordered pair and “” means “there exists a unique.”
The domain of is the input set and the codomain is the target set ; the actual outputs form the image . Functions may be injective or surjective depending on how they hit the codomain.
Examples:
- given by .
- The inclusion map with .
- A constant function defined by for a fixed .