Definition: The logarithm function base b. $log_b : (0, \infty) \rightarrow R$ , the logarithm function with the base $b$ is defined as the inverse function for the exponential function base b for real numbers.