Exponentials & Logarithms

Logarithm Rules: Product, Quotient and Power

Logarithm rules turn multiplication into addition, division into subtraction and powers into multipliers: log⁡b(xy)=log⁡bx+log⁡by\log_b(xy)=\log_b x+\log_b y, log⁡bxy=log⁡bx−log⁡by\log_b\frac{x}{y}=\log_b x-\log_b y and log⁡b(xn)=nlog⁡bx\log_b(x^n)=n\log_b x. They hold for any valid base bb (positive, not 11) and positive xx and yy.

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

Try it with your numbers

Show every step

Every one of these is an exponent rule wearing a disguise. Once you see that, you stop memorizing and start reading them off. The same rules work for common logs, for base 22, and for the natural logarithm ln⁡\ln.

What are the main logarithm rules?

Here is the whole toolkit, with the exponent law each rule comes from:

Rule Logarithm form Exponent twin
Product log⁡b(xy)=log⁡bx+log⁡by\log_b(xy)=\log_b x+\log_b y bm⋅bn=bm+nb^m\cdot b^n=b^{m+n}
Quotient log⁡bxy=log⁡bx−log⁡by\log_b\frac{x}{y}=\log_b x-\log_b y bmbn=bm−n\frac{b^m}{b^n}=b^{m-n}
Power log⁡b(xn)=nlog⁡bx\log_b(x^n)=n\log_b x (bm)n=bmn(b^m)^n=b^{mn}
Change of base log⁡bx=log⁡cxlog⁡cb\log_b x=\dfrac{\log_c x}{\log_c b} none needed

Four special values finish the list. log⁡b1=0\log_b 1=0 because b0=1b^0=1. log⁡bb=1\log_b b=1 because b1=bb^1=b. And the two cancellation rules: log⁡b(bx)=x\log_b(b^x)=x and blog⁡bx=xb^{\log_b x}=x. These say that a log and its base undo each other, which is the core meaning of a logarithm: the exponent you put on bb to get xx.

Quick check

Evaluate log⁡71+log⁡77+7log⁡75\log_7 1+\log_7 7+7^{\log_7 5}.

Why do the logarithm rules work?

One idea proves all three: a logarithm is an exponent. Let m=log⁡bxm=\log_b x and n=log⁡byn=\log_b y, which means x=bmx=b^m and y=bny=b^n. Multiply:

xy=bm⋅bn=bm+nxy=b^m\cdot b^n=b^{m+n}

So the exponent that builds xyxy from bb is m+nm+n, which is exactly the claim log⁡b(xy)=m+n\log_b(xy)=m+n. Division works the same way with bm−nb^{m-n}.

For the power rule, xn=(bm)n=bmnx^n=(b^m)^n=b^{mn}, so log⁡b(xn)=mn=nlog⁡bx\log_b(x^n)=mn=n\log_b x. Full write-ups with every step are in the proofs of the logarithm properties.

This is also why logs were invented. Before calculators, a table of logs let people multiply huge numbers by adding two table entries, then reading the sum backward. Slide rules were physical logarithm rules.

How do you use the product and quotient rules?

Use them to split one complicated log into simple ones (expanding) or the reverse. When expanding, handle the numbers first, because logs of perfect powers of the base evaluate on the spot.

Example 1. Expand log⁡39x2y\log_3\dfrac{9x^2}{\sqrt{y}}, with x,y>0x,y>0.

Write the root as a power and split the quotient:

log⁡3(9x2)−log⁡3y1/2\log_3(9x^2)-\log_3 y^{1/2}

Split the product, then use log⁡39=2\log_3 9=2 and the power rule:

log⁡39+log⁡3x2−12log⁡3y=2+2log⁡3x−12log⁡3y\log_3 9+\log_3 x^2-\tfrac12\log_3 y=2+2\log_3 x-\tfrac12\log_3 y

The sign trap: everything in the denominator gets a minus sign. For log⁡abcd\log\frac{ab}{cd} the result is log⁡a+log⁡b−log⁡c−log⁡d\log a+\log b-\log c-\log d, not log⁡a+log⁡b−log⁡c+log⁡d\log a+\log b-\log c+\log d. Put brackets around the denominator’s logs before distributing the minus. More practice patterns are in the lesson on expanding logarithms.

How does the power rule handle fractions and negatives?

Roots are fractional exponents, so log⁡bxn=1nlog⁡bx\log_b\sqrt[n]{x}=\frac{1}{n}\log_b x. A reciprocal is the exponent −1-1, so log⁡b1x=−log⁡bx\log_b\frac{1}{x}=-\log_b x. Together they explain why logs of numbers between 00 and 11 are negative when b>1b>1.

For example, log⁡2132=log⁡22−5=−5\log_2\frac{1}{32}=\log_2 2^{-5}=-5. You can also get it as −log⁡232=−5-\log_2 32=-5. Both routes agree, and checking one against the other is a fast way to catch a slip.

Where the exponent belongs

In log⁡b(3x2)\log_b(3x^2) the exponent 22 sits on xx only, so the result is log⁡b3+2log⁡bx\log_b 3+2\log_b x. Writing 2log⁡b(3x)2\log_b(3x) is a classic lost-point error.

The power rule also runs backward. A coefficient in front of a log can always be pushed up into the argument as an exponent, which is the first move in condensing. A coefficient that is a fraction becomes a root: 13log⁡bx=log⁡bx3\frac13\log_b x=\log_b\sqrt[3]{x}.

Can you split the log of a sum?

Counterexample showing log base 2 of 4 plus 4 equals 3 but log 4 plus log 4 equals 4
Adding inside the log gives 3, adding the two logs gives 4, so the product rule does not apply to sums.

No, and this is the single most common wrong move. The product rule says log⁡bx+log⁡by=log⁡b(xy)\log_b x+\log_b y=\log_b(xy). It says nothing about log⁡b(x+y)\log_b(x+y). A quick counterexample: log⁡2(4+4)=log⁡28=3\log_2(4+4)=\log_2 8=3, but log⁡24+log⁡24=4\log_2 4+\log_2 4=4.

These look-alikes are all false:

  • log⁡b(x+y)=log⁡bx+log⁡by\log_b(x+y)=\log_b x+\log_b y
  • log⁡bxlog⁡by=log⁡bxy\dfrac{\log_b x}{\log_b y}=\log_b\dfrac{x}{y} (the left side is really a change of base, equal to log⁡yx\log_y x)
  • (log⁡bx)2=2log⁡bx(\log_b x)^2=2\log_b x (try x=1000x=1000 in base 1010: the left side is 99, the right side is 66)
  • log⁡bx⋅log⁡by=log⁡bx+log⁡by\log_b x\cdot\log_b y=\log_b x+\log_b y

The pattern: the rules only convert between an operation on the outside of logs and a different operation on the inside. If the operation you have is not one of those pairings, there is no rule. The same applies to bases: log⁡2x+log⁡3y\log_2 x+\log_3 y cannot be combined until both are in the same base.

Quick check

Find the values of log⁡2(4+4)\log_2(4+4) and of log⁡24+log⁡24\log_2 4+\log_2 4.

When do the logarithm rules change the domain?

Number line comparing allowed values before and after condensing logs, showing x = -2 sneaks in
The condensed log accepts x < 0, so the root x = −2 must be checked and rejected, leaving x = 4.

The rules need positive inputs, and they can quietly change which inputs are allowed. Take log⁡2(x2)\log_2(x^2). It is defined for x=−3x=-3, giving log⁡29\log_2 9. But 2log⁡2x2\log_2 x is not defined at −3-3. The correct general statement is log⁡b(x2)=2log⁡b∣x∣\log_b(x^2)=2\log_b|x|.

Condensing does the opposite and can let in forbidden values. log⁡2x+log⁡2(x−2)\log_2 x+\log_2(x-2) requires x>2x>2, while the condensed log⁡2(x(x−2))\log_2\big(x(x-2)\big) also accepts x<0x<0. This is exactly where extraneous solutions come from.

Example 2. Solve log⁡2x+log⁡2(x−2)=3\log_2 x+\log_2(x-2)=3.

  1. Condense: log⁡2(x(x−2))=3\log_2\big(x(x-2)\big)=3.
  2. Rewrite in exponent form: x(x−2)=23=8x(x-2)=2^3=8.
  3. Expand and rearrange: x2−2x−8=0x^2-2x-8=0.
  4. Factor: (x−4)(x+2)=0(x-4)(x+2)=0, so x=4x=4 or x=−2x=-2.
  5. Check the original: x=−2x=-2 makes log⁡2x\log_2 x undefined, so reject it. For x=4x=4: log⁡24+log⁡22=2+1=3\log_2 4+\log_2 2=2+1=3. ✓

The answer is x=4x=4. If the quadratic in step 3 does not factor, the quadratic formula finishes the job, and the lesson on solving logarithmic equations covers more cases.

How do you change base and estimate logs mentally?

The change of base formula is log⁡bx=log⁡cxlog⁡cb\log_b x=\dfrac{\log_c x}{\log_c b} for any new base cc. The proof takes two lines: let y=log⁡bxy=\log_b x, so by=xb^y=x. Take log⁡c\log_c of both sides to get ylog⁡cb=log⁡cxy\log_c b=\log_c x, then divide. Your calculator has only log⁡\log and ln⁡\ln, so this is how you evaluate every other base. See the full lesson on the change of base formula.

Example 3. Evaluate log⁡220\log_2 20.

log⁡220=ln⁡20ln⁡2≈2.99570.6931≈4.322\log_2 20=\frac{\ln 20}{\ln 2}\approx\frac{2.9957}{0.6931}\approx 4.322

Sanity check: 24=162^4=16 and 25=322^5=32, and 2020 is between them, nearer the lower end. So an answer a little above 44 is right.

Flip the base and answer

log⁡ba=1log⁡ab\log_b a=\dfrac{1}{\log_a b}. For instance log⁡28=3\log_2 8=3 and log⁡82=13\log_8 2=\frac13. It is the change of base formula with c=ac=a.

Memorize two values and you can estimate many logs without a calculator: log⁡2≈0.301\log 2\approx0.301 and log⁡3≈0.477\log 3\approx0.477. Then log⁡5=log⁡102≈1−0.301=0.699\log 5=\log\frac{10}{2}\approx 1-0.301=0.699 and log⁡12=log⁡3+2log⁡2≈1.079\log 12=\log 3+2\log 2\approx1.079 (the true value is 1.07921.0792).

Try this: Using only log⁡2≈0.301\log 2\approx0.301, estimate log⁡40\log 40 and log⁡0.05\log 0.05 by splitting each into powers of 1010 and a power of 22, then check both on a calculator.

How do you condense logs and solve exponential equations?

Condensing runs the rules in reverse, and the order matters: powers first, then products and quotients. That order is the logarithm version of order of operations, since the coefficient has to move inside before anything can merge.

Example 4. Write 3log⁡2x−log⁡26+log⁡233\log_2 x-\log_2 6+\log_2 3 as one log.

log⁡2x3−log⁡26+log⁡23=log⁡23x36=log⁡2x32\log_2 x^3-\log_2 6+\log_2 3=\log_2\frac{3x^3}{6}=\log_2\frac{x^3}{2}

Test it with x=2x=2. The original gives 3−log⁡26+log⁡23=3−1=23-\log_2 6+\log_2 3=3-1=2, and the result gives log⁡24=2\log_2 4=2. ✓ Choosing a convenient number like this takes ten seconds and catches almost every error. The lesson on condensing logarithms has more drills.

The power rule is also what rescues you when the unknown sits in an exponent. To solve 3x=203^x=20, take a log of both sides and pull the xx down:

xlog⁡3=log⁡20⇒x=log⁡20log⁡3≈1.30100.4771≈2.727x\log 3=\log 20\quad\Rightarrow\quad x=\frac{\log 20}{\log 3}\approx\frac{1.3010}{0.4771}\approx 2.727

That fits, because 32=93^2=9 and 33=273^3=27. More cases are in solving exponential equations with logarithms.

Where are logarithm rules used in real life?

Whenever a quantity spans huge ranges, logs make it manageable. Sound level is L=10log⁡10II0L=10\log_{10}\frac{I}{I_0} decibels. By the product rule, doubling the intensity adds 10log⁡102≈310\log_{10}2\approx3 dB, and multiplying it by 1010 adds exactly 1010 dB. Acidity works the same way: pH=−log⁡10[H+]\text{pH}=-\log_{10}[\text{H}^+], so each pH step is a tenfold change in concentration.

Logs also straighten curves. If y=abxy=ab^x, taking logs gives log⁡y=log⁡a+xlog⁡b\log y=\log a+x\log b, which is a line in xx with slope log⁡b\log b and intercept log⁡a\log a. That is why scientists plot growth on semi-log paper and read the rate off a straight line using slope-intercept form.

One more link worth knowing: the logs of a geometric sequence a,ar,ar2,…a, ar, ar^2,\dots form an arithmetic sequence with common difference log⁡r\log r. So everything in the arithmetic series formula applies to the logs of a geometric progression, which is the product rule showing up as a pattern.

Quick check

Sound A is 20 dB louder than sound B. How many times greater is its intensity?

Practice problems

0 of 5 solved

  1. Evaluate log⁡36+log⁡332\log_3 6+\log_3\frac{3}{2}.

  2. Expand log⁡5(25x3)\log_5(25x^3) for x>0x>0.

  3. Evaluate log⁡432\log_4 32 without a calculator.

  4. Write 2log⁡7x−log⁡73+log⁡762\log_7 x-\log_7 3+\log_7 6 as a single logarithm.

  5. Solve log⁡2(x+3)−log⁡2(x−3)=2\log_2(x+3)-\log_2(x-3)=2.

Common questions

What are the three main logarithm rules?

The product rule says log⁡b(xy)=log⁡bx+log⁡by\log_b(xy)=\log_b x+\log_b y. The quotient rule says log⁡bxy=log⁡bx−log⁡by\log_b\frac{x}{y}=\log_b x-\log_b y. The power rule says log⁡b(xn)=nlog⁡bx\log_b(x^n)=n\log_b x.

Do the logarithm rules work for natural logs?

Yes. Natural log is just a logarithm with base ee, so ln⁡(xy)=ln⁡x+ln⁡y\ln(xy)=\ln x+\ln y, ln⁡xy=ln⁡x−ln⁡y\ln\frac{x}{y}=\ln x-\ln y and ln⁡(xn)=nln⁡x\ln(x^n)=n\ln x.

What is the log of a sum, log⁡(x+y)\log(x+y)?

There is no rule that simplifies it. log⁡x+log⁡y\log x+\log y equals log⁡(xy)\log(xy), not log⁡(x+y)\log(x+y), so a sum inside a log stays as it is.

Why is log⁡b1=0\log_b 1=0 and log⁡bb=1\log_b b=1?

A logarithm is an exponent. Any base raised to the power 00 is 11, and any base raised to the power 11 is itself.

Can you use the log rules with different bases?

Not directly. The product and quotient rules need the same base in every term. Convert with the change of base formula first, then combine.

Why do I get extra answers when solving log equations?

Condensing logs can allow input values that the original expression forbids. Always substitute each candidate back and reject any that make an argument zero or negative.

Up next