1.9 Laws of logarithms

1.9 Laws of logarithms

IB Maths: Applications and Interpretation HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • log⁡ax=y  ⟺  ay=x\log_a x=y \iff a^{y}=x, for x>0x>0; so log⁡a1=0\log_a1=0 and 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.
  • Power: log⁡a(xm)=mlog⁡ax\log_a(x^{m})=m\log_ax.
  • To solve ax=ba^{x}=b take logs of both sides and use the power law.
24681012−1−0.50.511.522.53xy(1, 0)(3, 1.099)(9, 2.197)y = ln x
ln 9 = 2 ln 3: squaring the input doubles the output.

Logarithms and powers

A logarithm answers "what power of aa gives xx?", so it undoes the power.

For a>0a>0 and x>0x>0:

log⁡ax=y  ⟺  ay=x\log_a x=y\iff a^{y}=x

In examinations the base is usually 1010 (lg⁡x\lg x) or ee (ln⁡x\ln x, the natural logarithm), but the laws hold for any base.

From the definition: log⁡a1=0\log_a1=0, log⁡aa=1\log_aa=1, ln⁡ex=x\ln e^{x}=x, eln⁡x=xe^{\ln x}=x and 10log⁡10x=x10^{\log_{10}x}=x. You can only take the logarithm of a positive number.

−3−2−112345−3−2−112345xy(0, 1)(1, 0)y = 2ˣy = log₂ xy = x
y = log₂ x undoes y = 2ˣ: the curves are reflections in y = x, and log₂ x only exists for x > 0.
  • log⁡ax=y\log_a x=yay=xa^{y}=x

What is ln⁡1\ln1?

The three laws

Each law turns a product, quotient or power inside a logarithm into addition, subtraction or multiplication outside it.

For a,x,y>0a,x,y>0:

log⁡a(xy)=log⁡ax+log⁡ay\log_a(xy)=\log_ax+\log_ay

log⁡a(xy)=log⁡ax−log⁡ay\log_a\left(\frac xy\right)=\log_ax-\log_ay

log⁡a(xm)=mlog⁡ax\log_a\left(x^{m}\right)=m\log_ax

They are the laws of logarithms, the counterpart of the exponent laws: multiplying powers adds indices, dividing subtracts them.

12345678−1−0.50.511.522.5xyln 2 ≈ 0.693ln 3 ≈ 1.099ln 6 ≈ 1.792y = ln x
The product law on the graph of y = ln x: ln 6 = ln 2 + ln 3, that is 1.792 = 0.693 + 1.099.

Exponent law

  • aman=am+na^{m}a^{n}=a^{m+n}
  • am÷an=am−na^{m}\div a^{n}=a^{m-n}
  • (am)n=amn(a^{m})^{n}=a^{mn}

Logarithm law

  • log⁡(xy)=log⁡x+log⁡y\log(xy)=\log x+\log y
  • log⁡xy=log⁡x−log⁡y\log\frac xy=\log x-\log y
  • log⁡xm=mlog⁡x\log x^{m}=m\log x

What is ln⁡6−ln⁡2\ln6-\ln2 as a single logarithm?

Simplifying and expanding

Apply the power law first, then combine terms with the product and quotient laws.

If a=ln⁡3a=\ln3 and b=ln⁡5b=\ln5 then

ln⁡15=a+b,ln⁡95=2a−b,ln⁡45=a+b2.\ln15=a+b,\qquad\ln\frac95=2a-b,\qquad\ln\sqrt{45}=a+\tfrac b2.

To write a single logarithm, move coefficients to powers, then combine: 2ln⁡x−ln⁡y+ln⁡3=ln⁡3x2y2\ln x-\ln y+\ln3=\ln\frac{3x^{2}}{y}.

  1. 1

    Power law first

    2ln⁡x=ln⁡x22\ln x=\ln x^{2}

  2. 2

    Rewrite

    ln⁡x2−ln⁡y+ln⁡3\ln x^{2}-\ln y+\ln3

  3. 3

    Quotient law

    ln⁡x2y+ln⁡3\ln\frac{x^{2}}{y}+\ln3

  4. 4

    Product law

    ln⁡3x2y\ln\frac{3x^{2}}{y}

Combining logarithms

Worked example

Write 2ln⁡x−ln⁡y+ln⁡32\ln x-\ln y+\ln 3 as a single logarithm.

If a=ln⁡3a=\ln3 and b=ln⁡5b=\ln5, what is ln⁡95\ln\frac95?

Exponential equations

Take logarithms of both sides, then use the power law to bring the unknown down.

Isolate the exponential term first, then take logs.

  • 3x=50⇒xln⁡3=ln⁡50⇒x=ln⁡50ln⁡3=3.563^{x}=50\Rightarrow x\ln3=\ln50\Rightarrow x=\frac{\ln50}{\ln3}=3.56.
  • 800e0.35t=1600⇒e0.35t=2⇒t=ln⁡20.35=1.98800e^{0.35t}=1600\Rightarrow e^{0.35t}=2\Rightarrow t=\frac{\ln2}{0.35}=1.98.

A GDC can check your answer by solving the original equation directly.

0.511.522.533.544.5520406080100xyx ≈ 3.56y = 3ˣy = 50
Solving 3ˣ = 50: the curve y = 3ˣ meets y = 50 at x = ln 50 ÷ ln 3 ≈ 3.56.
  • ax=ba^{x}=bx=ln⁡bln⁡ax=\dfrac{\ln b}{\ln a}

Worked example

Solve 3x=503^{x}=50.

Solve e0.35t=2e^{0.35t}=2.

Scaling and straightening data

Logarithms compress huge ranges and turn curved models into straight lines.

On a log⁡10\log_{10} scale, multiplying by 1010 adds 11. The decibel scale L=10log⁡10II0L=10\log_{10}\frac{I}{I_0} adds 2020 dB when II is multiplied by 100100.

If y=kxny=kx^{n} then ln⁡y=ln⁡k+nln⁡x\ln y=\ln k+n\ln x: a straight line with gradient nn and intercept ln⁡k\ln k. If y=abxy=ab^{x} then ln⁡y=ln⁡a+xln⁡b\ln y=\ln a+x\ln b, a line of ln⁡y\ln y against xx.

For ln⁡R=0.74ln⁡m+3.2\ln R=0.74\ln m+3.2: n=0.74n=0.74, k=e3.2=24.5k=e^{3.2}=24.5, so R=24.5m0.74R=24.5m^{0.74}.

0.511.522.533.544.5512345678xyintercept 3.2ln R = 0.74 ln m + 3.2
Straightening a power model: ln R against ln m is a line with gradient n = 0.74 and intercept ln k = 3.2, so R = 24.5m^0.74.

y=kxny=kx^{n}

Type:
Power model
Plot:
ln⁡y\ln y against ln⁡x\ln x
Line:
Gradient nn, intercept ln⁡k\ln k

y=abxy=ab^{x}

Type:
Exponential model
Plot:
ln⁡y\ln y against xx
Line:
Gradient ln⁡b\ln b, intercept ln⁡a\ln a

A plot of ln⁡y\ln y against ln⁡x\ln x is a straight line with gradient 2. What model fits?

Try an exam question

Given that ln⁡a=p\ln a=p and ln⁡b=q\ln b=q, write each of the following in terms of pp and qq: (a) ln⁡(a2b)\ln\left(a^{2}b\right), (b) ln⁡(ab3)\ln\left(\dfrac{\sqrt a}{b^{3}}\right).

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which expression is equal to ln⁡15\ln15?

1 mark, marked against the mark scheme

Revision notes