Grade 12 IB Math is live, AA and AI · see the IB course

Grade 12 · MHF4U · Advanced Functions

MHF4U: Laws of Logarithms

A logarithm is an exponent. log⁡ax\log_a x asks: what power of aa gives xx? So log⁡28=3\log_2 8 = 3 because 23=82^3 = 8. Every log law is an exponent law, read backwards.

How It Works

For a>0a > 0, a≠1a \ne 1, and positive MM and NN:

Product: log⁡a(MN)=log⁡aM+log⁡aN\log_a(MN) = \log_a M + \log_a N. Multiplying powers adds exponents.

Quotient: log⁡a(MN)=log⁡aM−log⁡aN\log_a\left(\frac{M}{N}\right) = \log_a M - \log_a N. Dividing powers subtracts them.

Power: log⁡a(Mk)=klog⁡aM\log_a(M^k) = k\log_a M. A power of a power multiplies exponents.

Two values to know on sight: log⁡a1=0\log_a 1 = 0 and log⁡aa=1\log_a a = 1. And for a base your calculator does not have, change of base: log⁡ax=log⁡xlog⁡a\log_a x = \frac{\log x}{\log a}. Plain log⁡\log means base 10.

You use the laws in two directions. Expanding splits one log into simple pieces; condensing packs several logs into one, which is the first step in solving most log equations. To condense, move every coefficient up as an exponent first, then combine: plus terms multiply, minus terms divide.

The traps, all of which cost marks:

log⁡(M+N)\log(M + N) does not split. There is no sum law.

(log⁡x)2(\log x)^2 is not 2log⁡x2\log x. The power law only moves an exponent on the argument.

log⁡Mlog⁡N\frac{\log M}{\log N} is not log⁡M−log⁡N\log M - \log N. That is change of base, not the quotient law.

The laws need the same base on every term. Mixed bases? Change them first.

When a question gives you log⁡23=p\log_2 3 = p and asks for something else, write the new number as a product, quotient or power of numbers you know, then let the laws do the rest.

5 Worked Examples

Easy first, test level last. Try each one on paper, then open the solution.

  1. Easy

    Evaluate log⁡64+log⁡69\log_6 4 + \log_6 9.
    Show solution
    1. Same base, so use the product law: log⁡64+log⁡69=log⁡636\log_6 4 + \log_6 9 = \log_6 36.
    2. 62=366^2 = 36, so log⁡636=2\log_6 36 = 2.

    Answer: 22

  2. Easy

    Evaluate log⁡354−log⁡32\log_3 54 - \log_3 2.
    Show solution
    1. Quotient law: log⁡354−log⁡32=log⁡3542=log⁡327\log_3 54 - \log_3 2 = \log_3 \frac{54}{2} = \log_3 27.
    2. 33=273^3 = 27, so the value is 33.

    Answer: 33

  3. Medium

    Expand log⁡3(9x4y)\log_3\left(\frac{9x^4}{\sqrt{y}}\right), for x,y>0x, y > 0.
    Show solution
    1. Quotient law: log⁡3(9x4)−log⁡3y\log_3(9x^4) - \log_3\sqrt{y}.
    2. Product law on the first term: log⁡39+log⁡3x4−log⁡3y12\log_3 9 + \log_3 x^4 - \log_3 y^{\frac{1}{2}}.
    3. Power law, and log⁡39=2\log_3 9 = 2: 2+4log⁡3x−12log⁡3y2 + 4\log_3 x - \frac{1}{2}\log_3 y.

    Answer: 2+4log⁡3x−12log⁡3y2 + 4\log_3 x - \frac{1}{2}\log_3 y

  4. Medium

    Write 2log⁡x+12log⁡y−3log⁡z2\log x + \frac{1}{2}\log y - 3\log z as a single logarithm.
    Show solution
    1. Coefficients up as exponents first: log⁡x2+log⁡y12−log⁡z3\log x^2 + \log y^{\frac{1}{2}} - \log z^3.
    2. Plus terms multiply: log⁡(x2y)−log⁡z3\log(x^2\sqrt{y}) - \log z^3.
    3. Minus terms divide: log⁡(x2yz3)\log\left(\frac{x^2\sqrt{y}}{z^3}\right).

    Answer: log⁡(x2yz3)\log\left(\frac{x^2\sqrt{y}}{z^3}\right)

  5. Test level

    Given log⁡23=p\log_2 3 = p and log⁡25=q\log_2 5 = q, write log⁡422.5\log_4 22.5 in terms of pp and qq.
    Show solution
    1. The given logs are base 2, so change base: log⁡422.5=log⁡222.5log⁡24=log⁡222.52\log_4 22.5 = \frac{\log_2 22.5}{\log_2 4} = \frac{\log_2 22.5}{2}.
    2. Write 22.522.5 with the numbers you know: 22.5=452=32×5222.5 = \frac{45}{2} = \frac{3^2 \times 5}{2}.
    3. Expand: log⁡222.5=2log⁡23+log⁡25−log⁡22=2p+q−1\log_2 22.5 = 2\log_2 3 + \log_2 5 - \log_2 2 = 2p + q - 1.
    4. Divide by 2: log⁡422.5=2p+q−12\log_4 22.5 = \frac{2p + q - 1}{2}.

    Answer: log⁡422.5=2p+q−12\log_4 22.5 = \frac{2p + q - 1}{2}

Learn It on Martian Lab

Martian Lab teaches this in the Logarithmic & Exponential Functions lesson of its MHF4U Exponential & Logarithmic Functions unit. Watch it, then take the Exponential & Logarithmic Functions practice tests to see if it stuck.

Watch the Logarithmic & Exponential Functions lesson free

Start Practicing

No credit card required to start.

Get started