Change of base and solving equations

Logarithms let you bring an unknown power down to ground level. Change of base lets you work with any base on your calculator.

Practise this lesson free (7 questions)

More tools

Solving ax = b

Take logs of both sides, then use the power law.
3x = 20
x log 3 = log 20
x = log 20log 3 = 2.73 (3 s.f.)

Change of base

loga x = logb xlogb a
A useful special case: loga b = 1logb a
log4 8 = log2 8log2 4 = 32

Equations with logs in

Combine into a single log, then rewrite as a power.
log2 x + log2 (x + 2) = 3
log2 (x(x + 2)) = 3, so x(x + 2) = 23 = 8
x2 + 2x โˆ’ 8 = 0, so x = 2 or x = โˆ’4
Reject x = โˆ’4: you cannot take the log of a negative number.
Worked example

Solve 5x + 1 = 40, giving x to 3 significant figures.

  1. (x + 1) log 5 = log 40
  2. x + 1 = log 40log 5 = 2.292...
  3. x = 1.292...

Answer: x = 1.29

Key idea

To solve ax = b, take logs: x = log blog a. Change base with loga x = logb xlogb a. Always check log equation answers make every log defined.

Extra practice

2 more questions

Try each one, then tap to check.

  1. Solve log2 (3x โˆ’ 1) = 3

    Show the answer

    Answer: 3

    3x โˆ’ 1 = 23 = 8, so 3x = 9 and x = 3.

  2. Solve log2 x + log2 (x + 6) = 4

    Show the answer

    Answer: 2

    log2 (x(x + 6)) = 4, so x(x + 6) = 16, which gives x2 + 6x โˆ’ 16 = 0. The roots are 2 and โˆ’8, and a log needs a positive input, so x = 2.

Check you have got it

Answer 7 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.

Video for this lesson coming soon. Subscribe on YouTube

Sources and references

Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.

Related lessons