If x = by where both b > 0, x > 0, then we define y = logb x, which is read as
"y is the log to the base b of x". This means that, logb x or y is the number to which b has to be raised exponentially in order to equal x. So a log is simply the inverse function of an exponential function. Therefore, the domain of any logarithmic function is the set of positive numbers since the range of any exponential function is the set of positive numbers.
Let us find the log of 100 to the base 10
As 100 = 102
log10 100 = 2
The exponential function and logarithmic function are inverse functions of each other, since
y = logb x if and only if x = by.
If y = log10 x = f(x), then x = 10y and vice-versa.
If x = ey then y = ln x and vice versa.
The shape of the logarithmic function y = ln x is graphically illustrated below.