  ## Encyclopedia > Inverse function

Article Content

# Inverse function

In mathematical analysis, an inverse function is in simple terms a function which "does the reverse" of a given function.

For example, if the function x → 3x + 2 is given, then its inverse function is x → (x - 2) / 3. This is usually written as:

f : x → 3x + 2
f -1 : x → (x - 2) / 3

The superscript "-1" is not an exponent. Similarly, f 2(x) means "do f twice", that is f(f(x)), not the square of f(x) (sadly, this notation has an exception for the trigonometric functions: sin2(x) usually does mean the square of sin(x). As such, the prefix arc is sometimes used to denote inverse trigonometric functions[?], eg arcsin x for the inverse of sin x).

Generally, if f(x) is any function, and g is its inverse, then g(f(x)) = x and f(g(x)) = x. In other words, an inverse function undoes what the original function does.

For a function f to have a valid inverse, it must be a bijection, that is:

• each element in the codomain must be "hit" by f: otherwise there would be no way of defining the inverse of f for some elements
• each element in the codomain must be "hit" by f only once: otherwise the inverse function would have to send that element back to more than one value.

It is possible to work around this condition, by redefining f's codomain to be precisely its range, and by admitting a multi-valued function as an inverse.

If one represents the function f graphically in an x-y coordinate system, then the graph of f -1 is the reflection of the graph of f across the line y = x.

Algebraically, one computes the inverse function of f by solving the equation

y = f(x)
for x, and then exchanging y and x to get
y = f -1(x).
This is not always easy; if the function f(x) is analytic, the Lagrange inversion theorem may be used.

All Wikipedia text is available under the terms of the GNU Free Documentation License

Search Encyclopedia
 Search over one million articles, find something about almost anything!

Featured Article
 Thomas a Kempis ... old picture first referred to by Francescus Tolensis[?]: "In all things I sought quiet and found it not save in retirement and in books." A monument was dedicated to ...  