In mathematics, the inverse of a function y=f(x){\displaystyle y=f(x)} is a function that, in some fashion, "undoes" the effect of f{\displaystyle f} (see inverse function for a formal and detailed definition). The inverse of f{\displaystyle f} is denoted f−1{\displaystyle f^{-1}}. The statements y = f(x) and x = f −1(y) are equivalent.