Expanding and Condensing Logarithms

Site: Saylor Academy
Course: MA001: College Algebra
Book: Expanding and Condensing Logarithms
Printed by: Guest user
Date: Wednesday, May 1, 2024, 12:21 PM

Description

Finally, we will wrap up the properties of logarithms by learning how to expand and condense logarithms and use the change of base formula.

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:

\begin{aligned}
\log _{b}\left(\frac{6 x}{y}\right) &=\log _{b}(6 x)-\log _{b} y \\
&=\log _{b} 6+\log _{b} x-\log _{b} y
\end{aligned}

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:

\begin{aligned}
\log _{b}\left(\frac{A}{C}\right) &=\log _{b}\left(A C^{-1}\right) \\
&=\log _{b}(A)+\log _{b}\left(C^{-1}\right) \\
&=\log _{b} A+(-1) \log _{b} C \\
&=\log _{b} A-\log _{b} C
\end{aligned}

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 \ln \left(\frac{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 \left(\frac{x^4y}{7}\right) = \ln (x^4y) − \ln (7)

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

\ln (x^4y) − \ln (7) = \ln (x^4) + \ln (y) − \ln (7)

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

\ln (x^4) + \ln (y) − \ln (7) = 4 \ln (x) + \ln (y) − \ln (7)


TRY IT #6

Expand log \left(\frac{x^2y^3}{z^4}\right).


EXAMPLE 7

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

Expand log(\sqrt{x}).


Solution

\begin{aligned}
\log (\sqrt{x}) &=\log x^{\left(\frac{1}{2}\right)} \\
&=\frac{1}{2} \log x
\end{aligned}


TRY IT #7

Expand \ln (\sqrt[3]{x^2}).


Q&A

Can we expand \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 8

Expanding Complex Logarithmic Expressions

Expand log_6 \left(\frac{64x^3(4x+1)}{(2x−1)}\right).


Solution

We can expand by applying the Product and Quotient Rules.

\begin{aligned}
\log _{6}\left(\frac{64 x^{3}(4 x+1)}{(2 x-1)}\right) &=\log _{6} 64+\log _{6} x^{3}+\log _{6}(4 x+1)-\log _{6}(2 x-1) & & \text { Apply the Quotient Rule. }\\
&=\log _{6} 2^{6}+\log _{6} x^{3}+\log _{6}(4 x+1)-\log _{6}(2 x-1) & & \text { Simplify by writing } 64 \text { as } 2^{6} \text {. }\\
&=6 \log _{6} 2+3 \log _{6} x+\log _{6}(4 x+1)-\log _{6}(2 x-1) & & \text { Apply the Power Rule. }
\end{aligned}


TRY IT #8

Expand \ln \left(\frac{\sqrt{(x-1)(2 x+1)^{2}}}{\left(x^{2}-9\right)}\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 9

Using the Product and Quotient Rules to Combine Logarithms

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


Solution

Using the product and quotient rules

log_3(5)+log_3(8)=log_3(5⋅8)=log_3(40)

This reduces our original expression to

log_3(40)−log_3(2)

Then, using the quotient rule

log_3(40)−log_3(2)=log_3 \left(\frac{40}{2}\right)=log_3(20)


TRY IT #9

Condense log3−log4+log5−log6.


EXAMPLE 10

Condensing Complex Logarithmic Expressions

Condense log_2(x^2)+\frac{1}{2}log_2(x−1)−3log_2((x+3)^2).


Solution

We apply the power rule first:

\log _{2}\left(x^{2}\right)+\frac{1}{2} \log _{2}(x-1)-3 \log _{2}\left((x+3)^{2}\right)=\log _{2}\left(x^{2}\right)+\log _{2}(\sqrt{x-1})-\log _{2}\left((x+3)^{6}\right)

Next we apply the product rule to the sum:

\log _{2}\left(x^{2}\right)+\log _{2}(\sqrt{x-1})-\log _{2}\left((x+3)^{6}\right)=\log _{2}\left(x^{2} \sqrt{x-1}\right)-\log _{2}\left((x+3)^{6}\right)

Finally, we apply the quotient rule to the difference:

\log _{2}\left(x^{2} \sqrt{x-1}\right)-\log _{2}\left((x+3)^{6}\right)=\log _{2} \frac{x^{2} \sqrt{x-1}}{(x+3)^{6}}


TRY IT #10

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


EXAMPLE 11

Rewriting as a Single Logarithm

Rewrite 2logx−4log(x+5)+ \frac{1}{x}log(3x+5) as a single logarithm.


Solution

We apply the power rule first:

2 \log x-4 \log (x+5)+\frac{1}{x} \log (3 x+5)=\log \left(x^{2}\right)-\log (x+5)^{4}+\log \left((3 x+5)^{x^{-1}}\right)

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

\begin{gathered}
\log \left(x^{2}\right)-\log (x+5)^{4}+\log \left((3 x+5)^{x^{-1}}\right) \\
=\log \left(x^{2}\right)+\log \left((3 x+5)^{x^{-1}}\right)-\log (x+5)^{4} \\
=\log \left(x^{2}(3 x+5)^{x^{-1}}\right)-\log (x+5)^{4}
\end{gathered}

Finally, we apply the quotient rule to the difference:

=\log \left(x^{2}(3 x+5)^{x^{-1}}\right)-\log (x+5)^{4}=\log \frac{x^{2}(3 x+5)^{x^{-1}}}{(x+5)^{4}}


TRY IT #11

Condense 4(3 \log (x)+\log (x+5)-\log (2 x+3))


EXAMPLE 12

Applying of the Laws of Logs

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


Solution

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

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

Using the product rule of logs

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

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

\mathrm{pH}=P-\log (2) \approx P-0.301

When the concentration of hydrogen ions is doubled, the \mathrm{pH} decreases by about 0.301.


TRY IT #12

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


Source: Rice University, https://openstax.org/books/college-algebra/pages/6-5-logarithmic-properties
Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 License.

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 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 n \neq 1 and b \neq 1, we show

\log _{b} M=\frac{\log _{n} M}{\log _{n} b}

Let y=log_bM. By exponentiating both sides with base b, we arrive at an exponential form, namely b^y=M. It follows that

\begin{array}{lll}
\log _{n}\left(b^{y}\right) & =\log _{n} M & \text { Apply the one-to-one property. } \\
y \log _{n} b & =\log _{n} M & \text { Apply the power rule for logarithms. } \\
y & =\frac{\log _{n} M}{\log _{n} b} & \text { Isolate } y . \\
\log _{b} M & =\frac{\log _{n} M}{\log _{n} b} & \text { Substitute for } y .
\end{array}

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

\begin{aligned}
\log _{5} 36 &=\frac{\log (36)}{\log (5)} \quad \text { Apply the change of base formula using base } 10 \text {. }\\
&\approx 2.2266 \quad \text { Use a calculator to evaluate to } 4 \text { decimal places. }
\end{aligned}


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 n \neq 1 and b \neq 1,

\log _{b} M=\frac{\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.

\log _{b} M=\frac{\ln M}{\ln b}

and

\log _{b} M=\frac{\log M}{\log b}


HOW TO

Given a logarithm with the form \log _{b} M, use the change-of-base formula to rewrite it as a quotient of logs with any positive base n, where n \neq 1.

  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
    1. The numerator of the quotient will be a logarithm with base n and argument M.
    2. The denominator of the quotient will be a logarithm with base n and argument b.


EXAMPLE 13

Changing Logarithmic Expressions to Expressions Involving Only Natural Logs

Change log_53 to a quotient of natural logarithms.


Solution

Because we will be expressing \log _{5} 3 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.

\begin{aligned}
\log _{b} M &=\frac{\ln M}{\ln b} \\
\log _{5} 3 &=\frac{\ln 3}{\ln 5}
\end{aligned}


TRY IT #13

Change log_{0.5}8 to a quotient of natural logarithms.


Q&A

Can we change common logarithms to natural logarithms?

Yes. Remember that log9 means log_{10}9. So, log9= \frac{\ln9}{\ln10}.


EXAMPLE 14

Using the Change-of-Base Formula with a Calculator

Evaluate 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 e.

\begin{aligned}
&\log _{2} 10=\frac{\ln 10}{\ln 2} & & \text { Apply the change of base formula using base e }. \\
&\approx 3.3219 & & \text { Use a calculator to evaluate to 4 decimal places. }
\end{aligned}


TRY IT #14

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

Logarithms Basics and properties


Source: Angiewvc, https://www.youtube.com/watch?v=TtcCFezedIs/a>
Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.