Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Logarithms Rules






Transforming Products, Quotients, and Powers

The logarithm of a product, quotient, or power breaks apart in predictable ways. Each rule corresponds to an exponent law, inverted through the logarithmic lens. Mastering these rules enables expanding complex logarithmic expressions into simpler components and condensing sums or differences of logarithms into single expressions — both essential skills for solving equations.

Key Terms

The Rules

Product Rule (Logarithms)— log⁡a(xy)=log⁡a(x)+log⁡a(y)\log_a(xy) = \log_a(x) + \log_a(y)
Quotient Rule (Logarithms)— log⁡a(x/y)=log⁡a(x)−log⁡a(y)\log_a(x/y) = \log_a(x) - \log_a(y)
Power Rule (Logarithms)— log⁡a(xn)=n⋅log⁡a(x)\log_a(x^n) = n \cdot \log_a(x)
Change of Base Formula— log⁡a(x)=log⁡b(x)/log⁡b(a)\log_a(x) = \log_b(x) / \log_b(a)

Supporting Concepts

Logarithm— each rule derives from an exponent law inverted through the definition
Common Logarithm— typical target base for change of base
Natural Logarithm— alternative target base

Formulas Used on This Page

Product Rule (Logarithms)— log⁡a(xy)=log⁡a(x)+log⁡a(y)\log_a(xy) = \log_a(x) + \log_a(y)
Quotient Rule (Logarithms)— log⁡a(xy)=log⁡a(x)−log⁡a(y)\log_a\left(\frac{x}{y}\right) = \log_a(x) - \log_a(y)
Power Rule (Logarithms)— log⁡a(xn)=n⋅log⁡a(x)\log_a(x^n) = n \cdot \log_a(x)
Change of Base Formula— log⁡a(x)=log⁡b(x)log⁡b(a)\log_a(x) = \frac{\log_b(x)}{\log_b(a)}

See All Algebra Definitions →

See All Algebra Formulas →


The Product Rule

The logarithm of a product equals the sum of the logarithms:

Product Rule (Logarithms)
log⁡a(xy)=log⁡a(x)+log⁡a(y)\log_a(xy) = \log_a(x) + \log_a(y)
Learn more about this formula: Product Rule (Logarithms) →


Multiplication inside the argument becomes addition outside.

Derivation: Let log⁡a(x)=m\log_a(x) = m and log⁡a(y)=n\log_a(y) = n. Then x=amx = a^m and y=any = a^n. The product xy=am⋅an=am+nxy = a^m \cdot a^n = a^{m+n}. Taking the logarithm: log⁡a(xy)=m+n=log⁡a(x)+log⁡a(y)\log_a(xy) = m + n = \log_a(x) + \log_a(y).
The derivation above as a chain, one line per step with its reason. The gold line is the exponent law that does the work.
DownloadPNG2×PDF
Provelog⁡a(xy)=log⁡a(x)+log⁡a(y)\log_a(xy) = \log_a(x) + \log_a(y)
1
log⁡a(x)=m,log⁡a(y)=n\log_a(x) = m, \quad \log_a(y) = n
nameLet the two logarithms be mm and nn
2
x=am,y=anx = a^m, \quad y = a^n
convertThe same statements in exponential form
3
xy=am⋅anxy = a^m \cdot a^n
multiplyThe product of xx and yy
4
=am+n= a^{m+n}
key stepSame base: the exponents add
5
log⁡a(xy)=m+n\log_a(xy) = m + n
take logTaking the logarithm
6
=log⁡a(x)+log⁡a(y)= \log_a(x) + \log_a(y)
substitutePutting back m=log⁡a(x)m = \log_a(x) and n=log⁡a(y)n = \log_a(y)
log⁡a(xy)=log⁡a(x)+log⁡a(y)\log_a(xy) = \log_a(x) + \log_a(y)
Multiplication inside the argument becomes addition outside.
Deriving the product ruleLearn Math Class
The logarithm rule is the exponent law am⋅an=am+na^m \cdot a^n = a^{m+n} read back as logarithms.
Example
log⁡2(8⋅4)=log⁡2(8)+log⁡2(4)=3+2=5\log_2(8 \cdot 4) = \log_2(8) + \log_2(4) = 3 + 2 = 5. Verification: 8⋅4=32=258 \cdot 4 = 32 = 2^5.

The rule extends to any number of factors:
The Product Rule
log⁡a(xyz)=log⁡a(x)+log⁡a(y)+log⁡a(z)\log_a(xyz) = \log_a(x) + \log_a(y) + \log_a(z)

Pitfall: Splitting a sum
Writing log⁡2(4+4)\log_2(4 + 4) as log⁡2(4)+log⁡2(4)\log_2(4) + \log_2(4) gives 2+2=42 + 2 = 4. But log⁡2(4+4)=log⁡2(8)=3\log_2(4 + 4) = \log_2(8) = 3: the rule splits products only, and log⁡a(x+y)\log_a(x + y) does not split.

In every use of the rule, the first step is to read the argument and find its factors. In log⁡2(8⋅4)\log_2(8 \cdot 4) the factors are 88 and 44, and each one contributes its own logarithm to the sum. The same reading works with variables: log⁡a(3x)\log_a(3x) has the factors 33 and xx, so it becomes log⁡a(3)+log⁡a(x)\log_a(3) + \log_a(x).
log2 32 = log2 8 + log2 4: multiplying inputs adds outputsxy48121620242832−1123456y = log₂ xlog₂ 4 = 2log₂ 8 = 3log₂ 32 = 5 = 3 + 28 × 4 = 32, and 3 + 2 = 5Multiplying inputs adds outputs: log₂(8 · 4) = log₂ 8 + log₂ 4
The product rule on the graph

The section's example on the curve y = log₂ x. At x = 4 the height is 2 and at x = 8 it is 3. Multiplying the inputs, 8 × 4 = 32, gives the point (32, 5), and 5 is exactly 3 + 2. The logarithm turns the multiplication of inputs into the addition of heights, which is the product rule log₂(xy) = log₂ x + log₂ y.

Dividing inputs subtracts heights in the same way, which is the quotient rule.
Fact: Multiplying by adding for 350 years
John Napier published the first table of logarithms in 1614. Such tables, and slide rules that add lengths on logarithmic scales, were the standard tool of scientists and engineers for multiplying until pocket calculators took over in the 1970s.

The graph also suggests a way to multiply without multiplying. Suppose a table lists the common logarithm of every number to several decimal places. To find xyxy, look up log⁡(x)\log(x) and log⁡(y)\log(y), add the two values, and then search the table for the number whose logarithm is that sum. A long multiplication becomes one addition and three look-ups.

The Quotient Rule

The logarithm of a quotient equals the difference of the logarithms:

Quotient Rule (Logarithms)
log⁡a(xy)=log⁡a(x)−log⁡a(y)\log_a\left(\frac{x}{y}\right) = \log_a(x) - \log_a(y)
Learn more about this formula: Quotient Rule (Logarithms) →


Division inside the argument becomes subtraction outside.

Derivation: Let log⁡a(x)=m\log_a(x) = m and log⁡a(y)=n\log_a(y) = n. Then x=amx = a^m and y=any = a^n. The quotient xy=aman=am−n\frac{x}{y} = \frac{a^m}{a^n} = a^{m-n}. Taking the logarithm: log⁡a(x/y)=m−n=log⁡a(x)−log⁡a(y)\log_a(x/y) = m - n = \log_a(x) - \log_a(y).
The same four moves as for the product rule, with a quotient in place of the product. The gold line is the exponent law used.
DownloadPNG2×PDF
Provelog⁡a(xy)=log⁡a(x)−log⁡a(y)\log_a\left(\frac{x}{y}\right) = \log_a(x) - \log_a(y)
1
log⁡a(x)=m,log⁡a(y)=n\log_a(x) = m, \quad \log_a(y) = n
nameLet the two logarithms be mm and nn
2
x=am,y=anx = a^m, \quad y = a^n
convertThe same statements in exponential form
3
xy=aman\frac{x}{y} = \frac{a^m}{a^n}
divideThe quotient of xx and yy
4
=am−n= a^{m-n}
key stepSame base: the exponents subtract
5
log⁡a(x/y)=m−n\log_a(x/y) = m - n
take logTaking the logarithm
6
=log⁡a(x)−log⁡a(y)= \log_a(x) - \log_a(y)
substitutePutting back m=log⁡a(x)m = \log_a(x) and n=log⁡a(y)n = \log_a(y)
log⁡a(xy)=log⁡a(x)−log⁡a(y)\log_a\left(\frac{x}{y}\right) = \log_a(x) - \log_a(y)
Division inside the argument becomes subtraction outside.
Deriving the quotient ruleLearn Math Class
Only the exponent law changes from the product rule: dividing powers subtracts exponents, so the logarithms subtract.
Example
log⁡3(81/9)=log⁡3(81)−log⁡3(9)=4−2=2\log_3(81/9) = \log_3(81) - \log_3(9) = 4 - 2 = 2. Verification: 81/9=9=3281/9 = 9 = 3^2.

COROLLARY
The quotient rule also yields: log⁡a(1/x)=log⁡a(1)−log⁡a(x)=0−log⁡a(x)=−log⁡a(x)\log_a(1/x) = \log_a(1) - \log_a(x) = 0 - \log_a(x) = -\log_a(x).

Pitfall: Dividing the logarithms
Writing log⁡2(32/4)\log_2(32/4) as log⁡2(32)log⁡2(4)\frac{\log_2(32)}{\log_2(4)} gives 52\frac{5}{2}. The rule subtracts instead: log⁡2(32)−log⁡2(4)=5−2=3\log_2(32) - \log_2(4) = 5 - 2 = 3, and 32/4=8=2332/4 = 8 = 2^3.

The quotient rule always works on a single logarithm whose argument is a fraction. In log⁡3(81/9)\log_3(81/9) the division sits inside the logarithm, and the rule turns it into the subtraction log⁡3(81)−log⁡3(9)\log_3(81) - \log_3(9). Read the other way, a difference of two logarithms in the same base condenses back into one logarithm of a quotient.

The Power Rule

The logarithm of a power equals the exponent times the logarithm:

Power Rule (Logarithms)
log⁡a(xn)=n⋅log⁡a(x)\log_a(x^n) = n \cdot \log_a(x)
Learn more about this formula: Power Rule (Logarithms) →


Exponents inside the argument become coefficients outside.

Derivation: Let log⁡a(x)=m\log_a(x) = m, so x=amx = a^m. Then xn=(am)n=amnx^n = (a^m)^n = a^{mn}. Taking the logarithm: log⁡a(xn)=mn=n⋅log⁡a(x)\log_a(x^n) = mn = n \cdot \log_a(x).
The derivation above as a chain. This time one logarithm is enough, and the gold line is the power of a power law.
DownloadPNG2×PDF
Provelog⁡a(xn)=n⋅log⁡a(x)\log_a(x^n) = n \cdot \log_a(x)
1
log⁡a(x)=m\log_a(x) = m
nameLet the logarithm be mm
2
x=amx = a^m
convertThe same statement in exponential form
3
xn=(am)nx^n = (a^m)^n
powerRaising both sides to the power nn
4
=amn= a^{mn}
key stepA power of a power: the exponents multiply
5
log⁡a(xn)=mn\log_a(x^n) = mn
take logTaking the logarithm
6
=n⋅log⁡a(x)= n \cdot \log_a(x)
substitutePutting back m=log⁡a(x)m = \log_a(x)
log⁡a(xn)=n⋅log⁡a(x)\log_a(x^n) = n \cdot \log_a(x)
Exponents inside the argument become coefficients outside.
Deriving the power ruleLearn Math Class
Raising a power to a power multiplies the exponents, which is why the exponent nn comes out in front of the logarithm.
Example
log⁡2(84)=4⋅log⁡2(8)=4⋅3=12\log_2(8^4) = 4 \cdot \log_2(8) = 4 \cdot 3 = 12. Verification: 84=4096=2128^4 = 4096 = 2^{12}.

The rule holds for any real exponent nn, including fractions and negatives:
The Power Rule
log⁡a(x)=log⁡a(x1/2)=12log⁡a(x)\log_a(\sqrt{x}) = \log_a(x^{1/2}) = \frac{1}{2}\log_a(x)
The Power Rule
log⁡a(x−3)=−3log⁡a(x)\log_a(x^{-3}) = -3\log_a(x)

The Change of Base Formula

A calculator has keys for log and ln, but none for log₂. How do you find log₂(10)?
The answer must lie between 33 and 44, because 23=82^3 = 8 and 24=162^4 = 16.
Dividing two logarithms in a base the calculator knows gives the same answer, whichever base is used.
base usedlog of 10log of 2(log of 10) ÷ (log of 2)
1010.301033.3219
e2.302590.693153.3219
Both ratios land between 33 and 44, and indeed 23.3219≈102^{3.3219} \approx 10.
Any base works, as long as the same base is used above and below the fraction bar.
Derivation: Let log⁡a(x)=y\log_a(x) = y, so ay=xa^y = x. Taking log⁡b\log_b of both sides: log⁡b(ay)=log⁡b(x)\log_b(a^y) = \log_b(x). By the power rule: y⋅log⁡b(a)=log⁡b(x)y \cdot \log_b(a) = \log_b(x). Solving for yy: y=log⁡b(x)log⁡b(a)y = \frac{\log_b(x)}{\log_b(a)}.
The definition
The change of base formula rewrites a logarithm in base aa using logarithms in any other base bb: log⁡a(x)=log⁡b(x)log⁡b(a)\log_a(x) = \frac{\log_b(x)}{\log_b(a)}.
A logarithm in one base can be expressed using logarithms in any other base:
Change of Base Formula
log⁡a(x)=log⁡b(x)log⁡b(a)\log_a(x) = \frac{\log_b(x)}{\log_b(a)}
Learn more about this formula: Change of Base Formula →
This formula converts logarithms to a convenient base — typically 1010 or ee for calculator computation.
So log⁡2(10)=log⁡(10)log⁡(2)=ln⁡(10)ln⁡(2)≈3.322\log_2(10) = \frac{\log(10)}{\log(2)} = \frac{\ln(10)}{\ln(2)} \approx 3.322.
The formula turns any logarithm into one a calculator can evaluate.
Common applications:
The Change of Base Formula
log⁡2(10)=log⁡(10)log⁡(2)=10.301≈3.322\log_2(10) = \frac{\log(10)}{\log(2)} = \frac{1}{0.301} \approx 3.322
The Change of Base Formula
log⁡5(7)=ln⁡(7)ln⁡(5)=1.9461.609≈1.209\log_5(7) = \frac{\ln(7)}{\ln(5)} = \frac{1.946}{1.609} \approx 1.209
COROLLARY
A useful special case: log⁡a(b)=1log⁡b(a)\log_a(b) = \frac{1}{\log_b(a)}. The logarithms are reciprocals when arguments and bases swap.
Each application above follows the same pattern: two logarithms in a base the calculator knows, one divided by the other. A rough size check is always available. log⁡2(10)\log_2(10) must lie between 33 and 44, because 23=82^3 = 8 and 24=162^4 = 16, and log⁡5(7)\log_5(7) must lie between 11 and 22, because 5<7<255 < 7 < 25.
The four rules above all follow the same shape: name the logarithms, convert to exponential form, apply the matching exponent law, then read the result back as a logarithm. The table below sets the four derivations side by side so the shared pattern is visible at a glance.
DownloadPNG2×PDF
Layout
Rule1. Setup2. Exponent law applied3. Read off as a logarithm
Productlet log⁡a(x)=m\log_a(x) = m, log⁡a(y)=n\log_a(y) = n, so x=amx = a^m, y=any = a^nam⋅an=am+na^m \cdot a^n = a^{m+n}log⁡a(xy)=m+n=log⁡a(x)+log⁡a(y)\log_a(xy) = m + n = \log_a(x) + \log_a(y)
Quotientsame setup: x=amx = a^m, y=any = a^naman=am−n\frac{a^m}{a^n} = a^{m-n}log⁡a(xy)=m−n=log⁡a(x)−log⁡a(y)\log_a\left(\frac{x}{y}\right) = m - n = \log_a(x) - \log_a(y)
Powerlet log⁡a(x)=m\log_a(x) = m, so x=amx = a^m(am)n=amn(a^m)^n = a^{mn}log⁡a(xn)=mn=n⋅log⁡a(x)\log_a(x^n) = mn = n \cdot \log_a(x)
Change of baselet log⁡a(x)=y\log_a(x) = y, so ay=xa^y = xtake log⁡b\log_b of both sides; apply the power ruley⋅log⁡b(a)=log⁡b(x)y \cdot \log_b(a) = \log_b(x), so log⁡a(x)=log⁡b(x)log⁡b(a)\log_a(x) = \frac{\log_b(x)}{\log_b(a)}
The Four Derivations Side by SideLearn Math Class
Taking the formula apart: the logarithm you want on the left, the argument in the numerator, the old base in the denominator.
DownloadPNG2×PDF
the formula, part by part

Change of base

any logarithm becomes a quotient of two logarithms in a base the calculator knows
loga(x)=logb(x)logb(a)
1The logarithm you wantlogₐ(x)
Base a, argument x, in a base the calculator may not have. Example: log₂(10) asks which power of 2 gives 10. It must lie between 3 and 4, because 2³ = 8 and 2⁴ = 16.
2Argument on topnumerator
Any base works as long as top and bottom use the same one; in practice 10 or e, which a calculator has. Example: for log₂(10) in base 10, the top is log(10) = 1.
3Old base belowdenominator
Swapping top and bottom gives the reciprocal, a different number. Example: the bottom is log(2) ≈ 0.301, so log₂(10) = 1 / 0.301 ≈ 3.322. Upside down it would give 0.301, not a power between 3 and 4.
Change of base, part by part·/algebra/logarithms/rulesLearn Math Class
The part most often misread is the order: the argument goes on top, the base below. The same formula gives the reciprocal rule log⁡a(b)=1log⁡b(a)\log_a(b) = \frac{1}{\log_b(a)}.
The argument goes on top and the base below.
Pitfall: Inverting the fraction
Writing log⁡2(8)\log_2(8) as ln⁡(2)ln⁡(8)\frac{\ln(2)}{\ln(8)} puts the base on top and gives 13\frac{1}{3}. The argument goes in the numerator: ln⁡(8)ln⁡(2)=3\frac{\ln(8)}{\ln(2)} = 3, and 23=82^3 = 8.
The rest of the page covers expanding and condensing logarithmic expressions, common errors and a summary of the rules.

Expanding Logarithmic Expressions

A single logarithm with a compound argument can be written as a sum or difference of simpler logarithms, with exponents pulled out as coefficients. The product rule splits multiplication, the quotient rule splits division, and the power rule extracts exponents.

Example
Expand log⁡2(x3yz2)\log_2\left(\frac{x^3 y}{z^2}\right).
log⁡2(x3yz2)=log⁡2(x3y)−log⁡2(z2)\log_2\left(\frac{x^3 y}{z^2}\right) = \log_2(x^3 y) - \log_2(z^2)
=log⁡2(x3)+log⁡2(y)−log⁡2(z2)= \log_2(x^3) + \log_2(y) - \log_2(z^2)
=3log⁡2(x)+log⁡2(y)−2log⁡2(z)= 3\log_2(x) + \log_2(y) - 2\log_2(z)

Example
Expand ln⁡(ab3)\ln\left(\sqrt{\frac{a}{b^3}}\right).
ln⁡(ab3)=ln⁡(ab3)1/2=12ln⁡(ab3)\ln\left(\sqrt{\frac{a}{b^3}}\right) = \ln\left(\frac{a}{b^3}\right)^{1/2} = \frac{1}{2}\ln\left(\frac{a}{b^3}\right)
=12(ln⁡(a)−ln⁡(b3))=12ln⁡(a)−32ln⁡(b)= \frac{1}{2}\left(\ln(a) - \ln(b^3)\right) = \frac{1}{2}\ln(a) - \frac{3}{2}\ln(b)

Pitfall: Applying an exponent to the whole argument
Writing log⁡2(2⋅43)\log_2(2 \cdot 4^3) as 3log⁡2(2⋅4)3\log_2(2 \cdot 4) gives 3⋅3=93 \cdot 3 = 9. The exponent belongs to 44 only: log⁡2(2)+3log⁡2(4)=1+6=7\log_2(2) + 3\log_2(4) = 1 + 6 = 7, and 2⋅43=128=272 \cdot 4^3 = 128 = 2^7.

In both examples the expansion runs from the outside in. The outermost operation is split first, and the power rule comes last, applied to each piece that carries its own exponent. In the first example the exponent 33 sits on xx and the exponent 22 sits on zz, so each becomes the coefficient of its own logarithm; in the second, the square root covers the whole fraction, so its 12\frac{1}{2} multiplies everything.

Condensing Logarithmic Expressions

Multiple logarithms can be combined into a single logarithm by reversing the expansion process. Coefficients become exponents through the power rule, sums become products through the product rule, and differences become quotients through the quotient rule.

Example
Condense 2log⁡(x)+log⁡(y)−3log⁡(z)2\log(x) + \log(y) - 3\log(z).
2log⁡(x)+log⁡(y)−3log⁡(z)=log⁡(x2)+log⁡(y)−log⁡(z3)2\log(x) + \log(y) - 3\log(z) = \log(x^2) + \log(y) - \log(z^3)
=log⁡(x2y)−log⁡(z3)=log⁡(x2yz3)= \log(x^2 y) - \log(z^3) = \log\left(\frac{x^2 y}{z^3}\right)

Example
Condense 12ln⁡(a+1)−ln⁡(b)−ln⁡(c)\frac{1}{2}\ln(a+1) - \ln(b) - \ln(c).
12ln⁡(a+1)−ln⁡(b)−ln⁡(c)=ln⁡(a+1)1/2−ln⁡(b)−ln⁡(c)\frac{1}{2}\ln(a+1) - \ln(b) - \ln(c) = \ln(a+1)^{1/2} - \ln(b) - \ln(c)
=ln⁡a+1−ln⁡(bc)=ln⁡(a+1bc)= \ln\sqrt{a+1} - \ln(bc) = \ln\left(\frac{\sqrt{a+1}}{bc}\right)

Pitfall: Turning a coefficient into a factor
Condensing 2log⁡(x)+log⁡(y)2\log(x) + \log(y) to log⁡(2xy)\log(2xy): with x=y=10x = y = 10 the sum is 2+1=32 + 1 = 3, but log⁡(200)≈2.301\log(200) \approx 2.301. The coefficient becomes an exponent: log⁡(x2y)=log⁡(1000)=3\log(x^2 y) = \log(1000) = 3.

The order of the steps is the same in both examples. Every coefficient is dealt with first, so that each logarithm stands alone with coefficient 11; only then do the sums and differences merge into a single argument. In the second example both ln⁡(b)\ln(b) and ln⁡(c)\ln(c) are subtracted, so bb and cc both end up in the denominator.

Condensing is essential for solving equations where multiple logarithms must combine before applying the one-to-one property.

Condensing runs expansion backwards: turn every coefficient into an exponent first, then merge everything into one logarithm.
The first example of this section, one step at a time. Press Next to carry out each step.
DownloadPNG2×PDF
2log⁡(x)+log⁡(y)−3log⁡(z)2\log(x) + \log(y) - 3\log(z)Step 1 of 3
Step
2log⁡(x)+log⁡(y)−3log⁡(z)2\log(x) + \log(y) - 3\log(z)
1
Turn every coefficient into an exponentPower rule
log⁡(x2)+log⁡(y)−log⁡(z3)\log(x^2) + \log(y) - \log(z^3)
2
Merge the sums into a productProduct rule
log⁡(x2y)−log⁡(z3)\log(x^2 y) - \log(z^3)
3
Merge the differences into a quotientQuotient rule
log⁡(x2yz3)\log\left(\dfrac{x^2 y}{z^3}\right)
Condensing in three stepsLearn Math Class

Common Errors

Several incorrect "rules" persistently appear. None of the following equalities hold:
DownloadPNG2×PDF
Not true
Instead
log⁡a(x+y)=log⁡a(x)+log⁡a(y)\log_a(x + y) = \log_a(x) + \log_a(y)
The logarithm of a sum does not split. There is no simplification for log⁡a(x+y)\log_a(x + y).
log⁡a(x−y)=log⁡a(x)−log⁡a(y)\log_a(x - y) = \log_a(x) - \log_a(y)
The logarithm of a difference does not split either.
log⁡a(x)⋅log⁡a(y)=log⁡a(xy)\log_a(x) \cdot \log_a(y) = \log_a(xy)
Multiplying logarithms is not the same as the logarithm of a product.
log⁡a(x)log⁡a(y)=log⁡a(xy)\frac{\log_a(x)}{\log_a(y)} = \log_a\left(\frac{x}{y}\right)
Dividing logarithms is not the same as the logarithm of a quotient. However, note that log⁡a(x)log⁡a(y)=log⁡y(x)\frac{\log_a(x)}{\log_a(y)} = \log_y(x) by the change of base formula.
(log⁡a(x))n=nlog⁡a(x)(\log_a(x))^n = n\log_a(x)
Raising a logarithm to a power is not the same as multiplying by that power. The power rule applies to exponents inside the argument, not outside.
The change of base formula is written with the two logarithms in the wrong places: the base of the original logarithm goes in the numerator and the argument goes in the denominator.
Wrong working, continued
That value is log⁡8(2)\log_8(2), the reciprocal of the right answer.
Right working
The argument goes on top and the old base below.
Why it happensOnce both logarithms are in the new base they look alike, and nothing in the notation log⁡a(x)\log_a(x) shows which one belongs on top.
How to checkEstimate first. log⁡2(8)\log_2(8) asks for the power of 22 that gives 88, which is 33, not a number below 11. With a base greater than 11, an argument larger than the base always gives a result greater than 11.
The argument is a product with an exponent on one factor, and the power rule is used as if the exponent covered the whole product.
Right working
Split the product first, then apply the power rule to the factor that carries the exponent.
Why it happensThe exponent is the most visible part of the argument, so the power rule is applied before the product is taken apart.
How to checkCompute the argument directly. 2⋅43=2⋅64=128=272 \cdot 4^3 = 2 \cdot 64 = 128 = 2^7, so the value is 77. The exponent moves out as a coefficient only when it covers the entire argument, as in log⁡2((2⋅4)3)=3log⁡2(8)=9\log_2((2 \cdot 4)^3) = 3\log_2(8) = 9.
When condensing, a coefficient in front of a logarithm is moved into the argument as a multiplier instead of as an exponent.
Right working
The power rule turns the coefficient into an exponent, then the product rule combines the two logarithms.
Why it happensIn ordinary algebra a coefficient multiplies, so 2x2x looks like the natural way to bring the 22 inside.
How to checkSubstitute numbers. With x=y=10x = y = 10, the original is 2⋅1+1=32 \cdot 1 + 1 = 3. The wrong form gives log⁡(200)≈2.301\log(200) \approx 2.301; the right form gives log⁡(1000)=3\log(1000) = 3.
Common errors with logarithm rules·/algebra/logarithms/rulesLearn Math Class
The product, quotient and power rules all work inside a single logarithm: they take apart a product, a quotient or a power in its argument. The first five rows break this in one of two ways. Either they start from a sum or a difference in the argument, which has no rule, or they apply an operation to whole logarithms (multiplying, dividing or raising to a power), which no rule covers. The last three are real rules used the wrong way round or on the wrong part, and a quick check with round numbers catches each of them.

Summary of Logarithm Rules

This summary collects the four logarithm rules on one card, as a reference for expanding and condensing expressions. Each row gives the rule's name, its identity, and what it transforms, written as the operation inside the logarithm next to the operation it becomes outside. Under each name sits a worked number example and a link to the section that derives the rule.

The product, quotient and power rules turn multiplication into addition, division into subtraction, and an exponent into a coefficient in front. The change of base formula is of a different kind: it rewrites a logarithm in any new base, which is how a logarithm in an unusual base is computed on a calculator.
DownloadPNG2×PDF
RuleIdentityWhat it transforms
ProductFor example, log⁡2(8⋅4)=3+2=5\log_2(8 \cdot 4) = 3 + 2 = 5; the product rule derives it from am⋅an=am+na^m \cdot a^n = a^{m+n}.log⁡a(xy)=log⁡a(x)+log⁡a(y)\log_a(xy) = \log_a(x) + \log_a(y)multiplication inside↔addition outside
QuotientFor example, log⁡3(81/9)=4−2=2\log_3(81/9) = 4 - 2 = 2; the quotient rule shows where it comes from.log⁡a(xy)=log⁡a(x)−log⁡a(y)\displaystyle \log_a\left(\frac{x}{y}\right) = \log_a(x) - \log_a(y)division inside↔subtraction outside
PowerFor example, log⁡2(83)=3⋅3=9\log_2(8^3) = 3 \cdot 3 = 9; the power rule shows it also holds for fractional and negative nn.log⁡a(xn)=n⋅log⁡a(x)\log_a(x^n) = n \cdot \log_a(x)exponent inside↔coefficient outside
Change of baseFor example, log⁡2(7)=log⁡(7)/log⁡(2)≈2.807\log_2(7) = \log(7) / \log(2) \approx 2.807, worked on a calculator as in the change of base formula.log⁡a(x)=log⁡b(x)log⁡b(a)\displaystyle \log_a(x) = \frac{\log_b(x)}{\log_b(a)}rewrites a logarithm in any new base bb
Logarithm rules·All algebra formulasLearn Math Class
Read from left to right, each of the first three rules expands one logarithm into simpler pieces; read from right to left, it condenses several logarithms into one. Change of base is the only rule that alters the base itself, and it is derived from the power rule.
DownloadPNG2×PDF
Before you read
Four rules for logarithms
Three rules turn multiplication, division and powers into addition, subtraction and multiplication. The fourth moves between bases.
Logarithm rules4 rules
Productlog⁡(xy)=log⁡x+log⁡y\log(xy) = \log x + \log y
Turnsmultiplication into addition
Quotientlog⁡(x/y)=log⁡x−log⁡y\log(x/y) = \log x - \log y
Turnsdivision into subtraction
Powerlog⁡xn=nlog⁡x\log x^n = n \log x
Turnsa power into a multiple
Change of baselog⁡ax=log⁡bx/log⁡ba\log_a x = \log_b x / \log_b a
Doesrewrites in any base
Takeaway
Logarithms turn hard operations into easy ones
Each of the first three rules mirrors an exponent law; change of base lets any logarithm be computed with the one your calculator has.
The four logarithm rules·/algebra/logarithms/rulesLearn Math Class

Skills You Should Learn

Each skill opens its step-by-step method page. Skills marked "On this page" are taught above.
Taught on this page
More algebra methods
Derivative techniques

Logarithm Rules FAQ

Can you split log⁡(x+y)\log(x + y) into log⁡(x)+log⁡(y)\log(x) + \log(y)?

+
No. The product rule turns a product inside the argument into a sum outside it, which is the reverse of what this asks. There is no rule for a sum or a difference inside a logarithm, so log⁡a(x+y)\log_a(x + y) and log⁡a(x−y)\log_a(x - y) do not simplify at all. Check it: log⁡10(1+99)=2\log_{10}(1 + 99) = 2, while log⁡10(1)+log⁡10(99)≈1.996\log_{10}(1) + \log_{10}(99) \approx 1.996.Read more →

What is log⁡a(x)log⁡a(y)\frac{\log_a(x)}{\log_a(y)} if it isn't log⁡a(xy)\log_a\left(\frac{x}{y}\right)?

+
It is log⁡y(x)\log_y(x), which is the change of base formula read backwards. Dividing two logarithms changes the base rather than dividing the arguments; the quotient rule needs the division to sit inside a single logarithm. Multiplying fares no better: log⁡a(x)⋅log⁡a(y)\log_a(x) \cdot \log_a(y) is not log⁡a(xy)\log_a(xy) and has no tidy form.Read more →

Why doesn't the power rule apply to (log⁡ax)n(\log_a x)^n?

+
Because the power rule moves an exponent sitting inside the argument, not one applied to the finished logarithm. log⁡a(xn)=nlog⁡a(x)\log_a(x^n) = n\log_a(x), but (log⁡ax)n(\log_a x)^n raises the output and stays where it is. Take log⁡10(100)=2\log_{10}(100) = 2: then log⁡10(1003)=6\log_{10}(100^3) = 6, while (log⁡10100)3=8(\log_{10} 100)^3 = 8. The position of the exponent decides everything.Read more →

Is log⁡a(b)\log_a(b) related to log⁡b(a)\log_b(a)?

+
They are reciprocals: log⁡a(b)=1log⁡b(a)\log_a(b) = \frac{1}{\log_b(a)}. Swapping the base and the argument inverts the value. It falls out of change of base with x=bx = b, since log⁡a(b)=log⁡b(b)log⁡b(a)\log_a(b) = \frac{\log_b(b)}{\log_b(a)} and log⁡b(b)=1\log_b(b) = 1. So log⁡2(8)=3\log_2(8) = 3 forces log⁡8(2)=13\log_8(2) = \frac{1}{3}, which is right because 81/3=28^{1/3} = 2.Read more →

How were logarithms used to multiply before calculators?

+
Through the product rule and printed tables. To find xyxy, look up log⁡(x)\log(x) and log⁡(y)\log(y), add the two values, then search the table for the number whose logarithm is that sum: a long multiplication becomes one addition and three look-ups. John Napier published the first table of logarithms in 1614, and tables and slide rules, which add lengths on logarithmic scales, stayed standard until pocket calculators took over in the 1970s.Read more →

When condensing, does 2log⁡(x)2\log(x) become log⁡(2x)\log(2x)?

+
No, it becomes log⁡(x2)\log(x^2). The power rule turns a coefficient into an exponent, never into a factor, so 2log⁡(x)+log⁡(y)2\log(x) + \log(y) condenses to log⁡(x2y)\log(x^2 y). Test it with x=y=10x = y = 10: the sum is 2+1=32 + 1 = 3, and log⁡(1000)=3\log(1000) = 3 agrees, while log⁡(2xy)=log⁡(200)≈2.301\log(2xy) = \log(200) \approx 2.301 does not. Deal with every coefficient first, then merge the logarithms.Read more →