Two functions are inverses of one another if they "undo each other" in the following sense: if the output of one is used as input to the other, they leave the original input unchanged.
To be precise, two functions f
and g
are inverses of each other if and only if f(g(x))=x
for every value of x
in the domain of g
and g(f(x))=x
for every value of x
in the domain of f
.
Example
Given f(x)=x3
and g(x)=x− − √3
, we know f
and g
are inverses since
We also say a function f
is invertible if there exists a function g
such that f
and g
are inverses of one another.
Notation for Inverse Functions
Historically, we let f−1
denote the inverse of an invertible function f
.
A common source of confusion for students stems from how similar this notation looks to exponentiation.
However, if we wish to apply a power of −1
to something, that something must be a value. The letter f
represents a function, not a value!
On the other hand, f(x)is a value -- it's the output of function f
given an input of x
. So f(x)
actually can be raised to the −1
power...
Putting these thoughts together into an example, suppose f(x)=x3
. Then,
f−1(x)=x− − √3while,[f(x)]−1=1x3
Graphs of Inverse Functions
We have already established that f(x)=x3
and g(x)=x− − √3
are inverses. Let us consider the graphs of these two functions, as shown below:
There is a striking symmetry between these two graphs -- one that is shared between any pair of inverse functions we might choose to draw.
In every case, two functions that are inverses of one another will be symmetric about the line y=x
.
Equivalently, if (x,y)
will be a point on the graph of some invertible function f
if and only if (y,x)
is a point on the graph of y=f−1(x)
.
Just consider the graphs of f(x)=x3
and g(x)=x− − √3
shown above. The points (−2,−8)
, (−1,−1)
, (0,0)
, (1,1)
, and (2,8)
are all points on the graph of the former. While (−8,−2)
, (−1,−1)
, (0,0)
, (1,1)
, and (8,2)
are all on the graph of the latter.
To see why this is so, suppose (x0,y0)
is a point on the graph of y=f(x)
and f
is invertible.
Consequently, f(x0)=y0
, and thus, f−1(f(x0))=f−1(y0)
.
However, since f−1
is the inverse of f
, we also know f−1(f(x0))=x0
.
Hence, f−1(y0)=x0
, which tells us that (y0,x0)
is a point on the graph of y=f−1(x)
.
Since every point (x,y)
on the graph of an invertible function yields a point (y,x)
on the graph of its inverse and vice-versa, and given that the domain of a function is the set of allowable inputs x
, and the range is the set of obtainable outputs y
-- we have as an immediate consequence that the domain of an invertible function is the range of its inverse, and the range of such a function is the domain of its inverse.
The Horizontal Line Test
Not every function is invertible. Fortunately, we can tell which functions are invertible from those that are not by a quick examination of their graphs.
As an example, suppose you are interested in determining whether or not f(x)=x2
is invertible.
Keeping in mind the aforementioned symmetry between inverse functions about the line y=x
, suppose we graph both y=x2
(shown in blue below) and its reflection about the line y=x
(shown in red below).
Notice, the red curve doesn't pass the vertical line test! That is to say, there is a vertical line that crosses the red curve more than once [e.g., the line through (4,2)
and (4,−2)
].
Equivalently, there is at least one x
(e.g., x=4
) that is associated with more than one y
-value (e.g., both 2
and −2
). Consequently, the red curve does not represent a function.
As the inverse to a function must by definition be a function itself, it must be the case that f(x)=x2
is not invertible.
Note, we could have been more efficient by realizing that any intersections along a vertical line in the graph of the reflection across the line y=x
must correspond to intersections along a horizontal line in the graph of y=f(x)
.
Thus, if any horizontal line crosses the graph of y=f(x)
more than once, then f
will not have an inverse function associated with it, and is consequently not invertible.
Consequently, if a function is invertible it must be the case that for every x
value in the domain, there is one and only one y
value associated with that x
value, and for every y
value in the range, there is one and only one x
value associated with that y
value. As such, we also describe invertible functions as functions that are one-to-one.
Solving for an Inverse Function
In certain circumstances, given a formula for some invertible function f
, we can determine a formula for its inverse f−1
.
To do this, we take advantage of the previously discovered symmetry between the coordinates of points on the graphs of a function and its inverse, as the following suggests:
Suppose we wished to find a formula for the inverse of a function f
defined by f(x)=1+x1−2x
.
First, we note that if (x,y)
is a point on the graph of f−1
, then (y,x)
must be a point on the graph of f
.
Then, it must be the case that
x=1+y1−2y
From here, we can simply solve for y
, which then gives us a formula for f−1(x)
:
Inverse Function of ln(x)
What is the inverse function of the natural logarithm of x?
The natural logarithm function ln(x) is the inverse function of the exponential function ex.
When the natural logarithm function is:
f (x) = ln(x), x>0
Then the inverse function of the natural logarithm function is the exponential function:
f-1(x) = ex
So the natural logarithm of the exponent of x is x:
f (f-1(x)) = ln(ex) = x
Or
f -1(f(x)) = eln(x) = x
What is the natural logarithm of 1?
What is the natural logarithm of one.
ln(1) = ?
The natural logarithm of a number x is defined as the base e logarithm of x:
ln(x) = loge(x)
So
ln(1) = loge(1)
Which is the number we should raise e to get 1.
e0 = 1
So the natural logarithm of one is zero:
ln(1) = loge(1) = 0
What is the natural logarithm of e?
What the natural logarithm of the e constant (Euler's constant)?
ln(e) = ?
The natural logarithm of a number x is defined as the base e logarithm of x:
ln(x) = loge(x)
So the natural logarithm of e is the base e logarithm of e:
Since infinity is not a number, we should use limits:
x approaches infinity
The limit of the natural logarithm of x when x approaches infinity is infinity:
lim ln(x) = ∞
x→∞
x approaches minus infinity
The opposite case, the natural logarithm of minus infinity is undefined for real numbers, since the natural logarithm function is undefined for negative numbers:
lim ln(x) is undefined
x → -∞
So we can summarize
ln(∞) = ∞
ln(-∞) is undefined
Inverse Operations and Functions
An operation we might do with a glove is put on. Another operation that could be done is take off. If we start with a bare hand:
If we start with a glove on:
The operations put on and take off undo each other. If we do one operation then the other, we end up where we started. Put on is the inverse operation to take off. Take off is the inverse operation of put on. Such operations form an operation-inverse operation pair.
The same is true in mathematics. Most operations have an inverse operation. Starting with the simplest operations:
and
Add and Subtract are inverse operations. Similarly multiply and divide are inverse operations, except division by zero is not allowed.
You may have thought multiply and multiply by the reciprocal are the inverse pair. Since divide and multiply by the reciprocal are equivalent operations this is quite true.
Let's think about exponents. We can get from a number to that number to the power of 2 by squaring the number. To get back to the original number we need to take the square root.
And in general, raising to a power and taking the root are inverse operations. Another common pair is cube-cube root.
Raising the base to a power and getting the logarithm (to that base) are also inverse operations.Recall that the expression y = 10x means y is equal to 10 raised to the power of x. x is the exponent and 10 is the base. This can also be written as x = log10y.
A pair that are very common from the various logarithms is the natural logarithm, ln, and the exponent, e.
and
The inverse trigonometric pairs are sin and sin-1, cos and cos-1 and tan with tan-1.These are dealt with in detail in Inverse Trigonometric Functions.
Sometimes an operation is its own inverse. Take a bus is an example.
A mathematical example is the reciprocal.
Laplace Transform
The Laplace transform is an integral transform perhaps second only to the Fourier transform in its utility in solving physical problems. The Laplace transform is particularly useful in solving linear ordinary differential equations such as those arising in the analysis of electronic circuits.
The (unilateral) Laplace transform (not to be confused with the Lie derivative, also commonly denoted ) is defined by
(1)
where is defined for (Abramowitz and Stegun 1972). The unilateral Laplace transform is almost always what is meant by "the" Laplace transform, although a bilateral Laplace transform is sometimes also defined as
(2)
(Oppenheim et al. 1997). The unilateral Laplace transform is implemented in the Wolfram Language as LaplaceTransform[f[t], t, s] and the inverse Laplace transform as InverseRadonTransform.
The inverse Laplace transform is known as the Bromwich integral, sometimes known as the Fourier-Mellin integral (see also the related Duhamel's convolution principle).
A table of several important one-sided Laplace transforms is given below.
Continuing for higher-order derivatives then gives
(16)
This property can be used to transform differential equations into algebraic equations, a procedure known as the Heaviside calculus, which can then be inverse transformed to obtain the solution. For example, applying the Laplace transform to the equation
(17)
gives
(18)
(19)
which can be rearranged to
(20)
If this equation can be inverse Laplace transformed, then the original differential equation is solved.
The Laplace transform satisfied a number of useful properties. Consider exponentiation. If for (i.e., is the Laplace transform of ), then for . This follows from
(21)
(22)
(23)
The Laplace transform also has nice properties when applied to integrals of functions. If is piecewise continuous and , then
How to Invert a Function to Find Its Inverse
If you’re given a function and must find its inverse, first remind yourself that domain and range swap places in the functions. Literally, you exchange f(x) and x in the original equation. When you make that change, you call the new f(x) by its true name — f–1(x) — and solve for this function.
For example, follow the steps to find the inverse of this function:
Switch f(x) and x.
When you switch f(x) and x, you get
(Note: To make the notation less clumsy, you can rewrite f(x) as y and then switch x and y.)
Change the new f(x)to its proper name — f–1(x).
The equation then becomes
Solve for the inverse.
This step has three parts:
Multiply both sides by 3 to get 3x = 2f–1(x) –1.
Add 1 to both sides to get 3x + 1 = 2f–1(x).
Lastly, divide both sides by 2 to get your inverse: