Worked Example · Logarithmic and Exponential Functions · Paper 2 · 3 marks

Using Logs to Solve an Exponential Equation

Rig, founder of IGCSE Add Math Malaysia

Written by Rig, our founder

8 years teaching IGCSE & SPM maths · Updated 16 August 2026

When an exponential has a base that isn’t ee, take logs of both sides and use the power law (logax=xloga\log a^x = x\log a) to bring the exponent down. Dividing the two logs is effectively the change-of-base formula, and ln\ln or lg\lg both work.

Solve 2x=72^x = 7, giving your answer correct to 3 significant figures. [3]

The working

Step 1, take logs of both sides (using ln\ln, though lg\lg works equally): ln(2x)=ln7(M1)\ln(2^x) = \ln 7 \quad \text{(M1)}

Step 2, apply the power law to bring the exponent down: xln2=ln7(M1)x \ln 2 = \ln 7 \quad \text{(M1)}

Step 3, solve for xx: x=ln7ln2=1.94590.6931=2.81 (3 s.f.)(A1)x = \frac{\ln 7}{\ln 2} = \frac{1.9459\ldots}{0.6931\ldots} = 2.81 \ (3 \text{ s.f.}) \quad \text{(A1)}

Where the marks are won and lost

  • The power law is the key: ln(2x)=xln2\ln(2^x) = x\ln 2, which frees xx from the exponent. Without it you can’t isolate xx.
  • x=ln7ln2x = \frac{\ln 7}{\ln 2} is a division of logs, not ln7ln2\ln 7 - \ln 2 (that would be ln72\ln\frac72, a different value). This is the classic error.
  • ln\ln and lg\lg give the same xx because the base cancels in the ratio, use whichever is convenient.

Common mistakes

  • Writing x=ln7ln2x = \ln 7 - \ln 2 (confusing the change-of-base ratio with the subtraction law).
  • Forgetting the power law and leaving xx trapped in the exponent.
  • Rounding the two logs too early before dividing.

Full method: Solving Log & Exponential Equations notes. Topic home: Logs & Exponentials pillar.

Common questions

How do I solve an equation like 2^x = 7 where the base isn't e?
Take logs of both sides (any base, but ln or lg is on the calculator), then use the power law to bring the exponent down: log(2^x) = x log 2. So x log 2 = log 7, giving x = log 7 ÷ log 2. This is effectively the change-of-base formula. Both ln and lg give the same answer because the base of the log cancels in the division, use whichever your calculator has.

Keep going

See the teaching work on your own child. Then decide.

Every student starts with a 1-hour trial class taught by the vetted tutor your child would actually have. Real teaching, a diagnostic on real exam questions, and a straight answer on the gap to target. One hour at your tutor's rate (RM80–90/hr), no package and no deposit, and you decide afterwards whether to book a weekly slot. Online anywhere in Malaysia.