Logarithms as Inverse Exponentials

Throughout suppose that $a>1$. The function $y=\log_a(x)$ is the inverse of the function $y=a^x$. In other words,

$$\log_a(a^x) = x \qquad \hbox{and} \qquad a^{\log_a(x)}=x$$

whenever these make sense.

The value of $\log_b(a)$ is the power you raise $b$ to to get $a$. 

Examples:

Laws of Logarithms

The laws of logs follow from the law of exponents.  You should know these.  Provided that $x>0$ and $y>0$ we have:

Logarithm Laws
  • $\log_{a}(xy) = \log_a(x) + \log_a(y)$

  • $\log_a(x/y) = \log_a(x) - \log_a(y)$

  • $\log_a(x^r) = r \log_a(x)$

  • $\log_b(a) = \frac{\log_x(a)}{\log_x(b)}$ for any valid log base $x$

The last item above is the "change of base" formula, which helps in approximating the value of logs using your calculator (which usually has only $\ln x$ and $\log x$ which are logs with base $e$ and $10$ respectively).  So  $\log_7(5)=\frac{\ln 5}{\ln 7}=\frac{\log 5}{\log 7}$, either of which you can compute using your calculator.  These ratios are equal -- do not think that $\ln 5=\log 5$!  The power you raise $e$ to to get 5 is not the same as the power you raise $10$ to to get 5.

Graphs

Below are the graphs of the log functions when $a>1$ or $0 < a<1$.