Editorial note

In Example 1.8 the fibre-to-class map is defined on the image ; fibres of points outside the image are empty. Injectivity means at most one preimage, not existence of a preimage for every codomain point.

Let X and Y be any two sets. A mapping from X to , often written , is a subset of such that for every there is a unique for which By unique we mean

Mappings are also called functions or maps. It is most common to write for . Whenever it is said that x is mapped to , written

In elementary mathematics it is common to refer to the subset as representing the graph of the function . Our definition essentially identifies a function with its graph. The set X is called the domain of the mapping and the subset defined by

is called its range.

Let be any subset of Y. The inverse image of is defined to be the set of all points of that are mapped by into , denoted

This concept makes sense even when the inverse map does not exist. The notation is to be regarded as one entire symbol for the inverse image set, and should not be broken into component parts.

Let sin: be the standard sine function on the real numbers R. The inverse image of 0 is , while the inverse image of 2 is the empty set,

Multi-argument functions and projections

An n-ary function from X to Y is a function . In this case we write and say that ϕ has n arguments in the set S, although strictly speaking it has just one argument from the product set

It is possible to generalize this concept even further and consider maps whose domain is a product of n possibly different sets,

Important maps of this type are the projection maps

defined by

Composition

If and , the composition map is defined by

Composition of maps satisfies the associative law

where ,

Proof

For any

Hence, there is no ambiguity in writing for the composition of three maps.

Surjective, injective and bijective maps

A mapping is said to be surjective or a surjection if its range is all of Y. More simply, we say is a mapping of X onto Y if . It is said to be one-to-one or injective, or an injection, if for every there is at most one such that ; that is,

A map that is injective and surjective, or equivalently one-to-one and onto, is called bijective or a bijection. In this and only this case can one define the inverse map having the property

Two sets X and Y are said to be in one-to-one correspondence with each other if there exists a bijection

Show that if is a bijection, then so is , and that

A bijective map from X onto itself is called a transformation of X. The most trivial transformation of all is the identity map id defined by

Note that this map can also be described as having a ‘diagonal graph’,

Show that for any map

When is a bijection with inverse , then we can write

If both and are bijections then so is , and its inverse is given by

Proof

By associativity,

Restrictions and inclusions

If is any subset of X and is any map having domain X, then we define the restriction of to as the map by for all . The restriction of the identity map

is referred to as the inclusion map for the subset U. The restriction of an arbitrary map to is then its composition with the inclusion map,

If is a subset of , define a function , called the characteristic function of , by

Any function is evidently the characteristic function of the subset consisting of those points that are mapped to the value 1,

Thus the power set and the set of all maps are in one-to-one correspondence.

Let R be an equivalence relation on a set X. Define the canonical map from X onto the factor space by

It is easy to verify that this map is onto.

More generally, any map defines an equivalence relation R on X by aRb iff . The equivalence classes defined by R are precisely the inverse images of the singleton subsets of ,

and the map defined by is one-to-one, for if then any element and we must have