Logarithms and their laws

Logarithms and their laws

Spec F3–F4 · AQA A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • log⁡ax=y\log_ax=y means ay=xa^y=x; log⁡a1=0\log_a1=0 and log⁡aa=1\log_aa=1.
  • ln⁡x=log⁡ex\ln x=\log_ex is the inverse of exe^x, and the graph of a log is its power's reflection in y=xy=x.
  • Laws: log⁡x+log⁡y=log⁡(xy)\log x+\log y=\log(xy), log⁡x−log⁡y=log⁡xy\log x-\log y=\log\frac xy, klog⁡x=log⁡xkk\log x=\log x^k.
  • There is no law for log⁡(x+y)\log(x+y).
  • When solving, state the domain, combine, convert to a power, solve, and check.
  • log⁡ax=y\log_ax=yay=xa^y=x

Logarithms as inverses

log⁡ax\log_ax is the power to which aa must be raised to give xx.

log⁡381=4\log_381=4 because 34=813^4=81, and log⁡218=−3\log_2\frac18=-3 because 2−3=182^{-3}=\frac18. Always log⁡a1=0\log_a1=0 and log⁡aa=1\log_aa=1.

log⁡ax\log_ax and axa^x are inverse functions: alog⁡ax=xa^{\log_ax}=x and log⁡a(ax)=x\log_a(a^x)=x. The graph of y=log⁡axy=\log_ax passes through (1,0)(1,0), has the yy-axis as an asymptote, and exists only for x>0x>0.

−2−112345−2−112345xy(0, 1)(1, 0)y = 2ˣy = log₂ xy = x
y = 2ˣ and y = log₂x are reflections of each other in y = x.

What is log⁡5125\log_5125?

The natural logarithm

ln⁡x\ln x is the logarithm to base ee, the inverse of exe^x.

eln⁡x=xe^{\ln x}=x for x>0x>0 and ln⁡(ex)=x\ln(e^x)=x. Also ln⁡e=1\ln e=1 and ln⁡1=0\ln1=0.

So ln⁡x=3\ln x=3 gives x=e3x=e^3, and ex=5e^x=5 gives x=ln⁡5x=\ln5. The graph of y=ln⁡xy=\ln x passes through (1,0)(1,0), rises slowly and has the yy-axis as an asymptote.

−3−2−112345−3−2−112345xy(0, 1)(1, 0)y = eˣy = ln xy = x
eˣ and ln x are reflections of each other in y = x.

Solve ex=5e^x=5.

The laws of logarithms

Adding logs multiplies, subtracting logs divides, and a multiplier becomes a power.

For a>0a>0 and x,y>0x,y>0, the same laws hold for ln⁡\ln. The power law works for any kk, including k=−1k=-1: −log⁡ax=log⁡a1x-\log_ax=\log_a\frac1x, and k=12k=\frac12: 12log⁡ax=log⁡ax\frac12\log_ax=\log_a\sqrt x.

0.511.522.533.544.55−4−3−2−11234xy(1, 0)(e, 1)y = ln xy = ln(x²) = 2 ln x
Power law: ln(x²) = 2 ln x, so the curve for ln(x²) is the curve for ln x stretched to twice the height.
  • log⁡ax+log⁡ay\log_ax+\log_aylog⁡a(xy)\log_a(xy)
  • log⁡ax−log⁡ay\log_ax-\log_aylog⁡a(xy)\log_a\left(\frac xy\right)
  • klog⁡axk\log_axlog⁡a(xk)\log_a(x^k)

Write log⁡105+log⁡1020\log_{10}5+\log_{10}20 as a single number.

Using the laws

Put coefficients in front as powers first, then combine with addition and subtraction.

  • log⁡1012=log⁡10(22×3)=2a+b\log_{10}12=\log_{10}(2^2\times3)=2a+b, where a=log⁡102a=\log_{10}2, b=log⁡103b=\log_{10}3.
  • log⁡1016=−(a+b)\log_{10}\frac16=-(a+b).
  • ln⁡x3y=3ln⁡x−12ln⁡y\ln\frac{x^3}{\sqrt y}=3\ln x-\frac12\ln y.
  • 2ln⁡5+ln⁡4=ln⁡25+ln⁡4=ln⁡1002\ln5+\ln4=\ln25+\ln4=\ln100.
2468101214−0.4−0.20.20.40.60.811.21.4xya = 0.301b = 0.4772a + b = 1.079y = log₁₀ x
log₁₀ 12 = 2a + b, where a = log₁₀2 ≈ 0.301 and b = log₁₀3 ≈ 0.477, giving about 1.079.
  • −log⁡ax-\log_axlog⁡a1x\log_a\dfrac1x
  • 12log⁡ax\frac12\log_axlog⁡ax\log_a\sqrt x

Worked example

Without a calculator, find log⁡48\log_48 exactly.

Given a=log⁡102a=\log_{10}2 and b=log⁡103b=\log_{10}3, express log⁡1018\log_{10}18 in terms of aa and bb.

Solving log equations

State the domain, combine into one log, convert to a power, solve, then check every answer.

2log⁡3x−log⁡3(x+4)=12\log_3x-\log_3(x+4)=1 gives x2x+4=3\frac{x^2}{x+4}=3, so x2−3x−12=0x^2-3x-12=0 and x=3±572x=\frac{3\pm\sqrt{57}}2. The negative root is rejected because log⁡3x\log_3x needs x>0x>0.

An extraneous solution can appear after combining the logs, so always check against the domain.

  1. 1

    State the domain

    Every argument is positive

  2. 2

    Combine

    One logarithm using the laws

  3. 3

    Convert to a power

  4. 4

    Solve

  5. 5

    Check

    Reject anything outside the domain

Solving a log equation.

Worked example

Solve log⁡2(x+6)−log⁡2(x−1)=3\log_2(x+6)-\log_2(x-1)=3.

Solve log⁡2x+log⁡2(x−2)=3\log_2x+\log_2(x-2)=3.

Try an exam question

Solve log⁡2x+log⁡2(x+6)=4\log_2x+\log_2(x+6)=4.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the value of log⁡381\log_381.

1 mark, marked against the mark scheme

Revision notes