HOME

TheInfoList



OR:

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 Function or functionality may refer to: Computing * Function key, a type of key on computer keyboards * Function model, a structured representation of processes in a system * Function object or functor or functionoid, a concept of object-oriente ...
(also called the inverse of ) is a
function Function or functionality may refer to: Computing * Function key, a type of key on computer keyboards * Function model, a structured representation of processes in a system * Function object or functor or functionoid, a concept of object-oriente ...
that undoes the operation of . The inverse of exists if and only if is
bijective In mathematics, a bijection, also known as a bijective function, one-to-one correspondence, or invertible function, is a function between the elements of two sets, where each element of one set is paired with exactly one element of the other ...
, and if it exists, is denoted by f^ . For a function f\colon X\to Y, its inverse f^\colon Y\to X admits an explicit description: it sends each element y\in Y to the unique element x\in X such that . As an example, consider the
real-valued In mathematics, value may refer to several, strongly related notions. In general, a mathematical value may be any definite mathematical object. In elementary mathematics, this is most often a number – for example, a real number such as or an i ...
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 f^\colon \R\to\R defined by f^(y) = \frac .


Definitions

Let be a function whose
domain Domain may refer to: Mathematics *Domain of a function, the set of input values for which the (total) function is defined **Domain of definition of a partial function **Natural domain of a partial function **Domain of holomorphy of a function * Do ...
is the
set Set, The Set, SET or SETS may refer to: Science, technology, and mathematics Mathematics *Set (mathematics), a collection of elements *Category of sets, the category whose objects and morphisms are sets and total functions, respectively Electro ...
, and whose
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 th ...
is the set . Then is ''invertible'' if there exists a function from to such that g(f(x))=x for all x\in X and f(g(y))=y for all y\in Y. 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 Sir John Frederick William Herschel, 1st Baronet (; 7 March 1792 – 11 May 1871) was an English polymath active as a mathematician, astronomer, chemist, inventor, experimental photographer who invented the blueprint and did botanical wo ...
in 1813. The function is invertible if and only if it is bijective. This is because the condition g(f(x))=x for all x\in X 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 f(g(y))=y for all y\in Y implies that is surjective. The inverse function to can be explicitly described as the function :f^(y)=(\textx\in X\textf(x)=y).


Inverses and composition

Recall that if is an invertible function with domain and codomain , then : f^\left(f(x)\right) = x, for every x \in X and f\left(f^(y)\right) = y for every y \in Y . Using the
composition of functions 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 ...
, this statement can be rewritten to the following equations between functions: : f^ \circ f = \operatorname_X and f \circ f^ = \operatorname_Y, where 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, un ...
on the set ; that is, the function that leaves its argument unchanged. In category theory, this statement is used as the definition of an inverse morphism. Considering function composition helps to understand the notation . Repeatedly composing a function with itself is called
iteration Iteration is the repetition of a process in order to generate a (possibly unbounded) sequence of outcomes. Each repetition of the process is a single iteration, and the outcome of each iteration is then the starting point of the next 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 In mathematics, a multiplicative inverse or reciprocal for a number ''x'', denoted by 1/''x'' or ''x''−1, is a number which when Multiplication, multiplied by ''x'' yields the multiplicative identity, 1. The multiplicative inverse of a rat ...
of and has nothing to do with the inverse function of . The notation f^ might be used for the inverse function to avoid ambiguity with 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 Multiplication, multiplied by ''x'' yields the multiplicative identity, 1. The multiplicative inverse of a rat ...
. 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 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 X\ ...
; 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 In mathematics, the inverse trigonometric functions (occasionally also called arcus functions, antitrigonometric functions or cyclometric functions) are the inverse functions of the trigonometric functions (with suitably restricted domains). Spec ...
is often indicated by the prefix " arc" (for Latin ). For instance, the inverse of the sine function is typically called the
arcsine In mathematics, the inverse trigonometric functions (occasionally also called arcus functions, antitrigonometric functions or cyclometric functions) are the inverse functions of the trigonometric functions (with suitably restricted domains). Spec ...
function, written as . Similarly, the inverse of a
hyperbolic function In mathematics, hyperbolic functions are analogues of the ordinary trigonometric functions, but defined using the hyperbola rather than the circle. Just as the points form a circle with a unit radius, the points form the right half of the u ...
is indicated by the prefix " ar" (for Latin ). For instance, the inverse of the
hyperbolic sine In mathematics, hyperbolic functions are analogues of the ordinary trigonometric functions, but defined using the hyperbola rather than the circle. Just as the points form a circle with a unit radius, the points form the right half of the un ...
function is typically written as . Note that the expressions like can still be useful to distinguish the multivalued inverse from the partial inverse: \sin^(x) = \. 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 (-x)^2=x^2 for all x\in\R. Therefore, is not invertible. If the domain of the function is restricted to the nonnegative reals, that is, we take the function f\colon [0,\infty)\to [0,\infty);\ x\mapsto x^2 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 x\mapsto\sqrt x.


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 f^ of an invertible function f\colon\R\to\R has an explicit description as : f^(y)=(\textx\in \R\textf(x)=y). This allows one to easily determine inverses of many functions that are given by algebraic formulas. For example, if is the function : f(x) = (2x + 8)^3 then to determine f^(y) for a real number , one must find the unique real number such that . This equation can be solved: : \begin y & = (2x+8)^3 \\ \sqrt & = 2x + 8 \\ \sqrt - 8 & = 2x \\ \dfrac & = x . \end Thus the inverse function is given by the formula : f^(y) = \frac 2. Sometimes, the inverse of a function cannot be expressed by a
closed-form formula In mathematics, a closed-form expression is a mathematical expression that uses a finite number of standard operations. It may contain constants, variables, certain well-known operations (e.g., + − × ÷), and functions (e.g., ''n''th root ...
. For example, if is the function : f(x) = x - \sin x , then is a bijection, and therefore possesses an inverse function . The formula for this inverse has an expression as an infinite sum: : f^(y) = \sum_^\infty \frac \lim_ \left( \frac \left( \frac \theta \right)^n \right).


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 relation In mathematics, the converse relation, or transpose, of a binary relation is the relation that occurs when the order of the elements is switched in the relation. For example, the converse of the relation 'child of' is the relation 'parent&n ...
s.


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 , :f^\circ f = \operatorname_X and f \circ f^ = \operatorname_Y. 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 :\left(f^\right)^ = f. The inverse of a composition of functions is given by :(g \circ f)^ = f^ \circ g^. 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, : (g \circ f)(x) = 3x + 5. To reverse this process, we must first subtract five, and then divide by three, : (g \circ f)^(x) = \tfrac13(x - 5). This is the composition .


Self-inverses

If is a set, then 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, un ...
on is its own inverse: : ^ = \operatorname_X. 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 Involution may refer to: * Involute, a construction in the differential geometry of curves * '' Agricultural Involution: The Processes of Ecological Change in Indonesia'', a 1963 study of intensification of production through increased labour inpu ...
.


Graph of the inverse

If is invertible, then the graph of the function : y = f^(x) is the same as the graph of the equation : x = f(y) . 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 In mathematics, specifically differential calculus, the inverse function theorem gives a sufficient condition for a function to be invertible in a neighborhood of a point in its domain: namely, that its ''derivative is continuous and non-zero at ...
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 : f(x) = x^3 + x is invertible, since the
derivative In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. F ...
is always positive. If the function is
differentiable In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non-vertical tangent line at each interior point in its ...
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, : \left(f^\right)^\prime (y) = \frac. Using
Leibniz's notation In calculus, Leibniz's notation, named in honor of the 17th-century German philosopher and mathematician Gottfried Wilhelm Leibniz, uses the symbols and to represent infinitely small (or infinitesimal) increments of and , respectively, just a ...
the formula above can be written as : \frac = \frac. This result follows from the
chain rule In calculus, the chain rule is a formula that expresses the derivative of the composition of two differentiable functions and in terms of the derivatives of and . More precisely, if h=f\circ g is the function such that h(x)=f(g(x)) for every , ...
(see the article on
inverse functions and differentiation In calculus, the inverse function rule is a formula that expresses the derivative of the inverse of a bijective and differentiable function in terms of the derivative of . More precisely, if the inverse of f is denoted as f^, where f^(y) = x ...
). The inverse function theorem can be generalized to functions of several variables. Specifically, a differentiable multivariable function is invertible in a neighborhood of a point as long as the Jacobian matrix of at is
invertible In 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 ...
. In this case, the Jacobian of at is the
matrix inverse In linear algebra, an -by- square matrix is called invertible (also nonsingular or nondegenerate), if there exists an -by- square matrix such that :\mathbf = \mathbf = \mathbf_n \ where denotes the -by- identity matrix and the multiplica ...
of the Jacobian of at .


Real-world examples

* Let be the function that converts a temperature in degrees Celsius to a temperature in degrees
Fahrenheit The Fahrenheit scale () is a temperature scale based on one proposed in 1724 by the physicist Daniel Gabriel Fahrenheit (1686–1736). It uses the degree Fahrenheit (symbol: °F) as the unit. Several accounts of how he originally defined hi ...
, F = f(C) = \tfrac95 C + 32 ; then its inverse function converts degrees Fahrenheit to degrees Celsius, C = f^(F) = \tfrac59 (F - 32) , since \begin f^ (f(C)) = & f^\left( \tfrac95 C + 32 \right) = \tfrac59 \left( (\tfrac95 C + 32 ) - 32 \right) = C, \\ & \text C, \text \\ ptf\left(f^(F)\right) = & f\left(\tfrac59 (F - 32)\right) = \tfrac95 \left(\tfrac59 (F - 32)\right) + 32 = F, \\ & \text F. \end * 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, \begin f(\text)&=2005 , \quad & f(\text)&=2007 , \quad & f(\text)&=2001 \\ f^(2005)&=\text , \quad & f^(2007)&=\text , \quad & f^(2001)&=\text \end * 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 : f(x) = x^2 is not one-to-one, since . However, the function becomes one-to-one if we restrict to the domain , in which case : f^(y) = \sqrt . (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 In mathematics, a multivalued function, also called multifunction, many-valued function, set-valued function, is similar to a function, but may associate several values to each input. More precisely, a multivalued function from a domain to a ...
: : f^(y) = \pm\sqrt . 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 In mathematics, a principal branch is a function which selects one branch ("slice") of a multi-valued function. Most often, this applies to functions defined on the complex plane. Examples Trigonometric inverses Principal branches are use ...
'', 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 In mathematical analysis, the maxima and minima (the respective plurals of maximum and minimum) of a function, known collectively as extrema (the plural of extremum), are the largest and smallest value of the function, either within a given ra ...
. For example, the inverse of a
cubic function In mathematics, a cubic function is a function of the form f(x)=ax^3+bx^2+cx+d where the coefficients , , , and are complex numbers, and the variable takes real values, and a\neq 0. In other words, it is both a polynomial function of degree ...
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 In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions) are real functions which relate an angle of a right-angled triangle to ratios of two side lengths. They are widely used in al ...
. For example, the sine function is not one-to-one, since : \sin(x + 2\pi) = \sin(x) for every real (and more generally for every
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 ...
). However, the sine is one-to-one on the interval , and the corresponding partial inverse is called the
arcsine In mathematics, the inverse trigonometric functions (occasionally also called arcus functions, antitrigonometric functions or cyclometric functions) are the inverse functions of the trigonometric functions (with suitably restricted domains). Spec ...
. 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 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'' of ) is a function such that composing with from the left gives the identity function g \circ f = \operatorname_X\text 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 In the philosophy of mathematics, constructivism asserts that it is necessary to find (or "construct") a specific example of a mathematical object in order to prove that an example exists. Contrastingly, in classical mathematics, one can prove th ...
. For instance, a left inverse of the
inclusion Inclusion or Include may refer to: Sociology * Social inclusion, aims to create an environment that supports equal opportunity for individuals and groups that form a society. ** Inclusion (disability rights), promotion of people with disabiliti ...
of the two-element set in the reals violates indecomposability by giving a retraction of the real line to the set .


Right inverses

A right inverse for (or ''
section Section, Sectioning or Sectioned may refer to: Arts, entertainment and media * Section (music), a complete, but not independent, musical idea * Section (typography), a subdivision, especially of a chapter, in books and documents ** Section sig ...
'' of ) is a function such that : f \circ h = \operatorname_Y . That is, the function satisfies the rule : If \displaystyle h(y) = x, then \displaystyle f(x) = y . 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 In mathematics, the axiom of choice, or AC, is an axiom of set theory equivalent to the statement that ''a Cartesian product of a collection of non-empty sets is non-empty''. Informally put, the axiom of choice says that given any collection ...
). : If is the right inverse of , then is surjective. For all y \in Y, there is x = h(y) such that f(x) = f(h(y)) = y. : If is surjective, has a right inverse , which can be constructed as follows: for all y \in Y, there is at least one x \in X such that f(x) = y (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 g is a left inverse and h a right inverse of f, for all y \in Y, g(y) = g(f(h(y)) = h(y). 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, f \colon \varnothing \to \varnothing 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 : : f^(\) = \left\ . 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 f^(S) , is the set of all elements of that map to : : f^(S) = \left\ . 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. : f^(\left\) = \left\. The preimage of a single element – a
singleton set In mathematics, a singleton, also known as a unit set or one-point set, is a set with exactly one element. For example, the set \ is a singleton whose single element is 0. Properties Within the framework of Zermelo–Fraenkel set theory, the ...
– is sometimes called the ''
fiber Fiber or fibre (from la, fibra, links=no) is a natural or artificial substance that is significantly longer than it is wide. Fibers are often used in the manufacture of other materials. The strongest engineering materials often incorpora ...
'' of . When is the set of real numbers, it is common to refer to as a ''
level set In mathematics, a level set of a real-valued function of real variables is a set where the function takes on a given constant value , that is: : L_c(f) = \left\~, When the number of independent variables is two, a level set is calle ...
''.


See also

*
Lagrange inversion theorem In mathematical analysis, the Lagrange inversion theorem, also known as the Lagrange–Bürmann formula, gives the Taylor series expansion of the inverse function of an analytic function. Statement Suppose is defined as a function of by an equa ...
, gives the Taylor series expansion of the inverse function of an analytic function *
Integral of inverse functions In mathematics, integrals of inverse functions can be computed by means of a formula that expresses the antiderivatives of the inverse f^ of a continuous and invertible function in terms of f^ and an antiderivative of This formula was publishe ...
*
Inverse Fourier transform In mathematics, the Fourier inversion theorem says that for many types of functions it is possible to recover a function from its Fourier transform. Intuitively it may be viewed as the statement that if we know all frequency and phase information a ...
*
Reversible computing Reversible computing is any model of computation where the computational process, to some extent, is time-reversible. In a model of computation that uses deterministic transitions from one state of the abstract machine to another, a necessary co ...


Notes


References


Bibliography

* * * * * * *


Further reading

* * * *


External links

* {{springer, title=Inverse function, id=p/i052360 Basic concepts in set theory Unary operations