Laws of logarithms

Laws of logarithms

Spec 5.2 · Edexcel International A Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • log⁡ax=y  ⟺  ay=x\log_ax=y\iff a^y=x, defined only for x>0x>0; log⁡aa=1\log_aa=1.
  • Product: log⁡a(xy)=log⁡ax+log⁡ay\log_a(xy)=\log_ax+\log_ay.
  • Quotient: log⁡a(xy)=log⁡ax−log⁡ay\log_a\left(\frac xy\right)=\log_ax-\log_ay; reciprocal: log⁡a(1x)=−log⁡ax\log_a\left(\frac1x\right)=-\log_ax.
  • Power: log⁡a(xk)=klog⁡ax\log_a(x^k)=k\log_ax.
  • The laws need the same base; log⁡a(x+y)\log_a(x+y) has no simple rule.

Logarithms and powers

A logarithm answers: what power of the base gives this number? log⁡ax=y\log_ax=y means ay=xa^y=x.

So log⁡28=3\log_28=3 because 23=82^3=8. A logarithm is defined only for x>0x>0, because aya^y is always positive. Putting y=1y=1 gives log⁡aa=1\log_aa=1.

All the laws are the index laws in logarithm form, and need the same base throughout.

−1123456789−22468xy(1, 0)(8, 3)(3, 8)y = 2^xy = log₂ xy = x
y = log base 2 of x is the reflection of y = 2^x in the line y = x. Points swap coordinates: (3, 8) becomes (8, 3).
  • log⁡ax=y\log_ax=yay=xa^y=x

What is log⁡381\log_3 81?

The product law

The logarithm of a product is the sum of the logarithms.

Proof: let log⁡ax=m\log_ax=m and log⁡ay=n\log_ay=n, so x=amx=a^m and y=any=a^n. Then xy=am+nxy=a^{m+n}, so log⁡a(xy)=m+n\log_a(xy)=m+n.

For example log⁡26+log⁡22=log⁡212\log_26+\log_22=\log_212.

12345678−3−2−1123xy(1, 0)y = ln xy = ln 2x
Multiplying x by 2 adds ln 2 (about 0.69) to the logarithm: ln(2x) = ln x + ln 2. Shown with base e
  • log⁡a(xy)\log_a(xy)log⁡ax+log⁡ay\log_ax+\log_ay

Worked example

Given log⁡a2=p\log_a2=p and log⁡a5=q\log_a5=q, find log⁡a20\log_a20 in terms of pp and qq.

Write log⁡26+log⁡25\log_26+\log_25 as a single logarithm.

Quotient and reciprocal laws

The logarithm of a quotient is the difference of the logarithms, in that order; the reciprocal gives a minus sign.

These come from aman=am−n\frac{a^m}{a^n}=a^{m-n} and 1am=a−m\frac1{a^m}=a^{-m}. Order matters: log⁡a(52)=log⁡a5−log⁡a2\log_a\left(\frac52\right)=\log_a5-\log_a2.

12345678−3−2−1123xy(1, 0)y = ln xy = ln(1/x) = −ln x
The logarithm of a reciprocal is the negative: ln(1/x) = −ln x, the reflection of ln x in the x-axis. Shown with base e
  • log⁡a(xy)\log_a\left(\dfrac xy\right)log⁡ax−log⁡ay\log_ax-\log_ay
  • log⁡a(1x)\log_a\left(\dfrac1x\right)−log⁡ax-\log_ax

Worked example

Given log⁡ax=3\log_ax=3, find log⁡a(1x)\log_a\left(\frac1x\right).

Which equals log⁡a(52)\log_a\left(\frac52\right)?

The power law

A power inside a logarithm comes out as a multiplier: log⁡a(xk)=klog⁡ax\log_a(x^k)=k\log_ax.

This holds for any real kk, including negative and fractional values. It follows from (am)k=amk(a^m)^k=a^{mk}. Roots are fractional powers: log⁡ay=12log⁡ay\log_a\sqrt y=\frac12\log_ay.

0.511.522.533.54−4−3−2−11234xy(1, 0)y = ln xy = ln(x²) = 2 ln x
ln(x²) = 2 ln x: squaring the input doubles the logarithm. Shown with base e
  • log⁡a(xk)\log_a(x^k)klog⁡axk\log_ax

Worked example

Given log⁡ax=3\log_ax=3 and log⁡ay=5\log_ay=5, find log⁡a(x2y)\log_a\left(\frac{x^2}{y}\right).

If log⁡ax=4\log_a x=4, what is log⁡ax\log_a\sqrt x?

Simplifying to one logarithm

Use the power law to remove coefficients, then combine with the product and quotient laws.

A lone aa inside a logarithm contributes 11: log⁡a(ax2)=1−2log⁡ax\log_a\left(\frac a{x^2}\right)=1-2\log_ax. To show an identity, work on one side only and state each law, for example log⁡a48−log⁡a3=log⁡a16=4log⁡a2\log_a48-\log_a3=\log_a16=4\log_a2.

  1. 1

    Power law first

    Move coefficients inside as powers

  2. 2

    Combine

    Product and quotient laws

  3. 3

    Cancel

    Look for terms that cancel

  4. 4

    Check

    Substitute numbers

Four steps.

Worked example

Write 3log⁡a2+log⁡a12−12log⁡a93\log_a2+\log_a12-\frac12\log_a9 as a single logarithm.

Write 2log⁡a3+log⁡a42\log_a3+\log_a4 as a single logarithm.

Common errors

Only the product law is correct among the three common false rules.

A counterexample with a=2a=2: x=y=4x=y=4 gives log⁡2(8)=3\log_2(8)=3 but log⁡24+log⁡24=4\log_24+\log_24=4. Check a result by substituting numbers, and remember xx and yy must be positive.

0.511.522.533.54−4−3−2−11234xy(1, 0)ln(x²) = 2 ln x(ln x)²
ln(x²) = 2 ln x is not (ln x)²: the curves differ everywhere except where ln x = 0 or 2. Shown with base e

Wrong

Sum or product:
log⁡a(x+y)=log⁡ax+log⁡ay\log_a(x+y)=\log_ax+\log_ay
Power:
log⁡a(x2)=(log⁡ax)2\log_a(x^2)=\left(\log_ax\right)^2
Quotient:
log⁡axlog⁡ay=log⁡axy\dfrac{\log_ax}{\log_ay}=\log_a\dfrac xy

Correct

Sum or product:
log⁡a(xy)=log⁡ax+log⁡ay\log_a(xy)=\log_ax+\log_ay
Power:
log⁡a(x2)=2log⁡ax\log_a(x^2)=2\log_ax
Quotient:
log⁡axy=log⁡ax−log⁡ay\log_a\dfrac xy=\log_ax-\log_ay

Which statement is true for all x,y>0x,y>0?

Try an exam question

Write 2log⁡a3+log⁡a20−log⁡a52\log_a3+\log_a20-\log_a5 as a single logarithm, giving your answer in the form log⁡ak\log_ak.

[3 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find log⁡a(52)\log_a\left(\frac52\right) in terms of pp and qq.

1 mark, marked against the mark scheme

Revision notes