### Learning Objectives

- Use the product rule for logarithms.
- Use the quotient rule for logarithms.
- Use the power rule for logarithms.
- Expand logarithmic expressions.
- Condense logarithmic expressions.
- Use the change-of-base formula for logarithms.

In chemistry, pH is used as a measure of the acidity or alkalinity of a substance. The pH scale runs from 0 to 14. Substances with a pH less than 7 are considered acidic, and substances with a pH greater than 7 are said to be alkaline. Our bodies, for instance, must maintain a pH close to 7.35 in order for enzymes to work properly. To get a feel for what is acidic and what is alkaline, consider the following pH levels of some common substances:

- Battery acid: 0.8
- Stomach acid: 2.7
- Orange juice: 3.3
- Pure water: 7 (at 25° C)
- Human blood: 7.35
- Fresh coconut: 7.8
- Sodium hydroxide (lye): 14

To determine whether a solution is acidic or alkaline, we find its pH, which is a measure of the number of active positive hydrogen ions in the solution. The pH is defined by the following formula, where$\text{\hspace{0.17em}}{H}^{+}\text{\hspace{0.17em}}$is the concentration of hydrogen ion in the solution

The equivalence of$\text{\hspace{0.17em}}-\mathrm{log}\left(\left[{H}^{+}\right]\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\mathrm{log}\left(\frac{1}{\left[{H}^{+}\right]}\right)\text{\hspace{0.17em}}$is one of the logarithm properties we will examine in this section.

### Using the Product Rule for Logarithms

Recall that the logarithmic and exponential functions “undo” each other. This means that logarithms have similar properties to exponents. Some important properties of logarithms are given here. First, the following properties are easy to prove.

For example,$\text{\hspace{0.17em}}{\mathrm{log}}_{5}1=0\text{\hspace{0.17em}}$since$\text{\hspace{0.17em}}{5}^{0}=1.\text{\hspace{0.17em}}$And$\text{\hspace{0.17em}}{\mathrm{log}}_{5}5=1\text{\hspace{0.17em}}$since$\text{\hspace{0.17em}}{5}^{1}=5.$

Next, we have the inverse property.

For example, to evaluate$\text{\hspace{0.17em}}\mathrm{log}\left(100\right),$we can rewrite the logarithm as$\text{\hspace{0.17em}}{\mathrm{log}}_{10}\left({10}^{2}\right),$ and then apply the inverse property$\text{\hspace{0.17em}}{\mathrm{log}}_{b}\left({b}^{x}\right)=x\text{\hspace{0.17em}}$to get$\text{\hspace{0.17em}}{\mathrm{log}}_{10}\left({10}^{2}\right)=2.$

To evaluate$\text{\hspace{0.17em}}{e}^{\mathrm{ln}\left(7\right)},$we can rewrite the logarithm as$\text{\hspace{0.17em}}{e}^{{\mathrm{log}}_{e}7},$ and then apply the inverse property$\text{\hspace{0.17em}}{b}^{{\mathrm{log}}_{b}x}=x\text{\hspace{0.17em}}$to get$\text{\hspace{0.17em}}{e}^{{\mathrm{log}}_{e}7}=7.$

Finally, we have the one-to-one property.

We can use the one-to-one property to solve the equation$\text{\hspace{0.17em}}{\mathrm{log}}_{3}\left(3x\right)={\mathrm{log}}_{3}\left(2x+5\right)\text{\hspace{0.17em}}$for$\text{\hspace{0.17em}}x.\text{\hspace{0.17em}}$Since the bases are the same, we can apply the one-to-one property by setting the arguments equal and solving for$\text{\hspace{0.17em}}x:$

But what about the equation$\text{\hspace{0.17em}}{\mathrm{log}}_{3}\left(3x\right)+{\mathrm{log}}_{3}\left(2x+5\right)=2?\text{\hspace{0.17em}}$The one-to-one property does not help us in this instance. Before we can solve an equation like this, we need a method for combining terms on the left side of the equation.

Recall that we use the *product rule of exponents* to combine the product of exponents by adding:$\text{\hspace{0.17em}}{x}^{a}{x}^{b}={x}^{a+b}.\text{\hspace{0.17em}}$We have a similar property for logarithms, called the **product rule for logarithms**, which says that the logarithm of a product is equal to a sum of logarithms. Because logs are exponents, and we multiply like bases, we can add the exponents. We will use the inverse property to derive the product rule below.

Given any real number$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$and positive real numbers$\text{}M,N,$ and$\text{\hspace{0.17em}}b,$ where$\text{\hspace{0.17em}}b\ne 1,$ we will show

Let$\text{\hspace{0.17em}}m={\mathrm{log}}_{b}M\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}n={\mathrm{log}}_{b}N.\text{\hspace{0.17em}}$In exponential form, these equations are$\text{\hspace{0.17em}}{b}^{m}=M\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}{b}^{n}=N.\text{\hspace{0.17em}}$It follows that

Note that repeated applications of the product rule for logarithms allow us to simplify the logarithm of the product of any number of factors. For example, consider$\text{\hspace{0.17em}}{\mathrm{log}}_{b}(wxyz).\text{\hspace{0.17em}}$Using the product rule for logarithms, we can rewrite this logarithm of a product as the sum of logarithms of its factors:

### The Product Rule for Logarithms

The product rule for logarithms can be used to simplify a logarithm of a product by rewriting it as a sum of individual logarithms.

### How To

**Given the logarithm of a product, use the product rule of logarithms to write an equivalent sum of logarithms.**

- Factor the argument completely, expressing each whole number factor as a product of primes.
- Write the equivalent expression by summing the logarithms of each factor.

### Example 1

#### Using the Product Rule for Logarithms

Expand $\text{\hspace{0.17em}}{\mathrm{log}}_{3}\left(30x\left(3x+4\right)\right).$

Expand$\text{\hspace{0.17em}}{\mathrm{log}}_{b}(8k).$

### Using the Quotient Rule for Logarithms

For quotients, we have a similar rule for logarithms. Recall that we use the *quotient rule of exponents* to combine the quotient of exponents by subtracting:$\text{\hspace{0.17em}}\frac{{x}^{a}}{{x}^{b}}={x}^{a-b}.\text{\hspace{0.17em}}$The **quotient rule for logarithms** says that the logarithm of a quotient is equal to a difference of logarithms. Just as with the product rule, we can use the inverse property to derive the quotient rule.

Given any real number$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$and positive real numbers$\text{\hspace{0.17em}}M,$$N,$ and $\text{\hspace{0.17em}}b,$ where$\text{\hspace{0.17em}}b\ne 1,$ we will show

Let$\text{\hspace{0.17em}}m={\mathrm{log}}_{b}M\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}n={\mathrm{log}}_{b}N.\text{\hspace{0.17em}}$In exponential form, these equations are$\text{\hspace{0.17em}}{b}^{m}=M\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}{b}^{n}=N.\text{\hspace{0.17em}}$It follows that

For example, to expand$\text{\hspace{0.17em}}\mathrm{log}\left(\frac{2{x}^{2}+6x}{3x+9}\right),$we must first express the quotient in lowest terms. Factoring and canceling we get,

Next we apply the quotient rule by subtracting the logarithm of the denominator from the logarithm of the numerator. Then we apply the product rule.

### The Quotient Rule for Logarithms

The quotient rule for logarithms can be used to simplify a logarithm or a quotient by rewriting it as the difference of individual logarithms.

### How To

**Given the logarithm of a quotient, use the quotient rule of logarithms to write an equivalent difference of logarithms.**

- Express the argument in lowest terms by factoring the numerator and denominator and canceling common terms.
- Write the equivalent expression by subtracting the logarithm of the denominator from the logarithm of the numerator.
- Check to see that each term is fully expanded. If not, apply the product rule for logarithms to expand completely.

### Example 2

#### Using the Quotient Rule for Logarithms

Expand$\text{\hspace{0.17em}}{\mathrm{log}}_{2}\left(\frac{15x(x-1)}{(3x+4)(2-x)}\right).$

#### Analysis

There are exceptions to consider in this and later examples. First, because denominators must never be zero, this expression is not defined for$\text{\hspace{0.17em}}x=-\frac{4}{3}\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}x=2.\text{\hspace{0.17em}}$Also, since the argument of a logarithm must be positive, we note as we observe the expanded logarithm, that$\text{\hspace{0.17em}}x>0,$$x>1,$$x>-\frac{4}{3},$ and$\text{\hspace{0.17em}}x<2.\text{\hspace{0.17em}}$Combining these conditions is beyond the scope of this section, and we will not consider them here or in subsequent exercises.

Expand$\text{\hspace{0.17em}}{\mathrm{log}}_{3}\left(\frac{7{x}^{2}+21x}{7x\left(x-1\right)\left(x-2\right)}\right).$

### Using the Power Rule for Logarithms

We’ve explored the product rule and the quotient rule, but how can we take the logarithm of a power, such as$\text{\hspace{0.17em}}{x}^{2}?\text{\hspace{0.17em}}$One method is as follows:

Notice that we used the product rule for logarithms to find a solution for the example above. By doing so, we have derived the **power rule for logarithms**, which says that the log of a power is equal to the exponent times the log of the base. Keep in mind that, although the input to a logarithm may not be written as a power, we may be able to change it to a power. For example,

### The Power Rule for Logarithms

The power rule for logarithms can be used to simplify the logarithm of a power by rewriting it as the product of the exponent times the logarithm of the base.

### How To

**Given the logarithm of a power, use the power rule of logarithms to write an equivalent product of a factor and a logarithm.**

- Express the argument as a power, if needed.
- Write the equivalent expression by multiplying the exponent times the logarithm of the base.

### Example 3

#### Expanding a Logarithm with Powers

Expand$\text{\hspace{0.17em}}{\mathrm{log}}_{2}{x}^{5}.$

Expand$\text{\hspace{0.17em}}\mathrm{ln}{x}^{2}.\text{\hspace{0.17em}}$

### Example 4

#### Rewriting an Expression as a Power before Using the Power Rule

Expand$\text{\hspace{0.17em}}{\mathrm{log}}_{3}\left(25\right)\text{\hspace{0.17em}}$using the power rule for logs.

Expand$\text{\hspace{0.17em}}\mathrm{ln}\left(\frac{1}{{x}^{2}}\right).$

### Example 5

#### Using the Power Rule in Reverse

Rewrite$\text{\hspace{0.17em}}4\mathrm{ln}(x)\text{\hspace{0.17em}}$using the power rule for logs to a single logarithm with a leading coefficient of 1.

Rewrite$\text{\hspace{0.17em}}2{\mathrm{log}}_{3}4\text{\hspace{0.17em}}$using the power rule for logs to a single logarithm with a leading coefficient of 1.

### Expanding Logarithmic Expressions

Taken together, the product rule, quotient rule, and power rule are often called “laws of logs.” Sometimes we apply more than one rule in order to simplify an expression. For example:

We can use the power rule to expand logarithmic expressions involving negative and fractional exponents. Here is an alternate proof of the quotient rule for logarithms using the fact that a reciprocal is a negative power:

We can also apply the product rule to express a sum or difference of logarithms as the logarithm of a product.

With practice, we can look at a logarithmic expression and expand it mentally, writing the final answer. Remember, however, that we can only do this with products, quotients, powers, and roots—never with addition or subtraction inside the argument of the logarithm.

### Example 6

#### Expanding Logarithms Using Product, Quotient, and Power Rules

Rewrite$\text{\hspace{0.17em}}\mathrm{ln}\left(\frac{{x}^{4}y}{7}\right)\text{\hspace{0.17em}}$as a sum or difference of logs.

Expand$\text{\hspace{0.17em}}\mathrm{log}\left(\frac{{x}^{2}{y}^{3}}{{z}^{4}}\right).$

### Example 7

#### Using the Power Rule for Logarithms to Simplify the Logarithm of a Radical Expression

Expand$\text{\hspace{0.17em}}\mathrm{log}\left(\sqrt{x}\right).$

Expand$\text{\hspace{0.17em}}\mathrm{ln}\left(\sqrt[3]{{x}^{2}}\right).$

### Q&A

**Can we expand**$\text{\hspace{0.17em}}\mathrm{ln}\left({x}^{2}+{y}^{2}\right)?$

*No. There is no way to expand the logarithm of a sum or difference inside the argument of the logarithm.*

### Example 8

#### Expanding Complex Logarithmic Expressions

Expand$\text{\hspace{0.17em}}{\mathrm{log}}_{6}\left(\frac{64{x}^{3}\left(4x+1\right)}{\left(2x-1\right)}\right).$

Expand$\text{\hspace{0.17em}}\mathrm{ln}\left(\frac{\sqrt{(x-1){(2x+1)}^{2}}}{({x}^{2}-9)}\right).$

### Condensing Logarithmic Expressions

We can use the rules of logarithms we just learned to condense sums, differences, and products with the same base as a single logarithm. It is important to remember that the logarithms must have the same base to be combined. We will learn later how to change the base of any logarithm before condensing.

### How To

**Given a sum, difference, or product of logarithms with the same base, write an equivalent expression as a single logarithm.**

- Apply the power property first. Identify terms that are products of factors and a logarithm, and rewrite each as the logarithm of a power.
- Next apply the product property. Rewrite sums of logarithms as the logarithm of a product.
- Apply the quotient property last. Rewrite differences of logarithms as the logarithm of a quotient.

### Example 9

#### Using the Product and Quotient Rules to Combine Logarithms

Write$\text{\hspace{0.17em}}{\mathrm{log}}_{3}\left(5\right)+{\mathrm{log}}_{3}\left(8\right)-{\mathrm{log}}_{3}\left(2\right)\text{\hspace{0.17em}}$as a single logarithm.

Condense$\text{\hspace{0.17em}}\mathrm{log}3-\mathrm{log}4+\mathrm{log}5-\mathrm{log}6.$

### Example 10

#### Condensing Complex Logarithmic Expressions

Condense$\text{\hspace{0.17em}}{\mathrm{log}}_{2}\left({x}^{2}\right)+\frac{1}{2}{\mathrm{log}}_{2}\left(x-1\right)-3{\mathrm{log}}_{2}\left({\left(x+3\right)}^{2}\right).$

Rewrite$\text{\hspace{0.17em}}\mathrm{log}\left(5\right)+0.5\mathrm{log}\left(x\right)-\mathrm{log}\left(7x-1\right)+3\mathrm{log}\left(x-1\right)\text{\hspace{0.17em}}$as a single logarithm.

### Example 11

#### Rewriting as a Single Logarithm

Rewrite$\text{\hspace{0.17em}}2\mathrm{log}x-4\mathrm{log}(x+5)+\frac{1}{x}\mathrm{log}\left(3x+5\right)\text{\hspace{0.17em}}$as a single logarithm.

Condense$\text{\hspace{0.17em}}4\left(3\mathrm{log}\left(x\right)+\mathrm{log}\left(x+5\right)-\mathrm{log}\left(2x+3\right)\right).$

### Example 12

#### Applying of the Laws of Logs

Recall that, in chemistry,$\text{\hspace{0.17em}}\text{pH}=-\mathrm{log}[{H}^{+}].\text{\hspace{0.17em}}$If the concentration of hydrogen ions in a liquid is doubled, what is the effect on pH?

How does the pH change when the concentration of positive hydrogen ions is decreased by half?

### Using the Change-of-Base Formula for Logarithms

Most calculators can evaluate only common and natural logs. In order to evaluate logarithms with a base other than 10 or$\text{\hspace{0.17em}}e,$we use the change-of-base formula to rewrite the logarithm as the quotient of logarithms of any other base; when using a calculator, we would change them to common or natural logs.

To derive the change-of-base formula, we use the one-to-one property and power rule for logarithms.

Given any positive real numbers$\text{\hspace{0.17em}}M,b,$ and $\text{\hspace{0.17em}}n,$ where$\text{\hspace{0.17em}}n\ne 1\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}b\ne 1,$we show

Let$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}M.\text{\hspace{0.17em}}$By taking the log base$\text{\hspace{0.17em}}n\text{\hspace{0.17em}}$of both sides of the equation, we arrive at an exponential form, namely$\text{\hspace{0.17em}}{b}^{y}=M.\text{\hspace{0.17em}}$It follows that

For example, to evaluate$\text{\hspace{0.17em}}{\mathrm{log}}_{5}36\text{\hspace{0.17em}}$using a calculator, we must first rewrite the expression as a quotient of common or natural logs. We will use the common log.

### The Change-of-Base Formula

The change-of-base formula can be used to evaluate a logarithm with any base.

For any positive real numbers$\text{\hspace{0.17em}}M,b,\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}n,$ where$\text{\hspace{0.17em}}n\ne 1\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}b\ne 1,$

It follows that the change-of-base formula can be used to rewrite a logarithm with any base as the quotient of common or natural logs.

and

### How To

**Given a logarithm with the form$\text{\hspace{0.17em}}{\mathrm{log}}_{b}M,$ use the change-of-base formula to rewrite it as a quotient of logs with any positive base $\text{\hspace{0.17em}}n,$ where$\text{\hspace{0.17em}}n\ne 1.$**

- Determine the new base$\text{\hspace{0.17em}}n,$ remembering that the common log,$\text{\hspace{0.17em}}\mathrm{log}\left(x\right),$ has base 10, and the natural log,$\text{\hspace{0.17em}}\mathrm{ln}\left(x\right),$has base$\text{\hspace{0.17em}}e.$
- Rewrite the log as a quotient using the change-of-base formula
- The numerator of the quotient will be a logarithm with base$\text{\hspace{0.17em}}n\text{\hspace{0.17em}}$and argument$\text{\hspace{0.17em}}M.$
- The denominator of the quotient will be a logarithm with base$\text{\hspace{0.17em}}n\text{\hspace{0.17em}}$and argument$\text{\hspace{0.17em}}b.$

### Example 13

#### Changing Logarithmic Expressions to Expressions Involving Only Natural Logs

Change$\text{\hspace{0.17em}}{\mathrm{log}}_{5}3\text{\hspace{0.17em}}$to a quotient of natural logarithms.

Change$\text{\hspace{0.17em}}{\mathrm{log}}_{0.5}8\text{\hspace{0.17em}}$to a quotient of natural logarithms.

### Q&A

**Can we change common logarithms to natural logarithms?**

*Yes. Remember that$\text{\hspace{0.17em}}\mathrm{log}9\text{\hspace{0.17em}}$means$\text{\hspace{0.17em}}{\text{log}}_{\text{10}}\text{9}.$ So,$\text{\hspace{0.17em}}\mathrm{log}9=\frac{\mathrm{ln}9}{\mathrm{ln}10}.$*

### Example 14

#### Using the Change-of-Base Formula with a Calculator

Evaluate$\text{\hspace{0.17em}}{\mathrm{log}}_{2}(10)\text{\hspace{0.17em}}$using the change-of-base formula with a calculator.

Evaluate$\text{\hspace{0.17em}}{\mathrm{log}}_{5}(100)\text{\hspace{0.17em}}$using the change-of-base formula.

### Media

Access these online resources for additional instruction and practice with laws of logarithms.

### 6.5 Section Exercises

#### Verbal

How does the power rule for logarithms help when solving logarithms with the form$\text{\hspace{0.17em}}{\mathrm{log}}_{b}\left(\sqrt[n]{x}\right)?$

What does the change-of-base formula do? Why is it useful when using a calculator?

#### Algebraic

For the following exercises, expand each logarithm as much as possible. Rewrite each expression as a sum, difference, or product of logs.

$\mathrm{ln}\left(3ab\cdot 5c\right)$

${\mathrm{log}}_{4}\left(\frac{\text{}\frac{x}{z}\text{}}{w}\right)$

${\mathrm{log}}_{2}\left({y}^{x}\right)$

For the following exercises, condense to a single logarithm if possible.

${\mathrm{log}}_{3}(2)+{\mathrm{log}}_{3}(a)+{\mathrm{log}}_{3}(11)+{\mathrm{log}}_{3}(b)$

$\mathrm{ln}\left(a\right)-\mathrm{ln}\left(d\right)-\mathrm{ln}\left(c\right)$

$\frac{1}{3}\mathrm{ln}\left(8\right)$

For the following exercises, use the properties of logarithms to expand each logarithm as much as possible. Rewrite each expression as a sum, difference, or product of logs.

$\mathrm{ln}\left(\frac{{a}^{\mathrm{-2}}}{{b}^{\mathrm{-4}}{c}^{5}}\right)$

$\mathrm{ln}\left(y\sqrt{\frac{y}{1-y}}\right)$

For the following exercises, condense each expression to a single logarithm using the properties of logarithms.

$\mathrm{log}\left(2{x}^{4}\right)+\mathrm{log}\left(3{x}^{5}\right)$

$2\mathrm{log}(x)+3\mathrm{log}(x+1)$

$4{\mathrm{log}}_{7}\left(c\right)+\frac{{\mathrm{log}}_{7}\left(a\right)}{3}+\frac{{\mathrm{log}}_{7}\left(b\right)}{3}$

For the following exercises, rewrite each expression as an equivalent ratio of logs using the indicated base.

${\mathrm{log}}_{14}\left(55.875\right)\text{\hspace{0.17em}}$to base$\text{\hspace{0.17em}}10$

For the following exercises, suppose$\text{\hspace{0.17em}}{\mathrm{log}}_{5}\left(6\right)=a\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}{\mathrm{log}}_{5}\left(11\right)=b.\text{\hspace{0.17em}}$Use the change-of-base formula along with properties of logarithms to rewrite each expression in terms of$\text{\hspace{0.17em}}a\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}b.\text{\hspace{0.17em}}$Show the steps for solving.

${\mathrm{log}}_{6}\left(55\right)$

#### Numeric

For the following exercises, use properties of logarithms to evaluate without using a calculator.

${\mathrm{log}}_{3}\left(\frac{1}{9}\right)-3{\mathrm{log}}_{3}\left(3\right)$

$6{\mathrm{log}}_{8}\left(2\right)+\frac{{\mathrm{log}}_{8}\left(64\right)}{3{\mathrm{log}}_{8}\left(4\right)}$

$2{\mathrm{log}}_{9}\left(3\right)-4{\mathrm{log}}_{9}\left(3\right)+{\mathrm{log}}_{9}\left(\frac{1}{729}\right)$

For the following exercises, use the change-of-base formula to evaluate each expression as a quotient of natural logs. Use a calculator to approximate each to five decimal places.

${\mathrm{log}}_{8}\left(65\right)$

${\mathrm{log}}_{4}\left(\frac{15}{2}\right)$

#### Extensions

Use the product rule for logarithms to find all$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$values such that$\text{\hspace{0.17em}}{\mathrm{log}}_{12}\left(2x+6\right)+{\mathrm{log}}_{12}\left(x+2\right)=2.\text{\hspace{0.17em}}$Show the steps for solving.

Use the quotient rule for logarithms to find all$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$values such that$\text{\hspace{0.17em}}{\mathrm{log}}_{6}\left(x+2\right)-{\mathrm{log}}_{6}\left(x-3\right)=1.\text{\hspace{0.17em}}$Show the steps for solving.

Can the power property of logarithms be derived from the power property of exponents using the equation$\text{\hspace{0.17em}}{b}^{x}=m?\text{\hspace{0.17em}}$If not, explain why. If so, show the derivation.

Prove that$\text{\hspace{0.17em}}{\mathrm{log}}_{b}\left(n\right)=\frac{1}{{\mathrm{log}}_{n}\left(b\right)}\text{\hspace{0.17em}}$for any positive integers$\text{\hspace{0.17em}}b>1\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}n>1.$

Does$\text{\hspace{0.17em}}{\mathrm{log}}_{81}\left(2401\right)={\mathrm{log}}_{3}\left(7\right)?\text{\hspace{0.17em}}$Verify the claim algebraically.