The idea of mapping one set of objects to another is basic to mathematics. Mapping and correspondence are undefined terms. We call the set mapped from the domain and the set mapped to the codomain. The range is the subset of the codomain to which a function is mapped.
Because many functions will have numbers as their domains and/or codomains we use shorthand notation for many common sets of numbers. We denote the integers with \(\Z\text{.}\) We denote the real numbers with \(\R\text{.}\) If we want to refer to only positive numbers we use a + superscript. For example \(\Z^+\) refers to the positive integers (also known as the counting numbers). Note as well that 0 is neither negative nor positive. If we want all the positive integers and zero we use \(\Z^+ \cup \{0\}\text{.}\)