Source: https://users.math.msu.edu/users/magyarp/Math133/6.1-Inverse-Fcns.pdf