TheInfoList

In
algebra Algebra (from ar, الجبر, lit=reunion of broken parts, bonesetting, translit=al-jabr) is one of the areas of mathematics, broad areas of mathematics, together with number theory, geometry and mathematical analysis, analysis. In its most ge ...
, a homomorphism is a structure-preserving map between two algebraic structures of the same type (such as two groups, two rings, or two vector spaces). The word ''homomorphism'' comes from the Ancient Greek language: () meaning "same" and () meaning "form" or "shape". However, the word was apparently introduced to mathematics due to a (mis)translation of German meaning "similar" to meaning "same". The term "homomorphism" appeared as early as 1892, when it was attributed to the German mathematician Felix Klein (1849–1925). Homomorphisms of vector spaces are also called
linear map In mathematics Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It ...
s, and their study is the object of linear algebra. The concept of homomorphism has been generalized, under the name of morphism, to many other structures that either do not have an underlying set, or are not algebraic. This generalization is the starting point of
category theory Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labelled directed edges are cal ...
. A homomorphism may also be an isomorphism, an endomorphism, an automorphism, etc. (see below). Each of those can be defined in a way that may be generalized to any class of morphisms.

# Definition

A homomorphism is a map between two algebraic structures of the same type (that is of the same name), that preserves the operations of the structures. This means a map $f: A \to B$ between two sets $A$, $B$ equipped with the same structure such that, if $\cdot$ is an operation of the structure (supposed here, for simplification, to be a
binary operation In mathematics, a binary operation or dyadic operation is a calculation that combines two elements (called operands) to produce another element. More formally, a binary operation is an Operation (mathematics), operation of arity two. More specif ...
), then :$f\left(x\cdot y\right)=f\left(x\right)\cdot f\left(y\right)$ for every pair $x$, $y$ of elements of $A$.As it is often the case, but not always, the same symbol for the operation of both $A$ and $B$ was used here. One says often that $f$ preserves the operation or is compatible with the operation. Formally, a map $f: A\to B$ preserves an operation $\mu$ of arity ''k'', defined on both $A$ and $B$ if :$f\left(\mu_A\left(a_1, \ldots, a_k\right)\right) = \mu_B\left(f\left(a_1\right), \ldots, f\left(a_k\right)\right),$ for all elements $a_1, ..., a_k$ in $A$. The operations that must be preserved by a homomorphism include 0-ary function, 0-ary operations, that is the constants. In particular, when an identity element is required by the type of structure, the identity element of the first structure must be mapped to the corresponding identity element of the second structure. For example: * A semigroup homomorphism is a map between semigroups that preserves the semigroup operation. * A monoid homomorphism is a map between monoids that preserves the monoid operation and maps the identity element of the first monoid to that of the second monoid (the identity element is a 0-ary function, 0-ary operation). * A group homomorphism is a map between group (mathematics), groups that preserves the group operation. This implies that the group homomorphism maps the identity element of the first group to the identity element of the second group, and maps the inverse element, inverse of an element of the first group to the inverse of the image of this element. Thus a semigroup homomorphism between groups is necessarily a group homomorphism. * A ring homomorphism is a map between ring (mathematics), rings that preserves the ring addition, the ring multiplication, and the multiplicative identity. Whether the multiplicative identity is to be preserved depends upon the definition of ''ring'' in use. If the multiplicative identity is not preserved, one has a rng (algebra), rng homomorphism. * A
linear map In mathematics Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). It ...
is a homomorphism of vector space, That is a group homomorphism between vector spaces that preserves the abelian group structure and scalar multiplication. * A module homomorphism, also called a linear map between module (mathematics), modules, is defined similarly. * An algebra homomorphism is a map that preserves the algebra over a field, algebra operations. An algebraic structure may have more than one operation, and a homomorphism is required to preserve each operation. Thus a map that preserves only some of the operations is not a homomorphism of the structure, but only a homomorphism of the substructure obtained by considering only the preserved operations. For example, a map between monoids that preserves the monoid operation and not the identity element, is not a monoid homomorphism, but only a semigroup homomorphism. The notation for the operations does not need to be the same in the source and the target of a homomorphism. For example, the real numbers form a group for addition, and the positive real numbers form a group for multiplication. The exponential function :$x\mapsto e^x$ satisfies :$e^ = e^xe^y,$ and is thus a homomorphism between these two groups. It is even an isomorphism (see below), as its inverse function, the natural logarithm, satisfies :$\ln\left(xy\right)=\ln\left(x\right)+\ln\left(y\right),$ and is also a group homomorphism.

# Examples

The real numbers are a ring, having both addition and multiplication. The set of all 2×2 matrix (mathematics), matrices is also a ring, under matrix addition and matrix multiplication. If we define a function between these rings as follows: :$f\left(r\right) = \begin r & 0 \\ 0 & r \end$ where is a real number, then is a homomorphism of rings, since preserves both addition: :$f\left(r+s\right) = \begin r+s & 0 \\ 0 & r+s \end = \begin r & 0 \\ 0 & r \end + \begin s & 0 \\ 0 & s \end = f\left(r\right) + f\left(s\right)$ and multiplication: :$f\left(rs\right) = \begin rs & 0 \\ 0 & rs \end = \begin r & 0 \\ 0 & r \end \begin s & 0 \\ 0 & s \end = f\left(r\right)\,f\left(s\right).$ For another example, the nonzero complex numbers form a group under the operation of multiplication, as do the nonzero real numbers. (Zero must be excluded from both groups since it does not have a multiplicative inverse, which is required for elements of a group.) Define a function $f$ from the nonzero complex numbers to the nonzero real numbers by :$f\left(z\right) = , z, .$ That is, $f$ is the absolute value (or modulus) of the complex number $z$. Then $f$ is a homomorphism of groups, since it preserves multiplication: :$f\left(z_1 z_2\right) = , z_1 z_2, = , z_1, , z_2, = f\left(z_1\right) f\left(z_2\right).$ Note that cannot be extended to a homomorphism of rings (from the complex numbers to the real numbers), since it does not preserve addition: :$, z_1 + z_2, \ne , z_1, + , z_2, .$ As another example, the diagram shows a monoid homomorphism $f$ from the monoid $\left(\mathbb, +, 0\right)$ to the monoid $\left(\mathbb, \times, 1\right)$. Due to the different names of corresponding operations, the structure preservation properties satisfied by $f$ amount to $f\left(x+y\right) = f\left(x\right) \times f\left(y\right)$ and $f\left(0\right) = 1$. A composition algebra $A$ over a field $F$ has a quadratic form, called a ''norm'', $N: A \to F$, which is a group homomorphism from the multiplicative group of $A$ to the multiplicative group of $F$.

# Special homomorphisms

Several kinds of homomorphisms have a specific name, which is also defined for general morphisms.

## Isomorphism

An isomorphism between algebraic structures of the same type is commonly defined as a bijective homomorphism. In the more general context of
category theory Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labelled directed edges are cal ...
, an isomorphism is defined as a morphism that has an inverse function, inverse that is also a morphism. In the specific case of algebraic structures, the two definitions are equivalent, although they may differ for non-algebraic structures, which have an underlying set. More precisely, if :$f: A\to B$ is a (homo)morphism, it has an inverse if there exists a homomorphism :$g: B\to A$ such that :$f\circ g = \operatorname_B \qquad \text \qquad g\circ f = \operatorname_A.$ If $A$ and $B$ have underlying sets, and $f: A \to B$ has an inverse $g$, then $f$ is bijective. In fact, $f$ is injective, as $f\left(x\right) = f\left(y\right)$ implies $x = g\left(f\left(x\right)\right) = g\left(f\left(y\right)\right) = y$, and $f$ is surjective, as, for any $x$ in $B$, one has $x = f\left(g\left(x\right)\right)$, and $x$ is the image of an element of $A$. Conversely, if $f: A \to B$ is a bijective homomorphism between algebraic structures, let $g: B \to A$ be the map such that $g\left(y\right)$ is the unique element $x$ of $A$ such that $f\left(x\right) = y$. One has $f \circ g = \operatorname_B \text g \circ f = \operatorname_A,$ and it remains only to show that is a homomorphism. If $*$ is a binary operation of the structure, for every pair $x$, $y$ of elements of $B$, one has :$g\left(x*_B y\right) = g\left(f\left(g\left(x\right)\right)*_Bf\left(g\left(y\right)\right)\right) = g\left(f\left(g\left(x\right)*_A g\left(y\right)\right)\right) = g\left(x\right)*_A g\left(y\right),$ and $g$ is thus compatible with $*.$ As the proof is similar for any arity, this shows that $g$ is a homomorphism. This proof does not work for non-algebraic structures. For examples, for topological spaces, a morphism is a continuous map, and the inverse of a bijective continuous map is not necessarily continuous. An isomorphism of topological spaces, called homeomorphism or bicontinuous function, bicontinuous map, is thus a bijective continuous map, whose inverse is also continuous.

## Endomorphism

An endomorphism is a homomorphism whose domain of a function, domain equals the codomain, or, more generally, a morphism whose source is equal to the target. The endomorphisms of an algebraic structure, or of an object of a category (mathematics), category form a monoid under composition. The endomorphisms of a vector space or of a module (mathematics), module form a ring. In the case of a vector space or a free module of finite dimension (vector space), dimension, the choice of a basis (vector space), basis induces a ring isomorphism between the ring of endomorphisms and the ring of square matrices of the same dimension.

## Automorphism

An automorphism is an endomorphism that is also an isomorphism. The automorphisms of an algebraic structure or of an object of a category form a group under composition, which is called the automorphism group of the structure. Many groups that have received a name are automorphism groups of some algebraic structure. For example, the general linear group $\operatorname_n\left(k\right)$ is the automorphism group of a vector space of dimension $n$ over a field (mathematics), field $k$. The automorphism groups of field (mathematics), fields were introduced by Évariste Galois for studying the root of a polynomial, roots of polynomials, and are the basis of Galois theory.

## Monomorphism

For algebraic structures, monomorphisms are commonly defined as injective homomorphisms. In the more general context of
category theory Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labelled directed edges are cal ...
, a monomorphism is defined as a morphism that is Cancellation property, left cancelable. This means that a (homo)morphism $f:A \to B$ is a monomorphism if, for any pair $g$, $h$ of morphisms from any other object $C$ to $A$, then $f \circ g = f \circ h$ implies $g = h$. These two definitions of ''monomorphism'' are equivalent for all common algebraic structures. More precisely, they are equivalent for field (mathematics), fields, for which every homomorphism is a monomorphism, and for variety (universal algebra), varieties of universal algebra, that is algebraic structures for which operations and axioms (identities) are defined without any restriction (fields are not a variety, as the multiplicative inverse is defined either as a unary operation or as a property of the multiplication, which are, in both cases, defined only for nonzero elements). In particular, the two definitions of a monomorphism are equivalent for sets, magma (algebra), magmas, semigroups, monoids, group (mathematics), groups, ring (mathematics), rings, field (mathematics), fields, vector spaces and module (mathematics), modules. A split monomorphism is a homomorphism that has a inverse function#Left and right inverses, left inverse and thus it is itself a right inverse of that other homomorphism. That is, a homomorphism $f\colon A \to B$ is a split monomorphism if there exists a homomorphism $g\colon B \to A$ such that $g \circ f = \operatorname_A.$ A split monomorphism is always a monomorphism, for both meanings of ''monomorphism''. For sets and vector spaces, every monomorphism is a split monomorphism, but this property does not hold for most common algebraic structures. ''An injective homomorphism is left cancelable'': If $f\circ g = f\circ h,$ one has $f\left(g\left(x\right)\right)=f\left(h\left(x\right)\right)$ for every $x$ in $C$, the common source of $g$ and $h$. If $f$ is injective, then $g\left(x\right) = h\left(x\right)$, and thus $g = h$. This proof works not only for algebraic structures, but also for any category (mathematics), category whose objects are sets and arrows are maps between these sets. For example, an injective continuous map is a monomorphism in the category of topological spaces. For proving that, conversely, a left cancelable homomorphism is injective, it is useful to consider a ''free object on $x$''. Given a variety (universal algebra), variety of algebraic structures a free object on $x$ is a pair consisting of an algebraic structure $L$ of this variety and an element $x$ of $L$ satisfying the following universal property: for every structure $S$ of the variety, and every element $s$ of $S$, there is a unique homomorphism $f: L\to S$ such that $f\left(x\right) = s$. For example, for sets, the free object on $x$ is simply $\$; for semigroups, the free object on $x$ is $\,$ which, as, a semigroup, is isomorphic to the additive semigroup of the positive integers; for monoids, the free object on $x$ is $\,$ which, as, a monoid, is isomorphic to the additive monoid of the nonnegative integers; for groups, the free object on $x$ is the infinite cyclic group $\,$ which, as, a group, is isomorphic to the additive group of the integers; for ring (mathematics), rings, the free object on $x$} is the polynomial ring $\mathbb\left[x\right];$ for vector spaces or module (mathematics), modules, the free object on $x$ is the vector space or free module that has $x$ as a basis. ''If a free object over $x$ exists, then every left cancelable homomorphism is injective'': let $f\colon A \to B$ be a left cancelable homomorphism, and $a$ and $b$ be two elements of $A$ such $f\left(a\right) = f\left(b\right)$. By definition of the free object $F$, there exist homomorphisms $g$ and $h$ from $F$ to $A$ such that $g\left(x\right) = a$ and $h\left(x\right) = b$. As $f\left(g\left(x\right)\right) = f\left(h\left(x\right)\right)$, one has $f \circ g = f \circ h,$ by the uniqueness in the definition of a universal property. As $f$ is left cancelable, one has $g = h$, and thus $a = b$. Therefore, $f$ is injective. ''Existence of a free object on $x$ for a variety (universal algebra), variety'' (see also ): For building a free object over $x$, consider the set $W$ of the well-formed formulas built up from $x$ and the operations of the structure. Two such formulas are said equivalent if one may pass from one to the other by applying the axioms (identity (mathematics), identities of the structure). This defines an equivalence relation, if the identities are not subject to conditions, that is if one works with a variety. Then the operations of the variety are well defined on the set of equivalence classes of $W$ for this relation. It is straightforward to show that the resulting object is a free object on $W$.

## Epimorphism

In
algebra Algebra (from ar, الجبر, lit=reunion of broken parts, bonesetting, translit=al-jabr) is one of the areas of mathematics, broad areas of mathematics, together with number theory, geometry and mathematical analysis, analysis. In its most ge ...
, epimorphisms are often defined as surjective homomorphisms. On the other hand, in
category theory Category theory formalizes mathematical structure and its concepts in terms of a Graph labeling, labeled directed graph called a ''Category (mathematics), category'', whose nodes are called ''objects'', and whose labelled directed edges are cal ...
, epimorphisms are defined as right cancelable morphisms. This means that a (homo)morphism $f: A \to B$ is an epimorphism if, for any pair $g$, $h$ of morphisms from $B$ to any other object $C$, the equality $g \circ f = h \circ f$ implies $g = h$. A surjective homomorphism is always right cancelable, but the converse is not always true for algebraic structures. However, the two definitions of ''epimorphism'' are equivalent for sets, vector spaces, abelian groups, module (mathematics), modules (see below for a proof), and group (mathematics), groups. The importance of these structures in all mathematics, and specially in linear algebra and homological algebra, may explain the coexistence of two non-equivalent definitions. Algebraic structures for which there exist non-surjective epimorphisms include semigroups and ring (mathematics), rings. The most basic example is the inclusion of integers into rational numbers, which is an homomorphism of rings and of multiplicative semigroups. For both structures it is a monomorphism and a non-surjective epimorphism, but not an isomorphism. A wide generalization of this example is the localization of a ring by a multiplicative set. Every localization is a ring epimorphism, which is not, in general, surjective. As localizations are fundamental in commutative algebra and algebraic geometry, this may explain why in these areas, the definition of epimorphisms as right cancelable homomorphisms is generally preferred. A split epimorphism is a homomorphism that has a inverse function#Left and right inverses, right inverse and thus it is itself a left inverse of that other homomorphism. That is, a homomorphism $f\colon A \to B$ is a split epimorphism if there exists a homomorphism $g\colon B \to A$ such that $f\circ g = \operatorname_B.$ A split epimorphism is always an epimorphism, for both meanings of ''epimorphism''. For sets and vector spaces, every epimorphism is a split epimorphism, but this property does not hold for most common algebraic structures. In summary, one has :$\text \implies \text\implies \text ;$ the last implication is an equivalence for sets, vector spaces, modules and abelian groups; the first implication is an equivalence for sets and vector spaces. Let $f\colon A \to B$ be a homomorphism. We want to prove that if it is not surjective, it is not right cancelable. In the case of sets, let $b$ be an element of $B$ that not belongs to $f\left(A\right)$, and define $g, h\colon B \to B$ such that $g$ is the identity function, and that $h\left(x\right) = x$ for every $x \in B,$ except that $h\left(b\right)$ is any other element of $B$. Clearly $f$ is not right cancelable, as $g \neq h$ and $g \circ f = h \circ f.$ In the case of vector spaces, abelian groups and modules, the proof relies on the existence of cokernels and on the fact that the zero maps are homomorphisms: let $C$ be the cokernel of $f$, and $g\colon B \to C$ be the canonical map, such that $g\left(f\left(A\right)\right) = 0$. Let $h\colon B\to C$ be the zero map. If $f$ is not surjective, $C \neq 0$, and thus $g \neq h$ (one is a zero map, while the other is not). Thus $f$ is not cancelable, as $g \circ f = h \circ f$ (both are the zero map from $A$ to $C$).

# Kernel

Any homomorphism $f: X \to Y$ defines an equivalence relation $\sim$ on $X$ by $a \sim b$ if and only if $f\left(a\right) = f\left(b\right)$. The relation $\sim$ is called the kernel of $f$. It is a congruence relation on $X$. The quotient set $X/$ can then be given a structure of the same type as $X$, in a natural way, by defining the operations of the quotient set by $\left[x\right] \ast \left[y\right] = \left[x \ast y\right]$, for each operation $\ast$ of $X$. In that case the image of $X$ in $Y$ under the homomorphism $f$ is necessarily isomorphic to $X/\!\sim$; this fact is one of the isomorphism theorems. When the algebraic structure is a group for some operation, the equivalence class $K$ of the identity element of this operation suffices to characterize the equivalence relation. In this case, the quotient by the equivalence relation is denoted by $X/K$ (usually read as "$X$ Ideal (ring theory), mod $K$"). Also in this case, it is $K$, rather than $\sim$, that is called the kernel (algebra), kernel of $f$. The kernels of homomorphisms of a given type of algebraic structure are naturally equipped with some structure. This structure type of the kernels is the same as the considered structure, in the case of abelian groups, vector spaces and module (mathematics), modules, but is different and has received a specific name in other cases, such as normal subgroup for kernels of group homomorphisms and ideal (ring theory), ideals for kernels of ring homomorphisms (in the case of non-commutative rings, the kernels are the two-sided ideals).

# Relational structures

In model theory, the notion of an algebraic structure is generalized to structures involving both operations and relations. Let ''L'' be a signature consisting of function and relation symbols, and ''A'', ''B'' be two ''L''-structures. Then a homomorphism from ''A'' to ''B'' is a mapping ''h'' from the domain of ''A'' to the domain of ''B'' such that * ''h''(''F''''A''(''a''1,…,''a''''n'')) = ''F''''B''(''h''(''a''1),…,''h''(''a''''n'')) for each ''n''-ary function symbol ''F'' in ''L'', * ''R''''A''(''a''1,…,''a''''n'') implies ''R''''B''(''h''(''a''1),…,''h''(''a''''n'')) for each ''n''-ary relation symbol ''R'' in ''L''. In the special case with just one binary relation, we obtain the notion of a graph homomorphism. For a detailed discussion of relational homomorphisms and isomorphisms see.

# Formal language theory

Homomorphisms are also used in the study of formal languages and are often briefly referred to as morphisms.T. Harju, J. Karhumӓki, Morphisms in ''Handbook of Formal Languages'', Volume I, edited by G. Rozenberg, A. Salomaa, Springer, 1997, . Given alphabets Σ1 and Σ2, a function such that for all ''u'' and ''v'' in Σ1 is called a ''homomorphism'' on Σ1.The ∗ denotes the Kleene star operation, while Σ denotes the set of words formed from the alphabet Σ, including the empty word. Juxtaposition of terms denotes concatenation. For example, ''h''(''u'') ''h''(''v'') denotes the concatenation of ''h''(''u'') with ''h''(''v''). If ''h'' is a homomorphism on Σ1 and ε denotes the empty string, then ''h'' is called an ''ε-free homomorphism'' when for all in Σ1. The set Σ of words formed from the alphabet Σ may be thought of as the free monoid generated by Σ. Here the monoid operation is concatenation and the identity element is the empty word. From this perspective, a language homormorphism is precisely a monoid homomorphism.We are assured that a language homomorphism ''h'' maps the empty word ''ε'' to the empty word. Since ''h''(''ε'') = ''h''(''εε'') = ''h''(''ε'')''h''(''ε''), the number ''w'' of characters in ''h''(''ε'') equals the number 2''w'' of characters in ''h''(''ε'')''h''(''ε''). Hence ''w'' = 0 and ''h''(''ε'') has null length.