In mathematics, a map or mapping is a function in its general sense.[1] These terms may have originated as from the process of making a geographical map: mapping the Earth surface to a sheet of paper.[2]
Some authors, such as Serge Lang,[8] use "function" only to refer to maps in which the codomain is a set of numbers (i.e. a subset of R or C), and reserve the term mapping for more general functions.
A partial map is a partial function. Related terminology such as domain, codomain, injective, and continuous can be applied equally to maps and functions, with the same meaning. All these usages can be applied to "maps" as general functions or as functions with special properties.
In category theory, "map" is often used as a synonym for "morphism" or "arrow", which is a structure-respecting function and thus may imply more structure than "function" does.[9] For example, a morphism in a concrete category (i.e. a morphism that can be viewed as a function) carries with it the information of its domain (the source of the morphism) and its codomain (the target ). In the widely used definition of a function , is a subset of consisting of all the pairs for . In this sense, the function does not capture the set that is used as the codomain; only the range is determined by the function.
See also
Apply function – Function that maps a function and its arguments to the function value
^The words map, mapping, correspondence, and operator are often used synonymously. Halmos 1970, p. 30. Some authors use the term function with a more restricted meaning, namely as a map that is restricted to apply to numbers only.