Can a function be equal to its inverse?
Last Updated :
30 Aug, 2024
Answer: Yes, a Function Can be equal to its inverse.
A function is a special type of relation or mapping between a given set of input values (called domain) and a set of outputs (called co-domain) where each value of the domain has a unique image in the co-domain (called range in this case). This means that an element of the domain can have only one image in the co-domain however two elements of the domain can have the same image.
In the case of a function, every element of the domain has a unique image in the co-domain.
The expression f: A⇢B means that f is a function
Function MappingAnother example of function mapping
First image is a function and second image is not a functionThe first image shows a function mapping whereas the second image is not a function because an element of domain has multiple images in co-domain.
Can a Function be Equal to its Inverse?
Let's suppose a given function y = f(x). Inverse function is represented by f-1. it exists only when the given function is bijective.
Consider a function f with a domain of X and a co-domain of Y. Let's suppose that there exists another function g. Now if the composition of these two functions that is f(g(x)) = x then the two functions f and g are said to be inverses of each other.
This can be further generalized to check whether a given function is the inverse of itself. If the expression f(f(x)) = x (also written as fof(x) = x) is true for any given function f then we can say that the function is the inverse of itself.
Consider a function y = f(x) is given.
Now as we know if the inverse of f(x) is f-1(x) then
f-1f(x) = x
So for f(x) to be its own inverse. f-1(x) = f(x)
From this we can conclude that when f-1(x) = f(x)
Then f(f(x) = x
This can be applied on any function to check whether the function is its own inverse. Whenever a function is its own inverse we call it an involution or an involutory function.
Graphical Method
Graph of a function is a great way to know the nature of the function; by looking at it we can conclude its domain and its range and in some cases, we can know that function's points of discontinuity. A graph is also helpful when we want to compare the values of two functions for the same domain value.
Also, another way of checking whether a function is equal to its own inverse is by comparing the graph of the function with its inverse. Now if the graph of the function is the same as its inverse we can conclude that the function and its inverse are the same and the graph is an involution.
When the graph of a function is known the graph of its inverse can be found by taking its mirror image along the line y=x. So if we get the mirror image of the function the same as the actual function then we can say that the inverse of this function is the same as the function.
If we ever want to check if any function is its own inverse we can check its mirror image in the line y=x. If the reflection gives us the same function then its an inverse
Also, Check:
Sample Problems
Problem 1: Check whether the linear function f(x) = 9 - x is its own inverse.
Solution:
For checking if the function is the inverse of itself we apply the above mentioned operation on it
f(x) = 9 - x
fof(x) = 9 -(9 - x) = x
As seen above fof(x)=x for f(x)=9-x
Therefore f is the inverse of itself.
Problem 2: Check whether the following function is its own inverse. g(x) = (-x+2) / (5x+1).
Solution:
Given that,
g(x) = (-x+2) / (5x+1)
gog(x)=\frac{\frac{-(-x+2)}{5x+1}+2}{\frac{5(-x+2)}{5x+1}+1}
gog(x)=\frac{x-2+10x+2}{-5x+10+5x+1}
gog(x)=x.
Hence, function g(x) is also it's own inverse.
Problem 3: Check whether the function h(x) = ex cos x is its own inverse.
Solution:
Given that,
h(x) = ex cos x
hoh(x) = e^{(e^{x}cosx)} cos(e^{x}cosx). \neq x
Thus, function h(x) is not its own inverse.
Problem 4: Function i(x) = ln (ex+1) / (ex+1) is given check if it is an involution.
Solution:
Given that,
i(x) = ln (ex+1) / (ex+1)
ioi(x)= \ln \left(\dfrac{e^{\ln\left(\frac{e^x +1}{e^x-1}\right)}+1}{e^{\ln\left(\frac{e^x+1}{e^x-1}\right)}-1}\right) .
ioi(x)= \ln(\dfrac{ e^x +1 +e ^x -1}{e^x+1 -e^x +1}) .
ioi(x)= x
Thus, function i(x)= \ln\left(\dfrac{e^x +1}{e^x-1}\right) is its own inverse.
Problem 5: j(x)= sin x/(1 + cos x) is a function of x check whether it is it's own inverse.
Solution:
Given that,
j(x) = sin x/(1 + cos x)
j(x) = 2 sin (x/2) cos (x/2) / 1+(cos2 (x/2) - sin2 (x/2))
j(x) = tan(x/2)
joj(x) = tan(tan(x/2))
Thus, function j(x) is not its own inverse.
Problem 6: Consider function f(x) = 9-x from above plot its graph and check if it is an involutory function
Solution:
Graph of function f(x) and y=x.As you can see the reflection of f(x) along the line y=x yields the same graph as that of f(x). Hence for f(x) the function is equal to its inverse.
Problem 7: Graphically check whether the function g(x) = (-x+2) / (5x + 1) is its own inverse.
Solution:
graph of g(x) and y=xSince the graph of the function is symmetric along the line y=x it's its own inverse.
Similar Questions
Q1. Can quadratic functions be equal to their inverse?
No, quadratic functions generally are not equal to their inverse because they do not pass the horizontal line test and are not one-to-one.
Q2. Is the identity function equal to its inverse?
Yes, the identity function f(x)=x is always equal to its inverse.
Q3. On What conditions an function equal to its inverse?
A function is equal to its inverse if applying the function twice returns the original value.
Q4. Can a linear function be equal to its inverse?
Yes, some linear functions are equal to inverse, like f(x)=x.
Similar Reads
What is an inverse function?
Mathematics is a subject with various disciplines and subtopics. Arithmetics, geometry, exponential, percentage are some of these branches of mathematics that deal with the calculation, analysis, and manipulation of numbers as well as symbols. Algebra is also one of the disciplines of mathematics th
4 min read
How to Find the Inverse of a Function
In math, finding the inverse of a function means undoing what the original function does. The inverse switches the input and output of the original function. But not all functions have inverses; there are rules to for an inverse to exist for a function. This article looks at the steps to find a func
8 min read
Inverse Ackermann Function
The inverse Ackermann function is the inverse of the Ackermann function, which is a mathematical function defined as follows: A(m, n) = n+1, if m = 0A(m-1, 1), if m > 0 and n = 0A(m-1, A(m, n-1)), if m > 0 and n > 0 The inverse Ackermann function is the function that returns the pair of int
7 min read
Derivatives of Inverse Functions
In mathematics, a function(e.g. f), is said to be an inverse of another(e.g. g), if given the output of g returns the input value given to f. Additionally, this must hold true for every element in the domain co-domain(range) of g. E.g. assuming x and y are constants if g(x) = y and f(y) = x then the
11 min read
Inverse functions and composition of functions
Inverse Functions - In mathematics a function, a, is said to be an inverse of another, b, if given the output of b a returns the input value given to b. Additionally, this must hold true for every element in the domain co-domain(range) of b. In other words, assuming x and y are constants, if b(x) =
3 min read
Derivative of Inverse Trigonometric Functions
Derivative of Inverse Trigonometric Function refers to the rate of change in Inverse Trigonometric Functions. We know that the derivative of a function is the rate of change in a function with respect to the independent variable. Before learning this, one should know the formulas of differentiation
10 min read
Increasing and Decreasing Functions
Increasing and decreasing functions refer to the behavior of a function's graph as you move from left to right along the x-axis. A function is considered increasing if for any two values x1 and x2â such that x1 < x2 â, the function value at x1â is less than the function value at x2â (i.e., f( x1)
13 min read
Introduction to Möbius inversion
The Mobius inversion formula is a technique used in number theory to find the inverse of an arithmetic function. It is based on the Mobius function, which is a function that assigns a value of -1, 0, or 1 to each positive integer based on its prime factorization. The basic idea behind Mobius Inversi
12 min read
Inverse Functions Practice Questions
Inverse functions are those functions which reverse the actions of another function and reversing its operation. It swaps input and output values, allowing for the retrieval of the original input from a given output. This article consist of a series of Inverse Functions Practice Questions focused at
4 min read
Verifying Inverse Functions by Composition
A function can be seen as a mathematical formula or a machine that throws output when an input is given. The output is usually some processed version of the input. Function's inverses can be seen as the operations which give us the input back on giving them the output. In other words, inverse functi
5 min read