In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the concept of an inverse element generalises the concepts of
opposite () and
reciprocal () of numbers.
Given an
operation denoted here , and an
identity element denoted , if , one says that is a left inverse of , and that is a right inverse of . (An identity element is an element such that and for all and for which the left-hand sides are defined.)
When the operation is
associative
In mathematics, the associative property is a property of some binary operations, which means that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a valid rule of replacement f ...
, if an element has both a left inverse and a right inverse, then these two inverses are equal and unique; they are called the ''inverse element'' or simply the ''inverse''. Often an adjective is added for specifying the operation, such as in
additive inverse
In mathematics, the additive inverse of a number is the number that, when added to , yields zero. This number is also known as the opposite (number), sign change, and negation. For a real number, it reverses its sign: the additive inverse (opp ...
,
multiplicative inverse, and
functional inverse. In this case (associative operation), an invertible element is an element that has an inverse.
Inverses are commonly used in
groupswhere every element is invertible, and
ringswhere invertible elements are also called
units. They are also commonly used for operations that are not defined for all possible operands, such as
inverse matrices and
inverse functions. This has been generalized to
category theory
Category theory is a general theory of mathematical structures and their relations that was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Nowadays, cate ...
, where, by definition, an
isomorphism is an invertible
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 a ...
.
The word 'inverse' is derived from la,
inversus that means 'turned upside down', 'overturned'. This may take its origin from the case of
fractions, where the (multiplicative) inverse is obtained by exchanging the numerator and the denominator (the inverse of
is
).
Definitions and basic properties
The concepts of ''inverse element'' and ''invertible element'' are commonly defined for
binary operations that are everywhere defined (that is, the operation is defined for any two elements of its
domain). However, these concepts are commonly used with
partial 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 ope ...
s, that is operations that are not defined everywhere. Common examples are
matrix multiplication,
function composition
In mathematics, function composition is an operation that takes two functions and , and produces a function such that . In this operation, the function is applied to the result of applying the function to . That is, the functions and ...
and composition of
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 a ...
s in a
category. It follows that the common definitions of
associativity and
identity element must be extended to partial operations; this is the object of the first subsections.
In this section, is a
set (possibly a
proper class
Proper may refer to:
Mathematics
* Proper map, in topology, a property of continuous function between topological spaces, if inverse images of compact subsets are compact
* Proper morphism, in algebraic geometry, an analogue of a proper map for ...
) on which a partial operation (possibly total) is defined, which is denoted with
Associativity
A partial operation is
associative
In mathematics, the associative property is a property of some binary operations, which means that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a valid rule of replacement f ...
if
:
for every in for which one of the members of the equality is defined; the equality means that the other member of the equality must also be defined.
Examples of non-total associative operations are
multiplication of matrices of arbitrary size, and
function composition
In mathematics, function composition is an operation that takes two functions and , and produces a function such that . In this operation, the function is applied to the result of applying the function to . That is, the functions and ...
.
Identity elements
Let
be a possibly
partial associative operation on a set .
An ''
identity element'', or simply an ''identity'' is an element such that
:
for every and for which the left-hand sides of the equalities are defined.
If and are two identity elements such that
is defined, then
(This results immediately from the definition, by
)
It follows that a total operation has at most one identity element, and if and are different identities, then
is not defined.
For example, in the case of
matrix multiplication, there is one
identity matrix
In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere.
Terminology and notation
The identity matrix is often denoted by I_n, or simply by I if the size is immaterial o ...
for every positive integer , and two identity matrices of different size cannot be multiplied together.
Similarly,
identity functions are identity elements for
function composition
In mathematics, function composition is an operation that takes two functions and , and produces a function such that . In this operation, the function is applied to the result of applying the function to . That is, the functions and ...
, and the composition of the identity functions of two different sets are not defined.
Left and right inverses
If
where is an identity element, one says that is a ''left inverse'' of , and is a ''right inverse'' of .
Left and right inverses do not always exist, even when the operation is total and associative. For example, addition is a total associative operation on
nonnegative integer
In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country").
Numbers used for counting are called ''cardinal n ...
s, which has as
additive identity, and is the only element that has an
additive inverse
In mathematics, the additive inverse of a number is the number that, when added to , yields zero. This number is also known as the opposite (number), sign change, and negation. For a real number, it reverses its sign: the additive inverse (opp ...
. This lack of inverses is the main motivation for extending the
natural numbers into the integers.
An element can have several left inverses and several right inverses, even when the operation is total and associative. For example, consider the
functions from the integers to the integers. The ''doubling function''
has infinitely many left inverses under
function composition
In mathematics, function composition is an operation that takes two functions and , and produces a function such that . In this operation, the function is applied to the result of applying the function to . That is, the functions and ...
, which are the functions that divide by two the even numbers, and give any value to odd numbers. Similarly, every function that maps to either
or
is a right inverse of the function
the
floor function that maps to
or
depending whether is even or odd.
More generally, a function has a left inverse for
function composition
In mathematics, function composition is an operation that takes two functions and , and produces a function such that . In this operation, the function is applied to the result of applying the function to . That is, the functions and ...
if and only if it is
injective
In mathematics, an injective function (also known as injection, or one-to-one function) is a function that maps distinct elements of its domain to distinct elements; that is, implies . (Equivalently, implies in the equivalent contrapositiv ...
, and it has a right inverse if and only if it is
surjective
In mathematics, a surjective function (also known as surjection, or onto function) is a function that every element can be mapped from element so that . In other words, every element of the function's codomain is the image of one element of i ...
.
In
category theory
Category theory is a general theory of mathematical structures and their relations that was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Nowadays, cate ...
, right inverses are also called
sections, and left inverses are called
retractions.
Inverses
An element is ''invertible'' under an operation if it has a left inverse and a right inverse.
In the common case where the operation is associative, the left and right inverse of an element are equal and unique. Indeed, if and are respectively a left inverse and a right inverse of , then
:
''The inverse'' of an invertible element is its unique left or right inverse.
If the operation is denoted as an addition, the inverse, or
additive inverse
In mathematics, the additive inverse of a number is the number that, when added to , yields zero. This number is also known as the opposite (number), sign change, and negation. For a real number, it reverses its sign: the additive inverse (opp ...
, of an element is denoted
Otherwise, the inverse of is generally denoted
or, in the case of a
commutative multiplication
When there may be a confusion between several operations, the symbol of the operation may be added before the exponent, such as in
The notation
is not commonly used for
function composition
In mathematics, function composition is an operation that takes two functions and , and produces a function such that . In this operation, the function is applied to the result of applying the function to . That is, the functions and ...
, since
can be used for the
multiplicative inverse.
If and are invertible, and
is defined, then
is invertible, and its inverse is
An invertible
homomorphism is called an
isomorphism. In
category theory
Category theory is a general theory of mathematical structures and their relations that was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Nowadays, cate ...
, an invertible
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 a ...
is also called an
isomorphism.
In groups
A