In
algebra
Algebra () is one of the areas of mathematics, broad areas of mathematics. Roughly speaking, algebra is the study of mathematical symbols and the rules for manipulating these symbols in formulas; it is a unifying thread of almost all of mathem ...
, a homomorphism is a
structure-preserving map between two
algebraic structures of the same type (such as two
groups, two
rings, or two
vector space
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but ...
s). The word ''homomorphism'' comes from the
Ancient Greek language
Ancient Greek includes the forms of the Greek language used in ancient Greece and the ancient world from around 1500 BC to 300 BC. It is often roughly divided into the following periods: Mycenaean Greek (), Dark Ages (), the Archaic per ...
: () 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 maps, and their study is the subject of
linear algebra
Linear algebra is the branch of mathematics concerning linear equations such as:
:a_1x_1+\cdots +a_nx_n=b,
linear maps such as:
:(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n,
and their representations in vector spaces and through matric ...
.
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
Operation or Operations may refer to:
Arts, entertainment and media
* ''Operation'' (game), a battery-operated board game that challenges dexterity
* Operation (music), a term used in musical set theory
* ''Operations'' (magazine), Multi-Man ...
of the structures. This means a
map between two
sets ,
equipped with the same structure such that, if
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 rule for combining two elements (called operands) to produce another element. More formally, a binary operation is an operation of arity two.
More specifically, an internal binary op ...
), then
:
for every pair
,
of elements of
.
[As it is often the case, but not always, the same symbol for the operation of both and was used here.] One says often that
preserves the operation or is compatible with the operation.
Formally, a map
preserves an operation
of
arity
Arity () is the number of arguments or operands taken by a function, operation or relation in logic, mathematics, and computer science. In mathematics, arity may also be named ''rank'', but this word can have many other meanings in mathematics. In ...
''k'', defined on both
and
if
:
for all elements
in
.
The operations that must be preserved by a homomorphism include
0-ary operations, that is the constants. In particular, when an
identity element
In mathematics, an identity element, or neutral element, of a binary operation operating on a set is an element of the set that leaves unchanged every element of the set when the operation is applied. This concept is used in algebraic structures s ...
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
semigroup
In mathematics, a semigroup is an algebraic structure consisting of a Set (mathematics), set together with an associative internal binary operation on it.
The binary operation of a semigroup is most often denoted multiplication, multiplicatively ...
s that preserves the semigroup operation.
* A
monoid homomorphism is a map between
monoid
In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being 0.
Monoids ...
s 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 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
Inverse or invert may refer to:
Science and mathematics
* Inverse (logic), a type of conditional sentence which is an immediate inference made from another conditional sentence
* Additive inverse (negation), the inverse of a number that, when ad ...
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 space
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but ...
s; 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
Algebra () is one of the areas of mathematics, broad areas of mathematics. Roughly speaking, algebra is the study of mathematical symbols and the rules for manipulating these symbols in formulas; it is a unifying thread of almost all of mathem ...
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 number
In mathematics, a real number is a number that can be used to measurement, measure a ''continuous'' one-dimensional quantity such as a distance, time, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small var ...
s form a group for addition, and the positive real numbers form a group for multiplication. The
exponential function
The exponential function is a mathematical function denoted by f(x)=\exp(x) or e^x (where the argument is written as an exponent). Unless otherwise specified, the term generally refers to the positive-valued function of a real variable, ...
:
satisfies
:
and is thus a homomorphism between these two groups. It is even an isomorphism (see below), as its
inverse function
In mathematics, the inverse function of a function (also called the inverse of ) is a function that undoes the operation of . The inverse of exists if and only if is bijective, and if it exists, is denoted by f^ .
For a function f\colon ...
, the
natural logarithm
The natural logarithm of a number is its logarithm to the base of the mathematical constant , which is an irrational and transcendental number approximately equal to . The natural logarithm of is generally written as , , or sometimes, if ...
, satisfies
:
and is also a group homomorphism.
Examples

The
real number
In mathematics, a real number is a number that can be used to measurement, measure a ''continuous'' one-dimensional quantity such as a distance, time, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small var ...
s 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:
:
where is a real number, then is a homomorphism of rings, since preserves both addition:
:
and multiplication:
:
For another example, the nonzero
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s 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
In mathematics, a multiplicative inverse or reciprocal for a number ''x'', denoted by 1/''x'' or ''x''−1, is a number which when multiplied by ''x'' yields the multiplicative identity, 1. The multiplicative inverse of a fraction ''a''/''b ...
, which is required for elements of a group.) Define a function
from the nonzero complex numbers to the nonzero real numbers by
:
That is,
is the
absolute value (or modulus) of the complex number
. Then
is a homomorphism of groups, since it preserves multiplication:
:
Note that cannot be extended to a homomorphism of rings (from the complex numbers to the real numbers), since it does not preserve addition:
:
As another example, the diagram shows a
monoid
In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being 0.
Monoids ...
homomorphism
from the monoid
to the monoid
. Due to the different names of corresponding operations, the structure preservation properties satisfied by
amount to
and
.
A
composition algebra over a field
has a
quadratic form, called a ''norm'',
, which is a group homomorphism from the
multiplicative group of
to the multiplicative group of
.
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, an isomorphism is defined as a
morphism that has an
inverse
Inverse or invert may refer to:
Science and mathematics
* Inverse (logic), a type of conditional sentence which is an immediate inference made from another conditional sentence
* Additive inverse (negation), the inverse of a number that, when ad ...
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
:
is a (homo)morphism, it has an inverse if there exists a homomorphism
:
such that
:
If
and
have underlying sets, and
has an inverse
, then
is bijective. In fact,
is
injective, as
implies
, and
is
surjective, as, for any
in
, one has
, and
is the image of an element of
.
Conversely, if
is a bijective homomorphism between algebraic structures, let
be the map such that
is the unique element
of
such that
. One has
and it remains only to show that is a homomorphism. If
is a binary operation of the structure, for every pair
,
of elements of
, one has
:
and
is thus compatible with
As the proof is similar for any
arity
Arity () is the number of arguments or operands taken by a function, operation or relation in logic, mathematics, and computer science. In mathematics, arity may also be named ''rank'', but this word can have many other meanings in mathematics. In ...
, this shows that
is a homomorphism.
This proof does not work for non-algebraic structures. For examples, for
topological space
In mathematics, a topological space is, roughly speaking, a geometrical space in which closeness is defined but cannot necessarily be measured by a numeric distance. More specifically, a topological space is a set whose elements are called po ...
s, 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
In mathematics, the codomain or set of destination of a function is the set into which all of the output of the function is constrained to fall. It is the set in the notation . The term range is sometimes ambiguously used to refer to either ...
, or, more generally, a
morphism whose source is equal to its target.
The endomorphisms of an algebraic structure, or of an object of a
category
Category, plural categories, may refer to:
Philosophy and general uses
*Categorization, categories in cognitive science, information science and generally
* Category of being
* ''Categories'' (Aristotle)
* Category (Kant)
* Categories (Peirce) ...
form a
monoid
In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being 0.
Monoids ...
under composition.
The endomorphisms of a
vector space
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but ...
or of a
module form a
ring. In the case of a vector space or a
free module of finite
dimension
In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coor ...
, 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.
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 is the automorphism group of a
vector space
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but ...
of dimension
over a
field .
The automorphism groups of
fields were introduced by
Évariste Galois
Évariste Galois (; ; 25 October 1811 – 31 May 1832) was a French mathematician and political activist. While still in his teens, he was able to determine a necessary and sufficient condition for a polynomial to be solvable by radicals, ...
for studying the
roots of
polynomial
In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An ex ...
s, and are the basis of
Galois theory
In mathematics, Galois theory, originally introduced by Évariste Galois, provides a connection between field theory and group theory. This connection, the fundamental theorem of Galois theory, allows reducing certain problems in field theory t ...
.
Monomorphism
For algebraic structures,
monomorphisms are commonly defined as
injective homomorphisms.
In the more general context of
category theory, a monomorphism is defined as a
morphism that is
left cancelable.
This means that a (homo)morphism
is a monomorphism if, for any pair
,
of morphisms from any other object
to
, then
implies
.
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
Universal algebra (sometimes called general algebra) is the field of mathematics that studies algebraic structures themselves, not examples ("models") of algebraic structures.
For instance, rather than take particular Group (mathematics), groups as ...
, 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
In mathematics, a multiplicative inverse or reciprocal for a number ''x'', denoted by 1/''x'' or ''x''−1, is a number which when multiplied by ''x'' yields the multiplicative identity, 1. The multiplicative inverse of a fraction ''a''/''b ...
is defined either as a
unary operation
In mathematics, an unary operation is an operation with only one operand, i.e. a single input. This is in contrast to binary operations, which use two operands. An example is any function , where is a set. The function is 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,
semigroup
In mathematics, a semigroup is an algebraic structure consisting of a Set (mathematics), set together with an associative internal binary operation on it.
The binary operation of a semigroup is most often denoted multiplication, multiplicatively ...
s,
monoid
In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being 0.
Monoids ...
s,
groups,
rings,
fields,
vector space
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but ...
s and
modules.
A
split monomorphism
In category theory, a branch of mathematics, a section is a right inverse of some morphism. Dually, a retraction is a left inverse of some morphism.
In other words, if f: X\to Y and g: Y\to X are morphisms whose composition f \circ g: Y\to Y is t ...
is a homomorphism that has a
left inverse and thus it is itself a right inverse of that other homomorphism. That is, a homomorphism
is a split monomorphism if there exists a homomorphism
such that
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
one has
for every
in
, the common source of
and
. If
is injective, then
, and thus
. This proof works not only for algebraic structures, but also for any
category
Category, plural categories, may refer to:
Philosophy and general uses
*Categorization, categories in cognitive science, information science and generally
* Category of being
* ''Categories'' (Aristotle)
* Category (Kant)
* Categories (Peirce) ...
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 space
In mathematics, a topological space is, roughly speaking, a geometrical space in which closeness is defined but cannot necessarily be measured by a numeric distance. More specifically, a topological space is a set whose elements are called po ...
s.
For proving that, conversely, a left cancelable homomorphism is injective, it is useful to consider a ''
free object on
''. Given a
variety of algebraic structures a free object on
is a pair consisting of an algebraic structure
of this variety and an element
of
satisfying the following
universal property: for every structure
of the variety, and every element
of
, there is a unique homomorphism
such that
. For example, for sets, the free object on
is simply
; for
semigroup
In mathematics, a semigroup is an algebraic structure consisting of a Set (mathematics), set together with an associative internal binary operation on it.
The binary operation of a semigroup is most often denoted multiplication, multiplicatively ...
s, the free object on
is
which, as, a semigroup, is isomorphic to the additive semigroup of the positive integers; for
monoid
In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being 0.
Monoids ...
s, the free object on
is
which, as, a monoid, is isomorphic to the additive monoid of the nonnegative integers; for
groups, the free object on
is the
infinite cyclic group which, as, a group, is isomorphic to the additive group of the integers; for
rings, the free object on
is the
polynomial ring for
vector space
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but ...
s or
modules, the free object on
is the vector space or free module that has
as a basis.
''If a free object over
exists, then every left cancelable homomorphism is injective'': let
be a left cancelable homomorphism, and
and
be two elements of
such
. By definition of the free object
, there exist homomorphisms
and
from
to
such that
and
. As
, one has
by the uniqueness in the definition of a universal property. As
is left cancelable, one has
, and thus
. Therefore,
is injective.
''Existence of a free object on
for a
variety'' (see also ): For building a free object over
, consider the set
of the
well-formed formulas built up from
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
In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation.
Each equivalence relatio ...
, 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 class
In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements ...
es of
for this relation. It is straightforward to show that the resulting object is a free object on
.
Epimorphism
In
algebra
Algebra () is one of the areas of mathematics, broad areas of mathematics. Roughly speaking, algebra is the study of mathematical symbols and the rules for manipulating these symbols in formulas; it is a unifying thread of almost all of mathem ...
, epimorphisms are often defined as
surjective homomorphisms.
On the other hand, in
category theory,
epimorphisms are defined as right cancelable
morphisms.
[ This means that a (homo)morphism is an epimorphism if, for any pair , of morphisms from to any other object , the equality implies .
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 space
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but ...
s, abelian group
In mathematics, an abelian group, also called a commutative group, is a group in which the result of applying the group operation to two group elements does not depend on the order in which they are written. That is, the group operation is com ...
s, modules (see below for a proof), and groups. The importance of these structures in all mathematics, and specially in linear algebra
Linear algebra is the branch of mathematics concerning linear equations such as:
:a_1x_1+\cdots +a_nx_n=b,
linear maps such as:
:(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n,
and their representations in vector spaces and through matric ...
and homological algebra, may explain the coexistence of two non-equivalent definitions.
Algebraic structures for which there exist non-surjective epimorphisms include semigroup
In mathematics, a semigroup is an algebraic structure consisting of a Set (mathematics), set together with an associative internal binary operation on it.
The binary operation of a semigroup is most often denoted multiplication, multiplicatively ...
s and rings. The most basic example is the inclusion of integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
s into rational number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ra ...
s, which is a 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
Commutative algebra, first known as ideal theory, is the branch of algebra that studies commutative rings, their ideals, and modules over such rings. Both algebraic geometry and algebraic number theory build on commutative algebra. Promi ...
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 is a split epimorphism if there exists a homomorphism such that 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
:
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 be a homomorphism. We want to prove that if it is not surjective, it is not right cancelable.
In the case of sets, let be an element of that not belongs to , and define such that is the identity function
Graph of the identity function on the real numbers
In mathematics, an identity function, also called an identity relation, identity map or identity transformation, is a function that always returns the value that was used as its argument, unc ...
, and that for every except that is any other element of . Clearly is not right cancelable, as and
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 be the cokernel of , and be the canonical map, such that . Let be the zero map. If is not surjective, , and thus (one is a zero map, while the other is not). Thus is not cancelable, as (both are the zero map from to ).
Kernel
Any homomorphism defines an equivalence relation
In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation.
Each equivalence relatio ...
on by if and only if . The relation is called the kernel of . It is a congruence relation on . The quotient set can then be given a structure of the same type as , in a natural way, by defining the operations of the quotient set by