Skip to main content

Logarithms

Slide ruler and book
Image by hmvierow, Pixabay

The modeling of growth and decay in areas such as finance, epidemiology and science makes use of equations with logarithms and exponentials. The laws for working with logarithms enable us to solve equations that cannot be solved with other algebraic techniques. Use this resource to learn about them.

Video tutorial – logarithms

Watch this video to learn about logarithms.

Hi, I’m Martin Lindsay from the Study and Learning Centre at RMIT University. This is a short movie on logarithms.

A logarithm is an index but let’s look at an index first. Here’s the number eight, eight is the same as two to the power of three. Three things here, eight is the number, two is the base and three is the index, two to the power of three is two times two times two which is eight. So here it is again, eight equals two to the power of three. Now this can be written as log of eight to the base two equals three. Notice the three in red, the index three and the logarithm three. Also note the base two, both two to the three and log of eight to the base two. In other words we can write the equivalence here, A to the power of X is equal to N is the same as log of N to the base A is X. Notice the index in red and the logarithm in red.

Now look at some examples, five to the power of three is 125 which is the same as log of 125 to the base five is three. Notice in each case as I go through these that the index and the logarithm are shown in red. Here’s another one, three to the negative two is equal to one over nine, log of one over nine to the base three is negative two and finally 25 to the power of one half is five is the same as log of five to the base 25 is equal to the half. Study these carefully before moving on to the next slide.

Now let’s work out log of 64 to the base four. We’ll write the equivalent statement first and beneath that log of 64 to the base four which equals X is the same as four to the power of X is 64. In other words what we’re trying to do here is working out what the X value is, the power of four. So four cubed gives us 64, four times four times four, in other words X is equal to three, therefore log of 64 to the base four is equal to three.

Here’s another problem but this time we’re solving log of X to the base two equals five. In the previous slide we were working out what the logarithm was, here we’re working out what the number is, which is X in this case. First of all let’s write the equivalent statement and then plugging our log over X to the base two equals five into that equivalent statement gives us two to the power of five is equal to X. In other words we’re working out what two to the power of five is, which is two times two times two times two times two, which is 32, in other words X is equal to 32.

Now here are two important logarithm rules. The first rule is A to the power of zero is equal to one, which the same as log of one to the base A is equal to zero. In other words for any base the log of one is zero. Second rule is A to the power of one is equal to A or the log of A to the same base A is equal to one, in other words the log of any number with itself as base is equal to one.

There are three laws of logarithms that you must know. Here’s the first one. The log of two numbers multiplied together, M N is equal to the log of M plus the log of N. For instance here’s the log of 15 and 15 is five times three, so the log of five times three is equal to the log of five plus the log of three.

Here’s the second law. The log of a quotient, in other words M divided by N is equal to log of M minus log of N. So for instance if we have the log of 12 over five that is the same as log of 12 subtract the log of five and finally the log of a number to a power, in this case log of M to the power of P is the same as P log of M. Notice how the index here is now placed in front of the log. So for instance the log of nine to the power of two is the same as two log of nine but notice nine is the same as three squared so we can go one step further and write two log three squared, again using the law three squared we can place the two in front so it now becomes two times two log of three which is four log of three.

Now try some questions for yourselves. The answers to these problems are on the next slide. Thanks for watching this short movie.

Logarithmic expressions

The logarithm (or log) of a number is the power that the base must be raised to, to give that number. For example, the logarithm of \(16\) with a base of \(2\) is \(4\), because \(2^{4}= 16\).

A log is an index. Every index or log expression contains a number, a base and an index. For example:

An equation showing 8 equals 2 to the power of 3. 8 is the number, 2 is the base and 3 is in the index.

We say "eight is equal to two to the power of three".

We can write this in its logarithmic form:

An equation showing log base 2 of 8 equals 3. 2 is the base, 8 is the number and 3 is the logarithm.

We say “the log to base two of eight is equal to three” (the power of two that gives eight is three).

In general,
\[a^{x}=n\Leftrightarrow\log_{a}n=x\]
where \(a>0\), \(n>0\) and \(a\neq1\).

Your turn – converting to logarithm form

  1. Write the following in logarithm form.
    1. \(3^{2}\)
    2. \(10^{4}\)
    3. \(10^{-2}\)
    4. \(e^{a}=b\)

    1. \(\log_{3}9=2\)
    2. \(\log_{10}10000=4\)
    3. \(\log_{10}0.01=-2\)
    4. \(\log_{e}b=a\)

Properties of logarithms

There are three important properties of logarithms.

  • For \(a>0,\), \(a=1\Leftrightarrow\log_{a}1=0\). In other words, for any \(a>0,\) the log of \(1\) is \(0\).
  • For \(a>0\), \(a=a^{1}\Leftrightarrow\log_{a}a=1\).
  • If \(\log_{a}m=\log_{a}p\), then \(m=p\).

These will come in handy when you evaluate logarithms, so memorise them!

Evaluating logarithms with base \(10\) or \(e\)

The base of a log can be any positive number except \(1\), but the most common are \(10\) and \(e\). When these bases are used, you can solve or evaluate the logarithm using a calculator.

  • To find the power of \(10\) that produces \(50\), we use the LOG button on the calculator: \(\log_{10}50\approx1.7\) and \(10^{1.7}\approx50\).
  • To find the power of \(e\) that produces \(50\), we use the LN button on the calculator: \(\log_{e}50=\ln50\approx3.9\) and \(e^{3.9}\approx50\).

You can also solve logarithms by changing them to index form.

Example 1 – solving logarithms with base \(10\) or \(e\)

Evaluate \(\log_{10}125\).
\[\begin{align*} \textrm{Let}\log_{5}125 & =x\quad\textrm{change to index form}\\
5^{x} & = 125\quad\textrm{express 125 as a power of 5}\\
5^{x} & = 5^{3}\quad\textrm{equate indices}\\
x & = 3
\end{align*}\]

Evaluate \(\log_{10}0.0001\).
\[\begin{align*} \textrm{Let}\log_{10}0.0001 & = x\quad\textrm{change to index form}\\
10^{x} & = 0.0001\quad\textrm{express 0.0001 as a power of 10}\\ 10^{x} & = 10^{-4}\quad\textrm{equate indices}\\
x & = -4
\end{align*}\]

Evaluating logarithms using the logarithm laws

Just like how there are three index laws, there are three laws of logarithms that help you to manipulate logarithms. They can be used to simplify and evaluate logarithmic expressions.

For these laws to be true, \(m,n>0\), \(a>0\) and \(a\neq1\).

First logarithm law

To find the log of a product, find the log of each factor separately and add them together.

\[\log_{a}\left(mn\right)=\log_{a}m+\log_{a}n\]

Second logarithm law

To find the log of a quotient, find the log of the dividend and subtract the log of the divisor.

\[\log_{a}\frac{m}{n}=\log_{a}m-\log_{a}n\]

Third logarithm law

To find the log of a number raised to a power, multiply the logarithm by the power.

\[\log_{a}m^{p}=p\log_{a}m\]

Example 1 – using the logarithm laws

Evaluate \(\log_{a}15\).
\[\begin{align*} \log_{a}15 & = \log_{a}\left(5\times3\right)\\
& = \log_{a}5+\log_{a}3
\end{align*}\]

Evaluate \(\log_{a}\frac{12}{5}\).
\[\log_{a}\frac{12}{5}=\log_{a}12-\log_{a}5\]

Evaluate \(\log_{a}\left(9^{2}\right)\).
\[\begin{align*} \log_{a}\left(9^{2}\right) & = 2\log_{a}9\\
& = 2\log_{a}\left(3^{2}\right)\\
& = 2\times2 \log_{a}3\\
& = 4\log_{a}3
\end{align*}\]

Evaluate \(\log_{10}6+\log_{10}2\).
\[\begin{align*} \log_{10}6+\log_{10}2 & = \log_{10}\left(6\times2\right)\\
& = \log_{10}12\\
& = 1.08
\end{align*}\]

Evaluate \(\frac{1}{2}\log_{10}36-\log_{10}15+2\log_{10}5\).
\[\begin{align*} \frac{1}{2}\log_{10}36-\log_{10}15+2\log_{10}5 & = \log_{10}\left(36^{\frac{1}{2}}\right)-\log_{10}15+\log_{10}\left(5^{2}\right)\\
& = \log_{10}6-\log_{10}15+\log_{10}25\\
& = \log_{10}\left(\frac{6\times25}{15}\right)\\
& = \log_{10}10\\
& = 1
\end{align*}\]

Your turn – evaluating logarithms

  1. Evaluate the following without using a calculator.
    1. \(\log_{7}49\)
    2. \(\log_{10}\sqrt{10}\)
    3. \(\log_{5}1\)
    4. \(\log_{10}100000\)
    5. \(\log_{5}5\)
  2. Simplify the following.
    1. \(\log_{4}8+\log_{4}3-\log_{4}2\)
    2. \(\dfrac{1}{2}\log_{10}25-\log_{10}4+2\log_{10}3\)
    3. \(\log_{e}e^{2}+2\log_{e}3-\log_{e}18\)
    4. \(\log_{a}4+2\log_{a}3-2\log_{a}6\)
    5. \(\dfrac{1}{2}\log_{10}a^{2}+3\log_{10}b-\log_{10}3ab^{2}\)

    1. \(2\)
    2. \(\dfrac{1}{2}\)
    3. \(0\)
    4. \(5\)
    5. \(1\)
    1. \(\log_{4}12\)
    2. \(\log_{10}\left(\dfrac{45}{4}\right)\)
    3. \(2\log_{e}2\)
    4. \(0\)
    5. \(\log_{10}\left(\dfrac{b}{3}\right)\)

Unless otherwise labeled, images on this page by RMIT, licensed under CC BY-NC 4.0


Further resources

Calculating noise levels

Explore these skills in a real world context.