Morphism


In mathematics, particularly in category theory, a morphism is a structure-preserving map from one mathematical structure to another one of the same type. The notion of morphism recurs in much of contemporary mathematics. In set theory, morphisms are functions; in linear algebra, linear transformations; in group theory, group homomorphisms; in topology, continuous functions, and so on.
In category theory, morphism is a broadly similar idea: the mathematical objects involved need not be sets, and the relationships between them may be something other than maps, although the morphisms between the objects of a given category have to behave similarly to maps in that they have to admit an associative operation similar to function composition. A morphism in category theory is an abstraction of a homomorphism.
The study of morphisms and of the structures over which they are defined is central to category theory. Much of the terminology of morphisms, as well as the intuition underlying them, comes from concrete categories, where the objects are simply sets with some additional structure, and morphisms are structure-preserving functions. In category theory, morphisms are sometimes also called arrows.

Definition

A category C consists of two classes, one of objects and the other of morphisms. There are two objects that are associated to every morphism, the source and the target. A morphism f with source X and target Y is written f : XY, and is represented diagrammatically by an arrow from X to Y.
For many common categories, objects are sets and morphisms are functions from an object to another object. Therefore, the source and the target of a morphism are often called domain and codomain respectively.
Morphisms are equipped with a partial binary operation, called composition. The composition of two morphisms f and g is defined precisely when the target of f is the source of g, and is denoted gf. The source of gf is the source of f, and the target of gf is the target of g. The composition satisfies two axioms:
;Identity: For every object X, there exists a morphism idX : XX called the identity morphism on X, such that for every morphism we have idBf = f = f ∘ idA.
;Associativity: h ∘ = ∘ f whenever all the compositions are defined, i.e. when the target of f is the source of g, and the target of g is the source of h.
For a concrete category, the identity morphism is just the identity function, and composition is just ordinary composition of functions.
The composition of morphisms is often represented by a commutative diagram. For example,
The collection of all morphisms from X to Y is denoted HomC or simply Hom and called the hom-set between X and Y. Some authors write MorC, Mor or C. Note that the term hom-set is something of a misnomer, as the collection of morphisms is not required to be a set. A category where Hom is a set for all objects X and Y is called locally small.
Note that the domain and codomain are in fact part of the information determining a morphism. For example, in the category of sets, where morphisms are functions, two functions may be identical as sets of ordered pairs, while having different codomains. The two functions are distinct from the viewpoint of category theory. Thus many authors require that the hom-classes Hom be disjoint. In practice, this is not a problem because if this disjointness does not hold, it can be assured by appending the domain and codomain to the morphisms.

Some special morphisms

Monomorphisms and epimorphisms

A morphism f: XY is called a monomorphism if fg1 = fg2 implies g1 = g2 for all morphisms g1, g2: ZX. A monomorphism can be called a mono for short, and we can use monic as an adjective.
Dually to monomorphisms, a morphism f: XY is called an epimorphism if g1f = g2f implies g1 = g2 for all morphisms g1, g2: YZ. An epimorphism can be called an epi for short, and we can use epic as an adjective.
A morphism that is both an epimorphism and a monomorphism is called a bimorphism.

Isomorphisms

A morphism f: XY is called an isomorphism if there exists a morphism g: YX such that fg = idY and gf = idX. If a morphism has both left-inverse and right-inverse, then the two inverses are equal, so f is an isomorphism, and g is called simply the inverse of f. Inverse morphisms, if they exist, are unique. The inverse g is also an isomorphism, with inverse f. Two objects with an isomorphism between them are said to be isomorphic or equivalent.
While every isomorphism is a bimorphism, a bimorphism is not necessarily an isomorphism. For example, in the category of commutative rings the inclusion ZQ is a bimorphism that is not an isomorphism. However, any morphism that is both an epimorphism and a split monomorphism, or both a monomorphism and a split epimorphism, must be an isomorphism. A category, such as Set, in which every bimorphism is an isomorphism is known as a balanced category.

Endomorphisms and automorphisms

A morphism f: XX is an endomorphism of X. A split endomorphism is an idempotent endomorphism f if f admits a decomposition f = hg with gh = id. In particular, the Karoubi envelope of a category splits every idempotent morphism.
An automorphism is a morphism that is both an endomorphism and an isomorphism. In every category, the automorphisms of an object always form a group, called the automorphism group of the object.

Examples

For more examples, see the entry category theory.