Computations work well when numbers are
Logarithm is a function $\mathbb{R}^+ \rightarrow \mathbb{R}$: $$\log_b x = y$$
By definition, $$b^y = x$$
$\log x$ assumes a base (binary, natural, decimal):
| Base | Notation | Used in |
|---|---|---|
| 2 (binary) | $\mathrm{lb}\,x$ | computer science, information theory |
| $e$ (natural) | $\ln x$ | statistics, engineering |
| $10$ (decimal) | $\lg x$ | physics, engineering |
The base can be explicit: $\log_2 x$, $\log_e x$, $\log_{10} x$