How to expand and condense logarithmic expressions

Expanding a logarithmic expression means rewriting it as a sum, difference, or multiple of simpler logarithms. Condensing is the reverse operation, combining a sum or difference of logarithms into a single logarithmic term.

These operations apply whenever you need to simplify an equation to solve for a variable inside a logarithm, or when preparing functions for differentiation in calculus.

The setup

You must memorize the three primary properties of logarithms, which hold for any base b>0b > 0, beq1b eq 1, and positive arguments xx and yy:

  1. Product Rule: logb(xy)=logb(x)+logb(y)\log_b(xy) = \log_b(x) + \log_b(y)
  2. Quotient Rule: logb(xy)=logb(x)logb(y)\log_b\left(\frac{x}{y}\right) = \log_b(x) - \log_b(y)
  3. Power Rule: logb(xn)=nlogb(x)\log_b(x^n) = n \log_b(x)

The steps

To expand an expression:

  1. Apply the Quotient Rule to split fractional arguments into subtraction.
  2. Apply the Product Rule to split multiplied terms into addition.
  3. Apply the Power Rule to bring exponents down as coefficients. To condense an expression:
  4. Apply the Power Rule to move coefficients up as exponents.
  5. Group the terms and apply the Product and Quotient rules left-to-right. Positive terms go in the numerator, negative terms in the denominator.

Checking the result

To check your work, perform the reverse operation. If you expanded an expression, condense your final answer to verify it matches the original problem. Ensure all arguments of the logarithms remain strictly positive, as logarithms of negative numbers or zero are undefined.

Common errors

Do not distribute logarithms over addition or subtraction: logb(x+y)eqlogb(x)+logb(y)\log_b(x + y) eq \log_b(x) + \log_b(y). Do not apply the Power Rule to the entire logarithm: (logb(x))neqnlogb(x)(\log_b(x))^n eq n \log_b(x).

Worked example

Part A: Expand log2(8x3y)\log_2\left(\frac{8x^3}{\sqrt{y}}\right). Part B: Condense 2ln(x)+ln(y)12ln(z)2\ln(x) + \ln(y) - \frac{1}{2}\ln(z).

Part A: Expand Original expression: log2(8x3y)\log_2\left(\frac{8x^3}{\sqrt{y}}\right) Apply the Quotient Rule: log2(8x3)log2(y)\log_2(8x^3) - \log_2(\sqrt{y}) Apply the Product Rule to the first term: log2(8)+log2(x3)log2(y1/2)\log_2(8) + \log_2(x^3) - \log_2(y^{1/2}) Apply the Power Rule and evaluate log2(8)=3\log_2(8) = 3: 3+3log2(x)12log2(y)3 + 3\log_2(x) - \frac{1}{2}\log_2(y)

Part B: Condense Original expression: 2ln(x)+ln(y)12ln(z)2\ln(x) + \ln(y) - \frac{1}{2}\ln(z) Apply the Power Rule: ln(x2)+ln(y)ln(z1/2)\ln(x^2) + \ln(y) - \ln(z^{1/2}) Apply the Product Rule for the addition: ln(x2y)ln(z)\ln(x^2y) - \ln(\sqrt{z}) Apply the Quotient Rule for the subtraction: ln(x2yz)\ln\left(\frac{x^2y}{\sqrt{z}}\right)

FAQ

Run your own problem

References: OpenStax Algebra and Trigonometry, Chapter 6: Exponential and Logarithmic Functions · Khan Academy, Unit: Logarithms

See also