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

Solving an Equation with Different Bases

Rig, founder of IGCSE Add Math Malaysia

Written by Rig, our founder

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

When an exponential equation has bases that won’t match (here 22 and 33), take logs of both sides. The power law log(ak)=kloga\log(a^k) = k\log a brings each exponent down, turning the equation linear in xx.

Solve 2x=3x12^x = 3^{x-1}, giving your answer correct to 3 significant figures. [5]

The working

Step 1, take natural logs of both sides: ln(2x)=ln(3x1)(M1)\ln(2^x) = \ln(3^{x-1}) \quad \text{(M1)}

Step 2, apply the power law to bring the exponents down: xln2=(x1)ln3(M1)x\ln 2 = (x - 1)\ln 3 \quad \text{(M1)}

Step 3, expand and collect the xx terms: xln2=xln3ln3    xln2xln3=ln3x\ln 2 = x\ln 3 - \ln 3 \implies x\ln 2 - x\ln 3 = -\ln 3 x(ln2ln3)=ln3(M1)x(\ln 2 - \ln 3) = -\ln 3 \quad \text{(M1)}

Step 4, solve for xx: x=ln3ln2ln3=ln3ln3ln2=1.09860.4055(A1)x = \frac{-\ln 3}{\ln 2 - \ln 3} = \frac{\ln 3}{\ln 3 - \ln 2} = \frac{1.0986}{0.4055} \quad \text{(A1)} x=2.71 (3 s.f.)(A1)x = 2.71 \ (3\text{ s.f.}) \quad \text{(A1)}

Where the marks are won and lost

  • Every term gets the log, and the exponent of each side comes down: the right side is (x1)ln3(x-1)\ln 3, so the bracket must be expanded.
  • Collect xx terms carefully: xln2xln3=x(ln2ln3)x\ln 2 - x\ln 3 = x(\ln 2 - \ln 3). A sign slip here is the usual cause of a wrong answer.
  • Any base of log works (ln\ln or lg\lg); just be consistent on both sides.

Common mistakes

  • Forgetting the "1-1" in the exponent, giving xln3x\ln 3 instead of (x1)ln3(x-1)\ln 3.
  • Sign errors when moving xln3x\ln 3 across.
  • Writing ln2ln3\frac{\ln 2}{\ln 3} or similar, mis-handling the rearrangement.

Topic home: Logarithmic & Exponential Functions pillar. More: Worked examples.

Common questions

How do you solve an exponential equation when the bases are different?
Take logarithms of both sides. When the bases can't be matched, applying ln (or lg) to both sides brings every exponent down as a multiplier using the power law, log(aᵏ) = k·log a. That turns the equation into a linear one in x, which you rearrange by collecting the x terms on one side and factorising. Any base of log works as long as you use it consistently. The care point is the algebra after taking logs: expanding the bracket and grouping the x terms correctly is where the method usually goes wrong, not the logs themselves.

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.