Quarry School

College Algebra / Properties of logarithms

Properties of logarithms

Subject: Mathematics

All 5 lessons, in order.

The unit at a glance

  1. The product rule

    Multiplying powers of one base adds their exponents: 23 · 2⁴ = 2⁷.

  2. The quotient rule

    Dividing powers of one base subtracts their exponents: 2⁷ ÷ 23 = 2⁴.

  3. The power rule

    Raising a power to a power multiplies the exponents: (23)⁴ = 212.

  4. Expanding and condensing

    The three rules work together. Expanding turns one logarithm of a product, quotient or power into a sum and difference of simpler logarithms. Condensing runs the other way and gathers several logarithms with one base into a single logarithm.

  5. Change of base

    Many calculators have keys for only two bases: LOG for base 10 and LN for base e.

Rules (5)
  • The product rule

    For b > 0, b ≠ 1, M > 0 and N > 0: logb (MN) = logb M + logb N.

  • The quotient rule

    For b > 0, b ≠ 1, M > 0 and N > 0: logb (MN) = logb M − logb N.

  • The power rule

    For b > 0, b ≠ 1, M > 0 and any real number p: logb (Mp) = p · logb M.

  • Expanding and condensing

    Expand from the outermost operation inward: a quotient with the quotient rule, a product with the product rule, a power of the whole input with the power rule, then the same on each new logarithm. Condense: power rule first (numbers in front become exponents), then product and quotient rules. Every logarithm must have a positive input, and the answer holds for the values of the variables where every logarithm in both forms has a positive input.

  • Change of base

    For a > 0, a ≠ 1, b > 0, b ≠ 1 and x > 0: logb x = logaxlogab; in particular logb x = logxlogb = lnxlnb.

Recipes (5)
  • The product rule
    1. Check that the base is positive and not 1, and that each factor is positive.
    2. To expand, write the logarithm of each factor and add them.
    3. To combine a sum of logarithms with one base, write the logarithm of the product.
    4. Evaluate any logarithm whose input is a power of the base.
  • The quotient rule
    1. Check that the base is positive and not 1, and that the top and the bottom are positive.
    2. To expand, write the logarithm of the top minus the logarithm of the bottom.
    3. To combine a difference of logarithms with one base, write the logarithm of the quotient, the first input over the second.
    4. Evaluate any logarithm whose input is a power of the base.
  • The power rule
    1. Check that the base is positive and not 1, and that the number being raised to the power is positive.
    2. Write a root as a fractional power: M = M12, ∛{M} = M13; write 1M as M−1.
    3. Bring the exponent down in front of the logarithm.
    4. To combine p · logb M into one logarithm, move the number in front up as an exponent: logb (Mp).
  • Expanding and condensing
    1. State the values of the variables for which every input is positive.
    2. To expand: use the rule for the input's outermost operation (quotient, product or power), then repeat on each new logarithm until each input is a single factor.
    3. To condense: move each coefficient up as an exponent, then add as products and subtract as quotients, so one logarithm is left with coefficient 1.
    4. Check by putting in numbers for the variables at which every logarithm is defined.
  • Change of base
    1. Write the logarithm of the input over the logarithm of the base, both in base 10 or both in base e.
    2. Compute both with the LOG key or both with the LN key, and divide.
    3. Round only at the end.
    4. Check by raising the base to the answer: banswer should give back the input, approximately.
Traps (5)
  • The product rule

    Splitting a sum. The product rule turns the logarithm of a product into a sum; it says nothing about the logarithm of a sum. There is no general rule that rewrites logb (M + N) as logb M + logb N: the two agree only for special values, such as M = N = 2.

  • The quotient rule

    Dividing the logarithms instead of the inputs. logb M ÷ logb N is not, in general, logb (MN): the quotient rule turns a quotient of inputs into a difference of logarithms.

  • The power rule

    Raising the logarithm to the power instead of its input. (logb M)p is not, in general, logb (Mp): the power rule moves the exponent of the input, not an exponent on the whole logarithm.

  • Expanding and condensing

    Leaving a coefficient outside while condensing. 2 log x + log y is log (x2y); writing it as 2 log (xy) is wrong in general (the two agree only when y = 1). A number in front belongs only to its own logarithm, so it moves up onto that logarithm's input before anything is combined.

  • Change of base

    Turning the quotient of logarithms into the logarithm of a quotient. logxlogb is logb x, which in general is not log (xb).

Lesson 1 of 5

The product rule

Subject: MathematicsLeans on: Multiplying powersLeans on: What a logarithm isOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Multiplying powers of one base adds their exponents: 23 · 2⁴ = 2⁷. A logarithm is an exponent, so the logarithm of a product is the sum of the logarithms: log2 (8 · 16) = log2 8 + log2 16 = 3 + 4 = 7. Think of a pile of rice that doubles on each square of a board: a pile 8 times bigger is 3 doublings up, a pile 16 times bigger is 4 more, and a pile 128 times bigger is the 7 doublings together. The rule needs both factors positive, because a logarithm takes only positive inputs.

2 Picture it

M = bm and N = bn

MN = bm+n

logb (MN) = logb M + logb N

Reminder

Reminder: Multiplying powers, What a logarithm is
  • Multiplying powers. With one positive base b and real exponents, exponents add: bm · bn = bm+n, so 52 · 53 = 5⁵.
  • What a logarithm is. logb x = y means by = x, for b > 0, b ≠ 1 and x > 0.

3 Why

Multiplying powers of one base adds exponents, and a logarithm reads off the exponent. So the logarithm of a product is the sum of the logarithms of its factors. Both factors must be positive: logb M and logb N have no real value unless M > 0 and N > 0.

4 The rule

For b > 0, b≠1, M > 0 and N > 0: logb (MN) = logbM+ logb N.

The same idea, other ways

With small numbers

log3 (9 · 27) = log3 243 = 5, and log3 9 + log3 27 = 2 + 3 = 5. log 1,000 + log 100 = 3 + 2 = 5 = log 100,000. In each case multiplying the inputs adds the logarithms.

log3 9 = 2 and log3 27 = 3

9 · 27 = 243 = 3⁵

log3 243 = 2 + 3 = 5

Why it must be true

Let m = logb M and n = logb N. Then M = bm and N = bn, so MN = bm · bn = bm+n. The exponent that turns b into MN is m + n, so logb (MN) = m + n = logb M + logb N.

As a table

Read a table of powers of 2 across: the products 2 · 4 = 8, 4 · 8 = 32 and 8 · 16 = 128 sit at exponents 1 + 2 = 3, 2 + 3 = 5 and 3 + 4 = 7.

input noutput 2^n1224384165326647128
log2 of each output is the exponent above it.

5 How

  1. Check that the base is positive and not 1, and that each factor is positive.
  2. To expand, write the logarithm of each factor and add them.
  3. To combine a sum of logarithms with one base, write the logarithm of the product.
  4. Evaluate any logarithm whose input is a power of the base.

6 Worked example

Worked example

Expand a product

Expand log5 (125y) for y > 0. In plain words: split the product into a sum of two logarithms.

Show the steps and the answer
  1. log5(125y)= log5125+ log5 y.The product rule, with both factors positive.
  2. 125=53, so log5125=3.Write 125 as a power of 5.
  3. log5(125y)=3+ log5 y.Put the two parts together.
Answer
3 + log5 y
Double-check At y = 5: log5 (125 · 5) = log5 625 = 4, because 5⁴ = 625, and 3 + log5 5 = 3 + 1 = 4.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Combine and evaluate

Find log6 4 + log6 9.

Show the steps and the answer
  1. log64+ log69= log6(4·9)= log6 36.A sum of logarithms with one base is the logarithm of the product.
  2. 36=62, so log636=2.Write 36 as a power of 6.
Answer
2
Double-check 62=36=4·9.

Rung 2 of 4

Expand

Expand log2 (16t) for t > 0.

Show the steps and the answer
  1. log2(16t)= log216+ log2 t.The product rule.
  2. log216=4, because 24=16.Evaluate the logarithm of the power of the base.
Answer
4 + log2 t
Double-check At t = 2: log2 32 = 5 and 4 + log2 2 = 4 + 1 = 5.

Rung 3 of 4

Build a value from known values

Use log7 2 ≈ 0.3562 and log7 3 ≈ 0.5646 to estimate log7 6.

Show the steps and the answer
  1. 6=2·3.Write 6 as a product of the inputs you know.
  2. log76= log72+ log73≈0.3562+0.5646.The product rule.
  3. log76≈0.9208.Add.
Answer
about 0.9208
Double-check 70.9208 ≈ 6.000: the rounded answer raised as a power of 7 gives back 6 to three decimals.

Rung 4 of 4

Combine expressions with a variable

Write log x + log (x + 3) as one logarithm, for x > 0.

Show the steps and the answer
  1. Both inputs are positive when x > 0.The product rule needs positive inputs.
  2. log x+ log (x+3)= log (x(x+3)).A sum of logarithms with one base is the logarithm of the product.
  3. = log (x2+3x).Multiply out the input.
Answer
log (x2 + 3x), for x > 0
Double-check At x = 2: log 2 + log 5 = log 10 = 1, and log (4 + 6) = log 10 = 1.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: log2 (4 + 4) = log2 4 + log2 4 = 4.
4 + 4 = 8 and log2 8 = 3, not 4.
✓ Instead: log2 (4 · 4) = log2 4 + log2 4 = 4, because 4 · 4 = 16 = 2⁴.
✗ Not this: log (2 · 5) = log 2 · log 5.
log 10 = 1, but log 2 · log 5 ≈ 0.3010 · 0.6990 ≈ 0.2104.
✓ Instead: log (2 · 5) = log 2 + log 5 = 1.

Tips and tricks

  • Product inside, sum outside.
  • One base for every logarithm in the rule.
  • Each factor must be positive.

7 The trap

Splitting a sum. The product rule turns the logarithm of a product into a sum; it says nothing about the logarithm of a sum. There is no general rule that rewrites logb (M + N) as logb M + logb N: the two agree only for special values, such as M = N = 2.

Flash cards

Say the answer out loud, then flip.

State the product rule for logarithms.
logb (MN) = logb M + logb N, for b > 0, b ≠ 1, M > 0 and N > 0.
Combine log4 2 + log4 32.
log4 64 = 3, because 43 = 64.
Is log (3 + 7) equal to log 3 + log 7?
No: log 10 = 1, while log 3 + log 7 = log 21 ≈ 1.3222.

Lesson 2 of 5

The quotient rule

Subject: MathematicsLeans on: Dividing powersLeans on: Factoring a difference of squaresOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Dividing powers of one base subtracts their exponents: 2⁷ ÷ 23 = 2⁴. So the logarithm of a quotient is the logarithm of the top minus the logarithm of the bottom: log2 (1288) = log2 128 − log2 8 = 7 − 3 = 4. It is like counting floors in a building: going from floor 3 to floor 7 is 7 − 3 = 4 floors up. Both the top and the bottom must be positive.

2 Picture it

M = bm and N = bn

MN=bm−n

logb (MN) = logb M − logb N

Reminder

Reminder: Dividing powers, Factoring a difference of squares
  • Dividing powers. With one positive base b and real exponents, exponents subtract: bmbn = bm−n, so 3⁶32 = 3⁴.
  • Factoring a difference of squares. a2 − c2 = (a − c)(a + c), so x2 − 25 = (x − 5)(x + 5).

3 Why

Dividing powers of one base subtracts exponents, and a logarithm reads off the exponent. The order matters: the logarithm of the top comes first, and the logarithm of the bottom is subtracted from it.

4 The rule

For b > 0, b≠1, M > 0 and N > 0: logb(MN)= logbM− logb N.

The same idea, other ways

With small numbers

log5 (62525) = log5 25 = 2, and log5 625 − log5 25 = 4 − 2 = 2. log 1,000 − log 10 = 3 − 1 = 2 = log 100.

log5 625 = 4 and log5 25 = 2

62525=25=52

log5 25 = 4 − 2 = 2

Why it must be true

Let m = logb M and n = logb N, so M = bm and N = bn. Then MN = bmbn = bm−n, so logb (MN) = m − n = logb M − logb N.

From the product rule

MN times N is M, so logb (MN) + logb N = logb M by the product rule. Subtract logb N from both sides to get the quotient rule.

5 How

  1. Check that the base is positive and not 1, and that the top and the bottom are positive.
  2. To expand, write the logarithm of the top minus the logarithm of the bottom.
  3. To combine a difference of logarithms with one base, write the logarithm of the quotient, the first input over the second.
  4. Evaluate any logarithm whose input is a power of the base.

6 Worked example

Worked example

Expand a quotient

Expand log4 (x64) for x > 0. In plain words: split the quotient into a difference of two logarithms.

Show the steps and the answer
  1. log4(x64)= log4x− log4 64.The quotient rule: top minus bottom.
  2. 64=43, so log464=3.Write 64 as a power of 4.
  3. log4(x64)= log4x−3.Put the parts together.
Answer
log4 x − 3
Double-check At x = 256: log4 (25664) = log4 4 = 1, and log4 256 − 3 = 4 − 3 = 1, because 4⁴ = 256.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Combine and evaluate

Find log3 162 − log3 2.

Show the steps and the answer
  1. log3162− log32= log3(1622)= log3 81.A difference of logarithms with one base is the logarithm of the quotient.
  2. 81=34, so log381=4.Write 81 as a power of 3.
Answer
4
Double-check 3⁴ = 81 and 81 · 2 = 162.

Rung 2 of 4

Expand with the natural logarithm

Expand ln (e⁵y) for y > 0.

Show the steps and the answer
  1. ln (e⁵y)= ln e5− ln y.The quotient rule.
  2. ln e5=5.The natural logarithm undoes a power of e.
Answer
5 − ln y
Double-check At y = e2: ln (e⁵e2) = ln e3 = 3, and 5 − ln e2 = 5 − 2 = 3.

Rung 3 of 4

Build a value from known values

Use log7 2 ≈ 0.3562 and log7 3 ≈ 0.5646 to estimate log7 1.5.

Show the steps and the answer
  1. 1.5=32.Write 1.5 as a quotient of the inputs you know.
  2. log71.5= log73− log72≈0.5646−0.3562.The quotient rule, top minus bottom.
  3. log71.5≈0.2084.Subtract.
Answer
about 0.2084
Double-check 70.2084 ≈ 1.500: the rounded answer raised as a power of 7 gives back 1.5 to three decimals.

Rung 4 of 4

Combine and simplify

Write log2 (x2 − 9) − log2 (x + 3) as one logarithm in simplest form, for x > 3.

Show the steps and the answer
  1. For x > 3, both x2−9 and x+3 are positive.The quotient rule needs positive inputs.
  2. log2(x2−9)− log2(x+3)= log2 (x2−9x+3).A difference of logarithms is the logarithm of the quotient.
  3. x2−9=(x−3)(x+3), so x2−9x+3=x−3.Factor the top and cancel x + 3, which is not 0 for x > 3.
Answer
log2 (x − 3)
Double-check At x = 5: log2 16 − log2 8 = 4 − 3 = 1, and log2 (5 − 3) = log2 2 = 1.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: log2 8 ÷ log2 4 = log2 (84).
log2 8 ÷ log2 4 = 3 ÷ 2 = 1.5, but log2 2 = 1.
✓ Instead: log2 (84) = log2 8 − log2 4 = 3 − 2 = 1.
✗ Not this: log (1,000 − 100) = log 1,000 − log 100 = 1.
1,000 − 100 = 900, and log 900 ≈ 2.9542.
✓ Instead: log (1,000100) = log 1,000 − log 100 = 1.

Tips and tricks

  • Quotient inside, difference outside.
  • Top first, minus the bottom.
  • Top and bottom must be positive.

7 The trap

Dividing the logarithms instead of the inputs. logb M ÷ logb N is not, in general, logb (MN): the quotient rule turns a quotient of inputs into a difference of logarithms.

Flash cards

Say the answer out loud, then flip.

State the quotient rule for logarithms.
logb (MN) = logb M − logb N, for b > 0, b ≠ 1, M > 0 and N > 0.
Combine log6 72 − log6 2.
log6 36 = 2.
Is log3 9 ÷ log3 3 the same as log3 (93)?
No: 2 ÷ 1 = 2, while log3 3 = 1.

Lesson 3 of 5

The power rule

Subject: MathematicsLeans on: Power of a powerLeans on: Roots as powersOpen this lesson
Leans on 0Comes back in 1

1 In plain words

Raising a power to a power multiplies the exponents: (23)⁴ = 212. So the logarithm of a power is the exponent times the logarithm: logb (Mp) = p · logb M. The exponent comes down in front. It is like a recipe made 4 times over: if one batch takes 3 cups, 4 batches take 4 · 3 cups. M must be positive; p can be any real number, so roots work too: logb M = 12 logb M.

2 Picture it

M=bm

Mp = bmp

logb (Mp) = p · logb M

Reminder

Reminder: Power of a power, Roots as powers
  • Power of a power. For a positive base b and real m and p, (bm)p = bmp, so (23)⁴ = 212.
  • Roots as powers. On a positive base, M = M12 and ∛{M} = M13.

3 Why

A power of a power multiplies exponents, and a logarithm reads off the exponent, so the outer exponent p multiplies the logarithm. M must be positive for logb M to exist. A root is a fractional power, and a reciprocal is the power −1, so the rule covers both.

4 The rule

For b > 0, b≠1, M > 0 and any real number p: logb(Mp)=p· logb M.

The same idea, other ways

With small numbers

log2 (8⁴) = 4 · log2 8 = 4 · 3 = 12, and 8⁴ = 4,096 = 212. log9 9 = 12 · log9 9 = 12, and indeed 912 = 3 = 9.

8⁴=(23)⁴=212

log2 (8⁴) = 4 · 3 = 12

log2 4,096 = 12

Why it must be true

Let m = logb M, so M = bm. Then Mp = (bm)p = bmp, and the exponent that turns b into Mp is mp. So logb (Mp) = p · m = p · logb M.

From the product rule

For a whole number p, Mp is p factors of M, so the product rule gives p equal terms: logb (M · M · M) = logb M + logb M + logb M = 3 logb M. The power rule says the same for every real p.

5 How

  1. Check that the base is positive and not 1, and that the number being raised to the power is positive.
  2. Write a root as a fractional power: M = M12, ∛{M} = M13; write 1M as M−1.
  3. Bring the exponent down in front of the logarithm.
  4. To combine p · logb M into one logarithm, move the number in front up as an exponent: logb (Mp).

6 Worked example

Worked example

Powers and roots

Expand log3 (x⁴) and log3 ∛{x} for x > 0. In plain words: bring each exponent down in front.

Show the steps and the answer
  1. log3(x4)=4 log3 x.The power rule, with x > 0.
  2. {x}3=x13.A cube root is the power 13.
  3. log3{x}3=13 log3 x.Bring the exponent 13 down in front.
Answer
4 log3 x and 13 log3 x
Double-check At x = 3: log3 (3⁴) = 4 = 4 · log3 3, and log3 ∛{3} = 13 = 13 · log3 3.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

A power of a power of the base

Find log5 (1252).

Show the steps and the answer
  1. log5(1252)=2· log5 125.Bring the exponent 2 down.
  2. log5125=3, so the answer is 2·3=6.125=53.
Answer
6
Double-check 1252=15,625=5⁶.

Rung 2 of 4

A negative exponent

Expand ln (x−2) for x > 0.

Show the steps and the answer
  1. x−2 is x raised to the exponent −2, and x > 0.The power rule needs a positive number under the power.
  2. ln (x−2)=−2 ln x.Bring the exponent down in front; the power rule works for any real exponent, negative ones included.
Answer
−2 ln x
Double-check At x = e: ln (e−2) = −2, and −2 ln e = −2 · 1 = −2.

Rung 3 of 4

A value from one known logarithm

Use log 2 ≈ 0.30103 to estimate log 32.

Show the steps and the answer
  1. 32=25.Write 32 as a power of 2.
  2. log 32=5 log 2≈5·0.30103.The power rule.
  3. log 32≈1.50515.Multiply.
Answer
about 1.50515
Double-check 101.50515 ≈ 32.000: the rounded answer raised as a power of 10 gives back 32 to three decimals.

Rung 4 of 4

From a coefficient to one logarithm

Write 12 log9 x as one logarithm, for x > 0, and evaluate it at x = 81.

Show the steps and the answer
  1. 12 log9x= log9(x12)= log9x.Move the coefficient up as an exponent; the power 12 is a square root.
  2. At x=81: log981= log99=1.81=9.
Answer
  • log9 x
  • at x = 81 it is 1
Double-check 12 · log9 81 = 12 · 2 = 1, because 92 = 81.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: (log2 8)2 = log2 (82).
(log2 8)2 = 32 = 9, but log2 64 = 6.
✓ Instead: log2 (82) = 2 log2 8 = 6.
✗ Not this: log (x2) = 2 log x for every x ≠ 0.
At x = −10, log ((−10)2) = log 100 = 2, but log (−10) has no real value.
✓ Instead: log (x2) = 2 log x for x > 0; for every x ≠ 0, log (x2) = 2 log |x|.

Tips and tricks

  • The exponent comes down in front.
  • Roots are fractional powers.
  • The number raised to the power must be positive.

7 The trap

Raising the logarithm to the power instead of its input. (logb M)p is not, in general, logb (Mp): the power rule moves the exponent of the input, not an exponent on the whole logarithm.

Flash cards

Say the answer out loud, then flip.

State the power rule for logarithms.
  • logb (Mp) = p
  • logb M, for b > 0, b ≠ 1, M > 0 and any real p.
Expand log7 y for y > 0.
12 log7 y.
Write 3 ln x as one logarithm, for x > 0.
ln (x3), for x > 0.

Lesson 4 of 5

Expanding and condensing

Subject: MathematicsLeans on: Positive inputsLeans on: Subtracting a sumOpen this lesson
Leans on 0Comes back in 0

1 In plain words

The three rules work together. Expanding turns one logarithm of a product, quotient or power into a sum and difference of simpler logarithms. Condensing runs the other way and gathers several logarithms with one base into a single logarithm. It is like taking a sandwich apart into its layers and stacking the layers back up: every layer has to go back on the right side. Two cautions keep the work honest: every logarithm you write must have a positive input, and expanding or condensing can change where an expression is defined, so state the values of the variables you work with.

2 Picture it

expand: one logarithm → sums and differences

condense: sums and differences → one logarithm

state where every input is positive

Reminder

Reminder: Positive inputs, Subtracting a sum
  • Positive inputs. logb M exists only for M > 0: log (x − 2) needs x > 2.
  • Subtracting a sum. A minus sign before parentheses changes every sign inside: −(a + c) = −a − c.

3 Why

Each rule is an equality only when every logarithm on both sides has a positive input. A positive input on one side is not enough: log ((−2)(−3)) = log 6, while log (−2) and log (−3) have no real value. So a chain of rules gives an equal expression for the values of the variables at which every input in every step is positive, which is why those values are stated.

4 The rule

Expand from the outermost operation inward: a quotient with the quotient rule, a product with the product rule, a power of the whole input with the power rule, then the same on each new logarithm.

Condense: power rule first (numbers in front become exponents), then product and quotient rules. Every logarithm must have a positive input, and the answer holds for the values of the variables where every logarithm in both forms has a positive input.

The same idea, other ways

In order

Expand from the outside in: undo the input's outermost operation first. For x > 0 and y > 0, log (xy) starts with the quotient rule, log x − log y; log ((xy)2) for x, y > 0 starts with the power rule, 2 log (xy), and then the product rule, 2 log x + 2 log y. Condense the other way: first move each number in front up as an exponent, then combine sums into products and differences into quotients.

With a check by numbers

After expanding or condensing, put in values of the variables where every logarithm is defined. Both forms must give the same number. A mismatch means an error somewhere: a misused rule, a slip in substituting or in arithmetic, or too much rounding; find it before going on.

= log2 8 + 3 log2 x − log2 y − 12 log2 z

= 3 + 3 log2 x − log2 y − 12 log2 z

at x = 2, y = 4, z = 16 both sides are 2

Where the domain changes

ln x + ln (x − 4) is defined only for x > 4, where both inputs are positive. ln (x2 − 4x) is defined wherever x2 − 4x > 0, which is x > 4 or x < 0. The two are equal only for x > 4. Condensing widened the domain, so the answer is stated with x > 4.

5 How

  1. State the values of the variables for which every input is positive.
  2. To expand: use the rule for the input's outermost operation (quotient, product or power), then repeat on each new logarithm until each input is a single factor.
  3. To condense: move each coefficient up as an exponent, then add as products and subtract as quotients, so one logarithm is left with coefficient 1.
  4. Check by putting in numbers for the variables at which every logarithm is defined.

6 Worked example

Worked example

Expand a fraction of products

Expand log2 (8x3yz) for x > 0, y > 0, z > 0. In plain words: split the top from the bottom, then each factor, then bring the exponents down.

Show the steps and the answer
  1. log2(8x3yz)= log2(8x3)− log2 (yz).The quotient rule: top minus bottom.
  2. = log28+ log2(x3)− (log2y+ log2z).The product rule on the top and on the bottom; the bottom's sum is subtracted whole.
  3. =3+3 log2x− log2y−12 log2 z.log2 8 = 3, and the power rule on x3 and on z = z12.
Answer
3 + 3 log2 x − log2 y − 12 log2 z
Double-check At x = 2, y = 4, z = 16: the input is 8·84·4 = 6416 = 4, and log2 4 = 2; the expansion gives 3 + 3 · 1 − 2 − 12 · 4 = 2.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Expand a product with a power

Expand log5 (25a2) for a > 0.

Show the steps and the answer
  1. log5(25a2)= log525+ log5 (a2).The product rule.
  2. =2+2 log5 a.log5 25 = 2, and the power rule on a2.
Answer
2 + 2 log5 a
Double-check At a = 5: log5 (25 · 25) = log5 625 = 4, and 2 + 2 · 1 = 4.

Rung 2 of 4

Condense three logarithms

Condense 2 ln x + ln y − ln z for x > 0, y > 0, z > 0.

Show the steps and the answer
  1. 2 ln x= ln (x2).Move the coefficient up as an exponent.
  2. ln (x2)+ ln y= ln (x2y).A sum is the logarithm of a product.
  3. ln (x2y)− ln z= ln (x2yz).A difference is the logarithm of a quotient.
Answer
ln (x2yz), for x > 0, y > 0, z > 0
Double-check At x = e, y = e, z = e: 2 + 1 − 1 = 2, and ln (e2·ee) = ln e2 = 2.

Rung 3 of 4

Condense numbers to a value

Find 3 log 2 + log 5 − log 4 without a calculator.

Show the steps and the answer
  1. 3 log 2= log (23)= log 8.The power rule.
  2. log 8+ log 5− log 4= log (8·54)= log 10.The product and quotient rules.
  3. log 10=1.Base 10 to the power 1 is 10.
Answer
1
Double-check With log 2 ≈ 0.30103, log 5 ≈ 0.69897 and log 4 ≈ 0.60206: 0.90309 + 0.69897 − 0.60206 = 1.00000.

Rung 4 of 4

Condense with a stated domain

Condense log3 (x + 1) + log3 (x − 1) − 2 log3 x for x > 1.

Show the steps and the answer
  1. For x > 1, x+1,x−1 and x are all positive.Every logarithm needs a positive input.
  2. 2 log3x= log3 (x2).Move the coefficient up as an exponent.
  3. log3(x+1)+ log3(x−1)− log3(x2)= log3((x+1)(x−1)x2)= log3 (x2−1x2).The product and quotient rules, then multiply out the top.
Answer
log3 (x2−1x2), for x > 1
Double-check At x = 2: log3 3 + log3 1 − 2 log3 2 ≈ 1 + 0 − 1.26186 = −0.26186, and log3 (34) ≈ −0.26186.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: 2 log x + log y = 2 log (xy).
At x = 10, y = 10: 2 · 1 + 1 = 3, but 2 log 100 = 4.
✓ Instead: 2 log x + log y = log (x2y): at x = y = 10, log 1,000 = 3.
✗ Not this: ln x + ln (x − 4) = ln (x2 − 4x) for every x.
At x = −1 the right side is ln 5, but ln (−1) has no real value.
✓ Instead: ln x + ln (x − 4) = ln (x2 − 4x) for x > 4.

Tips and tricks

  • Expand: outermost operation first.
  • Condense: power first, then sums and differences.
  • Check with numbers; state the domain.

7 The trap

Leaving a coefficient outside while condensing. 2 log x + log y is log (x2y); writing it as 2 log (xy) is wrong in general (the two agree only when y = 1). A number in front belongs only to its own logarithm, so it moves up onto that logarithm's input before anything is combined.

Flash cards

Say the answer out loud, then flip.

Expand log (x2y) for x > 0, y > 0.
2 log x − log y.
Condense 4 log2 a − log2 c for a > 0, c > 0.
log2 (a⁴c), for a > 0 and c > 0: the fourth power would also let a negative a in.
Why state x > 4 after condensing ln x + ln (x − 4)?
The original sum is defined only for x > 4. The condensed form ln (x2 − 4x) is also defined for x < 0, where the original sum has no real value, so the two are equal only for x > 4.

Lesson 5 of 5

Change of base

Subject: MathematicsLeans on: The calculator keysLeans on: The power ruleOpen this lesson
Leans on 1Comes back in 0

1 In plain words

Many calculators have keys for only two bases: LOG for base 10 and LN for base e. To find a logarithm in a base that has no key of its own, divide: logb x = logxlogb = lnxlnb. It is like converting a distance in miles to kilometers with one fixed factor: every logarithm in base b is a logarithm in base 10 times the same number, 1logb. The base b is positive and not 1, so log b is not 0, and the input x is positive.

2 Picture it

input boutput log_b 5025.643933.560952.430762.1833101.699
logb 50 for several bases b, each found as ln50lnb.

Reminder

Reminder: The calculator keys, The power rule
  • The calculator keys. LOG gives the base-10 logarithm and LN the base-e logarithm: log 100 = 2 and ln e = 1.
  • The power rule. log (by) = y log b for b > 0.

3 Why

Taking a logarithm of both sides of by = x and bringing y down with the power rule leaves y times a fixed number, log b, equal to log x. Dividing by that fixed number gives logb x. The division is allowed because b ≠ 1 makes log b nonzero.

4 The rule

For a > 0, a≠1, b > 0, b≠1 and x > 0: logbx=logaxlogab; in particular logbx=logxlogb=lnxlnb.

The same idea, other ways

With small numbers

log2 8 = 3. By change of base, log8log2 = 3 and ln8ln2 = 3 exactly, because 8 = 23 makes the top three times the bottom. With rounded values, 0.903090.30103 ≈ 3 and 2.079440.69315 ≈ 3. Either base gives the same answer.

log2 8 = 3

log8log2 = 3, and 0.903090.30103 ≈ 3

ln8ln2 = 3, and 2.079440.69315 ≈ 3

Why it must be true

Let y = logb x, so by = x. Take the common logarithm of both sides: log (by) = log x. The power rule gives y log b = log x. Since b ≠ 1, log b ≠ 0, so y = logxlogb. The same steps with ln, or with any allowed base a, give lnxlnb and logaxlogab.

As a graph

y = log2 x is the graph of y = log x stretched up by the factor 1log2 ≈ 3.32. In general y = logb x is y = loga x times the constant 1logab, so every logarithmic function is a vertical stretch or shrink of every other one; the constant is negative, which adds a reflection, exactly when one base is between 0 and 1 and the other is greater than 1.

246810−224
y = log2 x (solid) is y = log x (dashed) stretched by about 3.32; both pass (1, 0).

5 How

  1. Write the logarithm of the input over the logarithm of the base, both in base 10 or both in base e.
  2. Compute both with the LOG key or both with the LN key, and divide.
  3. Round only at the end.
  4. Check by raising the base to the answer: banswer should give back the input, approximately.

6 Worked example

Worked example

A base with no key of its own

Find log6 50 to four decimal places. In plain words: 6 to what power is 50? Divide two natural logarithms.

Show the steps and the answer
  1. log650=ln50ln6.Change of base to base e.
  2. ln 50≈3.912023 and ln 6≈1.791759, shown rounded.The LN key; the calculator keeps the full values for the division.
  3. ln50ln6≈2.1833416, so log650≈2.1833.Divide the full values, then round at the end.
Answer
about 2.1833
Double-check 62.183342 ≈ 50.0000, and the answer lies between 2 and 3 because 62 = 36 < 50 < 216 = 63.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Write the quotient

Write log7 12 as a quotient of common logarithms.

Show the steps and the answer
  1. The input is 12 and the base is 7.Naming them first puts the right number on top.
  2. log712=log12log7.The logarithm of the input over the logarithm of the base.
Answer
log12log7
Double-check log12log7 ≈ 1.079180.84510 ≈ 1.2770, and 71.2770 ≈ 12.000.

Rung 2 of 4

A value with the LOG key

Find log4 100 to four decimal places.

Show the steps and the answer
  1. log4100=log100log4=2log4.Change of base; log 100 = 2.
  2. log 4≈0.6020600 (shown rounded), so 2log4≈3.3219281.Divide using the calculator's full value of log 4.
  3. log4100≈3.3219.Round at the end.
Answer
about 3.3219
Double-check 43 = 64 < 100 < 256 = 4⁴, so the answer lies between 3 and 4, and 43.321928 ≈ 100.000.

Rung 3 of 4

A base between 0 and 1

Find log0.5 10 to four decimal places.

Show the steps and the answer
  1. log0.510=ln10ln0.5.Change of base to base e.
  2. ln 10≈2.3025851 and ln 0.5≈−0.6931472, shown rounded.ln 0.5 is negative because 0.5 < 1; the calculator keeps the full values.
  3. ln10ln0.5≈−3.3219281, so log0.510≈−3.3219.Divide the full values, then round at the end.
Answer
about −3.3219
Double-check 0.5−3.321928 = 23.321928 ≈ 10.000: a negative power of 0.5 is a positive power of 2.

Rung 4 of 4

A product of logarithms in two bases

Find log2 5 · log5 32 without a calculator.

Show the steps and the answer
  1. log25=ln5ln2 and log532=ln32ln5.Change of base on each factor.
  2. ln5ln2·ln32ln5=ln32ln2.ln 5 cancels; it is not 0.
  3. ln32ln2= log232=5.Change of base read backward; 2⁵ = 32.
Answer
5
Double-check log2 5 ≈ 2.321928 and log5 32 ≈ 2.153383, and 2.321928 · 2.153383 ≈ 5.000000.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: log2 8 = log (82) = log 4.
log 4 ≈ 0.6021, but log2 8 = 3.
✓ Instead: log2 8 = log8log2 = 3.
✗ Not this: log2 8 = log2log8.
log2log8 = 13, which is log8 2: the base went on top.
✓ Instead: The input's logarithm goes on top: log2 8 = log8log2 = 3.

Tips and tricks

  • Input on top, base on the bottom.
  • Same key for top and bottom.
  • Round only at the end.

7 The trap

Turning the quotient of logarithms into the logarithm of a quotient. logxlogb is logb x, which in general is not log (xb).

Flash cards

Say the answer out loud, then flip.

State the change-of-base formula with natural logarithms.
logb x = lnxlnb, for b > 0, b ≠ 1 and x > 0.
Write log9 40 as a quotient of common logarithms.
log40log9.
Between which two whole numbers does log3 50 lie, and what is it to four decimals?
  • Between 3 and 4, since 27 < 50 < 81
  • ln50ln3 ≈ 3.5609.

From earlier

The power rule

State the power rule for logarithms.
Show answer
logb (Mp) = p · logb M, for b > 0, b ≠ 1, M > 0 and any real p.

The power rule

Expand log7 y for y > 0.
Show answer
12 log7 y.