Open In App

Can a function be equal to its inverse?

Last Updated : 30 Aug, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

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 Mapping
Function Mapping

Another example of function mapping

First image is a function and second image is not a function

The 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:

Problem-6
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:

Problem-7
graph of g(x) and y=x

Since 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.


Next Article

Similar Reads