James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AI HL › Number & algebra › Laws of logarithms

Laws of logarithms & rational exponents

The three laws of logarithms turn multiplication into addition and powers into multiplication. With them you can combine and split logarithms, change the base, and solve exponential equations exactly. Rational exponents such as x2/3 follow the same index laws you already know.

AHL 1.9AHL 1.10HL onlyPaper 1Paper 2GDC allowed≈ 45 min to work through
Before you start: index laws and what a logarithm means (Exponents & logarithms).

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 logaxy=logax+logay, logaxy=logax−logay and logaxm=mlogaxAHL 1.9
  • Change the base of a logarithmAHL 1.9
  • Solve exponential equations using logarithms, including with e and lnAHL 1.9
  • Simplify expressions with rational exponents, such as xm/n=xmnAHL 1.10
  • Use logarithmic scales in context (pH, decibels, earthquakes)AHL 1.9

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 an exponent: logax is the power you raise a to in order to get x. Because exponents add when you multiply powers (am×an=am+n), logarithms of a product add too. That single fact gives all three laws.

2.1 The laws of logarithms

Laws of logarithms In formula booklet
logaxy=logax+logaylogaxy=logax−logaylogaxm=mlogax

These hold for any base a>0, a≠1, and for x,y>0. With base e, write ln instead of loge.

Useful facts: logaa=1, loga1=0, alogax=x and logaax=x. In particular elnx=x and lnex=x.

Worked example 1Paper 1
Write 2log5+log4−log2 as a single logarithm, and evaluate it.
2log5=log25
Power law first.
log25+log4−log2=log25×42=log50
Adding logs multiplies; subtracting divides.
log50=1.70 (base 10)
Worked example 2Paper 1
Given that loga=p and logb=q, write loga2b10 in terms of p and q.
=loga2+logb1/2−log10
=2p+12q−1
log10=1 in base 10.

2.2 Change of base

Change of base In formula booklet
logax=logbxlogba

Usually you choose b=10 or b=e, the bases on your calculator.

Worked example 3Paper 1
Evaluate log230.
log230=ln30ln2=4.91 (4.9069)
Check: 24.907=30.
Your TI-Nspire also has a log key that accepts any base: ctrl 10^x gives the template log◻(◻).

2.3 Solving exponential equations

To solve an equation with the unknown in the exponent, isolate the power, then take logarithms of both sides (or use ln when the base is e). On Paper 1 and Paper 2 you may also solve with the GDC, but show the equation you solved.

Worked example 4Paper 1
Solve 32x+1=50.
(2x+1)ln3=ln50
2x+1=ln50ln3=3.561
x=1.28
Worked example 5Paper 2
The number of bacteria in a culture is modelled by N=500e0.35t, where t is in hours. Find the exact time at which there are 4000 bacteria, and give it to 3 significant figures.
e0.35t=8
0.35t=ln8⇒t=ln80.35
Exact form.
t=5.94 hours

2.4 Rational exponents

Rational exponents Not in booklet: learn it
x1/n=xnxm/n=(xn)m=xmnx−m/n=1xm/n
Worked example 6Paper 1
Simplify (a) 272/3 (b) (8x6)2/3 (c) 4x1/2×3x3/26x.
(a) (273)2=32=9
Take the root first: the numbers stay small.
(b) 82/3x6×2/3=4x4
(c) 12x26x=2x
Worked example 7 (faded)Paper 1
Evaluate 16−3/4.
161/4=2, so 163/4=8.
16−3/4= 18  ← you work this out

2.5 Logarithmic scales

Quantities that range over many powers of ten are measured on log scales. An increase of 1 on a base-10 log scale means the underlying quantity is multiplied by 10.

Worked example 8Paper 2
The magnitude of an earthquake is M=log10(AA0), where A is the amplitude of the seismic wave. One earthquake has magnitude 6.9 and another has magnitude 5.1. How many times larger is the amplitude of the first?
M1−M2=log10A1A0−log10A2A0=log10A1A2
Subtracting logs divides: A0 cancels.
log10A1A2=1.8⇒A1A2=101.8=63.1
On your TI-Nspire Calculator tricks →

Your TI-Nspire evaluates logs in any base: press ctrl then 10^x for the log◻(◻) template, or use lnxlna. To solve an exponential equation, use menu → Algebra → Numerical Solve, for example nSolve(3^(2x+1)=50, x), or graph both sides and use Intersection. Rational exponents need brackets: type 27^(2/3), not 27^2/3.

3Explore it

Change the base a. The graph of y = logₐx is the reflection of y = aˣ in the line y = x. Move the point to see that if aˣ = y, then logₐy = x.

4Common mistakes & exam tips

Common mistakes

  • Writing log(x+y)=logx+logy. The law is for a product, not a sum.
  • Writing logxlogy=logx−logy. The law is for the log of a quotient.
  • Applying the power law to only part of a term: log2x3=3log2x is wrong; it is log2+3logx.
  • Typing 27^2/3 instead of 27^(2/3) on the calculator.
  • Taking logs before isolating the power: from 5×2x=40, first get 2x=8.

Exam tips

  • "Exact" means leave answers like ln80.35 unrounded.
  • When asked to "express as a single logarithm", apply the power law first, then combine.
  • On log-scale questions (pH, decibels, magnitude), subtract the log values and then raise 10 to that power.
  • Check a solution by substituting it back into the original equation with the GDC.

5Practice

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

FluencyP1
Write log3x+log3y−2log3z as a single logarithm.
log3xyz2
FluencyP2
Evaluate log5200.
ln200ln5=3.29
FluencyP3
Solve e2x=15, giving the exact answer.
x=12ln15 (1.35)
FluencyP4
Simplify (25x4)−1/2.
15x2
Problem solvingP5
The pH of a solution is −log10[H+]. Solution A has pH 3.2 and solution B has pH 5.7. How many times greater is [H+] in A than in B?
102.5=316 times
Problem solvingP6
Solve 2x+3=5x.
(x+3)ln2=xln5⇒x=3ln2ln5−ln2=2.27

6Exam-style questions

Original questions in the style of the IB Maths AI HL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.

Question 1Paper 1[6 marks]

Let lnx=2ln3+ln4−ln6.

  • (a)Find the value of x.[3]
  • (b)Solve the equation 5e0.4t=80, giving your answer in the form t=kln2, where k∈ℤ.[3]
(a)
ln9+ln4−ln6(M1)
ln366(M1)
x=6A1
(b)
e0.4t=16(A1)
0.4t=ln16=4ln2M1
t=10ln2A1
Question 2Paper 1[5 marks]

Simplify fully the following expressions, giving your answers with positive exponents.

  • (a)(16a8b−4)3/4[3]
  • (b)9x3/23x−1/2[2]
(a)
163/4=8(A1)
a6b−3(A1)
8a6b3A1
(b)
3x3/2−(−1/2)(M1)
3x2A1
Question 3Paper 2[8 marks]

The magnitude of an earthquake is given by M=log10(AA0), where A is the amplitude of its seismic wave and A0 is a fixed reference amplitude. The energy released, E, is related to the magnitude by log10E=1.5M+4.8.

  • (a)Earthquake P has magnitude 7.2 and earthquake Q has magnitude 5.4. Find how many times greater the amplitude of P is than the amplitude of Q.[3]
  • (b)Find how many times more energy is released by P than by Q.[3]
  • (c)An earthquake releases twice as much energy as P. Find its magnitude.[2]
(a)
log10APAQ=7.2−5.4=1.8(M1)(A1)
101.8=63.1A1
(b)
log10EPEQ=1.5(7.2−5.4)=2.7(M1)(A1)
102.7=501A1
(c)
1.5M+4.8=log102+1.5(7.2)+4.8(M1)
M=7.40A1

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 are scoring well above, try these real IB Maths AI HL questions on this topic. Your school or teacher will have the papers.

PaperQuestionFocusDifficulty
May 2025 · TZ1 · Paper 1Q10Combining logarithms into a single log★★☆
May 2025 · TZ3 · Paper 1Q2Decibel scale★☆☆
May 2024 · TZ2 · Paper 1Q3pH scale with logarithms★☆☆
Nov 2022 · Paper 1Q10Star magnitude on a log scale★★☆
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