In mathematics, an inverse function or $f^{-1}$ is a function that "reverses" another function. That is, if $f$ is a function mapping $x$ to $y$, then the inverse function of $f$ maps $y$ back to $x$.