A logarithm is the inverse operation to exponentiation. That means the logarithm of a number is the exponent to which the base must be raised to produce that number.
Formally, if by = x, then the logarithm of x with base b is y, written as:
logb(x) = y
Example: If 23 = 8, then log2(8) = 3.
The natural logarithm is the logarithm to the base e, where e ≈ 2.71828. It is denoted as ln(x). It has important applications in calculus, growth processes, and complex numbers.
Note that ln(1) = 0 because e^0 = 1.