Explanation:
An inverse function in mathematics is function which "reverses" the another function.
For example, If function f which is applied to input a gives result b and then applying inverse of the function g to b, it gives result a and vice versa.
It can be written as:
f(a) = b if and only if g(b) = a or, f⁻¹ (b) = a