Skip to content

Logarithmic Properties

By the end of this section, you will be able to:

  • 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 basic. 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 basic, 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 basic, 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+][H^+] is the concentration of hydrogen ion in the solution.

pH=log([H+])=log(1[H+])\text{pH}=-\log\left([H^+]\right)=\log\left(\tfrac{1}{[H^+]}\right)

The equivalence of log([H+])-\log\left([H^+]\right) and log(1[H+])\log\left(\tfrac{1}{[H^+]}\right) 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.

logb1=0logbb=1 \begin{array}{l} \log_b 1=0 \\[4pt] \log_b b=1 \end{array}

For example, log51=0\log_5 1=0 since 50=15^0=1. And log55=1\log_5 5=1 since 51=55^1=5.

Next, we have the inverse property.

logb(bx)=xblogbx=x, x>0 \begin{array}{l} \log_b(b^x)=x \\[4pt] b^{\log_b x}=x,\ x>0 \end{array}

For example, to evaluate log(100)\log(100), we can rewrite the logarithm as log10(102)\log_{10}(10^2), and then apply the inverse property logb(bx)=x\log_b(b^x)=x to get log10(102)=2\log_{10}(10^2)=2.

To evaluate eln(7)e^{\ln(7)}, we can rewrite the logarithm as eloge7e^{\log_e 7}, and then apply the inverse property blogbx=xb^{\log_b x}=x to get eloge7=7e^{\log_e 7}=7.

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

logbM=logbN if and only if M=N\log_b M=\log_b N\ \text{if and only if}\ M=N

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

Set the arguments equal.3x=2x+5Subtract 2x.x=5 \begin{array}{lrcl} \text{Set the arguments equal.} & 3x &=& 2x+5 \\[4pt] \text{Subtract }2x. & x &=& 5 \end{array}

But what about the equation log3(3x)+log3(2x+5)=2\log_3(3x)+\log_3(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 powers by adding exponents: xaxb=xa+bx^a x^b=x^{a+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 xx and positive real numbers M,N,M,N, and bb, where b1b\ne1, we will show

logb(MN)=logb(M)+logb(N)\log_b(MN)=\log_b(M)+\log_b(N)

Let m=logbMm=\log_b M and n=logbNn=\log_b N. In exponential form, these equations are bm=Mb^m=M and bn=Nb^n=N. It follows that

Substitute for M and N.logb(MN)=logb(bmbn)Apply the product rule for exponents.=logb(bm+n)Apply the inverse property of logs.=m+nSubstitute for m and n.=logb(M)+logb(N) \begin{array}{lrcl} \text{Substitute for }M\text{ and }N. & \log_b(MN) &=& \log_b(b^m b^n) \\[4pt] \text{Apply the product rule for exponents.} & &=& \log_b(b^{m+n}) \\[4pt] \text{Apply the inverse property of logs.} & &=& m+n \\[4pt] \text{Substitute for }m\text{ and }n. & &=& \log_b(M)+\log_b(N) \end{array}

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)\log_b(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\log_b(wxyz)=\log_b w+\log_b x+\log_b y+\log_b z

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\log_b(MN)=\log_b(M)+\log_b(N)\quad\text{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. Expand log3(30x(3x+4))\log_3(30x(3x+4)).

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

log3(30x(3x+4))=log3(235x(3x+4))\log_3(30x(3x+4))=\log_3(2\cdot3\cdot5\cdot x\cdot(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)\log_3(30x(3x+4))=\log_3(2)+\log_3(3)+\log_3(5)+\log_3(x)+\log_3(3x+4)

Expandlogb(8k)\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: xaxb=xab\tfrac{x^a}{x^b}=x^{a-b}. 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 xx and positive real numbers M,N,M,N, and bb, where b1b\ne1, we will show

logb(MN)=logb(M)logb(N)\log_b\left(\tfrac{M}{N}\right)=\log_b(M)-\log_b(N)

Let m=logbMm=\log_b M and n=logbNn=\log_b N. In exponential form, these equations are bm=Mb^m=M and bn=Nb^n=N. It follows that

Substitute for M and N.logb(MN)=logb(bmbn)Apply the quotient rule for exponents.=logb(bmn)Apply the inverse property of logs.=mnSubstitute for m and n.=logb(M)logb(N) \begin{array}{lrcl} \text{Substitute for }M\text{ and }N. & \log_b\left(\tfrac{M}{N}\right) &=& \log_b\left(\tfrac{b^m}{b^n}\right) \\[4pt] \text{Apply the quotient rule for exponents.} & &=& \log_b(b^{m-n}) \\[4pt] \text{Apply the inverse property of logs.} & &=& m-n \\[4pt] \text{Substitute for }m\text{ and }n. & &=& \log_b(M)-\log_b(N) \end{array}

For example, to expand log(2x2+6x3x+9)\log\left(\tfrac{2x^2+6x}{3x+9}\right), we must first express the quotient in lowest terms. Factoring and canceling we get,

Factor the numerator and denominator.log(2x2+6x3x+9)=log(2x(x+3)3(x+3))Cancel the common factors.=log(2x3) \begin{array}{lrcl} \text{Factor the numerator and denominator.} & \log\left(\tfrac{2x^2+6x}{3x+9}\right) &=& \log\left(\tfrac{2x(x+3)}{3(x+3)}\right) \\[4pt] \text{Cancel the common factors.} & &=& \log\left(\tfrac{2x}{3}\right) \end{array}

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) \begin{array}{lrcl} & \log\left(\tfrac{2x}{3}\right) &=& \log(2x)-\log(3) \\[4pt] & &=& \log(2)+\log(x)-\log(3) \end{array}

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\log_b\left(\tfrac{M}{N}\right)=\log_b M-\log_b N

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. Expand log2(15x(x1)(3x+4)(2x))\log_2\left(\tfrac{15x(x-1)}{(3x+4)(2-x)}\right).

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))\log_2\left(\tfrac{15x(x-1)}{(3x+4)(2-x)}\right)=\log_2(15x(x-1))-\log_2((3x+4)(2-x))

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 1515 are 33 and 55.

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) \begin{array}{lrcl} & \log_2(15x(x-1))-\log_2((3x+4)(2-x)) &=& [\log_2(3)+\log_2(5)+\log_2(x)+\log_2(x-1)]-[\log_2(3x+4)+\log_2(2-x)] \\[4pt] & &=& \log_2(3)+\log_2(5)+\log_2(x)+\log_2(x-1)-\log_2(3x+4)-\log_2(2-x) \end{array}

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=43x=-\tfrac{4}{3} and x=2x=2. Also, since the argument of a logarithm must be positive, we note as we observe the expanded logarithm, that x>0x>0, x>1x>1, x>43x>-\tfrac{4}{3}, and x<2x<2. Combining these conditions is beyond the scope of this section, and we will not consider them here or in subsequent exercises.

Expandlog3(7x2+21x7x(x1)(x2))\log_3\left(\tfrac{7x^2+21x}{7x(x-1)(x-2)}\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 x2x^2? One method is as follows:

logb(x2)=logb(xx)=logbx+logbx=2logbx \begin{array}{lrcl} & \log_b(x^2) &=& \log_b(x\cdot x) \\[4pt] & &=& \log_b x+\log_b x \\[4pt] & &=& 2\log_b x \end{array}

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=1023=3121e=e1100=10^2\qquad \sqrt3=3^{\tfrac{1}{2}}\qquad \tfrac{1}{e}=e^{-1}

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\log_b(M^n)=n\log_b M

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. Expand log2x5\log_2 x^5.

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

log2(x5)=5log2x\log_2(x^5)=5\log_2 x

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

Solution. Expressing the argument as a power, we get log3(25)=log3(52)\log_3(25)=\log_3(5^2).

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

log3(52)=2log3(5)\log_3(5^2)=2\log_3(5)

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

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)4\ln(x), we identify the factor, 44, as the exponent and the argument, xx, as the base, and rewrite the product as a logarithm of a power: 4ln(x)=ln(x4)4\ln(x)=\ln(x^4).

Expandlnx2\ln x^2.

Expandln(1x2)\ln\left(\tfrac{1}{x^2}\right).

Rewrite2log3(4)2\log_3(4)using the power rule for logs to a single logarithm with a leading coefficient of11.

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 \begin{array}{lrcl} & \log_b\left(\tfrac{6x}{y}\right) &=& \log_b(6x)-\log_b y \\[4pt] & &=& \log_b 6+\log_b x-\log_b y \end{array}

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 \begin{array}{lrcl} & \log_b\left(\tfrac{A}{C}\right) &=& \log_b(AC^{-1}) \\[4pt] & &=& \log_b(A)+\log_b(C^{-1}) \\[4pt] & &=& \log_b A+(-1)\log_b C \\[4pt] & &=& \log_b A-\log_b C \end{array}

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. Rewrite ln(x4y7)\ln\left(\tfrac{x^4y}{7}\right) 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)\ln\left(\tfrac{x^4y}{7}\right)=\ln(x^4y)-\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)\ln(x^4y)-\ln(7)=\ln(x^4)+\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)\ln(x^4)+\ln(y)-\ln(7)=4\ln(x)+\ln(y)-\ln(7)

Expandlog(x2y3z4)\log\left(\tfrac{x^2y^3}{z^4}\right).

Example. Expand log(x)\log(\sqrt{x}).

Solution.

log(x)=log(x12)=12logx \begin{array}{lrcl} & \log(\sqrt{x}) &=& \log\left(x^{\tfrac12}\right) \\[4pt] & &=& \tfrac{1}{2}\log x \end{array}

Expandln(x23)\ln\left(\sqrt[3]{x^2}\right).

Q&A. Can we expand ln(x2+y2)\ln(x^2+y^2)?

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

Example. Expand log6(64x3(4x+1)2x1)\log_6\left(\tfrac{64x^3(4x+1)}{2x-1}\right).

Solution. We can expand by applying the Product and Quotient Rules.

Apply the Quotient Rule.log6(64x3(4x+1)2x1)=log664+log6x3+log6(4x+1)log6(2x1)Simplify by writing 64 as 26.=log626+log6x3+log6(4x+1)log6(2x1)Apply the Power Rule.=6log62+3log6x+log6(4x+1)log6(2x1) \begin{array}{lrcl} \text{Apply the Quotient Rule.} & \log_6\left(\tfrac{64x^3(4x+1)}{2x-1}\right) &=& \log_6 64+\log_6 x^3+\log_6(4x+1)-\log_6(2x-1) \\[4pt] \text{Simplify by writing }64\text{ as }2^6. & &=& \log_6 2^6+\log_6 x^3+\log_6(4x+1)-\log_6(2x-1) \\[4pt] \text{Apply the Power Rule.} & &=& 6\log_6 2+3\log_6 x+\log_6(4x+1)-\log_6(2x-1) \end{array}

Expandln((x1)(2x+1)2x29)\ln\left(\tfrac{\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.

  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. Write log3(5)+log3(8)log3(2)\log_3(5)+\log_3(8)-\log_3(2) as a single logarithm.

Solution. Using the product and quotient rules

log3(5)+log3(8)=log3(58)=log3(40)\log_3(5)+\log_3(8)=\log_3(5\cdot8)=\log_3(40)

This reduces our original expression to

log3(40)log3(2)\log_3(40)-\log_3(2)

Then, using the quotient rule

log3(40)log3(2)=log3(402)=log3(20)\log_3(40)-\log_3(2)=\log_3\left(\tfrac{40}{2}\right)=\log_3(20)

Condenselog(3)log(4)+log(5)log(6)\log(3)-\log(4)+\log(5)-\log(6)to a single logarithm.

Example. Condense log2(x2)+12log2(x1)3log2((x+3)2)\log_2(x^2)+\tfrac12\log_2(x-1)-3\log_2((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)\log_2(x^2)+\tfrac12\log_2(x-1)-3\log_2((x+3)^2)=\log_2(x^2)+\log_2(\sqrt{x-1})-\log_2((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)\log_2(x^2)+\log_2(\sqrt{x-1})-\log_2((x+3)^6)=\log_2(x^2\sqrt{x-1})-\log_2((x+3)^6)

Finally, we apply the quotient rule to the difference:

log2(x2x1)log2((x+3)6)=log2x2x1(x+3)6\log_2(x^2\sqrt{x-1})-\log_2((x+3)^6)=\log_2\tfrac{x^2\sqrt{x-1}}{(x+3)^6}

Rewritelog(5)+0.5log(x)log(7x1)+3log(x1)\log(5)+0.5\log(x)-\log(7x-1)+3\log(x-1)as a single logarithm.

Example. Rewrite 2logx4log(x+5)+1xlog(3x+5)2\log x-4\log(x+5)+\tfrac1x\log(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)2\log x-4\log(x+5)+\tfrac1x\log(3x+5)=\log(x^2)-\log(x+5)^4+\log\!\left((3x+5)^{x^{-1}}\right)

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)x1)log(x+5)4=log ⁣(x2(3x+5)x1)log(x+5)4 \begin{array}{lrcl} & \log(x^2)-\log(x+5)^4+\log\!\left((3x+5)^{x^{-1}}\right) &=& \log(x^2)+\log\!\left((3x+5)^{x^{-1}}\right)-\log(x+5)^4 \\[4pt] & &=& \log\!\left(x^2(3x+5)^{x^{-1}}\right)-\log(x+5)^4 \end{array}

Finally, we apply the quotient rule to the difference:

log ⁣(x2(3x+5)x1)log(x+5)4=logx2(3x+5)x1(x+5)4\log\!\left(x^2(3x+5)^{x^{-1}}\right)-\log(x+5)^4=\log\tfrac{x^2(3x+5)^{x^{-1}}}{(x+5)^4}

Condense4(3log(x)+log(x+5)log(2x+3))4\left(3\log(x)+\log(x+5)-\log(2x+3)\right)to a single logarithm.

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

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

pH=log(2C)\text{pH}=-\log(2C)

Using the product rule of logs

pH=log(2C)=(log(2)+log(C))=log(2)log(C)\text{pH}=-\log(2C)=-(\log(2)+\log(C))=-\log(2)-\log(C)

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

pH=Plog(2)P0.301\text{pH}=P-\log(2)\approx P-0.301

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

How does the pH change when the concentration of positive hydrogen ions is decreased by half? Enter the size of the change, in pH units, rounded to three decimal places.

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 ee, 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,M,b, and nn, where n1n\ne1 and b1b\ne1, we show

logbM=lognMlognb\log_b M=\tfrac{\log_n M}{\log_n b}

Let y=logbMy=\log_b M. By exponentiating both sides with base bb, we arrive at an exponential form, namely by=Mb^y=M. It follows that

Apply the one-to-one property.logn(by)=lognMApply the power rule for logarithms.ylognb=lognMIsolate y.y=lognMlognbSubstitute for y.logbM=lognMlognb \begin{array}{lrcl} \text{Apply the one-to-one property.} & \log_n(b^y) &=& \log_n M \\[4pt] \text{Apply the power rule for logarithms.} & y\log_n b &=& \log_n M \\[4pt] \text{Isolate }y. & y &=& \tfrac{\log_n M}{\log_n b} \\[4pt] \text{Substitute for }y. & \log_b M &=& \tfrac{\log_n M}{\log_n b} \end{array}

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

Apply the change of base formula using base 10.log536=log(36)log(5)Use a calculator to evaluate to 4 decimal places.2.2266 \begin{array}{lrcl} \text{Apply the change of base formula using base 10.} & \log_5 36 &=& \tfrac{\log(36)}{\log(5)} \\[4pt] \text{Use a calculator to evaluate to 4 decimal places.} & &\approx& 2.2266 \end{array}

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,M,b, and nn, where n1n\ne1 and b1b\ne1,

logbM=lognMlognb.\log_b M=\tfrac{\log_n M}{\log_n b}.

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=lnMlnbandlogbM=logMlogb\log_b M=\tfrac{\ln M}{\ln b}\qquad\text{and}\qquad\log_b M=\tfrac{\log M}{\log b}

How to: given a logarithm with the form logbM\log_b M, use the change-of-base formula to rewrite it as a quotient of logs with any positive base nn, where n1n\ne1.

  1. Determine the new base nn, remembering that the common log, log(x)\log(x), has base 10, and the natural log, ln(x)\ln(x), has base ee.
  2. Rewrite the log as a quotient using the change-of-base formula.
    • The numerator of the quotient will be a logarithm with base nn and argument MM.
    • The denominator of the quotient will be a logarithm with base nn and argument bb.

Example. Change log53\log_5 3 to a quotient of natural logarithms.

Solution. Because we will be expressing log53\log_5 3 as a quotient of natural logarithms, the new base, n=en=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=lnMlnblog53=ln3ln5 \begin{array}{lrcl} & \log_b M &=& \tfrac{\ln M}{\ln b} \\[4pt] & \log_5 3 &=& \tfrac{\ln 3}{\ln 5} \end{array}

Changelog0.5(8)\log_{0.5}(8)to a quotient of natural logarithms.

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

Yes. Remember that log9\log 9 means log109\log_{10}9. So, log9=ln9ln10\log 9=\tfrac{\ln 9}{\ln 10}.

Example. Evaluate log2(10)\log_2(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 ee.

Apply the change of base formula using base e.log210=ln10ln2Use a calculator to evaluate to 4 decimal places.3.3219 \begin{array}{lrcl} \text{Apply the change of base formula using base }e. & \log_2 10 &=& \tfrac{\ln 10}{\ln 2} \\[4pt] \text{Use a calculator to evaluate to 4 decimal places.} & &\approx& 3.3219 \end{array}

Evaluatelog5(100)\log_5(100)using the change-of-base formula. Round to three decimal places.

Key equations

The Product Rule for Logarithmslogb(MN)=logb(M)+logb(N)\log_b(MN)=\log_b(M)+\log_b(N)
The Quotient Rule for Logarithmslogb(MN)=logbMlogbN\log_b\left(\tfrac{M}{N}\right)=\log_b M-\log_b N
The Power Rule for Logarithmslogb(Mn)=nlogbM\log_b(M^n)=n\log_b M
The Change-of-Base FormulalogbM=lognMlognbn>0, n1, b1\log_b M=\tfrac{\log_n M}{\log_n b}\quad n>0,\ n\ne1,\ b\ne1

Key concepts

  • We can use the product rule of logarithms to rewrite the log of a product as a sum of logarithms.
  • We can use the quotient rule of logarithms to rewrite the log of a quotient as a difference of logarithms.
  • 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.
  • We can use the product rule, the quotient rule, and the power rule together to combine or expand a logarithm with a complex input.
  • The rules of logarithms can also be used to condense sums, differences, and products with the same base as a single logarithm.
  • We can convert a logarithm with any base to a quotient of logarithms with any other base using the change-of-base formula.
  • The change-of-base formula is often used to rewrite a logarithm with a base other than 10 and ee as the quotient of natural or common logs. That way a calculator can be used to evaluate.

Practice

Use the product rule for logarithms

Expandlogb(7x2y)\log_b(7x\cdot2y).

Condenseln(7)+ln(x)+ln(y)\ln(7)+\ln(x)+\ln(y)to a single logarithm.

Use the quotient rule for logarithms

Expandlogb(1317)\log_b\left(\tfrac{13}{17}\right).

Condenselogb(28)logb(7)\log_b(28)-\log_b(7)to a single logarithm.

Use the power rule for logarithms

Expandln(14k)\ln\left(\tfrac{1}{4^k}\right)as much as possible.

Use the Power Rule to rewritelogb(17)-\log_b\left(\tfrac17\right)as a single logarithm with a leading coefficient of11.

Expand logarithmic expressions

Expandlog(x15y13z19)\log\left(\tfrac{x^{15}y^{13}}{z^{19}}\right)as much as possible.

Expandlog(x3y4)\log\left(\sqrt{x^3y^{-4}}\right)as much as possible.

Expandlog(x2y3x2y53)\log\left(x^2y^3\sqrt[3]{x^2y^5}\right)as much as possible.

Condense logarithmic expressions

Condenseln(6x9)ln(3x2)\ln(6x^9)-\ln(3x^2)to a single logarithm.

Condenselog(x)12log(y)+3log(z)\log(x)-\tfrac12\log(y)+3\log(z)to a single logarithm.

Use the change-of-base formula for logarithms

Rewritelog7(15)\log_7(15)as an equivalent ratio of logs using baseee.

Use the change-of-base formula to evaluatelog3(22)\log_3(22)as a quotient of natural logs, rounded to five decimal places.

Use the change-of-base formula to evaluatelog6(5.38)\log_6(5.38)as a quotient of natural logs, rounded to five decimal places.


This section is adapted from Precalculus 2e, Section 4.5: Logarithmic Properties by Jay Abramson and OpenStax, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: omitted the pinned CNXML’s “coreq-skills” block, a prerequisite/corequisite review section carrying its own “Learning Objectives” (exponent-property and logarithm-property review keyed to Intermediate Algebra sections 5.2.1 and 10.4.1) that precedes the real section content in the source file but is not part of the printed textbook — the rendered PDF (pages 470–471) runs directly from the end of Section 4.4 to this section’s own six-item Learning Objectives list and its pH introduction, with no exponent-review material printed anywhere on those pages; omitted the decorative photograph of litmus paper testing hydrochloric acid, which carries no mathematics; converted every source Try It into a real interactive component; five Try Its (the quotient-rule expansion of log3(7x2+21x7x(x1)(x2))\log_3\left(\tfrac{7x^2+21x}{7x(x-1)(x-2)}\right); the power-rule expansions of lnx2\ln x^2 and ln(1x2)\ln\left(\tfrac{1}{x^2}\right); the root expansion ln(x23)\ln\left(\sqrt[3]{x^2}\right); and the complex expansion ln((x1)(2x+1)2x29)\ln\left(\tfrac{\sqrt{(x-1)(2x+1)^2}}{x^2-9}\right)) and one end-of-section exercise (expanding ln(14k)\ln\left(\tfrac{1}{4^k}\right)) became multiple-choice questions rather than fill-ins, because their fully-expanded answers either keep an irreducible binomial inside a logarithm’s argument (the expanded-logarithms answer form accepts only a single number or variable there) or are written with ln\ln, which the pinned answer-form checker’s expanded-logarithms predicate does not scan for at all, so a fill-in declaring that form would silently accept the unexpanded printed expression retyped back; verified independently that this is a grader limitation, not a content issue, before adapting each one; the pH-decrease-by-half Try It and the evaluate-log5(100)\log_5(100) Try It ask for a rounded decimal rather than an exact log expression, matching the pinned solution’s own three-decimal rounding; and adapted fourteen selected end-of-section exercises — two product-rule, two quotient-rule, two power-rule, three general expansions, two general condensations, and three change-of-base evaluations — into interactive components in a closing Practice block, one group per objective. The Practice item rewriting logb(17)-\log_b\left(\tfrac17\right) is worded “use the Power Rule to rewrite… as a single logarithm” rather than the source’s “condense to a single logarithm,” and declares expanded-logarithms rather than single-logarithm: the printed prompt is itself already a single logarithm (negated), so single-logarithm — which accepts a leading unary minus as part of “the term IS the logarithm” — would accept it retyped verbatim; expanded-logarithms’s single-atomic-argument requirement correctly rejects the un-simplified 17\tfrac17 argument while accepting the simplified logb(7)\log_b(7). The two “quotient of logs” change-of-base items (log0.5(8)\log_{0.5}(8) and log7(15)\log_7(15)) declare single-fraction rather than the seemingly natural exact-log: exact-log’s own grammar admits a bare, unconverted logarithm as a zero-integer-coefficient case, so it would accept the printed logarithm retyped back without the required change-of-base conversion; single-fraction correctly requires the one-quotient shape the conversion produces.