Lably
Skip to content

Inverse element

Generalization of additive and multiplicative inverses

  • 16 min read
  • 7 chapters
  • 3 labs on Lably

Learn it on Lably

Given an operation denoted here ∗, and an identity element denoted e, if x ∗ y = e, one says that x is a left inverse of y, and that y is a right inverse of x. (An identity element is an element such that x ∗ e = x and e ∗ y = y for all x and y for which the left-hand sides are defined.)

When the operation ∗ is associative, if an element x 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, multiplicative inverse, and functional inverse. In this case (associative operation), an invertible element is an element that has an inverse. In a ring, an invertible element, also called a unit, is an element that is invertible under multiplication (this is not ambiguous, as every element is invertible under addition).

Inverses are commonly used in groups—where every element is invertible, and rings—where 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, where, by definition, an isomorphism is an invertible morphism.

The word 'inverse' is derived from Latin: 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 xy is yx).

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 also commonly used with partial operations, that is operations that are not defined everywhere. Common examples are matrix multiplication, function composition and composition of morphisms 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, X is a set (possibly a proper class) on which a partial operation (possibly total) is defined, which is denoted with ∗.

Associativity

A partial operation is associative if x∗(y∗z)=(x∗y)∗z for every x, y, z in X 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.

Identity elements

Let ∗ be a possibly partial associative operation on a set X.

An identity element, or simply an identity is an element e such that x∗e=xande∗y=y for every x and y for which the left-hand sides of the equalities are defined.

If e and f are two identity elements such that e∗f is defined, then e=f. (This results immediately from the definition, by e=e∗f=f.)

It follows that a total operation has at most one identity element, and if e and f are different identities, then e∗f is not defined.

For example, in the case of matrix multiplication, there is one n×n identity matrix for every positive integer n, and two identity matrices of different size cannot be multiplied together.

Similarly, identity functions are identity elements for function composition, and the composition of the identity functions of two different sets are not defined.

Left and right inverses

If x∗y=e, where e is an identity element, one says that x is a left inverse of y, and y is a right inverse of x.

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 integers, which has 0 as additive identity, and 0 is the only element that has an additive inverse. 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 x↦2x has infinitely many left inverses under function composition, which are the functions that divide by two the even numbers, and give any value to odd numbers. Similarly, every function that maps n to either 2n or 2n+1 is a right inverse of the function n↦⌊n2⌋, the floor function that maps n to n2 or n−12, depending whether n is even or odd.

More generally, a function has a left inverse for function composition if and only if it is injective, and it has a right inverse if and only if it is surjective.

In category theory, 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 l and r are respectively a left inverse and a right inverse of x, then l=l∗(x∗r)=(l∗x)∗r=r.

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, of an element x is denoted −x. Otherwise, the inverse of x is generally denoted x−1, or, in the case of a commutative multiplication 1x. When there may be a confusion between several operations, the symbol of the operation may be added before the exponent, such as in x∗−1. The notation f∘−1 is not commonly used for function composition, since 1f can be used for the multiplicative inverse.

If x and y are invertible, and x∗y is defined, then x∗y is invertible, and its inverse is y−1x−1.

An invertible homomorphism is called an isomorphism. In category theory, an invertible morphism is also called an isomorphism.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Algebra