Function
A function assigns to every uniquely an element ; formally, a subset such that every occurs in exactly one pair .
Examples
The map with is a function, and so is . By contrast, is not a function because it is undefined at , and is not a function because it assigns two values.
Domain and range
When specifying a function, the domain and range must be specified as well: the same rule with different codomains is a different function.
Related
Stated in
- Definition 2.11 (Function)ยง2.2 Functions
