Inverse Functions

From Department of Mathematics at UTSA
Jump to navigation Jump to search

In mathematics, an inverse function (or anti-function) is a function that "reverses" another function: if the function f applied to an input x gives a result of y, then applying its inverse function g to y gives the result x, i.e., g(y) = x if and only if f(x) = y. The inverse function of f is also denoted as .

As an example, consider the real-valued function of a real variable given by f(x) = 5x − 7. Thinking of this as a step-by-step procedure (namely, take a number x, multiply it by 5, then subtract 7 from the result), to reverse this and get x back from some output value, say y, we would undo each step in reverse order. In this case, it means to add 7 to y, and then divide the result by 5. In functional notation, this inverse function would be given by,

With y = 5x − 7 we have that f(x) = y and g(y) = x.

Not all functions have inverse functions. Those that do are called invertible. For a function f: XY to have an inverse, it must have the property that for every y in Y, there is exactly one x in X such that f(x) = y. This property ensures that a function g: YX exists with the necessary relationship with f.

Definitions

If f maps X to Y, then f −1 maps Y back to X.

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 with domain Y and codomain X, with the property:

If f is invertible, then the function g is unique, which means that there is exactly one function g satisfying this property. Moreover, it also follows that the ranges of g and f equal their respective codomains. The function g is called the inverse of f, and is usually denoted as {{math|f a notation introduced by John Frederick William Herschel in 1813.

Stated otherwise, a function, considered as a binary relation, has an inverse if and only if the converse relation is a function on the codomain Y, in which case the converse relation is the inverse function. Not all functions have an inverse. For a function to have an inverse, each element yY must correspond to no more than one xX; a function f with this property is called one-to-one or an injection. If f −1 is to be a function on Y, then each element yY must correspond to some xX. Functions with this property are called surjections. This property is satisfied by definition if Y is the image of f, but may not hold in a more general context. To be invertible, a function must be both an injection and a surjection. Such functions are called bijections. The inverse of an injection f: XY that is not a bijection (that is, not a surjection), is only a partial function on Y, which means that for some yY, f −1(y) is undefined. If a function f is invertible, then both it and its inverse function f−1 are bijections.

Another convention is used in the definition of functions, referred to as the "set-theoretic" or "graph" definition using ordered pairs, which makes the codomain and image of the function the same. Under this convention, all functions are surjective, so bijectivity and injectivity are the same. Authors using this convention may use the phrasing that a function is invertible if and only if it is an injection. The two conventions need not cause confusion, as long as it is remembered that in this alternate convention, the codomain of a function is always taken to be the image of the function.

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:XY and f−1:YX,

and

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

The inverse of g ∘ f is f −1 ∘ g −1.

The inverse of a composition of functions is given by

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,

To reverse this process, we must first subtract five, and then divide by three,

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:

More generally, a function f : XX is equal to its own inverse, if and only if the composition f ∘ f is equal to idX. Such a function is called an involution.

Resources

Licensing

Content obtained and/or adapted from: