In mathematics, the term mapping, sometimes shortened to map, refers to either a function, often with some sort of special structure, or a morphism in category theory, which generalizes the idea of a function. There are also a few, less common uses in logic and graph theory.
Maps as functions
In many branches of mathematics, the term map is used to mean a function, sometimes with a specific property of particular importance to that branch. For instance, a "map" is a continuous function in topology, a linear transformation in linear algebra, etc.
A partial map is a partial function, and a total map is a total function. Related terms like domain, codomain, injective, continuous, etc. 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.
Maps as morphisms
In category theory, "map" is often used as a synonym for morphism or arrow, thus for something more general than a function. For example, morphisms , in a concrete category, in other words morphisms that can be viewed as functions, carry with them the information of both its domain (the source of the morphism), but also its co-domain (the target ). In the widely used definition of function , this is a subset of consisting of all the pairs for . In this sense, the function doesn't capture the information of which set is used as the co-domain. Only the range is determined by the function.
In graph theory
In computer science
In the communities surrounding programming languages that treat functions as first-class citizens, a map often refers to the binary higher-order function that takes a function f and a list [v0, v1, ..., vn] as arguments and returns [f(v0), f(v1), ..., f(vn)], where n ≥ 0.
Media related to Mappings - functions at Wikimedia Commons