IB Maths Paper 1 & 2 18 min read

Introduction to Logarithms

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.

๐Ÿ“˜

What you will learn today

  • What a logarithm actually is in plain English
  • How logs and powers are opposites of each other
  • How to read and pronounce log expressions
  • The two special logs you’ll meet a lot: ln and log (no base)
  • Why logs even exist โ€” and how they help solve “impossible” equations
  • 3 worked exam-style examples with full step-by-step solutions

Step 1: What is a logarithm, really?

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:

log2(8) = 3

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).

Step 2: Powers and logs are opposites โ€” see them side by side

This is the most important picture in the whole lesson. Look carefully:

The power form

ax = b

“Take base a, raise it to the power x, and you get b.”

Example: 2ยณ = 8

The logarithm form

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:

ax = b  โ‡”  x = loga(b)

The double arrow โ‡” means “if and only if” โ€” basically these two are the same fact written two ways.

๐Ÿ’ก

Examiner Tip

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.

Step 3: The three rules about a, b and x

For a logarithm to make sense, there are three rules you need to keep in mind:

  1. The base a must be positive: a > 0
  2. The base a can’t be 1: a โ‰  1   (because 1 to any power is just 1, so it’d be useless)
  3. The number b inside the log must be positive: b > 0   (you can’t take the log of a negative number or zero)

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.

Step 4: Reading and saying logs out loud

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.

Step 5: Two special logs you’ll see all the time

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.

1. The natural logarithm (ln)

This one uses a very special number called e โ€” pronounced “ee”. e is a mathematical constant, just like ฯ€ (pi). Its approximate value is:

e โ‰ˆ 2.71828…

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).

ln x = loge(x)

2. The common logarithm (log with no base)

If you see “log” with no base written, it secretly means base 10. So:

log x = log10(x)

For example:

๐Ÿ’ก

Your GDC has THREE log buttons

On your graphic calculator, you’ll find three different log-related buttons:

  • ln button โ€” for natural log (base e)
  • log button โ€” for common log (base 10)
  • logab button โ€” where YOU type in any base you want

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.

Step 6: Why do logarithms even exist?

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:

  1. Start with:   2x = 10
  2. Convert it to log form:   x = log2(10)
  3. Type into your GDC:   log2(10) = 3.321928โ€ฆ
  4. So:   x = 3.32 (3 s.f.)

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.

Step 7: Two handy facts you’ll use a lot

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:

loga(1) = 0    for any base a

Why? Because aโฐ = 1 for any base. So the question “what power of a gives 1?” is always answered by zero.

loga(a) = 1    for any base a

Why? Because aยน = a. So “what power of a gives a?” is always 1.

Quick checks:

โœŽ

Worked Example 1 โ€” Solve by inspection

Solve:   x = log3(27)

Answer:

Step 1: rewrite the log as a power equation. x = log3(27)   โ‡”   3x = 27 Step 2: spot the answer by inspection. What power of 3 gives 27? 3ยณ = 27 Step 3: so x = 3. x = 3 Tip: if you can’t see it instantly, just type log3(27) into your GDC.
โœŽ

Worked Example 2 โ€” Use a calculator

Solve:   2x = 21.4, giving your answer to 3 s.f.

Answer:

Step 1: this one cannot be solved by inspection โ€” 2โด = 16 and 2โต = 32, so the answer is between 4 and 5 but not a whole number. Step 2: convert to log form. 2x = 21.4   โ‡”   x = log2(21.4) Step 3: type log2(21.4) into your GDC. log2(21.4) = 4.4195โ€ฆ Step 4: round to 3 significant figures. x = 4.42 (3 s.f.)
โœŽ

Worked Example 3 โ€” A negative answer

Find the value of:   log4(116)

Answer:

Step 1: rewrite as a power equation. log4(116) = x   โ‡”   4x = 116 Step 2: think about what power of 4 gives 116. 4ยฒ = 16, so 4โปยฒ = 116 Step 3: so x = โˆ’2. x = โˆ’2 Reminder: a negative power means a fraction (reciprocal). See the Laws of Indices note!
โš 

Mistakes to avoid

  • Trying to take log of zero or a negative number. log2(0) and log2(โˆ’4) don’t exist. The number inside the log must always be positive.
  • Forgetting that “log” with no base means base 10. If you see “log 100”, that’s log10(100) = 2, NOT log of 100 in some other base.
  • Mixing up the base and the number. log2(8) means “what power of 2 gives 8?” (answer: 3). It does NOT mean “what power of 8 gives 2?” (that would be log8(2)).
  • Thinking ln x is something completely different from a log. ln x is just log base e โ€” same idea, different base.
  • Forgetting to convert between forms. If a question gives you 5x = 30, your first move should be to rewrite it as x = log5(30). Don’t try to solve it without flipping it first.
  • Confusing the base with the answer. In loga(b) = x, the base is a, the result is x, and b is the number you’re “looking up”. Read carefully.

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.

Need help with Logarithms?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session โ†’