# Change of Base Formula or Rule

I have discussed most of the log rules in a separate lesson. However, I have intentionally left one out to discuss it here in detail. The log rule is called the **Change-of-Base Formula**.

If you are interested in why the Change-of-Formula works, click the following link to see the proof: Proofs of Logarithm Properties.

The logarithm that is using base-10 is known as the *common logarithm*, while the one using base-e is known as the *natural logarithm*.

## The Number \Large{\color{black}{e}}

**Note:** The number e is a mathematical constant which has a numerical value of e \approx 2.71828. It is an irrational number because it cannot be expressed as a ratio of two integers or as a fraction. More so, the number e is the base of the natural logarithm.

Therefore, the common logarithms and natural logarithms are utilizing the **standard bases** 10 and e, respectively.

- common logarithm is written as \large{\color{red}\log x = {\log _{10}}x}

- natural logarithm is written as \large{\color{blue}\ln x = {\log _e}x}

Before we continue, I would like to point out some nuances or subtleties with regard to the mathematical expressions of common and natural logarithms.

## The LOG and LN Buttons of a Graphing Calculator

Most graphing calculators have functions or keys that directly calculate the logarithms of numbers in base-10 and base-e. Thus, you will only see two buttons: **LOG** for common logarithm and **LN** for natural logarithm.

It is obvious that a problem arises when we want to calculate the logarithm of a number using non-standard bases such 2, 3, 7, 0.5, and 0.25.

The logarithms above use NON-STANDARD bases because they are neither \large{\color{green}10} nor the number \large{\color{green}e}.

How do we proceed to punch in the numbers on a graphing calculator? As I mentioned before, most calculators are limited to only compute logarithms with base 10 and base e.

This is where the **Change-of-Base Formula** comes to rescue. It can convert a non-standard-base logarithm as a ratio of two logarithmic operations that use the standard base either 10 or the constant e.

**What is the Change-of-Base Formula**?

The **Change-of-Base Formula** is an instruction on how to rewrite or transform a given logarithmic expression as a ratio or fraction of two logarithm operations using any valid base.

That means, if we have a logarithm using a specific base, then we can turn this into an equivalent ratio or fraction of two logarithmic operations such that we can pick any base that we want. We can literally select any base as long as it is positive but not equal to \color{red}1.

But if we want to calculate or know the value of a logarithm, we should pick base-10 or base-e since most calculators have these function keys. The **log key** [log] computes the common (using base-10) logarithm while the **ln key** [ln] calculates the natural (using base-e) logarithm.

Let’s parse how the formula transformed the original logarithm into an equivalent expression as a ratio of two log operations.

- The argument of the original logarithm becomes the argument of the logarithm of the numerator.

- The base of the original logarithm becomes the argument of the logarithm of the denominator.

- The logarithms in the numerator and denominator have the same base. The value of the base \large\color{green}c is any base that we chose.

## Examples of the Change-of-Base Formula

The first two examples (Example #1 and #2) are perfect textbook problems because the argument and the base of a logarithm can be expressed as powers of a common number (a positive number that is not equal to 1) which serves as the new base when applying the change-of-base rule.

**Example 1:** Evaluate \large{\log {}_48}.

The first thing I recognized is that both the argument and its base can be expressed as a power of 2.

Notice that

- 8 = {2^3}

- 4 = {2^2}

Therefore, it just makes sense to transform \log {}_48 as a ratio of two logarithmic operations with base-2 using the Change-of-Base Formula. Then simplify further using the following rules of logarithms which are:

- \large{\color{blue}{\log _b}\left( {{x^k}} \right) = k \cdot {\log _b}\left( x \right)}

- \large{\color{red}{\log _b}b = 1}

Here is the complete solution.

**Example 2:** Evaluate \large{\log {}_{\large{{1 \over {27}}}}\left( 9 \right)}.

You might think that there’s a problem with the question because the base of the logarithm is a fraction. Remember that the base of a logarithm must be positive but it cannot equal 1. So, the base \large{1 \over {27}} is perfectly okay. It is obviously a positive number and it doesn’t equal 1.

The fraction \large{1 \over {27}} can be re-written a power of 3. This is where the Negative Rule of Exponent comes in handy.

The Negative Rule of Exponent allows us to invert the fraction (reciprocal) but we must switch the sign of the exponent.

For \Large{{1 \over {27}}}, we can express it as a power of 3 with a negative exponent.

For 9, we can also rewrite it as a power of 3 which is 9 = {3^2}.

Since the base and argument of \large{\log {}_{{1 \over {27}}}\left( 9 \right)} can be rewritten as powers of 3, we will be calculating this logarithm using the Change-of-Base Formula with base-3.

On top of the Negative Rule of Exponent, we will also need the rules of logarithms as shown below.

- \large{\color{blue}{\log _b}\left( {{x^k}} \right) = k \cdot {\log _b}\left( x \right)}

- \large{\color{red}{\log _b}b = 1}

Now, below is the complete solution.

**Example 3:** Calculate the value of \large{\log {}_{\large{5}}\left( {12} \right)}. Round your answer to the nearest **thousandth**.

This is no longer a “nice” problem because the argument and the base of the logarithm cannot be expressed as the powers of a common number. In other words, there is no scenario where we can express 5 and 12 as exponential numbers such that they have the same base.

To solve this, we can use the change-of-base rule to rewrite the original logarithm as a ratio of two logarithms of the base of our choosing. We have two options: use base-10 or base-e. It doesn’t matter which one we choose because the answer will be the same. For this problem, let’s use base-10.

Don’t forget to round your answer to three decimal places because we are asked to round it to the nearest thousandth.

Our calculator should confirm that our answer is correct.

**Example 4:** Calculate the value of \large{\log {}_{\large{7}}\left( {9} \right)}. Round your answer to the nearest hundredth.

In the previous example, we used base-10 to evaluate the logarithm. This time we will use the natural number \color{red}e as the base of choice when applying the Change-of-Base formula.

Notice that we don’t need to write the natural logarithm as \large{{{\log }_e}\left( x \right)}. We can omit that step and write it immediately as \large{\ln \left( x \right)}. I added it as one of the steps below for clarity and emphasis purposes.

Let’s go ahead and apply the change-of-base rule to convert \large{\log {}_7\left( 9 \right)} as a ratio or fraction of two natural log operations.

Also, make sure to round your answer to two decimal places since the problem requires us to express our final answer in the nearest hundredth.

Your calculator should output a similar result just like the one below.

**Example 5:** Change \large{\log {}_{\large{6}}\left( {0.1} \right)} as a quotient of two natural logarithms. Calculate its value then round to the nearest tenth.

This problem requires us to change the given logarithm as a quotient of natural logarithms. That means we have no choice but to use the natural number \large\color{red}e as the base when we apply the change-of-base formula. Don’t forget as well that we are told to round our answer to the nearest tenth (one decimal place).

Here’s our solution:

Our calculator agrees with our answer.

**Example 6:** Change \color{blue}\large{\log \left( 7 \right)} as a quotient in terms of natural logarithms. Then compute its value. Round your answer to the nearest ten-thousandth.

I admit that although we can directly solve for the value of \color{red}\log \left( 7 \right) with a calculator since it has a **LOG **key, this problem wants us to take the long route. Not because it is a futile exercise of our time but more importantly, it is an opportunity for us to apply our solid grasp or understanding of the change-of-base formula.

Remember that when you see a log operation without a base, it is assumed to have a base of 10. Therefore, our very first step is to rewrite \log \left( 7 \right) as {\log _{10}}\left( 7 \right) so that it is much easier to see what are the numbers we are dealing with during the change-of-base step.

It’s a great feeling when a calculator outputs the value that verifies our answer.

**Example 7:** Change \color{blue}\large\ln \left( {13} \right) as a ratio in terms of common logarithms. Then calculate its value. Round your answer to the nearest ten-thousandth.

Just like example #6, there’s no need to apply the change-of-base formula because we can directly compute it with a calculator. However, the intention of this problem is to showcase our in-depth understanding of common and natural logarithms, and how to properly handle the formula.

So, let’s transform \large\ln \left( {13} \right) in **LOG form** where the base is \large\color{blue}e, thus, \large{\log _{\large{e}}}\left( {13} \right). Now, we use the change-of-base formula to express it as a ratio of two common logarithms. Remember, the common logarithm uses base-10.

Yes! The calculator agrees with our answer.