Learn
Lesson · Exponential and Logarithmic Functions · Logarithms

The Laws of Logarithms

Three laws turn a product into a sum, a quotient into a difference, and a power into a multiple. Each one is a single exponent law from Foundations of Algebra written in the other notation, and each is proved in two lines from the definition. Two more rules that look like laws are not.

log_b(M·N) = log_b M + log_b N from b^m · b^n = b^(m+n) log_b(M/N) = log_b M − log_b N from b^m / b^n = b^(m−n) log_b(M^p) = p · log_b M from (b^m)^p = b^(mp) NOT laws: log(M + N), log M / log N, (log M)(log N)
Three laws, and three things that are not

Core ideas

What this lesson establishes

Nothing here is new mathematics. It is the exponent laws you already have, said in the notation of “What a Logarithm Is”.

1

The laws are the exponent laws in other clothes

Multiplying powers of the same base adds the exponents. A logarithm is an exponent. So the logarithm of a product is the sum of the logarithms — not a coincidence and not a separate fact, but the same statement written twice.

2

There is no law for a sum

log_b(M + N) does not simplify. Not to log_b M + log_b N, not to anything. Addition inside the argument has no counterpart outside it, and inventing one is the most expensive habit available in this course.

3

Every law needs positive arguments

log_b(M·N) = log_b M + log_b N requires M > 0 and N > 0, or the right-hand side names nothing. The usual casualty is log_b(x²) = 2·log_b(x), which fails for negative x: the correct identity is log_b(x²) = 2·log_b|x|.

The material

Three laws and their proofs

Where each law comes from, what it is allowed to touch, and the two rules people invent in their place.

Fix a base b and take M > 0, N > 0. Write m = log_b M and n = log_b N, which by the definition means M = b^m and N = b^n. Every proof below is that substitution followed by one exponent law.

Theorem · The product law

log_b(M·N) = log_b(M) + log_b(N) for all M > 0 and N > 0.

M·N = b^m·b^n = b^(m+n) by the exponent law for a product. So m + n is the exponent that produces M·N, and by the definition of a logarithm that is exactly what log_b(M·N) means. Hence log_b(M·N) = m + n = log_b M + log_b N.

□

Theorem · The quotient law

log_b(M/N) = log_b(M) − log_b(N) for all M > 0 and N > 0.

M/N = b^m/b^n = b^(m−n). So m − n is the exponent that produces M/N, which gives log_b(M/N) = m − n = log_b M − log_b N. The subtraction on the right is where the sign is lost in practice, and the order matters: log_b(N/M) is the negative of this.

□

Theorem · The power law

log_b(M^p) = p·log_b(M) for all M > 0 and every real p.

M^p = (b^m)^p = b^(mp) by the exponent law for a power of a power. So mp is the exponent that produces M^p, and log_b(M^p) = mp = p·log_b M. Note that p is unrestricted: it may be negative, or a fraction, which is what lets a root come out as a coefficient.

□

A number check is not a proof, but it is a fast way to catch a misremembered law. log_2(8·4) = log_2(32) = 5, and log_2(8) + log_2(4) = 3 + 2 = 5. If a rule you are about to use fails on numbers you can evaluate by hand, it is not a rule.

The two invented laws

log_2(8 + 8) = log_2(16) = 4 log_2(8) + log_2(8) = 3 + 3 = 6 not equal log_2(8/4) = log_2(2) = 1 log_2(8) / log_2(4) = 3/2 not equal

The first is the sum error and there is nothing to rescue in it. The second is more interesting, because the quotient log_b(M)/log_b(N) is not meaningless — it equals log_N(M). Here log_2(8)/log_2(4) = 3/2, and log_4(8) is indeed 3/2. A ratio of two logarithms is a change of base, which “Change of Base” makes into a rule; it is not the logarithm of a ratio.

Expanding and condensing

Expanding means using the laws left to right, until every logarithm has a single letter inside it. Condensing means the reverse: coefficients go back up as exponents, sums become products, differences become quotients, and the whole expression ends as one logarithm. Both directions are needed — expanding to differentiate later, condensing to solve equations in “Solving Logarithmic Equations”.

Example · A restriction that is easy to lose

log_b(x²) = 2·log_b(x) is true for x > 0 and false for x < 0. At x = −5 the left side is log_b(25), a perfectly good number, and the right side is 2·log_b(−5), which is not defined at all. The identity that holds everywhere except x = 0 is log_b(x²) = 2·log_b|x|. Expanding a logarithm can shrink its domain, and the answer should say so.

Interactive

The laws, checked

Three that hold, two that people invent

Logarithm
y = log_b(x)M, N and MNthe heights that add

Method

Expanding a logarithm

Work from the outside in. Doing it the other way re-creates brackets you then have to remove.

1

Split the outermost structure first

If the argument is a quotient, use the quotient law before anything else; then split the products; only then bring exponents down. The outermost operation is the one the logarithm is applied to.

2

Write every root as an exponent

√y is y^(1/2) and ∛y is y^(1/3). The power law does not recognise a root sign, so convert first — the coefficient 1/2 comes out of that conversion, not out of nowhere.

3

Bring each exponent down as a coefficient

log_b(x³) becomes 3·log_b(x). The exponent must sit on the whole argument of that logarithm: in log_b((x + 1)³) the cube is on the bracket and comes down, while in log_b(x³ + 1) it is on x alone and nothing comes down.

4

State the restriction

The expansion is valid where every logarithm in it is defined. For log_b(x³·√y / z²) that means x > 0, y > 0 and z > 0, and the answer is incomplete without it.

Laws, and things that are not laws

Score 0 / 0

One expansion, checked on numbers, then reversed

The expansion is four lines. The check is four more, and it is worth every one of them.

expand log_b( x³·√y / z² ), x > 0, y > 0, z > 0 quotient law log_b(x³·√y) − log_b(z²) product law log_b(x³) + log_b(√y) − log_b(z²) root as power log_b(x³) + log_b(y^(1/2)) − log_b(z²) power law 3·log_b(x) + (1/2)·log_b(y) − 2·log_b(z) check on numbers: b = 2, x = 8, y = 16, z = 4 inside 8³ = 512 √16 = 4 4² = 16 512 · 4 / 16 = 128 left log_2(128) = 7 right 3·log_2(8) + (1/2)·log_2(16) − 2·log_2(4) = 3·3 + (1/2)·4 − 2·2 = 9 + 2 − 4 = 7 ✓ condense 2·log_b(x) + (1/3)·log_b(y) − log_b(z) power law log_b(x²) + log_b(y^(1/3)) − log_b(z) product law log_b(x²·∛y) − log_b(z) quotient law log_b( x²·∛y / z )

The check catches the two failures worth catching: a coefficient that never came down, and a sign lost on the quotient. If the right-hand column had come to 15 you would know the −2·log_2(4) had been added instead of subtracted, before the mistake travelled any further.

It confirms the expansion at one point and nowhere else. The proof that it holds for every positive x, y and z is the two-line derivation of each law above — a numeric check can refute a false rule but cannot establish a true one.

For a faded expansion, take log_b(√(x^5·y) / z³) with x, y, z > 0. The supplied first line is the quotient-law split. Rewrite the root as a power, finish the expansion, then condense your answer back to the original expression. Check that every exponent lands on the whole factor it came from and that the minus sign stays with the denominator.

Common mistakes

1
Splitting the logarithm of a sumlog_b(x + 3) is not log_b(x) + log_b(3). Test it once with numbers you can evaluate: log_2(8 + 8) = 4 while log_2(8) + log_2(8) = 6. There is no law for addition inside the argument, and no amount of rearranging produces one.
2
Turning a quotient of logarithms into a logarithm of a quotientlog_b(M)/log_b(N) is not log_b(M/N). On numbers: log_2(8)/log_2(4) = 3/2 while log_2(8/4) = 1. The quotient of two logarithms is a change of base — it equals log_N(M) — and “Change of Base” puts that to work rather than throwing it away.
3
Bringing down an exponent that is not on the whole argumentIn log_b(x² + 1) the square sits on x, so the power law does not apply and the expression does not expand at all. The law needs the exponent on everything the logarithm is applied to, as in log_b((x + 1)²) = 2·log_b(x + 1).

Check your understanding

✓
Finish when you can go both directions and state the restriction.

Given log_b(x²·√y / z³) you should produce 2·log_b(x) + (1/2)·log_b(y) − 3·log_b(z) with x, y, z > 0, and turn it back again. If the order of the laws is ever in doubt, work outermost first and the doubt does not arise.

Note: “Common and Natural Logarithms” gives base 10 and base e their own notation, log and ln, and “Change of Base” turns the ratio log_c(x)/log_c(b) into the change-of-base rule. These three laws hold in every base, so nothing written here has to be relearned when the subscript disappears.

Kept in this browser only, for you. Nothing is sent anywhere and nothing checks it. Carry it to another device.

Feedback and recommendations

Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.

No recommendations yet for this lesson.