Given f(x)=2^x, what is f^−1(x)?

The inverse of f(x) = 2^x is f^−1(x) = log2(x).