All Topics  
Inverse function

 

   Email Print
   Bookmark   Link






 

Inverse function



 
 
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, if ƒ is a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 from A to B then an inverse function for ƒ is a function in the opposite direction, from B to A, with the property that a round trip (a composition
Function composition

In mathematics, a composite function represents the application of one function to the results of another. For instance, the functions and can be composed by first computing a f and then applying a function g to the output of f....
) from A to B to A (or from B to A to B) returns each element of the initial set to itself. Thus, if an input x into the function ƒ produces an output y, then inputting y into the inverse function ƒ–1 (read f inverse, not to be confused with exponentiation
Exponentiation

Exponentiation is a mathematics operation , written 'an', involving two numbers, the base a and the exponent n....
) produces the output x.






Discussion
Ask a question about 'Inverse function'
Start a new discussion about 'Inverse function'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, if ƒ is a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 from A to B then an inverse function for ƒ is a function in the opposite direction, from B to A, with the property that a round trip (a composition
Function composition

In mathematics, a composite function represents the application of one function to the results of another. For instance, the functions and can be composed by first computing a f and then applying a function g to the output of f....
) from A to B to A (or from B to A to B) returns each element of the initial set to itself. Thus, if an input x into the function ƒ produces an output y, then inputting y into the inverse function ƒ–1 (read f inverse, not to be confused with exponentiation
Exponentiation

Exponentiation is a mathematics operation , written 'an', involving two numbers, the base a and the exponent n....
) produces the output x. Not every function has an inverse; those that do are called invertible.

For example, let ƒ be the function that converts a temperature in degrees Celsius
Celsius

Celsius is a temperature scale that is named after the Swedish astronomer Anders Celsius , who developed a similar temperature scale two years before his death....
 to a temperature in degrees Fahrenheit
Fahrenheit

Fahrenheit is a temperature scale named after the physicist Daniel Gabriel Fahrenheit , who proposed it in 1724. Today, the scale has largely been replaced by the Celsius scale; it is still in use for non-scientific purposes in the United States and a few other countries such as Belize....
: then its inverse function converts degrees Fahrenheit to degrees Celsius:

Or, suppose ƒ assigns each child in a family of three the year of its birth. An inverse function would tell us which child was born in a given year. However, if the family has twins (or triplets) then we cannot know which to name for their common birth year. As well, if we are given a year in which no child was born then we cannot name a child. 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,

Definitions

Let ƒ be a function whose domain
Domain (mathematics)

In mathematics, the domain of a given function is the set of "input" values for which the function is defined. For instance, the domain of cosine would be all real numbers, while the domain of the square root would be only numbers greater than or equal to 0 ....
 is the set X, and whose range
Range (mathematics)

In mathematics, the range of a function is the Set of all "output" values produced by that function. Sometimes it is called the , or more precisely, the image of the domain of the function....
 is the set Y. Then, if it exists, the inverse of ƒ is the function ƒ–1 with domain Y and range X, defined by the following rule:

Stated otherwise, a function is invertible if and only if its inverse relation
Inverse relation

In mathematics, the inverse relation of a binary relation is the relation that occurs when you switch the order of the elements in the relation....
 is a function, in which case the inverse relation is the inverse function: the inverse relation is the relation obtained by switching x and y everywhere.

Thus, an inverse function uniquely identifies the input x of another function based only on its output y, for all y ∈ Y. A function is invertible if and only if this rule defines a function. Not all functions have an inverse. For this rule to be applicable, each element y ∈ Y must correspond to exactly one element x ∈ X. This is generally stated as two conditions:
  • Every corresponds to no more than one ; a function ƒ with this property is called one-to-one, or information-preserving, or an injection
    Injective function

    In mathematics, an injective function is a function which associates distinct arguments with distinct values.An injective function is called an injection, and is also said to be a one-to-one function ....
    .
  • Every corresponds to at least one ; a function ƒ with this property is called onto, or a surjection
    Surjective function

    In mathematics, a function f is said to be surjective or onto, if its values span its whole codomain; that is, for every y in the codomain, there is at least one x in the domain such that f = y ....
    .


In elementary mathematics, the domain is often assumed to be the real numbers, if not otherwise specified, and the range is assumed to be the image.

Most functions encountered in elementary calculus do not have an inverse.

Example: square root

The function ƒ(x) = y = x2 may or may not be invertible, depending on the domain and codomain.

If the domain is the real numbers, then each element in Y would correspond to two different elements in Xx), and therefore ƒ would not be invertible. More precisely, the square
Square (algebra)

In algebra, the square of a number is that number multiplication by itself. To square a quantity is to multiply it by itself.Its notation is a superscripted "2"; a number x squared is written as x?....
 of x is not invertible because it is impossible to deduce from its output the sign of its input. Such a function is called non-injective
Injective function

In mathematics, an injective function is a function which associates distinct arguments with distinct values.An injective function is called an injection, and is also said to be a one-to-one function ....
 or information-losing. Notice that neither the square root
Square root

In mathematics, a square root of a number x is a number r such that r2 = x, or, in other words, a number r whose square is x....
 nor the principal square root function is the inverse of x2 because the first is not single-valued
Single-valued function

A single-valued function is an emphatic term for a mathematical function in the usual sense. That is, each element of the function domain domain maps to a single, well-defined element of its range....
, and the second returns -x when x is negative.

If the domain and codomain are both the non-negative numbers, then it is invertible, by the principal square root

Inverses in higher mathematics

The definition given above is commonly adopted in calculus
Calculus

Calculus is a branch of mathematics that includes the study of limit , derivatives, integrals, and infinite series, and constitutes a major part of modern university education....
. In higher mathematics, the notation means "ƒ is a function mapping elements of a set X to elements of a set Y". The source, X, is called the domain of ƒ, and the target, Y, is called the codomain
Codomain

In mathematics, the codomain, range or target set, of a function , described symbolically as ' : ' ? ', is the set ' into which all of the output of the function is constrained to fall....
. The codomain contains the range of ƒ as a subset
Subset

In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
, and is considered part of the definition of ƒ.

When using codomains, the inverse of a function is required to have domain Y and codomain X. For the inverse to be defined on all of Y, every element of Y must lie in the range of the function ƒ. A function with this property is called onto
Surjective function

In mathematics, a function f is said to be surjective or onto, if its values span its whole codomain; that is, for every y in the codomain, there is at least one x in the domain such that f = y ....
 or a surjection
Surjective function

In mathematics, a function f is said to be surjective or onto, if its values span its whole codomain; that is, for every y in the codomain, there is at least one x in the domain such that f = y ....
. Thus, a function with a codomain is invertible if and only if
If and only if

If and only if, in logic and fields that rely on it such as mathematics and philosophy, is a biconditional logical connective between statements....
 it is both one-to-one and onto. Such a function is called a one-to-one correspondence or a bijection
Bijection

In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
, and has the property that every element corresponds to exactly one element .

Inverses and composition

If ƒ is an invertible function with domain X and range Y, then

This statement is equivalent to the first of the above-given definitions of the inverse, and it becomes equivalent to the second definition if Y coincides with the codomain of ƒ. Using the composition of functions we can rewrite this statement as follows:

where idX is the identity function
Identity function

In mathematics, an identity function, also called identity map or identity transformation, is a function that always returns the same value that was used as its argument....
 on the set X. In category theory
Category theory

In mathematics, category theory deals in an abstract way with mathematical structures and relationships between them: it abstracts from set s and function s to objects linked in diagrams by morphisms or arrows....
, this statement is used as the definition of an inverse morphism
Morphism

In mathematics, a morphism is an Abstraction derived from structure-preserving map between two mathematical structures.The study of morphisms and of the structures over which they are defined, is central to category theory....
.

If we think of composition as a kind of multiplication of functions, this identity says that the inverse of a function is analogous to a multiplicative inverse
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 multiplied by x yields the multiplicative identity, 1....
. This explains the origin of the notation ƒ–1.

Note on notation


The superscript notation for inverses can sometimes be confused with other uses of superscripts, especially when dealing with trigonometric and hyperbolic
Hyperbolic function

In mathematics, the hyperbolic functions are analogs of the ordinary trigonometric function, or circular, functions. The basic hyperbolic functions are the hyperbolic sine "sinh", and the hyperbolic cosine "cosh", from which are derived the hyperbolic tangent "tanh", etc., in analogy to the derived trigonometric functi...
 functions. To avoid this confusion, the notation ƒ[–1] is sometimes used.

It is important to realize that ƒ–1(x) is not the same as ƒ(x)–1. In ƒ-1(x), the superscript "−1" is not an exponent. A similar notation is used in dynamical system
Dynamical system

The dynamical system concept is a mathematics formalization for any fixed "rule" which describes the time dependence of a point's position in its ambient space....
s for iterated function
Iterated function

In mathematics, iterated functions are the objects of deep study in computer science, fractals and dynamical systems. An iterated function is a function which is function composition with itself, ad infinitum, in a process called iteration....
s. For example, ƒ2 denotes two iterations of the function ƒ; if , then , or x + 2. In symbols:


In calculus, ƒ(n), with parentheses, denotes the nth derivative
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
 of a function ƒ. For instance:


In trigonometry
Trigonometry

Trigonometry is a branch of mathematics that deals with triangle s, particularly those plane triangles in which one angle has 90 degrees . Trigonometry deals with relationships between the sides and the angles of triangles and with the trigonometric functions, which describe those relationships....
, for historical reasons, sin2(x) usually does mean the square of sin(x):

However, the expression sin-1(x) does not represent the multiplicative inverse to sin(x):

It denotes the inverse function for sin(x) (actually a partial inverse; see below). To avoid confusion, an inverse trigonometric function
Inverse trigonometric function

In mathematics, the inverse trigonometric functions or cyclometric functions are the inverse functions of the trigonometric functions. The principal inverses are listed in the following table....
 is often indicated by the prefix "arc". For instance the inverse sine is typically called the arcsine:

The function is the multiplicative inverse to the sine, and is called the cosecant. It is usually denoted csc x:

Properties


Uniqueness

If an inverse function exists for a given function ƒ, it is unique: it must be the inverse relation
Inverse relation

In mathematics, the inverse relation of a binary relation is the relation that occurs when you switch the order of the elements in the relation....
.

Symmetry

There is a symmetry between a function and its inverse. Specifically, if the inverse of ƒ is ƒ–1, then the inverse of ƒ–1 is the original function ƒ. In symbols:

This follows because invertion of relations
Inverse relation

In mathematics, the inverse relation of a binary relation is the relation that occurs when you switch the order of the elements in the relation....
 is an involution: if you repeat it, you get back to where you started.

This statement is an obvious consequence of the above-explained deduction that, for ƒ to be invertible, it must be injective (first definition of the inverse) or bijective (second definition). The property of symmetry can be concisely expressed by the following formula:

Inverse of a composition

The inverse of a composition of functions is given by the formula Notice that the order of ƒ and g have been reversed; to undo g followed by ƒ, we must first undo ƒ and then undo g.

For example, let , and let . Then the composition 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 .

Self-inverses

If X is a set, then the identity function
Identity function

In mathematics, an identity function, also called identity map or identity transformation, is a function that always returns the same value that was used as its argument....
 on X is its own inverse:

More generally, a function is equal to its own inverse if and only if the composition is equal to idx. Such a function is called an involution.

Inverses in calculus

Single-variable calculus
Calculus

Calculus is a branch of mathematics that includes the study of limit , derivatives, integrals, and infinite series, and constitutes a major part of modern university education....
 is primarily concerned with functions that map real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s to real numbers. Such functions are often defined through formula
Formula

In mathematics and in the sciences, a formula is a concise way of expressing information symbolically , or a general relationship between quantities....
s, such as: A function ƒ from the real numbers to the real numbers possesses an inverse as long as it is one-to-one, i.e. as long as the graph of the function passes the horizontal line test
Horizontal line test

In mathematics, the horizontal line test is a test used to determine if a function is injective, surjective or bijective.Suppose there is a function f : X ? Y with a graph., and you have a horizontal line of X x Y ....
.

The following table shows several standard functions and their inverses:
Function ƒ(x) Inverse ƒ–1(y) Notes
x + a ya 
ax ay 
mx y / m m ≠ 0
1 / x 1 / y x, y ≠ 0
x2 x, y ≥ 0 only
x3 no restriction on x and y
xp y1/p (i.e. ) x, y ≥ 0 in general, p ≠ 0
ex ln y y > 0
ax loga y y > 0 and a > 0
trigonometric function
Trigonometric function

In mathematics, the trigonometric functions are function s of an angle. They are important in the trigonometry of Triangle and modeling Periodic function, among many other applications....
s
inverse trigonometric functions various restrictions (see table below)


Formula for the inverse

One approach to finding a formula for ƒ–1, if it exists, is to solve the equation for x. For example, if ƒ is the function

then we must solve the equation for x:

Thus the inverse function ƒ–1 is given by the formula

Sometimes the inverse of a function cannot be expressed by a formula. For example, if ƒ is the function

then ƒ is one-to-one, and therefore possesses an inverse function ƒ–1. There is no simple formula for this inverse, since the equation cannot be solved algebraically for x.

Graph of the inverse

If ƒ and ƒ–1 are inverses, then the graph of the function

is the same as the graph of the equation

This is identical to the equation that defines the graph of ƒ, except that the roles of x and y have been reversed. Thus the graph of ƒ–1 can be obtained from the graph of ƒ by switching the positions of the x and y axes. This is equivalent to reflecting
Reflection (mathematics)

In mathematics, a reflection is a function that transforms an object into its mirror image. For example, a reflection of the small English letter p in respect to a vertical line would look like q....
 the graph across the line .

Inverses and derivatives

A continuous function
Continuous function

In mathematics, a continuous function is a function for which, intuitively, small changes in the input result in small changes in the output. Otherwise, a function is said to be discontinuous....
 ƒ is one-to-one (and hence invertible) if and only if it is either strictly increasing or decreasing
Monotonic function

In mathematics, a monotonic function is a function which preserves the given order. This concept first arose in calculus, and was later generalized to the more abstract setting of order theory....
 (with no local maxima or minima
Maxima and minima

In mathematics, maxima and minima, known collectively as extrema, are the largest value or smallest value , that a function takes in a point either within a given neighbourhood or on the function domain in its entirety ....
). For example, the function

is invertible, since the derivative
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
is always positive.

If the function ƒ is differentiable, then the inverse ƒ–1 will be differentiable as long as . The derivative of the inverse is given by the inverse function theorem
Inverse function theorem

In mathematics, specifically differential calculus, the inverse function theorem gives sufficient conditions for a function to be invertible in a Neighbourhood of a point in its domain ....
: If we set , then the formula above can be written This result follows from the chain rule
Chain rule

In calculus, the chain rule is a formula for the derivative of the functional composition of two function .In intuitive terms, if a variable, y, depends on a second variable, u, which in turn depends on a third variable, x, then the rate of Mathematics#Change of y with respect to x can be computation as the rate of chan...
 (see the article on inverse functions and differentiation
Inverse functions and differentiation

In mathematics, the inverse of a function is a function that, in some fashion, "undoes" the effect of . The inverse of is denoted . The statements y=f and x=f -1 are equivalent....
).

The inverse function theorem can be generalized to functions of several variables. Specifically, a differentiable function is invertible in a neighborhood of a point p as long as the Jacobian
Jacobian

In vector calculus, the Jacobian is shorthand for either the Jacobian matrix or its determinant, the Jacobian determinant.In algebraic geometry the Jacobian of a algebraic curve means the Jacobian variety: a group variety associated to the curve, in which the curve can be embedded....
 matrix
Matrix (mathematics)

In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
 of ƒ at p is invertible
Invertible matrix

In linear algebra, an n-by-n matrix A is called invertible or non-singular if there exists an n-by-n matrix B such that...
. In this case, the Jacobian of ƒ–1 at ƒ(p) is the matrix inverse of the Jacobian of ƒ at p.

Generalizations


Partial inverses

Even if a function ƒ is not one-to-one, it may be possible to define a partial inverse of ƒ by restricting
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 the domain. For example, the function

is not one-to-one, since . However, the function becomes one-to-one if we restrict to the domain , in which case

(If we instead restrict to the domain , then the inverse is the negative of the square root of x.) Alternatively, there is no need to restrict the domain if we are content with the inverse being a multivalued function
Multivalued function

In mathematics, a multivalued function is a total relation; i.e. every input is associated with one or more outputs. Strictly speaking, a "well-defined" function associates one, and only one, output to any particular input....
:

Sometimes this multivalued inverse is called the full inverse of ƒ, and the portions (such as √x and -√x) are called branches. The most important branch of a multivalued function (e.g. the positive square root) is called the principal branch, and its value at y is called the principal value of ƒ–1(y).

For a continuous function on the real line, one branch is required between each pair of local extrema. For example, the inverse of a cubic function
Cubic function

In mathematics, a cubic function is a function of the formwhere a is nonzero; or in other words, a polynomial of Degree of a polynomial three....
 with a local maximum and a local minimum has three branches (see the picture to the right).

These considerations are particularly important for defining the inverses of trigonometric functions. For example, the sine function is not one-to-one, since

for every real x (and more generally for every integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
 n). However, the sine is one-to-one on the interval , and the corresponding partial inverse is called the arcsine. This is considered the principal branch of the inverse sine, so the principal value of the inverse sine is always between –π2 and π2. The following table describes the principal branch of each inverse trigonometric function:
functionRange of usual principal value
Principal value

In considering complex multiple-valued functions in complex analysis, the principal values of a function are the values along one chosen branch of that function, so it is Single-valued function....
sin–1 π2 ≤ sin–1(x) ≤ π2
cos–1 0 ≤ cos–1(x) ≤π
tan–1 π2 < tan–1(x) < π2
cot–1 0 < cot–1(x) < π
sec–1 0 < sec–1(x) < π
csc–1 -π2 ≤ csc–1(x) < π2


Left and right inverses

If ƒ: X ? Y, a left inverse for ƒ (or retraction of ƒ) is a function such that

That is, the function g satisfies the rule

Thus, g must equal the inverse of ƒ on the range of ƒ, but may take any values for elements of Y not in the range. A function ƒ has a left inverse if and only if it is injective.

A right inverse for ƒ (or section
Section (category theory)

In category theory, a branch of mathematics, a section is a right inverse of a morphism. Dually, a retraction is a left inverse. In other words, if and are morphisms whose composition is the identity function on Y, then g is a section of f, and f is a retraction of g....
 of ƒ) is a function such that

That is, the function h satisfies the rule

Thus, h(y) may be any of the elements of x that map to y 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
Axiom of choice

In mathematics, the axiom of choice, or AC, is an axiom of set theory. Informally put, the axiom of choice says that given any collection of bins, each containing at least one object, it is possible to make a selection of exactly one object from each bin, even if there are infinite set many bins and there is no "rule" for which object t...
).

An inverse which is both a left and right inverse must be unique; otherwise not. Likewise, if g is a left inverse for ƒ then ƒ may not be a right inverse for g; and if ƒ is a right inverse for g then g is not necessarily a left inverse for ƒ.

Preimages

If ƒ: X ? Y is any function (not necessarily invertible), the preimage (or inverse image) of an element is the set of all elements of X that map to y:

The preimage of y can be thought of as the image
Image (mathematics)

In mathematics, the image of a set under a given function is the set of all possible function outputs when taking each element of the set, successively, as the function's argument....
 of y under the (multivalued) full inverse of the function f.

Similarly, if S is any subset
Subset

In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
 of Y, the preimage of S is the set of all elements of X that map to S:

The preimage of a single element is sometimes called the fiber
Fiber (mathematics)

In mathematics, the fiber of a point y under a function f : X ? Y is the inverse relation of under f, that is, ...
 of y. When Y is the set of real numbers, it is common to refer to ƒ–1(y) as a level set
Level set

In mathematics, a level set of a real number-valued function f of n variables is a set of the formwhere c is a constant. That is, it is the set where the function takes on a given constant value....
.

See also

  • Inverse trigonometric function
    Inverse trigonometric function

    In mathematics, the inverse trigonometric functions or cyclometric functions are the inverse functions of the trigonometric functions. The principal inverses are listed in the following table....
  • Logarithm
    Logarithm

    In mathematics, the logarithm of a number to a given base is the Power or exponent to which the base must be raised in order to produce the number....
  • Inverse function theorem
    Inverse function theorem

    In mathematics, specifically differential calculus, the inverse function theorem gives sufficient conditions for a function to be invertible in a Neighbourhood of a point in its domain ....
  • Inverse functions and differentiation
    Inverse functions and differentiation

    In mathematics, the inverse of a function is a function that, in some fashion, "undoes" the effect of . The inverse of is denoted . The statements y=f and x=f -1 are equivalent....
  • Inverse relation
    Inverse relation

    In mathematics, the inverse relation of a binary relation is the relation that occurs when you switch the order of the elements in the relation....
  • Inverse element
    Inverse element

    In mathematics, the idea of inverse element generalises the concepts of additive inverse, in relation to addition, and Multiplicative inverse, in relation to multiplication....


Bibliography