The logarithm (abbreviated log) of a number is the power to which a base must be raised in order to produce the number. Consider the exponential form: $$ \begin{equation}\begin{aligned} a^x=b\\ \end{aligned}\end{equation} $$
The logarithm form is written as: $$ \begin{equation}\begin{aligned} \log_{a}b=x\\ \end{aligned}\end{equation} $$
The log is $x$ because $x$ is the power to which the base $a$ must be raised to give the number $b$. This is often read as “log, base $a$, of $b$ is $x$”. Each part of this notation matters. Consider the exponential forms: $$ \begin{equation}\begin{aligned} 16^1&=16\\ 4^2&=16\\ \end{aligned}\end{equation} $$
As we already know, these are just a few ways to get $16$ by raising a base to a power. The equivalent log forms would be: $$ \begin{equation}\begin{aligned} log_{16}16&=1\\ log_{4}16&=2\\ \end{aligned}\end{equation} $$
Appreciate how, as the base varies ($16\rightarrow 4$), the log (a.k.a. the power) must change ($1\rightarrow 2$) in order to compensate for this change in the base, so as to produce the same number, in this case $16$ .
Solving simple equations involving logs
Consider the log form: $$ \begin{equation}\begin{aligned} log_{10}x=2\\ \end{aligned}\end{equation} $$
The value of $x$ can be found by rewriting the equation in its exponential form: $$ \begin{equation}\begin{aligned} 10^2&=x\\ \therefore x&=100\\ \end{aligned}\end{equation} $$
The following log form can be solved in a similar manner: $$ \begin{equation}\begin{aligned} log_{8}64&=x\\ \therefore 8^x&=64\\ \end{aligned}\end{equation} $$
We then write $64$ as a power of $8$ in order to get the same base: $$ \begin{equation}\begin{aligned} 8^x&=8^2\\ \end{aligned}\end{equation} $$
Since the bases match on both sides, we can equate the powers: $$ \begin{equation}\begin{aligned} 8^x&=8^2\\ \therefore x&=2\\ \end{aligned}\end{equation} $$
If the base is unknown: $$ \begin{equation}\begin{aligned} log_{x}25&=2\\ \therefore x^2&=25\\ \end{aligned}\end{equation} $$
This is solved as a regular equation: $$ \begin{equation}\begin{aligned} x^2&=25\\ x&=\pm\sqrt{25}\\ \therefore x&=\pm 5\\ \end{aligned}\end{equation} $$
Recap on laws of indices
Because logarithms are powers, we need to understand the laws of indices in order to understand how logs will behave when used in more complex scenarios. Recall the laws of indices:
- $a^1=a$ for example, $5^1=5$
- $a^0=1$ for example, $2^0=1$
- $a^{-n}=\frac{1}{a^n}$ for example, $x^{-2}=\frac{1}{x^2}$
- $a^m\times a^n=a^{m+n}$ for example, $2^2\times 2^3=2^{2+3}=2^5$
- $\frac{a^m}{a^n}=a^{m-n}$ for example, $\frac{4^7}{4^2}=4^{7-2}=4^5$
- $(a^m)^n=a^{mn}$ for example, $7^{3}\times 7^{2}=7^{3\times 2}=7^6$
Created using natural intelligence