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 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
For a function
, its inverse
admits an explicit description: it sends each element
to the unique element
such that .
As an example, consider the
real-valued function of a real variable given by . One can think of as the function which multiplies its input by 5 then subtracts 7 from the result. To undo this, one adds 7 to the input, then divides the result by 5. Therefore, the inverse of is the function
defined by
Definitions
Let be a function whose
domain is the
set , and whose
codomain is the set . Then is ''invertible'' if there exists a function from to such that
for all
and
for all
.
If is invertible, then there is exactly one function satisfying this property. The function is called the inverse of , and is usually denoted as , a notation introduced by
John Frederick William Herschel in 1813.
The function is invertible if and only if it is bijective. This is because the condition
for all
implies that 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 the condition
for all
implies that 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 ...
.
The inverse function to can be explicitly described as the function
:
.
Inverses and composition
Recall that if is an invertible function with domain and codomain , then
:
, for every
and
for every
.
Using the
composition of functions, this statement can be rewritten to the following equations between functions:
:
and
where is the
identity function on the set ; that is, the function that leaves its argument unchanged. 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 ...
, this statement is used as the definition of an inverse
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 ...
.
Considering function composition helps to understand the notation . Repeatedly composing a function with itself is called
iteration. If is applied times, starting with the value , then this is written as ; so , etc. Since , composing and yields , "undoing" the effect of one application of .
Notation
While the notation might be misunderstood,
certainly denotes the
multiplicative inverse of and has nothing to do with the inverse function of .
The notation
might be used for the inverse function to avoid ambiguity with the
multiplicative inverse.
In keeping with the general notation, some English authors use expressions like to denote the inverse of the sine function applied to (actually a
partial inverse; see below).
Other authors feel that this may be confused with the notation for the multiplicative inverse of , which can be denoted as .
To avoid any confusion, an
inverse trigonometric function is often indicated by the prefix "
arc
ARC may refer to:
Business
* Aircraft Radio Corporation, a major avionics manufacturer from the 1920s to the '50s
* Airlines Reporting Corporation, an airline-owned company that provides ticket distribution, reporting, and settlement services
* ...
" (for Latin ).
For instance, the inverse of the sine function is typically called the
arcsine function, written as .
Similarly, the inverse of a
hyperbolic function is indicated by the prefix "
ar" (for Latin ).
For instance, the inverse of the
hyperbolic sine function is typically written as .
Note that the expressions like can still be useful to distinguish the
multivalued inverse from the partial inverse:
. Other inverse special functions are sometimes prefixed with the prefix "inv", if the ambiguity of the notation should be avoided.
Examples
Squaring and square root functions
The function given by is not injective because
for all
. Therefore, is not invertible.
If the domain of the function is restricted to the nonnegative reals, that is, we take the function
with the same ''rule'' as before, then the function is bijective and so, invertible. The inverse function here is called the ''(positive) square root function'' and is denoted by
.
Standard inverse functions
The following table shows several standard functions and their inverses:
Formula for the inverse
Many functions given by algebraic formulas possess a formula for their inverse. This is because the inverse
of an invertible function
has an explicit description as
:
.
This allows one to easily determine inverses of many functions that are given by algebraic formulas. For example, if is the function
:
then to determine
for a real number , one must find the unique real number such that . This equation can be solved:
:
Thus the inverse function is given by the formula
:
Sometimes, the inverse of a function cannot be expressed by a
closed-form formula. For example, if is the function
:
then is a bijection, and therefore possesses an inverse function . The
formula for this inverse has an expression as an infinite sum:
:
Properties
Since a function is a special type of
binary relation
In mathematics, a binary relation associates elements of one set, called the ''domain'', with elements of another set, called the ''codomain''. A binary relation over Set (mathematics), sets and is a new set of ordered pairs consisting of ele ...
, many of the properties of an inverse function correspond to properties of
converse relations.
Uniqueness
If an inverse function exists for a given function , then it is unique.
This follows since the inverse function must be the converse relation, which is completely determined by .
Symmetry
There is a symmetry between a function and its inverse. Specifically, if is an invertible function with domain and codomain , then its inverse has domain and image , and the inverse of is the original function . In symbols, for functions and ,
:
and
This statement is a consequence of the implication that for to be invertible it must be bijective. The
involutory nature of the inverse can be concisely expressed by
:
The inverse of a composition of functions is given by
:
Notice that the order of and have been reversed; to undo followed by , we must first undo , and then undo .
For example, let and let . Then the composition is the function that first multiplies by three and then adds five,
:
To reverse this process, we must first subtract five, and then divide by three,
:
This is the composition
.
Self-inverses
If is a set, then the
identity function on is its own inverse:
:
More generally, a function is equal to its own inverse, if and only if the composition is equal to . Such a function is called an
involution.
Graph of the inverse
If is invertible, then the graph of the function
:
is the same as the graph of the equation
:
This is identical to the equation that defines the graph of , except that the roles of and have been reversed. Thus the graph of can be obtained from the graph of by switching the positions of the and axes. This is equivalent to
reflecting the graph across the line
.
Inverses and derivatives
The
inverse function theorem states that a
continuous function
In mathematics, a continuous function is a function such that a continuous variation (that is a change without jump) of the argument induces a continuous variation of the value of the function. This means that there are no abrupt changes in value ...
is invertible on its range (image) if and only if it is either strictly
increasing or decreasing (with no local
maxima or minima). For example, the function
:
is invertible, since the
derivative
is always positive.
If the function is
differentiable on an interval and for each , then the inverse is differentiable on . If , the derivative of the inverse is given by the inverse function theorem,
:
Using
Leibniz's notation the formula above can be written as
:
This result follows from the
chain rule (see the article on
inverse functions and differentiation).
The inverse function theorem can be generalized to functions of several variables. Specifically, a differentiable
multivariable function
In mathematical analysis and its applications, a function of several real variables or real multivariate function is a function with more than one argument, with all arguments being real variables. This concept extends the idea of a function ...
is invertible in a neighborhood of a point as long as the
Jacobian matrix
In vector calculus, the Jacobian matrix (, ) of a vector-valued function of several variables is the matrix of all its first-order partial derivatives. When this matrix is square, that is, when the function takes the same number of variables as ...
of at is
invertible. In this case, the Jacobian of at is the
matrix inverse of the Jacobian of at .
Real-world examples
* Let be the function that converts a temperature in degrees
Celsius
The degree Celsius is the unit of temperature on the Celsius scale (originally known as the centigrade scale outside Sweden), one of two temperature scales used in the International System of Units (SI), the other being the Kelvin scale. The ...
to a temperature in degrees
Fahrenheit,
then its inverse function converts degrees Fahrenheit to degrees Celsius,
since
* Suppose assigns each child in a family its birth year. An inverse function would output which child was born in a given year. However, if the family has children born in the same year (for instance, twins or triplets, etc.) then the output cannot be known when the input is the common birth year. As well, if a year is given in which no child was born then a child cannot be named. But if each child was born in a separate year, and if we restrict attention to the three years in which a child was born, then we do have an inverse function. For example,
* Let be the function that leads to an percentage rise of some quantity, and be the function producing an percentage fall. Applied to $100 with = 10%, we find that applying the first function followed by the second does not restore the original value of $100, demonstrating the fact that, despite appearances, these two functions are not inverses of each other.
* The formula to calculate the pH of a solution is . In many cases we need to find the concentration of acid from a pH measurement. The inverse function is used.
Generalizations
Partial inverses
Even if a function is not one-to-one, it may be possible to define a partial inverse of by
restricting the domain. For example, the function
:
is not one-to-one, since . However, the function becomes one-to-one if we restrict to the domain , in which case
:
(If we instead restrict to the domain , then the inverse is the negative of the square root of .) Alternatively, there is no need to restrict the domain if we are content with the inverse being a
multivalued function:
:
Sometimes, this multivalued inverse is called the full inverse of , and the portions (such as and −) are called ''branches''. The most important branch of a multivalued function (e.g. the positive square root) is called the ''
principal branch'', and its value at is called the ''principal value'' of .
For a continuous function on the real line, one branch is required between each pair of
local extrema. For example, the inverse of a
cubic function with a local maximum and a local minimum has three branches (see the adjacent picture).
These considerations are particularly important for defining the inverses of
trigonometric functions. For example, the
sine function
In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side that is opp ...
is not one-to-one, since
:
for every real (and more generally for every
integer ). However, the sine is one-to-one on the interval
, and the corresponding partial inverse is called the
arcsine. This is considered the principal branch of the inverse sine, so the principal value of the inverse sine is always between − and . The following table describes the principal branch of each inverse trigonometric function:
Left and right inverses
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 ...
on the left and on the right need not coincide. In general, the conditions
# "There exists such that " and
# "There exists such that "
imply different properties of . For example, let denote the squaring map, such that for all in , and let denote the square root map, such that for all . Then for all in ; that is, is a right inverse to . However, is not a left inverse to , since, e.g., .
Left inverses
If , a left inverse for (or ''
retraction
Retraction or retract(ed) may refer to:
Academia
* Retraction in academic publishing, withdrawals of previously published academic journal articles
Mathematics
* Retraction (category theory)
* Retract (group theory)
* Retraction (topology)
Huma ...
'' of ) is a function such that composing with from the left gives the identity function
That is, the function satisfies the rule
: If , then .
The function must equal the inverse of on the image of , but may take any values for elements of not in the image.
A function with nonempty domain is injective if and only if it has a left inverse. An elementary proof runs as follows:
* If is the left inverse of , and , then .
*
If nonempty is injective, construct a left inverse as follows: for all , if is in the image of , then there exists such that . Let ; this definition is unique because is injective. Otherwise, let be an arbitrary element of .
For all , is in the image of . By construction, , the condition for a left inverse.
In classical mathematics, every injective function with a nonempty domain necessarily has a left inverse; however, this may fail in
constructive mathematics. For instance, a left inverse of the
inclusion of the two-element set in the reals violates
indecomposability by giving a
retraction
Retraction or retract(ed) may refer to:
Academia
* Retraction in academic publishing, withdrawals of previously published academic journal articles
Mathematics
* Retraction (category theory)
* Retract (group theory)
* Retraction (topology)
Huma ...
of the real line to the set .
Right inverses
A right inverse for (or ''
section'' of ) is a function such that
:
That is, the function satisfies the rule
: If
, then
Thus, may be any of the elements of that map to under .
A function has a right inverse if and only if it is surjective (though constructing such an inverse in general requires the
axiom of choice).
: If is the right inverse of , then is surjective. For all
, there is
such that
.
: If is surjective, has a right inverse , which can be constructed as follows: for all
, there is at least one
such that
(because is surjective), so we choose one to be the value of .
Two-sided inverses
An inverse that is both a left and right inverse (a two-sided inverse), if it exists, must be unique. In fact, if a function has a left inverse and a right inverse, they are both the same two-sided inverse, so it can be called the inverse.
: If
is a left inverse and
a right inverse of
, for all
,
.
A function has a two-sided inverse if and only if it is bijective.
: A bijective function is injective, so it has a left inverse (if is the empty function,
is its own left inverse). is surjective, so it has a right inverse. By the above, the left and right inverse are the same.
: If has a two-sided inverse , then is a left inverse and right inverse of , so is injective and surjective.
Preimages
If is any function (not necessarily invertible), the preimage (or inverse image) of an element is defined to be the set of all elements of that map to :
:
The preimage of can be thought of as the
image
An image is a visual representation of something. It can be two-dimensional, three-dimensional, or somehow otherwise feed into the visual system to convey information. An image can be an artifact, such as a photograph or other two-dimensiona ...
of under the (multivalued) full inverse of the function .
Similarly, if is any
subset
In mathematics, Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they are ...
of , the preimage of , denoted
, is the set of all elements of that map to :
:
For example, take the function . This function is not invertible as it is not bijective, but preimages may be defined for subsets of the codomain, e.g.
:
.
The preimage of a single element – a
singleton set – is sometimes called the ''
fiber'' of . When is the set of real numbers, it is common to refer to as a ''
level set''.
See also
*
Lagrange inversion theorem, gives the Taylor series expansion of the inverse function of an analytic function
*
Integral of inverse functions
*
Inverse Fourier transform
*
Reversible computing
Notes
References
Bibliography
*
*
*
*
*
*
*
Further reading
*
*
*
*
External links
* {{springer, title=Inverse function, id=p/i052360
Basic concepts in set theory
Unary operations