We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

TEXT

Study Guides > College Algebra

Expand and Condense Logarithms

Learning Objectives

  • Expand a logarithm using a combination of logarithm rules
  • Condense a logarithmic expression into one logarithm
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:

[latex]\begin{array}{l}{\mathrm{log}}_{b}\left(\frac{6x}{y}\right)\hfill & ={\mathrm{log}}_{b}\left(6x\right)-{\mathrm{log}}_{b}y\hfill \\ \hfill & ={\mathrm{log}}_{b}6+{\mathrm{log}}_{b}x-{\mathrm{log}}_{b}y\hfill \end{array}[/latex]

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:

[latex]\begin{array}{l}{\mathrm{log}}_{b}\left(\frac{A}{C}\right)\hfill & ={\mathrm{log}}_{b}\left(A{C}^{-1}\right)\hfill \\ \hfill & ={\mathrm{log}}_{b}\left(A\right)+{\mathrm{log}}_{b}\left({C}^{-1}\right)\hfill \\ \hfill & ={\mathrm{log}}_{b}A+\left(-1\right){\mathrm{log}}_{b}C\hfill \\ \hfill & ={\mathrm{log}}_{b}A-{\mathrm{log}}_{b}C\hfill \end{array}[/latex]

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: Using a combination of the rules for logarithms to expand a logarithm

Rewrite [latex]\mathrm{ln}\left(\frac{{x}^{4}y}{7}\right)[/latex] as a sum or difference of logs.

Answer: First, because we have a quotient of two expressions, we can use the quotient rule: [latex-display]\mathrm{ln}\left(\frac{{x}^{4}y}{7}\right)=\mathrm{ln}\left({x}^{4}y\right)-\mathrm{ln}\left(7\right)[/latex-display] Then seeing the product in the first term, we use the product rule: [latex-display]\mathrm{ln}\left({x}^{4}y\right)-\mathrm{ln}\left(7\right)=\mathrm{ln}\left({x}^{4}\right)+\mathrm{ln}\left(y\right)-\mathrm{ln}\left(7\right)[/latex-display] Finally, we use the power rule on the first term: [latex-display]\mathrm{ln}\left({x}^{4}\right)+\mathrm{ln}\left(y\right)-\mathrm{ln}\left(7\right)=4\mathrm{ln}\left(x\right)+\mathrm{ln}\left(y\right)-\mathrm{ln}\left(7\right)[/latex-display]

Try It

Expand [latex]\mathrm{log}\left(\frac{{x}^{2}{y}^{3}}{{z}^{4}}\right)[/latex].

Answer: [latex-display]2\mathrm{log}x+3\mathrm{log}y - 4\mathrm{log}z[/latex-display]

Q & A

Can we expand [latex]\mathrm{ln}\left({x}^{2}+{y}^{2}\right)[/latex]?

No. There is no way to expand the logarithm of a sum or difference inside the argument of the logarithm.
Now we will provide some examples that will require careful attention.

Example: Expanding Complex Logarithmic Expressions

Expand [latex]{\mathrm{log}}_{6}\left(\frac{64{x}^{3}\left(4x+1\right)}{\left(2x - 1\right)}\right)[/latex].

Answer: We can expand by applying the Product and Quotient Rules. [latex-display]\begin{array}{l}{\mathrm{log}}_{6}\left(\frac{64{x}^{3}\left(4x+1\right)}{\left(2x - 1\right)}\right)\hfill & ={\mathrm{log}}_{6}64+{\mathrm{log}}_{6}{x}^{3}+{\mathrm{log}}_{6}\left(4x+1\right)-{\mathrm{log}}_{6}\left(2x - 1\right)\hfill & \text{Apply the Quotient Rule}.\hfill \\ \hfill & ={\mathrm{log}}_{6}{2}^{6}+{\mathrm{log}}_{6}{x}^{3}+{\mathrm{log}}_{6}\left(4x+1\right)-{\mathrm{log}}_{6}\left(2x - 1\right)\hfill & {\text{Simplify by writing 64 as 2}}^{6}.\hfill \\ \hfill & =6{\mathrm{log}}_{6}2+3{\mathrm{log}}_{6}x+{\mathrm{log}}_{6}\left(4x+1\right)-{\mathrm{log}}_{6}\left(2x - 1\right)\hfill & \text{Apply the Power Rule}.\hfill \end{array}[/latex-display]

Try It 8

Expand [latex]\mathrm{ln}\left(\frac{\sqrt{\left(x - 1\right){\left(2x+1\right)}^{2}}}{\left({x}^{2}-9\right)}\right)[/latex].

Answer: [latex]\frac{1}{2}\mathrm{ln}\left(x - 1\right)+\mathrm{ln}\left(2x+1\right)-\mathrm{ln}\left(x+3\right)-\mathrm{ln}\left(x - 3\right)[/latex]

Example: Condensing Complex Logarithmic Expressions

Condense [latex]{\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)[/latex].

Answer: We apply the power rule first: [latex-display]{\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)={\mathrm{log}}_{2}\left({x}^{2}\right)+{\mathrm{log}}_{2}\left(\sqrt{x - 1}\right)-{\mathrm{log}}_{2}\left({\left(x+3\right)}^{6}\right)[/latex-display] Next we apply the product rule to the sum: [latex-display]{\mathrm{log}}_{2}\left({x}^{2}\right)+{\mathrm{log}}_{2}\left(\sqrt{x - 1}\right)-{\mathrm{log}}_{2}\left({\left(x+3\right)}^{6}\right)={\mathrm{log}}_{2}\left({x}^{2}\sqrt{x - 1}\right)-{\mathrm{log}}_{2}\left({\left(x+3\right)}^{6}\right)[/latex-display] Finally, we apply the quotient rule to the difference: [latex-display]{\mathrm{log}}_{2}\left({x}^{2}\sqrt{x - 1}\right)-{\mathrm{log}}_{2}\left({\left(x+3\right)}^{6}\right)={\mathrm{log}}_{2}\frac{{x}^{2}\sqrt{x - 1}}{{\left(x+3\right)}^{6}}[/latex-display]

Example: Rewriting as a Single Logarithm

Rewrite [latex]2\mathrm{log}x - 4\mathrm{log}\left(x+5\right)+\frac{1}{x}\mathrm{log}\left(3x+5\right)[/latex] as a single logarithm.

Answer: We apply the power rule first: [latex-display]2\mathrm{log}x - 4\mathrm{log}\left(x+5\right)+\frac{1}{x}\mathrm{log}\left(3x+5\right)=\mathrm{log}\left({x}^{2}\right)-\mathrm{log}\left({\left(x+5\right)}^{4}\right)+\mathrm{log}\left({\left(3x+5\right)}^{{x}^{-1}}\right)[/latex-display] Next we apply the product rule to the sum: [latex-display]\mathrm{log}\left({x}^{2}\right)-\mathrm{log}\left({\left(x+5\right)}^{4}\right)+\mathrm{log}\left({\left(3x+5\right)}^{{x}^{-1}}\right)=\mathrm{log}\left({x}^{2}\right)-\mathrm{log}\left({\left(x+5\right)}^{4}{\left(3x+5\right)}^{{x}^{-1}}\right)[/latex-display] Finally, we apply the quotient rule to the difference: [latex-display]\mathrm{log}\left({x}^{2}\right)-\mathrm{log}\left({\left(x+5\right)}^{4}{\left(3x+5\right)}^{{x}^{-1}}\right)=\mathrm{log}\left(\frac{{x}^{2}}{{\left(x+5\right)}^{4}\left({\left(3x+5\right)}^{{x}^{-1}}\right)}\right)[/latex-display]

Try It

Rewrite [latex]\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)[/latex] as a single logarithm.

Answer: [latex]\mathrm{log}\left(\frac{5{\left(x - 1\right)}^{3}\sqrt{x}}{\left(7x - 1\right)}\right)[/latex]

Condense [latex]4\left(3\mathrm{log}\left(x\right)+\mathrm{log}\left(x+5\right)-\mathrm{log}\left(2x+3\right)\right)[/latex].

Answer: [latex]\mathrm{log}\frac{{x}^{12}{\left(x+5\right)}^{4}}{{\left(2x+3\right)}^{4}}[/latex]; this answer could also be written [latex]\mathrm{log}{\left(\frac{{x}^{3}\left(x+5\right)}{\left(2x+3\right)}\right)}^{4}[/latex].

Licenses & Attributions

CC licensed content, Original

CC licensed content, Shared previously

  • pH. Authored by: Wikipedia. Located at: https://en.wikipedia.org/wiki/PH. License: CC BY-SA: Attribution-ShareAlike.
  • College Algebra. Provided by: OpenStax Authored by: Abramson, Jay et al.. Located at: https://openstax.org/books/college-algebra/pages/1-introduction-to-prerequisites. License: CC BY: Attribution. License terms: Download for free at http://cnx.org/contents/[email protected].
  • Question ID 35034. Authored by: Smart,Jim. License: CC BY: Attribution. License terms: IMathAS Community License CC-BY + GPL.
  • Question ID 129752, 129768, 129766, 129783. Authored by: Day,Alyson. License: CC BY: Attribution. License terms: IMathAS Community License CC-BY + GPL.