Definition:Mapping
Contents |
Definition
A mapping (or a map) is a special kind of binary relation which relates a given element of one set to one element of another.
A mapping $f$ from $S$ to $T$ (or on $S$ into $T$) is a relation $f: S \times T$ such that:
- $\forall x \in S: \left({x, y_1}\right) \in f \land \left({x, y_2}\right) \in f \implies y_1 = y_2$
and
- $\forall x \in S: \exists y \in T: \left({x, y}\right) \in f$
Thus, a mapping is a relation which is:
- Many-to-one
- Left-total, that is, defined for all elements in the domain.
In the context of numbers, a mapping is usually referred to as a function. The term operator is also seen.
Transformation
When a mapping is defined from a set to itself, e.g.
- $f: S \to S$
then it can be called a transformation, or a self-map.
Compare the rather more advanced concept linear transformation.
Defined
A mapping $f \subseteq S \times T$ is defined at $x \in S$ iff:
- $\exists y \in T: \left({x, y}\right) \in f$
If:
- $\exists x \in S: \forall y \in T: \left({x, y}\right) \notin f$
then $f$ is not defined or (undefined) at $x$, and indeed, $f$ is not technically a mapping at all.
Domain, Codomain, Image, Preimage
As a mapping is also a relation, all the results and definitions that we have established concerning relations also apply to mappings. For example, the concepts of domain and codomain carry over completely from their definition in the context of relations, as do the concepts of image and preimage.
The terms value and argument are sometimes seen for image and preimage:
If $\left({x, y}\right) \in f$, then $y$ is the value of $f$ for argument $x$, or simply, the value of $f$ at $x$.
In the context of computability theory, the following terms are frequently found:
If $\left({x, y}\right) \in f$, then $y$ is often called the output of $f$ for input $x$, or simply, the output of $f$ at $x$.
The following diagram illustrates the mapping $f: S \to T$.
- $\operatorname{Dom} \left({f}\right)$ is the domain of $f$.
- $\operatorname{Cdm} \left({f}\right)$ is the codomain of $f$.
- $\operatorname{Im} \left({f}\right)$ is the image of $f$.
Image of a Subset
Let $X \subseteq S$.
Then the image (or image set) of $X$ (by $f$) is defined as:
- $\operatorname {Im} \left ({X}\right) := \left\{ {t \in T: \exists s \in X: f \left({s}\right) = t}\right\}$
If $X = \operatorname{Dom} \left({f}\right)$, we have:
- $\operatorname{Im} \left ({\operatorname{Dom} \left({f}\right)}\right) = \operatorname{Im} \left ({f}\right)$
where $\operatorname{Im} \left ({f}\right)$ is the image (set) of $f$.
Mapping as Unary Operation
It can be noted that a mapping can be considered as a unary operation.
Notation
The mapping $f \subseteq S \times T$ is usually denoted $f: S \to T$.
Thus, we write $f: S \to T$ to mean:
- a mapping $f$ with domain $S$ and codomain $T$;
- $f$ is a mapping of (or from) $S$ to (or into) $T$
- $f$ maps $S$ to (or into) $T$.
The notation $S \stackrel f {\longrightarrow} T$ is also seen.
For a mapping $f$ from $S$ into $T$, when $x \in S, y \in T$ a common form of notation is:
- $f: S \to T: f \left({x}\right) = y$
where $f \left({x}\right) = y$ is interpreted to mean $\left({x, y}\right) \in f$. It is read $f$ of $x$ equals $y$.
Sometimes the brackets are omitted: $f x = y$, as seen in Allan Clark: Elements of Abstract Algebra (1971), for example.
The notation $f: x \mapsto y$ is often seen, read $f$ maps $x$ to $y$.
Alternative, less common notational forms of $f \left({x}\right) = y$ are:
- $x f = y$ (as seen in Nathan Jacobson: Lectures in Abstract Algebra: I. Basic Concepts (1951) and Ian D. Macdonald: The Theory of Groups (1968), for example)
- $x^f = y$ (as seen in Nathan Jacobson: Lectures in Abstract Algebra: I. Basic Concepts (1951), for example)
Sources
- Nathan Jacobson: Lectures in Abstract Algebra: I. Basic Concepts (1951): Introduction $\S 2$
- Paul R. Halmos: Naive Set Theory (1960)... (previous)... (next): $\S 8$: Functions
- Iain T. Adamson: Introduction to Field Theory (1964)... (previous)... (next): $\S 1.3$
- W.E. Deskins: Abstract Algebra (1964): $\S 1.3$: Definition $1.8$
- Steven A. Gaal: Point Set Topology (1964)... (previous)... (next): Introduction to Set Theory: $1$. Elementary Operations on Sets
- J.A. Green: Sets and Groups (1965)... (previous)... (next): $\S 3.1$
- Seth Warner: Modern Algebra (1965)... (previous)... (next): $\S 1$
- Richard A. Dean: Elements of Abstract Algebra (1966): $\S 0.4$
- George McCarty: Topology: An Introduction with Application to Topological Groups (1967): $\text{I}$
- A.N. Kolmogorov and S.V. Fomin‎: Introductory Real Analysis (1968): $\S 1.3$
- Ian D. Macdonald: The Theory of Groups (1968): Appendix
- B. Hartley and T.O. Hawkes: Rings, Modules and Linear Algebra (1970): $\S 1.1$
- Allan Clark: Elements of Abstract Algebra (1971)... (previous)... (next): $\S 10$
- T.S. Blyth: Set Theory and Abstract Algebra (1975): $\S 4$
- W.A. Sutherland: Introduction to Metric and Topological Spaces (1975): Notation and Terminology
- Gary Chartrand: Introductory Graph Theory (1977): Appendix $\text{A}.4$
- Thomas A. Whitelaw: An Introduction to Abstract Algebra (1978)... (previous)... (next): $\S 20$
- Keith Devlin: The Joy of Sets: Fundamentals of Contemporary Set Theory (1993): $\S 1.6$
- John F. Humphreys: A Course in Group Theory (1996): $\S 2$: Definition $2.1$
- H. Jerome Keisler and Joel Robbin: Mathematical Logic and Computability (1996): $\S 1.5$
- H. Jerome Keisler and Joel Robbin: Mathematical Logic and Computability (1996): Appendix $\text{A}.3$
- For a video presentation of the contents of this page, visit the Khan Academy.