In mathematics, the inverse function of a function f (also called the inverse of f) is a function that undoes the operation of f. The inverse of f exists if and only if f is injective, and if it exists, is denoted by f−1. For a function f:X→Y, its inverse f−1:Y→X admits an explicit description: it sends each element y∈Y to the unique element x∈X such that f(x) = y. As an example, consider the real-valued function of a real variable given by f(x) = 5x − 7. One can think of f as the function which multiplies its input by 5 then subtracts 7 from the result. To undo this, one adds 7 to the output, then divides the result by 5. Therefore, the inverse of f is the function f−1:ℝ→ℝ defined by f−1(y)=y+75.
Definitions
Let f be a function whose domain is the set X, and whose range is the set Y. Then f is invertible if there exists a function g from Y to X such that g(f(x))=x for all x∈X and f(g(y))=y for all y∈Y. If f is invertible, then there is exactly one function g satisfying this property. The function g is called the inverse of f, and is usually denoted as f −1, a notation introduced by John Frederick William Herschel in 1813. The function f is invertible if and only if it is injective. This is because the condition g(f(x))=x for all x∈X implies that f is injective. The inverse function f −1 to f can be explicitly described as the function
f−1(y)=(the unique element x∈X such that f(x)=y).
Inverses and composition
Recall that if f is an invertible function with domain X and range Y, then
f−1(f(x))=x, for every x∈X and f(f−1(y))=y for every y∈Y. Using the composition of functions, this statement can be rewritten to the following equations between functions:
f−1∘f=idX and f∘f−1=idY, where idX is the identity function on the set X; 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 f −1. Repeatedly composing a function f: X→X with itself is called iteration. If f is applied n times, starting with the value x, then this is written as f n(x); so f 2(x) = f (f (x)), etc. Since f −1(f (x)) = x, composing f −1 and f n yields f n−1, "undoing" the effect of one application of f.
Notation While the notation f −1(x) might be misunderstood, (f(x))−1 certainly denotes the multiplicative inverse of f(x) and has nothing to do with the inverse function of f. The notation f⟨−1⟩ 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 sin−1(x) to denote the inverse of the sine function applied to x (actually a partial inverse; see below). Other authors feel that this may be confused with the notation for the multiplicative inverse of sin (x), which can be denoted as (sin (x))−1. To avoid any confusion, an inverse trigonometric function is often indicated by the prefix "arc" (for Latin arcus). For instance, the inverse of the sine function is typically called the arcsine function, written as arcsin(x). Similarly, the inverse of a hyperbolic function is indicated by the prefix "ar" (for Latin ārea). For instance, the inverse of the hyperbolic sine function is typically written as arsinh(x). The expressions like sin−1(x) can still be useful to distinguish the multivalued inverse from the partial inverse: sin−1(x)={(−1)narcsin(x)+πn:n∈ℤ}. Other inverse special functions are sometimes prefixed with the prefix "inv", if the ambiguity of the f −1 notation should be avoided.
Examples
Squaring and square root functions The function f: R → [0,∞) given by f(x) = x2 is not injective because (−x)2=x2 for all x∈ℝ. Therefore, f is not invertible. If the domain of the function is restricted to the nonnegative reals, that is, we take the function f:[0,∞)→[0,∞); x↦x2 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↦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−1 of an invertible function f:ℝ→ℝ has an explicit description as
f−1(y)=(the unique element x∈ℝ such that f(x)=y). This allows one to easily determine inverses of many functions that are given by algebraic formulas. For example, if f is the function
f(x)=(2x+8)3 then to determine f−1(y) for a real number y, one must find the unique real number x such that (2x + 8)3 = y. This equation can be solved:
y=(2x+8)3y3=2x+8y3−8=2xy3−82=x. Thus the inverse function f −1 is given by the formula
f−1(y)=y3−82. Sometimes, the inverse of a function cannot be expressed by a closed-form formula. For example, if f is the function
f(x)=x−sinx, then f is a bijection, and therefore possesses an inverse function f −1. The formula for this inverse has an expression as an infinite sum:
f−1(y)=∑n=1∞yn/3n!limθ→0(dn−1dθn−1(θθ−sin(θ)3)n).
Properties Since a function is a special type of binary relation, many of the properties of an inverse function correspond to properties of converse relations.
Uniqueness If an inverse function exists for a given function f, then it is unique. This follows since the inverse function must be the converse relation, which is completely determined by f.
Symmetry There is a symmetry between a function and its inverse. Specifically, if f is an invertible function with domain X and codomain Y, then its inverse f −1 has domain Y and image X, and the inverse of f −1 is the original function f. In symbols, for functions f:X → Y and f−1:Y → X,
f−1∘f=idX and f∘f−1=idY. This statement is a consequence of the implication that for f to be invertible it must be bijective. The involutory nature of the inverse can be concisely expressed by
(f−1)−1=f.
The inverse of a composition of functions is given by
(g∘f)−1=f−1∘g−1. Notice that the order of g and f have been reversed; to undo f followed by g, we must first undo g, and then undo f. For example, let f(x) = 3x and let g(x) = x + 5. Then the composition g ∘ f is the function that first multiplies by three and then adds five,
(g∘f)(x)=3x+5. To reverse this process, we must first subtract five, and then divide by three,
(g∘f)−1(x)=13(x−5). This is the composition (f −1 ∘ g −1)(x).
Self-inverses If X is a set, then the identity function on X is its own inverse:
… excerpt ends here. Continue reading the full article.





