Properties of Logarithms

Learning goals

  • Derive product, quotient, and power rules from the matching exponent laws
  • Expand logarithmic expressions while preserving every input in the original domain
  • Condense sums and differences of logarithms with their inherited domain restrictions
  • Evaluate logarithms by changing to a useful base and checking approximations
  • Distinguish logarithms of sums and squares from similar-looking invalid rewrites

Exponent laws become logarithm laws

Multiplying positive numbers adds their logarithms. For example, 16=2416=2^4 and 8=238=2^3, so 16⋅8=2716\cdot8=2^7. The exponent of the product is the sum of the exponents of its factors.

Dividing the same numbers subtracts their exponents: 16/8=24−3=216/8=2^{4-3}=2. Squaring 1616 multiplies its exponent by 22: 162=(24)2=2816^2=(2^4)^2=2^8. These are three exponent laws, read through the inverse operation.

Three exponent laws read as logarithmsFirst row: sixteen times eight equals two to the seventh, matching logarithms four plus three equals seven. Second row: sixteen divided by eight equals two, matching four minus three equals one. Third row: sixteen squared equals two to the eighth, matching two times four equals eight.Arguments as powersLogarithm values16 × 8 = 2⁴ × 2³ = 2⁷4 + 3 = 716 ÷ 8 = 2⁴ ÷ 2³ = 2¹4 - 3 = 116² = (2⁴)² = 2⁸2 × 4 = 8
The same exponent operations appear in each pair. The arguments multiply, divide, or take a power; their logarithms add, subtract, or multiply.

Throughout this lesson a logarithm base bb is positive and different from 11. Its argument, the number inside it, must be positive. The notation log⁡\log means base 1010, and ln⁡\ln means base ee.

Why the three logarithm laws follow from exponent laws#

For a numerical run of the argument, write 25=5225=5^2 and 125=53125=5^3. Their product is 52+35^{2+3}, their quotient is 52−35^{2-3}, and (25)1/2(25)^{1/2} is 52(1/2)5^{2(1/2)}. Their base-five logarithms are therefore 2+32+3, 2−32-3, and 2(1/2)2(1/2), respectively.

Now let M,NM,N be positive and let u=log⁡bMu=\log_b M, v=log⁡bNv=\log_b N. By definition, M=buM=b^u and N=bvN=b^v. The numbers 55, 2525, and 125125 played no special role: positive arguments can always be written as powers of their logarithm’s base.

For a product the exponent law gives

MN=bubv=bu+v.MN=b^u b^v=b^{u+v}.

The logarithm reads off that exponent. This is the product rule:

log⁡b(MN)=log⁡bM+log⁡bN.\log_b(MN)=\log_b M+\log_b N.

For a quotient, N>0N>0 makes division legal, and

MN=bubv=bu−v.\frac{M}{N}=\frac{b^u}{b^v}=b^{u-v}.

Reading off the exponent gives the quotient rule:

log⁡b(MN)=log⁡bM−log⁡bN.\log_b\left(\frac{M}{N}\right)=\log_b M-\log_b N.

For any real pp, positivity of MM permits the real exponent laws:

Mp=(bu)p=bup.M^p=(b^u)^p=b^{up}.

Its logarithm is upup. This is the power rule:

log⁡b(Mp)=plog⁡bM.\log_b(M^p)=p\log_b M.

The product and quotient rules require MM and NN to be positive separately. The power rule requires M>0M>0, even if a particular power of a negative MM would exist.

Worked example 1 Combine before evaluating

Problem. Evaluate log⁡46+log⁡48−log⁡43\log_4 6+\log_4 8-\log_4 3 exactly, without a calculator.

Solution. All three arguments are positive and the bases match. The addition and subtraction describe a product divided by 33:

log⁡4(6⋅83)=log⁡416.\log_4\left(\frac{6\cdot8}{3}\right)=\log_4 16.

Since 42=164^2=16, the original expression equals 22. The separate logarithms need not be easy to evaluate for their combination to be exact.

Check your understanding

If M=7rM=7^r and N=7sN=7^s, which exponent law explains log⁡7(M/N)=r−s\log_7(M/N)=r-s?

Answer choices

Expand without losing inputs

To expand a logarithm is to write it as a sum or difference of simpler logarithms. For x>0x>0, the quotient x3/5x^3/5 is positive, and

ln⁡(x3/5)=3ln⁡x−ln⁡5.\ln(x^3/5)=3\ln x-\ln5.

The quotient rule separates the denominator; the power rule then moves the exponent. The condition x>0x>0 ensures each new logarithm exists.

A square needs extra care. At x=−4x=-4, log⁡2(x2)=log⁡216=4\log_2(x^2)=\log_2 16=4, but 2log⁡2x2\log_2 x is undefined. The original accepts every nonzero xx, whereas the proposed expansion accepts only positive xx.

The absolute value ∣x∣|x| is positive whenever x≠0x\ne0, and x2=∣x∣2x^2=|x|^2. Thus the power rule applied to ∣x∣|x| gives

log⁡b(x2)=2log⁡b∣x∣,x≠0.\log_b(x^2)=2\log_b|x|,\qquad x\ne0.

The expression 2log⁡bx2\log_b x is equal to these only on the narrower domain x>0x>0.

A rewrite can remove half the domainThe top number line for log of x squared includes all negative and positive real inputs with an open circle at zero. The bottom line for twice log x includes only positive inputs, again excluding zero.log(x²) and 2 log|x|2 log x00
The original square accepts negative as well as positive inputs. An absolute value preserves both sides of its domain; zero remains excluded.

Worked example 2 Expand two squared factors

Problem. Find the full real domain of F(x)=ln⁡((x−2)2(x+3)2)F(x)=\ln\bigl((x-2)^2(x+3)^2\bigr). Expand it into logarithms with no powers on their arguments, preserving that domain.

Solution. Both squares are positive except at their zeros. Their product is positive exactly when x≠2x\ne2 and x≠−3x\ne-3.

On this domain the product rule applies to the positive squares:

F(x)=ln⁡((x−2)2)+ln⁡((x+3)2).F(x)=\ln((x-2)^2)+\ln((x+3)^2).

Each linear factor may be negative. Use its absolute value when moving its square outside:

F(x)=2ln⁡∣x−2∣+2ln⁡∣x+3∣.F(x)=2\ln|x-2|+2\ln|x+3|.

The domain stays R∖{−3,2}\mathbb R\setminus\{-3,2\}. For instance x=−4x=-4 is allowed by both formulas; using ln⁡(x−2)\ln(x-2) instead would wrongly remove it.

Check your understanding

Which expansion preserves the full domain of ln⁡(9x2)\ln(9x^2)?

Answer choices

Condense and carry the original domain

To condense is to combine a sum or difference of logarithms into one logarithm with coefficient 11. For u,v>0u,v>0, move the coefficient to an exponent before combining:

2ln⁡u−ln⁡v=ln⁡(u2v).2\ln u-\ln v=\ln\left(\frac{u^2}{v}\right).

The new formula alone accepts some extra inputs, such as u=−2,v=1u=-2,v=1. It is an equivalent rewrite of the original expression only when accompanied by the original restrictions u>0,v>0u>0,v>0. This is the same issue as canceling factors in a rational function: the simplified formula does not restore excluded inputs.

Worked example 3 One logarithm with a restricted domain

Problem. Condense H(x)=ln⁡(x−4)+2ln⁡(x+1)H(x)=\ln(x-4)+2\ln(x+1), and state the domain on which the new formula represents HH.

Solution. The original requires x−4>0x-4>0 and x+1>0x+1>0. Their intersection is x>4x>4.

On that domain, moving the coefficient first gives

H(x)=ln⁡(x−4)+ln⁡((x+1)2).H(x)=\ln(x-4)+\ln((x+1)^2).

Combining the product gives

H(x)=ln⁡((x−4)(x+1)2),x>4.H(x)=\ln\bigl((x-4)(x+1)^2\bigr),\qquad x>4.

Here the bare condensed argument is also positive only for x>4x>4: the square cannot reverse the sign of x−4x-4. In other problems it may have a larger domain, so finding the original restrictions first remains necessary.

Check your understanding

Condense ln⁡(x−1)−ln⁡(x+2)\ln(x-1)-\ln(x+2) while retaining its original domain.

Answer choices

Change the base, keep the value

A calculator’s natural logarithm can measure an exponent in another base if you divide by the natural logarithm of that base. To see the scale factor, consider log⁡84\log_8 4. Writing 8=238=2^3 and 4=224=2^2 shows that the required exponent is 2/32/3. The quotient log⁡24/log⁡28\log_2 4/\log_2 8 gives the same 2/32/3.

For a full numerical derivation, call the desired value t=log⁡927t=\log_9 27. Then 9t=279^t=27. Taking base-three logarithms and using the power rule gives 2t=32t=3, hence t=3/2t=3/2. The calculation divided the logarithm of 2727 by the logarithm of 99.

For the general case let t=log⁡bMt=\log_b M, where M>0M>0. Then bt=Mb^t=M. In any valid base aa, the power rule gives

log⁡aM=tlog⁡ab.\log_a M=t\log_a b.

Because b≠1b\ne1, its logarithm log⁡ab\log_a b is nonzero. Division gives the change-of-base formula:

log⁡bM=log⁡aMlog⁡ab.\log_b M=\frac{\log_a M}{\log_a b}.

This needs a,b>0a,b>0, a,b≠1a,b\ne1, and M>0M>0. Both calculator forms log⁡M/log⁡b\log M/\log b and ln⁡M/ln⁡b\ln M/\ln b return the same value. The argument goes on top and the old base underneath.

One exponent, two measuring basesUsing base three gives logarithm values three and two, whose quotient is three halves. Using base nine gives values three halves and one, whose quotient is again three halves.Measure the argument and the base togetherBase 3Base 93 ÷ 2 = 3/2(3/2) ÷ 1 = 3/2
Changing the measuring base changes both logarithms by the same factor. Their quotient still measures the exponent from 9 to 27.

Worked example 4 Choose an exact base or a calculator base

Problem.

(a) Evaluate log⁡1/48\log_{1/4}8 exactly.

(b) Evaluate log⁡518\log_5 18 to three decimal places, and check that its size is reasonable.

Solution. (a) Change to base 22, since both numbers are powers of 22. The numerator measures the argument 88; the denominator measures the original base 1/41/4:

log⁡1/48=log⁡2(8)log⁡2(1/4).\log_{1/4}8=\frac{\log_2(8)}{\log_2(1/4)}.

Since log⁡2(8)=3\log_2(8)=3 and log⁡2(1/4)=−2\log_2(1/4)=-2, substitute those values:

log⁡1/48=3−2.\log_{1/4}8=\frac{3}{-2}.

Therefore log⁡1/48=−32\log_{1/4}8=-\frac32.

The check (1/4)−3/2=8(1/4)^{-3/2}=8 confirms the sign and size.

(b) Use natural logarithms, retaining full calculator precision until the last step:

log⁡518=ln⁡18ln⁡5≈1.796.\log_5 18=\frac{\ln18}{\ln5}\approx1.796.

Since 5<18<255<18<25, the required exponent is between 11 and 22, as the approximation is.

Check your understanding

Which calculator entry gives log⁡1/311\log_{1/3}11, and what sign should it have?

Answer choices

A sum is a different operation

The product rule does not distribute a logarithm across addition. For example, 2+6=82+6=8 gives log⁡2(2+6)=3\log_2(2+6)=3. Splitting the sum would instead give log⁡22+log⁡26=log⁡212\log_2 2+\log_2 6=\log_2 12, which is greater than 33. It took a product, 2⋅62\cdot6, rather than the original sum.

Adding arguments differs from adding logarithmsThe solid blue path starts with two plus six and reaches argument eight and logarithm value three. The dashed red path starts with two times six and reaches argument twelve, whose base-two logarithm exceeds three.Inside a single logAfter combining two logs2 + 6 = 82 × 6 = 12log₂ 8 = 3log₂ 12 > 3
Adding inside gives the argument 8. Adding two logarithms combines their arguments by multiplication, giving 12. Those are different inputs to a one-to-one function.

Parentheses matter with squares too. log⁡2(82)=6\log_2(8^2)=6 uses the power rule, whereas (log⁡28)2=32=9(\log_2 8)^2=3^2=9 squares the logarithm’s value. The exponent must belong to the argument for the power rule to apply.

Check your understanding

Which statement correctly compares A=log⁡3(9+18)A=\log_3(9+18) and B=log⁡39+log⁡318B=\log_3 9+\log_3 18?

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems Start →
More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (optional)

Before pocket calculators, engineers often carried slide rules. Two logarithmic scales lay beside each other, with one able to slide. A transparent cursor marked a position across them. Moving one scale added distances, and logarithmic spacing turned that addition into multiplication of the numbers printed on the scales.

The device also had a practical limitation: a scale could not distinguish 66 from 6060 without the user’s judgment about the size of the answer. Reading a slide rule therefore involved estimation as well as alignment.

NASA’s archived explanation of logarithms and the slide rule describes the sliding scales and their use before electronic calculators.

Your progress

See all your progress →