Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

4.5: Logarithmic Properties

( \newcommand{\kernel}{\mathrm{null}\,}\)

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, the pH scale is used as a measure of the acidity or alkalinity of a substance. 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 25C
  • 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 [H+] is the concentration of hydrogen ions in the solution

pH=log([H+])=log(1[H+])

The equivalence of Equations 4.5.1 and 4.5.2 is one of the logarithm properties we will examine in this section.

Testing of the pH of hydrochloric acid.
Figure 4.5.1: The pH of hydrochloric acid is tested with litmus paper. (credit: David Berardan).

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.

logb1=0logbb=1

For example, log51=0 since 50=1. And log55=1 since 51=5.

Next, we have the inverse property.

logb(bx)=xblogbx=x,x>0

For example, to evaluate log(100), we can rewrite the logarithm as log10(102), and then apply the inverse property logb(bx)=x to get log10(102)=2.

To evaluate eln(7), we can rewrite the logarithm as eloge7, and then apply the inverse property blogbx=x to get eloge7=7.

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

logbM=logbN if and only if M=N

We can use the one-to-one property to solve the equation log3(3x)=log3(2x+5) for x. Since the bases are the same, we can apply the one-to-one property by setting the arguments equal and solving for x:

3x=2x+5 Set the arguments equal.

x=5 Subtract 2x.

But what about the equation log3(3x)+log3(2x+5)=2? 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: xaxb=xa+b. 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 x and positive real numbers M, N, and b, where b1, we will show

logb(MN)=logb(M)+logb(N).

Let m=logbM and n=logbN. In exponential form, these equations are bm=M and bn=N. It follows that

logb(MN)=logb(bmbn)Substitute for M and N=logb(bm+n)Apply the product rule for exponents=m+nApply the inverse property of logs=logb(M)+logb(N)Substitute for m and n

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 logb(wxyz). Using the product rule for logarithms, we can rewrite this logarithm of a product as the sum of logarithms of its factors:

logb(wxyz)=logbw+logbx+logby+logbz

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.

logb(MN)=logb(M)+logb(N) for b>0

How to: Given the logarithm of a product, use the product rule of logarithms to write an equivalent sum of logarithms
  1. Factor the argument completely, expressing each whole number factor as a product of primes.
  2. Write the equivalent expression by summing the logarithms of each factor.
Example 4.5.1: Using the Product Rule for Logarithms

Expand log3(30x(3x+4)).

Solution

We begin by factoring the argument completely, expressing 30 as a product of primes.

log3(30x(3x+4))=log3(235x(3x+4))

Next we write the equivalent equation by summing the logarithms of each factor.

log3(30x(3x+4))=log3(2)+log3(3)+log3(5)+log3(x)+log3(3x+4)

Exercise 4.5.1

Expand logb(8k).

Answer

logb2+logb2+logb2+logbk=3logb2+logbk

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: xab=xab. The quotient rule for logarithms says that the logarithm of a quotient is equal to a difference of logarithms.

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.

logb(MN)=logbMlogbN

Just as with the product rule, we can use the inverse property to derive the quotient rule.

Proof

Given any real number x and positive real numbers M, N, and b, b, where b1, we will show

logb(MN)=logb(M)logb(N).

Let m=logbM and n=logbN. In exponential form, these equations are bm=M and bn=N. It follows that

logb(MN)=logb(bmbn)Substitute for M and N=logb(bmn)Apply the quotient rule for exponents=mnApply the inverse property of logs=logb(M)logb(N)Substitute for m and n

For example, to expand log(2x2+6x3x+9), we must first express the quotient in lowest terms. Factoring and canceling we get,

log(2x2+6x3x+9)=log(2x(x+3)3(x+3))Factor the numerator and denominator=log(2x3)Cancel the common factors

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.

log(2x3)=log(2x)log(3)=log(2)+log(x)log(3)

How to: Given the logarithm of a quotient, use the quotient rule of logarithms to write an equivalent difference of logarithms
  1. Express the argument in lowest terms by factoring the numerator and denominator and canceling common terms.
  2. Write the equivalent expression by subtracting the logarithm of the denominator from the logarithm of the numerator.
  3. Check to see that each term is fully expanded. If not, apply the product rule for logarithms to expand completely.
Example 4.5.2: Using the Quotient Rule for Logarithms

Expand log2(15x(x1)(3x+4)(2x)).

Solution

First we note that the quotient is factored and in lowest terms, so we apply the quotient rule.

log2(15x(x1)(3x+4)(2x))=log2(15x(x1))log2((3x+4)(2x))

Notice that the resulting terms are logarithms of products. To expand completely, we apply the product rule, noting that the prime factors of the factor 15 are 3 and 5.

log2(15x(x1))log2((3x+4)(2x))=[log2(3)+log2(5)+log2(x)+log2(x1)][log2(3x+4)+log2(2x)]=log2(3)+log2(5)+log2(x)+log2(x1)log2(3x+4)log2(2x)

Analysis

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

Exercise 4.5.2

Expand log3(7x2+21x7x(x1)(x2)).

Answer

log3(x+3)log3(x1)log3(x2)

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 x2? One method is as follows:

logb(x2)=logb(xx)=logbx+logbx=2logbx

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,

100=102 3=312 1e=e1

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.

logb(Mn)=nlogbM

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
  1. Express the argument as a power, if needed.
  2. Write the equivalent expression by multiplying the exponent times the logarithm of the base.
Example 4.5.3: Expanding a Logarithm with Powers

Expand log2x5.

Solution

The argument is already written as a power, so we identify the exponent, 5, and the base, x, and rewrite the equivalent expression by multiplying the exponent times the logarithm of the base.

log2(x5)=5log2x

Exercise 4.5.3

Expand lnx2.

Answer

2lnx

Example 4.5.4: Rewriting an Expression as a Power before Using the Power Rule

Expand log3(25) using the power rule for logs.

Solution

Expressing the argument as a power, we get log3(25)=log3(52).

Next we identify the exponent, 2, and the base, 5, and rewrite the equivalent expression by multiplying the exponent times the logarithm of the base.

log3(52)=2log3(5)

Exercise 4.5.4

Expand ln(1x2).

Answer

2ln(x)

Example 4.5.5: Using the Power Rule in Reverse

Rewrite 4ln(x) using the power rule for logs to a single logarithm with a leading coefficient of 1.

Solution

Because the logarithm of a power is the product of the exponent times the logarithm of the base, it follows that the product of a number and a logarithm can be written as a power. For the expression 4ln(x), we identify the factor, 4, as the exponent and the argument, x, as the base, and rewrite the product as a logarithm of a power: 4ln(x)=ln(x4).

Exercise 4.5.5

Rewrite 2log34 using the power rule for logs to a single logarithm with a leading coefficient of 1.

Answer

log316

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:

logb(6xy)=logb(6x)logby=logb6+logbxlogby

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:

logb(AC)=logb(AC1)=logb(A)+logb(C1)=logbA+(1)logbC=logbAlogbC

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 4.5.6: Expanding Logarithms Using Product, Quotient, and Power Rules

Rewrite ln(x4y7) as a sum or difference of logs.

Solution

First, because we have a quotient of two expressions, we can use the quotient rule:

ln(x4y7)=ln(x4y)ln(7)

Then seeing the product in the first term, we use the product rule:

ln(x4y)ln(7)=ln(x4)+ln(y)ln(7)

Finally, we use the power rule on the first term:

ln(x4)+ln(y)ln(7)=4ln(x)+ln(y)ln(7)

Exercise 4.5.6

Expand log(x2y3z4).

Answer

2logx+3logy4logz

Example 4.5.7: Using the Power Rule for Logarithms to Simplify the Logarithm of a Radical Expression

Expand log(x).

Solution

log(x)=logx(12)=12logx

Exercise 4.5.7

Expand ln(3x2).

Answer

23lnx

Q&A: Can we expand ln(x2+y2)?

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

Example 4.5.8: Expanding Complex Logarithmic Expressions

Expand log6(64x3(4x+1)(2x1)).

Solution

We can expand by applying the Product and Quotient Rules.

log6(64x3(4x+1)(2x1))=log664+log6x3+log6(4x+1)log6(2x1)Apply the Quotient Rule=log626+log6x3+log6(4x+1)log6(2x1)Simplify by writing 64 as 26=6log62+3log6x+log6(4x+1)log6(2x1)Apply the Power Rule

Exercise 4.5.8

Expand ln((x1)(2x+1)2(x29)).

Answer

12ln(x1)+ln(2x+1)ln(x+3)ln(x3)

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
  1. Apply the power property first. Identify terms that are products of factors and a logarithm, and rewrite each as the logarithm of a power.
  2. Next apply the product property. Rewrite sums of logarithms as the logarithm of a product.
  3. Apply the quotient property last. Rewrite differences of logarithms as the logarithm of a quotient.
Example 4.5.9: Using the Product and Quotient Rules to Combine Logarithms

Write log3(5)+log3(8)log3(2) as a single logarithm.

Solution

Using the product and quotient rules

log3(5)+log3(8)=log3(58)=log3(40)

This reduces our original expression to

log3(40)log3(2)

Then, using the quotient rule

log3(40)log3(2)=log3(402)=log3(20)

Exercise 4.5.9

Condense log3log4+log5log6.

Answer

log(3546); can also be written log(58) by reducing the fraction to lowest terms.

Example 4.5.10: Condensing Complex Logarithmic Expressions

Condense log2(x2)+12log2(x1)3log2((x+3)2).

Solution

We apply the power rule first:

log2(x2)+12log2(x1)3log2((x+3)2)=log2(x2)+log2(x1)log2((x+3)6)

Next we apply the product rule to the sum:

log2(x2)+log2(x1)log2((x+3)6)=log2(x2x1)log2((x+3)6)

Finally, we apply the quotient rule to the difference:

log2(x2x1)log2((x+3)6)=log2x2x1(x+3)6

Example 4.5.11: Rewriting as a Single Logarithm

Rewrite 2logx4log(x+5)+1xlog(3x+5) as a single logarithm.

Solution

We apply the power rule first:

2logx4log(x+5)+1xlog(3x+5)=log(x2)log(x+5)4+log((3x+5)x1)

Next we rearrange and apply the product rule to the sum:

log(x2)log(x+5)4+log((3x+5)x1)=log(x2)+log((3x+5)x1log(x+5)4=log(x2(3x+5)x1)log(x+5)4=logx2(3x+5)x1(x+5)4Apply the quotient rule to the difference

Exercise 4.5.10

Rewrite log(5)+0.5log(x)log(7x1)+3log(x1) as a single logarithm.

Answer

log5(x1)3x(7x1)

Exercise 4.5.11

Condense 4(3log(x)+log(x+5)log(2x+3)).

Answer

logx12(x+5)4(2x+3)4; this answer could also be written log(x3(x+5)(2x+3))4

Example 4.5.12: Applying of the Laws of Logs

Recall that, in chemistry, pH=log[H+]. If the concentration of hydrogen ions in a liquid is doubled, what is the effect on pH?

Solution

Suppose C is the original concentration of hydrogen ions, and P is the original pH of the liquid. Then P=log(C). If the concentration is doubled, the new concentration is 2C. Then the pH of the new liquid is

pH=log(2C)

Using the product rule of logs

pH=log(2C)=(log(2)+log(C))=log(2)log(C)

Since P=log(C),the new pH is

pH=Plog(2)P0.301

Exercise 4.5.12

When the concentration of hydrogen ions is doubled, the pH decreases by about 0.301.

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

Answer

The pH increases by about 0.301.

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 ore, 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 M, b, and n, where n1 and b1,we show

logbM=lognMlognb

Let y=logbM. By taking the log base n of both sides of the equation, we arrive at an exponential form, namely by=M. It follows that

logn(by)=lognMApply the one-to-one propertyylognb=lognMApply the power rule for logarithmsy=lognMlognbIsolate ylogbM=lognMlognbSubstitute for y

For example, to evaluate log536 using a calculator, we must first rewrite the expression as a quotient of common or natural logs. We will use the common log.

log536=log(36)log(5)Apply the change of base formula using base 102.2266Use a calculator to evaluate to 4 decimal places

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 M, b, and n, where n1 and b1,

logbM=lognMlognb

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.

logbM=lnMlnb

and

logbM=logMlogb

How to: Given a logarithm with the form logbM, use the change-of-base formula to rewrite it as a quotient of logs with any positive base n, where n1
  1. Determine the new base n, remembering that the common log, log(x), has base 10, and the natural log, ln(x),has base e.
  2. Rewrite the log as a quotient using the change-of-base formula
    • The numerator of the quotient will be a logarithm with base n and argument M.
    • The denominator of the quotient will be a logarithm with base n and argument b.
Example 4.5.13: Changing Logarithmic Expressions to Expressions Involving Only Natural Logs

Change log53 to a quotient of natural logarithms.

Solution

Because we will be expressing log53 as a quotient of natural logarithms, the new base, n=e.

We rewrite the log as a quotient using the change-of-base formula. The numerator of the quotient will be the natural log with argument 3. The denominator of the quotient will be the natural log with argument 5.

logbM=lnMlnb

log53=ln3ln5

Exercise 4.5.13

Change log0.58 to a quotient of natural logarithms.

Answer

ln8ln0.5

Q&A: Can we change common logarithms to natural logarithms?

Yes. Remember that log9 meansl log109. So, log9=ln9ln10.

Example 4.5.14: Using the Change-of-Base Formula with a Calculator

Evaluate log2(10) using the change-of-base formula with a calculator.

Solution

According to the change-of-base formula, we can rewrite the log base 2 as a logarithm of any other base. Since our calculators can evaluate the natural log, we might choose to use the natural logarithm, which is the log base e.

log210=ln10ln2Apply the change of base formula using base e3.3219Use a calculator to evaluate to 4 decimal places

Exercise 4.5.14

Evaluate log5(100) using the change-of-base formula.

Answer

ln100ln54.60511.6094=2.861

Media

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

  • The Properties of Logarithms
  • Expand Logarithmic Expressions
  • Evaluate a Natural Logarithmic Expression

Key Equations

The Product Rule for Logarithms logb(MN)=logb(M)+logb(N)
The Quotient Rule for Logarithms logb(MN)=logbMlogbN
The Power Rule for Logarithms logb(Mn)=nlogbM
The Change-of-Base Formula logbM=lognMlognb n>0, n1, b1

Key Concepts

  • We can use the product rule of logarithms to rewrite the log of a product as a sum of logarithms. See Example 4.5.1.
  • We can use the quotient rule of logarithms to rewrite the log of a quotient as a difference of logarithms. See Example 4.5.2.
  • We can use the power rule for logarithms to rewrite the log of a power as the product of the exponent and the log of its base. See Example 4.5.3, Example 4.5.4, and Example 4.5.5.
  • We can use the product rule, the quotient rule, and the power rule together to combine or expand a logarithm with a complex input. See Example 4.5.6, Example 4.5.7, and Example 4.5.8.
  • The rules of logarithms can also be used to condense sums, differences, and products with the same base as a single logarithm. See Example 4.5.9, Example 4.5.10, Example 4.5.11, and Example 4.5.12.
  • We can convert a logarithm with any base to a quotient of logarithms with any other base using the change-of-base formula. See Example 4.5.13.
  • The change-of-base formula is often used to rewrite a logarithm with a base other than 10 and e as the quotient of natural or common logs. That way a calculator can be used to evaluate. See Example 4.5.14.

This page titled 4.5: Logarithmic Properties is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?