Skip to the formula

Laws of logarithms: log xy = log x + log y

The laws of logarithms are log xy = log x + log y; log(x/y) = log x − log y; log xᵐ = m log x.

What each letter means

When to use it

IB AA solves exponential equations with logs and changes base with logₐ x = ln x ÷ ln a; AI HL uses logs to straighten data, plotting log y against log x.

Worked example

Write \(2\log_3 6-\log_3 4\) as a single logarithm and find its value.

  1. \(2\log_3 6=\log_3 36\)
  2. \(\log_3 36-\log_3 4=\log_3\dfrac{36}{4}=\log_3 9\)

Answer: \(\log_3 9=2\)

Common mistake

Giving a decimal on AA Paper 1. Without a calculator, leave answers exact, such as ln 5 ÷ ln 2.

Fix it with practice: Skill Builder: Exponentials and Logarithms (free account).

Try one yourself

One quick IB Maths question on the laws of logarithms. No sign-in needed.

Evaluate \(\log_{2} 8 + \log_{2} 4\).
Choose your answer · keys 1–4

On your IB Maths course

CourseIn the exam
AA SL
All IB AA SL formulas by topic
In the IB formula booklet
AA HL
All IB AA HL formulas by topic
In the IB formula booklet
AI HL
All IB AI HL formulas by topic
In the IB formula booklet
AI SL
All IB AI SL formulas by topic
Not in the booklet: learn it

From our own IB Maths formula sheets, in our words. The IB gives its booklet to schools, so we checked against our own copy: your teacher has the official one. Official: IB DP Mathematics page.

Practise and revise

Laws of logarithms formula card: log xy = log x + log y; log(x/y) = log x − log y; log xᵐ = m log x. IB Math Revision
Laws of logarithms card for IB Maths: download (PNG).

IB Maths FAQ

Is the laws of logarithms in the IB formula booklet?

AA SL: in the IB formula booklet. AA HL: in the IB formula booklet. AI HL: in the IB formula booklet. AI SL: not in the booklet: learn it.

What is the change of base formula?

logₐ x = log_b x ÷ log_b a. It is in the IB booklet, and it lets you work out a log in any base with ln.

Our own wording, examples and card, checked by IB Math Revision. Not produced or endorsed by the International Baccalaureate Organization.