Hi! Today we’re learning about logarithms (or just “logs” for short). At first they look weird and a bit scary โ but here’s the secret: a logarithm is just the opposite of a power. It’s the same idea as how subtraction is the opposite of addition, or division is the opposite of multiplication. Once you see this, the whole topic clicks.
Let’s start with a simple question. If I told you that 2 raised to some power gives you 8, what is that power?
2 raised to what = 8?
You can probably figure this out in your head: 2ยณ = 8, so the answer is 3. That’s exactly what a logarithm does โ it asks the question:
“What power do I need to raise the base to, in order to get this number?”
And we write that question like this:
Read it as: “log base 2 of 8 equals 3.” It’s saying “the power of 2 that gives you 8 is 3.”
The big idea in one line: a logarithm is just asking what the power was. If powers go forwards (start with a base, raise it to a power, get an answer), then logs go backwards (start with the answer, work out what the power was).
This is the most important picture in the whole lesson. Look carefully:
ax = b
“Take base a, raise it to the power x, and you get b.”
Example: 2ยณ = 8
x = loga(b)
“The power that gives you b from base a is x.”
Example: 3 = log2(8)
These two equations say exactly the same thing โ they’re just rearranged. So whenever you see one, you can flip it into the other:
The double arrow โ means “if and only if” โ basically these two are the same fact written two ways.
This relationship ax = b โ x = logab is given to you in the IB formula booklet. So you don’t need to memorise it โ but you absolutely need to know how to use it. Practise flipping between the two forms until it’s automatic.
For a logarithm to make sense, there are three rules you need to keep in mind:
Why can’t we take log of zero or a negative number? Because no power of a positive number can ever give you zero or a negative result. Try it: 2ยน = 2, 2โฐ = 1, 2โปยน = 0.5, 2โปยนโฐโฐ = a very tiny positive number โ but never 0, and never negative. So the log of those values doesn’t exist.
Let’s get comfortable with the words. When you see loga(b):
Some practice:
Quick mental shortcut: when you see a log, mentally flip it into a power equation. log5(125) becomes “5 to the what equals 125?” โ and the answer often jumps out at you.
In IB Maths (and basically all of science), two specific bases pop up so often that they get their own shorthand notation. Let me introduce you to both.
This one uses a very special number called e โ pronounced “ee”. e is a mathematical constant, just like ฯ (pi). Its approximate value is:
This number is so important that scientists call it Euler’s number (after the Swiss mathematician Leonhard Euler). It shows up naturally in things like compound interest, population growth, and radioactive decay.
When the base of a log is e, instead of writing loge(x), we just write ln x. The “ln” stands for “natural log” (it comes from the Latin logarithmus naturalis).
If you see “log” with no base written, it secretly means base 10. So:
For example:
On your graphic calculator, you’ll find three different log-related buttons:
Most exam questions will let you use any of these. Make sure you know where each one is on your calculator before you walk into the exam.
Good question! Logs were invented to solve exponential equations โ equations where the unknown is in the power.
Some exponential equations are easy. You can solve them just by looking at them โ we call this solving by inspection:
But what if the answer doesn’t pop out of your head? Like this one:
2x = 10
Hmm. 2ยฒ = 4 (too small). 2ยณ = 8 (too small). 2โด = 16 (too big). So x is somewhere between 3 and 4 โ but exactly where?
This is where logarithms save the day. We use the swap trick from Step 2:
Boom โ done. The whole reason logarithms exist is to get the unknown out of the power and into a place we can work with it.
One-line summary: when the unknown is stuck up in the power, logarithms pull it down so you can solve for it. They’re like a tool that “unwraps” exponential equations.
Before we do worked examples, here are two quick results that come straight from what we’ve learned. They’ll save you time in exams:
Why? Because aโฐ = 1 for any base. So the question “what power of a gives 1?” is always answered by zero.
Why? Because aยน = a. So “what power of a gives a?” is always 1.
Quick checks:
Solve: x = log3(27)
Answer:
Solve: 2x = 21.4, giving your answer to 3 s.f.
Answer:
Find the value of: log4(116)
Answer:
Final word from your teacher: logarithms scare a lot of students, but they’re really just a question in disguise โ “what power was used here?” That’s it. Once you can flip between ax = b and x = logab in your sleep, the rest of this topic (laws of logs, solving exponential equations) becomes a lot easier. Practise 10 simple log questions today and watch how quickly it starts feeling natural.
Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.