Euler Hall — free maths guides

Expand or condense a logarithm and change it to a new base

Expand a product, quotient or power inside a logarithm. The idea in plain words, a worked example, and a check with the answers shown — part of the free Precalculus guides.

Multiplication becomes addition

Every logarithm law is a power law in disguise. Becausebubv=bu+vb^u b^v=b^{u+v}, multiplying the arguments adds the exponents — so the logarithm of a product is the sum of the logarithms:

log⁡b(xy)=log⁡bx+log⁡by.\log_b(xy)=\log_b x+\log_b y.

The other two follow the same way. Dividing subtracts, and a power moves the exponent out front:

log⁡b ⁣(xy)=log⁡bx−log⁡by,log⁡b(xk)=klog⁡bx.\log_b\!\left(\frac{x}{y}\right)=\log_b x-\log_b y, \qquad \log_b(x^k)=k\log_b x.

That is the whole set. Together they are what makes logarithms useful: they convert the operations that are hard to do by hand into the ones that are easy.

Why a sum, not a product

The law is often mis-remembered aslog⁡(xy)=log⁡x⋅log⁡y\log(xy)=\log x\cdot\log y, which is false.

The reason it is a sum comes straight from the exponent law: exponents add when you multiply. The logarithm reports the exponent, so multiplying arguments must add the reports.

The same reasoning gives subtraction for division and multiplication for powers — and note the asymmetry: a power inside becomes a multiplier outside, but a product inside becomes a SUM outside. Mixing those two up is the second most common error in this topic.

Worked example

Expand and then condense.

Expand.log⁡3(9x4y)\log_3\left(\dfrac{9x^4}{y}\right).

Step 1. The quotient.log⁡3(9x4)−log⁡3(y)\log_3(9x^4)-\log_3(y).

Step 2. The product inside.log⁡3(9)+log⁡3(x4)−log⁡3(y)\log_3(9)+\log_3(x^4)-\log_3(y).

Step 3. The power.log⁡3(9)+4log⁡3(x)−log⁡3(y)\log_3(9)+4\log_3(x)-\log_3(y).

Step 4. The constant.log⁡3(9)=2\log_3(9)=2, so the expansion is2+4log⁡3(x)−log⁡3(y)2+4\log_3(x)-\log_3(y).

Condense.2log⁡5(a)−log⁡5(b)+3log⁡5(c)2\log_5(a)-\log_5(b)+3\log_5(c).

Step 5. Powers out.log⁡5(a2)−log⁡5(b)+log⁡5(c3)\log_5(a^2)-\log_5(b)+\log_5(c^3).

Step 6. Combine.log⁡5(a2c3b)\log_5\left(\dfrac{a^2c^3}{b}\right).

Step 7. Check the direction. The subtracted term went to the denominator. A term with a plus sign goes to the numerator, and a minus sign to the denominator.

By the end you can
  • Expand a product, quotient or power inside a logarithm
  • Condense a sum or difference of logarithms into one
  • Recognise that no law applies to a sum inside a logarithm
Check yourself

(a) Expandlog⁡3(27x)\log_3(27x).

(b) Condenselog⁡5(a)−log⁡5(b)\log_5(a)-\log_5(b).

(c) Expandlog⁡2(x5)\log_2(x^5).

Answers

(a)3+log⁡3(x)3+\log_3(x).

(b)log⁡5(ab)\log_5\left(\frac{a}{b}\right).

(c)5log⁡2(x)5\log_2(x).

Work out where to start — free, no accountAnswer six real questions — free, no account