Homomorphism
In algebra, a homomorphism is a structurepreserving 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: ὁμός (homos) meaning "same" and μορφή (morphe) meaning "form" or "shape". However, the word was apparently introduced to mathematics due to a (mis)translation of German ähnlich meaning "similar" to ὁμός meaning "same".^{[1]} The term "homomorphism" appeared as early as 1892, when it was attributed to the German mathematician Felix Klein (1849–1925).^{[2]}
Homomorphisms of vector spaces are also called linear maps, and their study is the subject 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.
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 [math]\displaystyle{ f: A \to B }[/math] between two sets [math]\displaystyle{ A }[/math], [math]\displaystyle{ B }[/math] equipped with the same structure such that, if [math]\displaystyle{ \cdot }[/math] is an operation of the structure (supposed here, for simplification, to be a binary operation), then
 [math]\displaystyle{ f(x\cdot y)=f(x)\cdot f(y) }[/math]
for every pair [math]\displaystyle{ x }[/math], [math]\displaystyle{ y }[/math] of elements of [math]\displaystyle{ A }[/math].^{[note 1]} One says often that [math]\displaystyle{ f }[/math] preserves the operation or is compatible with the operation.
Formally, a map [math]\displaystyle{ f: A\to B }[/math] preserves an operation [math]\displaystyle{ \mu }[/math] of arity [math]\displaystyle{ k }[/math], defined on both [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] if
 [math]\displaystyle{ f(\mu_A(a_1, \ldots, a_k)) = \mu_B(f(a_1), \ldots, f(a_k)), }[/math]
for all elements [math]\displaystyle{ a_1, ..., a_k }[/math] in [math]\displaystyle{ A }[/math].
The operations that must be preserved by a homomorphism include 0ary 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 0ary operation).
 A group homomorphism is a map between 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 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 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 homomorphism.
 A linear map is a homomorphism of vector spaces; 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 modules, is defined similarly.
 An algebra homomorphism is a map that preserves the 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
 [math]\displaystyle{ x\mapsto e^x }[/math]
satisfies
 [math]\displaystyle{ e^{x+y} = e^xe^y, }[/math]
and is thus a homomorphism between these two groups. It is even an isomorphism (see below), as its inverse function, the natural logarithm, satisfies
 [math]\displaystyle{ \ln(xy)=\ln(x)+\ln(y), }[/math]
and is also a group homomorphism.
Examples
The real numbers are a ring, having both addition and multiplication. The set of all 2×2 matrices is also a ring, under matrix addition and matrix multiplication. If we define a function between these rings as follows:
 [math]\displaystyle{ f(r) = \begin{pmatrix} r & 0 \\ 0 & r \end{pmatrix} }[/math]
where r is a real number, then f is a homomorphism of rings, since f preserves both addition:
 [math]\displaystyle{ f(r+s) = \begin{pmatrix} r+s & 0 \\ 0 & r+s \end{pmatrix} = \begin{pmatrix} r & 0 \\ 0 & r \end{pmatrix} + \begin{pmatrix} s & 0 \\ 0 & s \end{pmatrix} = f(r) + f(s) }[/math]
and multiplication:
 [math]\displaystyle{ f(rs) = \begin{pmatrix} rs & 0 \\ 0 & rs \end{pmatrix} = \begin{pmatrix} r & 0 \\ 0 & r \end{pmatrix} \begin{pmatrix} s & 0 \\ 0 & s \end{pmatrix} = f(r)\,f(s). }[/math]
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 [math]\displaystyle{ f }[/math] from the nonzero complex numbers to the nonzero real numbers by
 [math]\displaystyle{ f(z) = z . }[/math]
That is, [math]\displaystyle{ f }[/math] is the absolute value (or modulus) of the complex number [math]\displaystyle{ z }[/math]. Then [math]\displaystyle{ f }[/math] is a homomorphism of groups, since it preserves multiplication:
 [math]\displaystyle{ f(z_1 z_2) = z_1 z_2 = z_1 z_2 = f(z_1) f(z_2). }[/math]
Note that f cannot be extended to a homomorphism of rings (from the complex numbers to the real numbers), since it does not preserve addition:
 [math]\displaystyle{ z_1 + z_2 \ne z_1 + z_2. }[/math]
As another example, the diagram shows a monoid homomorphism [math]\displaystyle{ f }[/math] from the monoid [math]\displaystyle{ (\mathbb{N}, +, 0) }[/math] to the monoid [math]\displaystyle{ (\mathbb{N}, \times, 1) }[/math]. Due to the different names of corresponding operations, the structure preservation properties satisfied by [math]\displaystyle{ f }[/math] amount to [math]\displaystyle{ f(x+y) = f(x) \times f(y) }[/math] and [math]\displaystyle{ f(0) = 1 }[/math].
A composition algebra [math]\displaystyle{ A }[/math] over a field [math]\displaystyle{ F }[/math] has a quadratic form, called a norm, [math]\displaystyle{ N: A \to F }[/math], which is a group homomorphism from the multiplicative group of [math]\displaystyle{ A }[/math] to the multiplicative group of [math]\displaystyle{ F }[/math].
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.^{[3]}^{:134} ^{[4]}^{:28}
In the more general context of category theory, an isomorphism is defined as a morphism that has an inverse that is also a morphism. In the specific case of algebraic structures, the two definitions are equivalent, although they may differ for nonalgebraic structures, which have an underlying set.
More precisely, if
 [math]\displaystyle{ f: A\to B }[/math]
is a (homo)morphism, it has an inverse if there exists a homomorphism
 [math]\displaystyle{ g: B\to A }[/math]
such that
 [math]\displaystyle{ f\circ g = \operatorname{Id}_B \qquad \text{and} \qquad g\circ f = \operatorname{Id}_A. }[/math]
If [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] have underlying sets, and [math]\displaystyle{ f: A \to B }[/math] has an inverse [math]\displaystyle{ g }[/math], then [math]\displaystyle{ f }[/math] is bijective. In fact, [math]\displaystyle{ f }[/math] is injective, as [math]\displaystyle{ f(x) = f(y) }[/math] implies [math]\displaystyle{ x = g(f(x)) = g(f(y)) = y }[/math], and [math]\displaystyle{ f }[/math] is surjective, as, for any [math]\displaystyle{ x }[/math] in [math]\displaystyle{ B }[/math], one has [math]\displaystyle{ x = f(g(x)) }[/math], and [math]\displaystyle{ x }[/math] is the image of an element of [math]\displaystyle{ A }[/math].
Conversely, if [math]\displaystyle{ f: A \to B }[/math] is a bijective homomorphism between algebraic structures, let [math]\displaystyle{ g: B \to A }[/math] be the map such that [math]\displaystyle{ g(y) }[/math] is the unique element [math]\displaystyle{ x }[/math] of [math]\displaystyle{ A }[/math] such that [math]\displaystyle{ f(x) = y }[/math]. One has [math]\displaystyle{ f \circ g = \operatorname{Id}_B \text{ and } g \circ f = \operatorname{Id}_A, }[/math] and it remains only to show that g is a homomorphism. If [math]\displaystyle{ * }[/math] is a binary operation of the structure, for every pair [math]\displaystyle{ x }[/math], [math]\displaystyle{ y }[/math] of elements of [math]\displaystyle{ B }[/math], one has
 [math]\displaystyle{ g(x*_B y) = g(f(g(x))*_Bf(g(y))) = g(f(g(x)*_A g(y))) = g(x)*_A g(y), }[/math]
and [math]\displaystyle{ g }[/math] is thus compatible with [math]\displaystyle{ *. }[/math] As the proof is similar for any arity, this shows that [math]\displaystyle{ g }[/math] is a homomorphism.
This proof does not work for nonalgebraic structures. For example, 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 map, is thus a bijective continuous map, whose inverse is also continuous.
Endomorphism
An endomorphism is a homomorphism whose domain equals the codomain, or, more generally, a morphism whose source is equal to its target.^{[3]}^{:135}
The endomorphisms of an algebraic structure, or of an object of a category form a monoid under composition.
The endomorphisms of a vector space or of a module form a ring. In the case of a vector space or a free module of finite dimension, the choice of a 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.^{[3]}^{:135}
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 [math]\displaystyle{ \operatorname{GL}_n(k) }[/math] is the automorphism group of a vector space of dimension [math]\displaystyle{ n }[/math] over a field [math]\displaystyle{ k }[/math].
The automorphism groups of fields were introduced by Évariste Galois for studying the roots of polynomials, and are the basis of Galois theory.
Monomorphism
For algebraic structures, monomorphisms are commonly defined as injective homomorphisms.^{[3]}^{:134} ^{[4]}^{:29}
In the more general context of category theory, a monomorphism is defined as a morphism that is left cancelable.^{[5]} This means that a (homo)morphism [math]\displaystyle{ f:A \to B }[/math] is a monomorphism if, for any pair [math]\displaystyle{ g }[/math], [math]\displaystyle{ h }[/math] of morphisms from any other object [math]\displaystyle{ C }[/math] to [math]\displaystyle{ A }[/math], then [math]\displaystyle{ f \circ g = f \circ h }[/math] implies [math]\displaystyle{ g = h }[/math].
These two definitions of monomorphism are equivalent for all common algebraic structures. More precisely, they are equivalent for fields, for which every homomorphism is a monomorphism, and for varieties of universal algebra, that is algebraic structures for which operations and axioms (identities) are defined without any restriction (the fields do not form 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, magmas, semigroups, monoids, groups, rings, fields, vector spaces and modules.
A split monomorphism is a homomorphism that has a left inverse and thus it is itself a right inverse of that other homomorphism. That is, a homomorphism [math]\displaystyle{ f\colon A \to B }[/math] is a split monomorphism if there exists a homomorphism [math]\displaystyle{ g\colon B \to A }[/math] such that [math]\displaystyle{ g \circ f = \operatorname{Id}_A. }[/math] 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.
Proof of the equivalence of the two definitions of monomorphisms


An injective homomorphism is left cancelable: If [math]\displaystyle{ f\circ g = f\circ h, }[/math] one has [math]\displaystyle{ f(g(x))=f(h(x)) }[/math] for every [math]\displaystyle{ x }[/math] in [math]\displaystyle{ C }[/math], the common source of [math]\displaystyle{ g }[/math] and [math]\displaystyle{ h }[/math]. If [math]\displaystyle{ f }[/math] is injective, then [math]\displaystyle{ g(x) = h(x) }[/math], and thus [math]\displaystyle{ g = h }[/math]. This proof works not only for algebraic structures, but also for any 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 [math]\displaystyle{ x }[/math]. Given a variety of algebraic structures a free object on [math]\displaystyle{ x }[/math] is a pair consisting of an algebraic structure [math]\displaystyle{ L }[/math] of this variety and an element [math]\displaystyle{ x }[/math] of [math]\displaystyle{ L }[/math] satisfying the following universal property: for every structure [math]\displaystyle{ S }[/math] of the variety, and every element [math]\displaystyle{ s }[/math] of [math]\displaystyle{ S }[/math], there is a unique homomorphism [math]\displaystyle{ f: L\to S }[/math] such that [math]\displaystyle{ f(x) = s }[/math]. For example, for sets, the free object on [math]\displaystyle{ x }[/math] is simply [math]\displaystyle{ \{x\} }[/math]; for semigroups, the free object on [math]\displaystyle{ x }[/math] is [math]\displaystyle{ \{x, x^2, \ldots, x^n, \ldots\}, }[/math] which, as, a semigroup, is isomorphic to the additive semigroup of the positive integers; for monoids, the free object on [math]\displaystyle{ x }[/math] is [math]\displaystyle{ \{1, x, x^2, \ldots, x^n, \ldots\}, }[/math] which, as, a monoid, is isomorphic to the additive monoid of the nonnegative integers; for groups, the free object on [math]\displaystyle{ x }[/math] is the infinite cyclic group [math]\displaystyle{ \{\ldots, x^{n}, \ldots, x^{1}, 1, x, x^2, \ldots, x^n, \ldots\}, }[/math] which, as, a group, is isomorphic to the additive group of the integers; for rings, the free object on [math]\displaystyle{ x }[/math] is the polynomial ring [math]\displaystyle{ \mathbb{Z}[x]; }[/math] for vector spaces or modules, the free object on [math]\displaystyle{ x }[/math] is the vector space or free module that has [math]\displaystyle{ x }[/math] as a basis. If a free object over [math]\displaystyle{ x }[/math] exists, then every left cancelable homomorphism is injective: let [math]\displaystyle{ f\colon A \to B }[/math] be a left cancelable homomorphism, and [math]\displaystyle{ a }[/math] and [math]\displaystyle{ b }[/math] be two elements of [math]\displaystyle{ A }[/math] such [math]\displaystyle{ f(a) = f(b) }[/math]. By definition of the free object [math]\displaystyle{ F }[/math], there exist homomorphisms [math]\displaystyle{ g }[/math] and [math]\displaystyle{ h }[/math] from [math]\displaystyle{ F }[/math] to [math]\displaystyle{ A }[/math] such that [math]\displaystyle{ g(x) = a }[/math] and [math]\displaystyle{ h(x) = b }[/math]. As [math]\displaystyle{ f(g(x)) = f(h(x)) }[/math], one has [math]\displaystyle{ f \circ g = f \circ h, }[/math] by the uniqueness in the definition of a universal property. As [math]\displaystyle{ f }[/math] is left cancelable, one has [math]\displaystyle{ g = h }[/math], and thus [math]\displaystyle{ a = b }[/math]. Therefore, [math]\displaystyle{ f }[/math] is injective. Existence of a free object on [math]\displaystyle{ x }[/math] for a variety (see also Free object § Existence): For building a free object over [math]\displaystyle{ x }[/math], consider the set [math]\displaystyle{ W }[/math] of the wellformed formulas built up from [math]\displaystyle{ x }[/math] 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 (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 [math]\displaystyle{ W }[/math] for this relation. It is straightforward to show that the resulting object is a free object on [math]\displaystyle{ x }[/math]. 
Epimorphism
In algebra, epimorphisms are often defined as surjective homomorphisms.^{[3]}^{:134}^{[4]}^{:43} On the other hand, in category theory, epimorphisms are defined as right cancelable morphisms.^{[5]} This means that a (homo)morphism [math]\displaystyle{ f: A \to B }[/math] is an epimorphism if, for any pair [math]\displaystyle{ g }[/math], [math]\displaystyle{ h }[/math] of morphisms from [math]\displaystyle{ B }[/math] to any other object [math]\displaystyle{ C }[/math], the equality [math]\displaystyle{ g \circ f = h \circ f }[/math] implies [math]\displaystyle{ g = h }[/math].
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, modules (see below for a proof), and groups.^{[6]} The importance of these structures in all mathematics, especially in linear algebra and homological algebra, may explain the coexistence of two nonequivalent definitions.
Algebraic structures for which there exist nonsurjective epimorphisms include semigroups and rings. The most basic example is the inclusion of integers into rational numbers, which is a homomorphism of rings and of multiplicative semigroups. For both structures it is a monomorphism and a nonsurjective epimorphism, but not an isomorphism.^{[5]}^{[7]}
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 right inverse and thus it is itself a left inverse of that other homomorphism. That is, a homomorphism [math]\displaystyle{ f\colon A \to B }[/math] is a split epimorphism if there exists a homomorphism [math]\displaystyle{ g\colon B \to A }[/math] such that [math]\displaystyle{ f\circ g = \operatorname{Id}_B. }[/math] 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
 [math]\displaystyle{ \text {split epimorphism} \implies \text{epimorphism (surjective)}\implies \text {epimorphism (right cancelable)}; }[/math]
the last implication is an equivalence for sets, vector spaces, modules, abelian groups, and groups; the first implication is an equivalence for sets and vector spaces.
Equivalence of the two definitions of epimorphism


Let [math]\displaystyle{ f\colon A \to B }[/math] be a homomorphism. We want to prove that if it is not surjective, it is not right cancelable. In the case of sets, let [math]\displaystyle{ b }[/math] be an element of [math]\displaystyle{ B }[/math] that not belongs to [math]\displaystyle{ f(A) }[/math], and define [math]\displaystyle{ g, h\colon B \to B }[/math] such that [math]\displaystyle{ g }[/math] is the identity function, and that [math]\displaystyle{ h(x) = x }[/math] for every [math]\displaystyle{ x \in B, }[/math] except that [math]\displaystyle{ h(b) }[/math] is any other element of [math]\displaystyle{ B }[/math]. Clearly [math]\displaystyle{ f }[/math] is not right cancelable, as [math]\displaystyle{ g \neq h }[/math] and [math]\displaystyle{ g \circ f = h \circ f. }[/math] 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 [math]\displaystyle{ C }[/math] be the cokernel of [math]\displaystyle{ f }[/math], and [math]\displaystyle{ g\colon B \to C }[/math] be the canonical map, such that [math]\displaystyle{ g(f(A)) = 0 }[/math]. Let [math]\displaystyle{ h\colon B\to C }[/math] be the zero map. If [math]\displaystyle{ f }[/math] is not surjective, [math]\displaystyle{ C \neq 0 }[/math], and thus [math]\displaystyle{ g \neq h }[/math] (one is a zero map, while the other is not). Thus [math]\displaystyle{ f }[/math] is not cancelable, as [math]\displaystyle{ g \circ f = h \circ f }[/math] (both are the zero map from [math]\displaystyle{ A }[/math] to [math]\displaystyle{ C }[/math]). 
Kernel
Any homomorphism [math]\displaystyle{ f: X \to Y }[/math] defines an equivalence relation [math]\displaystyle{ \sim }[/math] on [math]\displaystyle{ X }[/math] by [math]\displaystyle{ a \sim b }[/math] if and only if [math]\displaystyle{ f(a) = f(b) }[/math]. The relation [math]\displaystyle{ \sim }[/math] is called the kernel of [math]\displaystyle{ f }[/math]. It is a congruence relation on [math]\displaystyle{ X }[/math]. The quotient set [math]\displaystyle{ X/{\sim} }[/math] can then be given a structure of the same type as [math]\displaystyle{ X }[/math], in a natural way, by defining the operations of the quotient set by [math]\displaystyle{ [x] \ast [y] = [x \ast y] }[/math], for each operation [math]\displaystyle{ \ast }[/math] of [math]\displaystyle{ X }[/math]. In that case the image of [math]\displaystyle{ X }[/math] in [math]\displaystyle{ Y }[/math] under the homomorphism [math]\displaystyle{ f }[/math] is necessarily isomorphic to [math]\displaystyle{ X/\!\sim }[/math]; this fact is one of the isomorphism theorems.
When the algebraic structure is a group for some operation, the equivalence class [math]\displaystyle{ K }[/math] 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 [math]\displaystyle{ X/K }[/math] (usually read as "[math]\displaystyle{ X }[/math] mod [math]\displaystyle{ K }[/math]"). Also in this case, it is [math]\displaystyle{ K }[/math], rather than [math]\displaystyle{ \sim }[/math], that is called the kernel of [math]\displaystyle{ f }[/math]. 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 modules, but is different and has received a specific name in other cases, such as normal subgroup for kernels of group homomorphisms and ideals for kernels of ring homomorphisms (in the case of noncommutative rings, the kernels are the twosided 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 Lstructures. 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 nary function symbol F in L,
 R^{A}(a_{1},…,a_{n}) implies R^{B}(h(a_{1}),…,h(a_{n})) for each nary relation symbol R in L.
In the special case with just one binary relation, we obtain the notion of a graph homomorphism.^{[8]}
Formal language theory
Homomorphisms are also used in the study of formal languages^{[9]} and are often briefly referred to as morphisms.^{[10]} Given alphabets [math]\displaystyle{ \Sigma_1 }[/math] and [math]\displaystyle{ \Sigma_2 }[/math], a function [math]\displaystyle{ h \colon \Sigma_1^* \to \Sigma_2^* }[/math] such that [math]\displaystyle{ h(uv) = h(u) h(v) }[/math] for all [math]\displaystyle{ u,v \in \Sigma_1 }[/math] is called a homomorphism on [math]\displaystyle{ \Sigma_1^* }[/math].^{[note 2]} If [math]\displaystyle{ h }[/math] is a homomorphism on [math]\displaystyle{ \Sigma_1^* }[/math] and [math]\displaystyle{ \varepsilon }[/math] denotes the empty string, then [math]\displaystyle{ h }[/math] is called an [math]\displaystyle{ \varepsilon }[/math]free homomorphism when [math]\displaystyle{ h(x) \neq \varepsilon }[/math] for all [math]\displaystyle{ x \neq \varepsilon }[/math] in [math]\displaystyle{ \Sigma_1^* }[/math].
A homomorphism [math]\displaystyle{ h \colon \Sigma_1^* \to \Sigma_2^* }[/math] on [math]\displaystyle{ \Sigma_1^* }[/math] that satisfies [math]\displaystyle{ h(a) = k }[/math] for all [math]\displaystyle{ a \in \Sigma_1 }[/math] is called a [math]\displaystyle{ k }[/math]uniform homomorphism.^{[11]} If [math]\displaystyle{ h(a) = 1 }[/math] for all [math]\displaystyle{ a \in \Sigma_1 }[/math] (that is, [math]\displaystyle{ h }[/math] is 1uniform), then [math]\displaystyle{ h }[/math] is also called a coding or a projection.^{[citation needed]}
The set [math]\displaystyle{ \Sigma^* }[/math] of words formed from the alphabet [math]\displaystyle{ \Sigma }[/math] may be thought of as the free monoid generated by [math]\displaystyle{ \Sigma }[/math]. Here the monoid operation is concatenation and the identity element is the empty word. From this perspective, a language homomorphism is precisely a monoid homomorphism.^{[note 3]}
See also
 Diffeomorphism
 Homomorphic encryption
 Homomorphic secret sharing – a simplistic decentralized voting protocol
 Morphism
 Quasimorphism
Notes
 ↑ As it is often the case, but not always, the same symbol for the operation of both [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] was used here.
 ↑ 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).
 ↑ 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 2w of characters in h(ε)h(ε). Hence w = 0 and h(ε) has null length.
Citations
 ↑ Fricke, Robert (1897–1912). Vorlesungen über die Theorie der automorphen Functionen. B.G. Teubner. OCLC 29857037. https://archive.org/details/vorlesungenber01fricuoft/page/n5/mode/2up.
 ↑ See:
 Ritter, Ernst (1892). "Die eindeutigen automorphen Formen vom Geschlecht Null, eine Revision und Erweiterung der Poincaré'schen Sätze" (in de). Mathematische Annalen 41: 1–82. doi:10.1007/BF01443449. https://babel.hathitrust.org/cgi/pt?id=hvd.32044102918109&view=1up&seq=15. From footnote on p. 22: "Ich will nach einem Vorschlage von Hrn. Prof. Klein statt der umständlichen und nicht immer ausreichenden Bezeichnungen: "holoedrisch, bezw. hemiedrisch u.s.w. isomorph" die Benennung "isomorph" auf den Fall des holoedrischen Isomorphismus zweier Gruppen einschränken, sonst aber von "Homomorphismus" sprechen, … " (Following a suggestion of Prof. Klein, instead of the cumbersome and not always satisfactory designations "holohedric, or hemihedric, etc. isomorphic", I will limit the denomination "isomorphic" to the case of a holohedric isomorphism of two groups; otherwise, however, [I will] speak of a "homomorphism", … )
 Fricke, Robert (1892). "Ueber den arithmetischen Charakter der zu den Verzweigungen (2,3,7) und (2,4,7) gehörenden Dreiecksfunctionen" (in de). Mathematische Annalen 41 (3): 443–468. doi:10.1007/BF01443421. https://babel.hathitrust.org/cgi/pt?id=hvd.32044102918109&view=1up&seq=471. From p. 466: "Hierdurch ist, wie man sofort überblickt, eine homomorphe*) Beziehung der Gruppe Γ_{(63)} auf die Gruppe der mod. n incongruenten Substitutionen mit rationalen ganzen Coefficienten der Determinante 1 begründet." (Thus, as one immediately sees, a homomorphic relation of the group Γ_{(63)} is based on the group of modulo n incongruent substitutions with rational whole coefficients of the determinant 1.) From footnote on p. 466: "*) Im Anschluss an einen von Hrn. Klein bei seinen neueren Vorlesungen eingeführten Brauch schreibe ich an Stelle der bisherigen Bezeichnung "meroedrischer Isomorphismus" die sinngemässere "Homomorphismus"." (Following a usage that has been introduced by Mr. Klein during his more recent lectures, I write in place of the earlier designation "merohedral isomorphism" the more logical "homomorphism".)
 ↑ ^{3.0} ^{3.1} ^{3.2} ^{3.3} ^{3.4} Birkhoff, Garrett (1967), Lattice theory, American Mathematical Society Colloquium Publications, 25 (3rd ed.), Providence, R.I.: American Mathematical Society, ISBN 9780821810255
 ↑ ^{5.0} ^{5.1} ^{5.2} Mac Lane, Saunders (1971). Categories for the Working Mathematician. Graduate Texts in Mathematics. 5. SpringerVerlag. Exercise 4 in section I.5. ISBN 0387900365.
 ↑ Linderholm, C. E. (1970). A group epimorphism is surjective. The American Mathematical Monthly, 77(2), 176177.
 ↑ Dăscălescu, Sorin; Năstăsescu, Constantin; Raianu, Șerban (2001). Hopf Algebra: An Introduction. Pure and Applied Mathematics. 235. New York, NY: Marcel Dekker. p. 363. ISBN 0824704819.
 ↑ For a detailed discussion of relational homomorphisms and isomorphisms see Section 17.3, in Gunther Schmidt, 2010. Relational Mathematics. Cambridge University Press, ISBN:9780521762687
 ↑ Seymour Ginsburg, Algebraic and automata theoretic properties of formal languages, NorthHolland, 1975, ISBN:0720425069,
 ↑ T. Harju, J. Karhumӓki, Morphisms in Handbook of Formal Languages, Volume I, edited by G. Rozenberg, A. Salomaa, Springer, 1997, ISBN:3540614869.
 ↑ (Krieger 2006) p. 287
References
 Krieger, Dalia (2006). "On critical exponents in fixed points of nonerasing morphisms". Developments in language theory : 10th international conference, DLT 2006, Santa Barbara, CA, USA, June 2629, 2006 : proceedings. Berlin: Springer. p. 280291. ISBN 9783540354307. OCLC 262693179.
 Stanley N. Burris; H.P. Sankappanavar (2012). A Course in Universal Algebra. S. Burris and H.P. Sankappanavar. ISBN 9780988055209. http://www.math.uwaterloo.ca/~snburris/htdocs/UALG/univalgebra2012.pdf.
 Mac Lane, Saunders (1971), Categories for the Working Mathematician, Graduate Texts in Mathematics, 5, SpringerVerlag, ISBN 0387900365
 Fraleigh, John B.; Katz, Victor J. (2003), A First Course in Abstract Algebra, AddisonWesley, ISBN 9781292024967
Original source: https://en.wikipedia.org/wiki/Homomorphism.
Read more 