James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
A level Maths › Pure · Exponentials & logarithms › Exponents & logarithms

Exponents & logarithms

What a logarithm is, the laws you use to combine and split logarithms, and how to solve exponential and logarithmic equations, with and without a calculator.

Pure 6.3, 6.4, 6.5Year 1≈ 75 min to work through
Before you start: laws of indices. Shaky on these? See Before you start (GCSE skills check) › Indices and surds.

1What you need to know

Tick these off as you go. By the end of the page you should be able to do all of them without notes.

  • Use the laws of exponents, including rational exponentsY1
  • Understand that logax=y means ay=xY1
  • Know that lnx=logex and logx=log10xY1
  • Use the laws of logarithms, including change of baseY1
  • Solve exponential equations by matching bases or by taking logarithmsY1
  • Solve logarithmic equations and reject invalid solutionsY1

2Notes & worked examples

Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.

The big idea

A logarithm is the reverse of a power. If 25=32, then log232=5: the logarithm tells you what power you need. Logarithms let you solve equations where the unknown is in the exponent, such as 3x=20.

2.1 Exponents and matching bases

The laws of indices from Before you start (GCSE skills check) hold for all rational exponents. If both sides of an equation can be written as powers of the same base, set the exponents equal.

This works because a power function with a fixed base never gives the same output twice: if 2a=2b, then a must equal b. So once the bases match, you can ignore them and compare the powers.

Worked example 1No calculator
Solve 4x+1=8x.
Write both sides as powers of 2: (22)x+1=(23)x.
22x+2=23x, so 2x+2=3x.
x=2

2.2 What a logarithm is

A logarithm answers the question "what power?"

You already know the operation that undoes squaring (square root) and the one that undoes adding (subtracting). The logarithm undoes "raise the base to a power". For example, 103=1000, so log101000=3: "10 to the power what gives 1000?"

Definition
logax=y⟺ay=x

The base a>0, a≠1, and you can only take the logarithm of a positive number.

  • logx means log10x, and lnx means logex, where e≈2.718.
  • Useful facts: logaa=1, loga1=0, alogax=x and logaax=x.
Worked example 2No calculator
Evaluate (a) log232 (b) log319 (c) log42.
(a) 25=32, so log232=5.
(b) 3−2=19, so log319=−2.
(c) 412=2, so log42=12.

2.3 Laws of logarithms

Logarithms are powers, so the laws of logarithms come straight from the laws of indices. Multiplying numbers means adding their powers, so the log of a product is the sum of the logs. Dividing means subtracting powers, and raising to a power means multiplying the power.

Why does this work?

Let logax=p and logay=q, so x=ap and y=aq. Then xy=ap×aq=ap+q, so logaxy=p+q=logax+logay. The other laws can be shown in the same way.

There is no law for log(x+y). A very common mistake is to write log(x+y)=logx+logy, which is false.

Laws
logaxy=logax+logaylogaxy=logax−logaylogaxm=mlogaxlogba=logcalogcb(change of base)
Worked example 3No calculator
Write 2log3+log4−log6 as a single logarithm.
2log3=log32=log9
log9+log4−log6=log9×46
=log6

2.4 Solving exponential equations with logarithms

When the bases cannot be matched, take logarithms of both sides and use logxm=mlogx to bring the power down.

Any base will do, but ln is the usual choice because it is on every calculator and appears throughout calculus.

Worked example 4No calculator
Solve 5x=3x+1, giving an exact answer and an answer to 3 significant figures.
Take ln of both sides: xln5=(x+1)ln3.
Collect the x terms: xln5−xln3=ln3, so x(ln5−ln3)=ln3.
x=ln3ln5−ln3=2.15 (3 s.f.)
Without a calculator, leave the exact form unless asked for a decimal.
On your Casio ClassWiz Calculator tricks →

The ClassWiz has a log□□ key, so you can type log320 directly. ln is its own key. To solve an equation such as 5x=3x+1, use SOLVE (fx-991EX: SHIFT CALC; fx-991CW: the Equation app → Solver), but show the logarithm method in your working.

2.5 Logarithmic equations

Combine the logarithms into one, convert to exponential form, solve, then check every solution: the logarithm of a negative number or of zero is undefined.

Why do solutions need checking? When you combine logarithms and then remove them, you can create extra solutions that do not work in the original equation. In the original, every expression inside a logarithm must be positive.

Worked example 5 (faded)No calculator
Solve log2(x+3)+log2(x−3)=4.
Combine: log2((x+3)(x−3))=4, so x2−9= 16  ← you work this out
x2=25, so x=5 or x=−5.
x=−5 gives log2(−2), which is undefined. So x= 5  ← you work this out

3Explore it

Change the base a. The graphs of y=ax and y=logax are reflections of each other in the line y=x. Try a base between 0 and 1.

y=axy=logaxy=x

4Common mistakes & exam tips

Common mistakes

  • log(x+y)≠logx+logy.
  • logxlogy≠logxy: the left side is change of base, not a law of subtraction.
  • (logx)2≠2logx.
  • Not rejecting solutions that make a logarithm undefined.
  • Trying to solve ex=0 or 2x=−4: they have no solution.

Exam tips

  • Questions often want exact answers such as ln3ln5−ln3. Do not convert to decimals unless asked.
  • If you see 22x and 2x in the same equation, substitute y=2x to get a quadratic.
  • When you reject a solution, say why (e.g. "log2(−2) is undefined"). This is often the R1 mark.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Evaluate log5125.
53=125, so 3.
FluencyP2
Write ln12−ln3+2ln2 as a single logarithm.
ln12×43=ln16
FluencyP3
Solve e3x=10.
3x=ln10, so x=ln103=0.768 (3 s.f.)
FluencyP4
Given that loga2=p and loga3=q, write loga18 in terms of p and q.
18=2×32, so loga18=p+2q.
Problem solvingP5
Solve 22x−6×2x+8=0.
Let y=2x: y2−6y+8=0, so y=2 or y=4. Then x=1 or x=2.
Problem solvingP6
Solve lnx+ln(x+2)=ln15.
x(x+2)=15⇒x2+2x−15=0⇒x=3 or x=−5. Reject −5 (ln(−5) is undefined), so x=3.

6Exam-style questions

Original exam-style questions with full markschemes. Edexcel papers allow a calculator throughout, but questions labelled “No calculator” practise exact working. Allow about 1.2 minutes per mark.

Question 1No calculator[6 marks]

  • (a)Write down the value of log216.[1]
  • (b)Hence, or otherwise, solve log2x+log2(x−6)=4.[5]
(a)
4A1
(b)
log2(x(x−6))=4M1
x2−6x=16A1
(x−8)(x+2)=0 (or formula)M1
x=8A1
x=−2 rejected because log2(−2) is undefinedR1
Question 2No calculator[5 marks]

Solve 9x−4×3x+3=0.

9x=(3x)2; let y=3xM1
y2−4y+3=0A1
y=1 or y=3A1
x=0, x=1A1 A1
Question 3Calculator[6 marks]

The number of bacteria in a sample is modelled by P=200e0.35t, where t is the time in hours.

  • (a)Write down the initial number of bacteria.[1]
  • (b)Find the number of bacteria after 5 hours.[2]
  • (c)Find the time taken for the number of bacteria to reach 10 000.[3]
(a)
200A1
(b)
200e0.35×5M1
1150 (1150.92…)A1
(c)
200e0.35t=10000M1
e0.35t=50⇒t=ln500.35 (or calculator)M1
11.2 hoursA1

7Check yourself

Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.

8Past-paper practice

Once you're scoring well above, try real Edexcel A level questions. Past papers and markschemes are on the Pearson website.

PaperQuestionFocusDifficulty
Nov 2021 · Paper 2Q3Solve an equation using the laws of logarithms★☆☆
June 2023 · Paper 2Q3Log equation leading to a quadratic; reject one root★☆☆
June 2023 · Paper 1Q6Write logarithms in terms of a and b★★☆
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake