Lably
Skip to content

Inverse function

Mathematical concept

  • 13 min read
  • 5 chapters
  • 1 lab on Lably
A en:function and its inverse .
Jim.belk at English Wikipedia · Public domain

Learn it on Lably

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:R→R defined by f−1(y)=y+75.

Definitions

Let f be a function whose domain is the set X, and whose codomain 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 bijective. This is because the condition g(f(x))=x for all x∈X implies that f is injective, and the condition f(g(y))=y for all y∈Y implies that f is surjective.

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 codomain 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∈Z}. Other inverse special functions are sometimes prefixed with the prefix "inv", if the ambiguity of the f −1 notation should be avoided.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Basics