IB Maths AA HLTopic 1 — Number & AlgebraPaper 1 & 2~7 min read
Introduction to Logarithms
A logarithm is just the inverse of a power. It answers the question: “what exponent do I need to put on the base to get this number?” The notation is new but the idea isn’t — you’ve used it ever since you noticed that 2 × 2 × 2 = 8. The “3” in that statement is the logarithm. Once you can flip between exponential form and log form fluently, almost everything else in this section follows.
📘 What you need to know
A logarithm reverses a power. ax = b ⇔ x = logab.
The base a must be positive and not equal to 1. The argument b must be positive (you can’t take the log of zero or a negative).
Read logab as “the power you raise a to in order to get b“.
“log” with no base shown means log10. “ln” means loge — the natural log, where e ≈ 2.718.
Easy logs come from inspection. Harder ones go through your GDC.
The flip identityax = b ⇔ x = logabis in the formula booklet — but learn it anyway, it’s the engine of everything log-related.
What does a logarithm actually mean?
Take a question like “what power of 2 gives 8?” The answer is 3, because 23 = 8. The logarithm is just a piece of notation that lets you write “the answer to that question” cleanly:
log2(8) = 3 means 23 = 8
That’s it. Same statement, two notations. The “log” version is the right shape when you want the power to be the subject — which is the case any time you’re solving an exponential equation.
Read more examples like a question: log3(81) = ? asks “what power of 3 gives 81?” → 4. log5(125) asks “what power of 5 gives 125?” → 3.
The flip — exponential ↔ log form
The single most useful skill in this topic is being able to bounce between the two forms instantly.
The flip identityax = b ⇔ x = logab✓ in formula booklet (where a > 0, a ≠ 1, b > 0)
Same statement, two notations
Spot the pattern: the base stays the base in both forms. The result on the right of the exponential becomes the argument inside the log. The power that was an exponent moves out and becomes the value the log equals.
Two special logarithms you’ll see everywhere
Most logs in IB exams use one of two specific bases. Both have shorthand notations.
🔟
Common log — base 10
log x means log10x
e.g. log(1000) = 3
🌱
Natural log — base e
ln x means logex
e ≈ 2.71828… (Euler’s number)
🧠 Notation that catches everyone out
If you see log with no subscript, it means base 10. If you see ln, it means base e. Anything else needs an explicit subscript: log2, log5, etc. Mixing these up is the #1 reason students lose marks early on this topic.
🤔 Why is e “natural”?
Because ex is the unique exponential that has slope equal to its own value at every point — which means ln slips into derivatives and integrals more cleanly than any other base. You’ll see this in calculus. For now: just know the notation.
Using your GDC for logs
Most calculators have three buttons:
ln → natural log (base e) | log → common log (base 10) | loga → lets you choose any base
If your calculator only has ln and log buttons (no general-base button), you can still compute any log using the change-of-base formula — but that’s covered in the next note. For now, the dedicated loga button is the cleanest route.
When is a logarithm undefined?
You can’t take the log of zero, and you can’t take the log of a negative number. Both rules come straight from the flip identity — there’s no real exponent that sends a positive base to zero or below.
logax is defined only when x > 0. Similarly, loga(x − 4) needs x > 4.
If you’re solving a log equation and you get a value of x that makes any log inside the equation undefined, throw it out. Always check your final answers against the original equation.
Worked examples
WE 1
Evaluate by inspection
Find the value of log2(32).
Ask the question: “what power of 2 gives 32?”21 = 2, 22 = 4, 23 = 8, 24 = 16, 25 = 32 ✓log2(32) = 5
WE 2
Natural log of an exponential
Find the exact value of ln(e7).
Read it as a question: “what power of e gives e7?”obvious answer: 7ln(e7) = 7ln and ex cancel each other — they’re inverse operations
WE 3
Solve by inspection
Solve 3x = 81 for x.
Step 1: Use the flip — write in log formx = log3(81)Step 2: Read it as a question — “what power of 3 gives 81?”34 = 81 ✓x = 4
WE 4
Solve using GDC
Solve 5x = 200 for x, giving your answer to 3 s.f.
Step 1: Flip into log formx = log5(200)Step 2: GDC — use the loga button, base 5, argument 200log5(200) = 3.29202…x = 3.29 (3 s.f.)no nice integer answer — that’s normal once GDC is needed
WE 5
Exponential equation with base e
Solve ex = 12 for x, giving your answer to 3 s.f.
Step 1: Flip — base is e, so the log is lnx = ln(12)Step 2: GDC — ln buttonln(12) = 2.4849…x = 2.48 (3 s.f.)an exact answer would just be ln(12) — leave it like that if “exact” is asked for
WE 6
Reverse — given the log, find the number
Given that log3(x) = 4, find the value of x.
Step 1: Flip back to exponential formlog3(x) = 4 ⇔ 34 = xStep 2: Evaluate34 = 81x = 81the flip works both ways — practice both directions until it’s automatic
💡 Top tips
Read every log as a question. “log4(64)” = “what power of 4 gives 64?” Out loud if you have to. It removes 90% of the confusion.
The flip is the engine. If something looks tricky, write it in the other form. Often the equation suddenly makes sense.
If a question asks for an exact answer, leave it as ln(12) or log5(200) — don’t reach for the GDC.
If it asks for 3 s.f., then GDC away and round properly at the end.
Memorise the special notation. log = base 10, ln = base e. No exceptions.
Always double-check that the argument inside the log is positive — that’s the only domain restriction.
Keep the formula booklet open during practice. The flip identity ax = b ⇔ x = logab sits there waiting for you in the exam.
⚠ Common mistakes
Confusing log and ln. “log” alone means base 10. “ln” means base e. They are not the same button.
Trying to take the log of zero or a negative number. log(0) and log(−5) are undefined. There’s no exponent that makes a positive base land there.
Reading the base as the argument. log2(8) is “log base 2 of 8”, not “log of 28” or “log 2 times 8”. The little subscript is the base.
Flipping incorrectly. 5x = 200 becomes x = log5(200) — the base on the right is 5, the argument is 200. Don’t swap them.
Forgetting that ln(e) = 1. The natural log of e is 1, not e. (Because e1 = e.)
Decimalising when “exact” is asked for. If the answer is ln(12), leave it as ln(12). 2.4849… is not exact.
Keeping invalid solutions. If solving an equation gives x = −2 but the original has log(x + 1), then x = −2 makes log(−1) — invalid. Reject it.
Once the flip becomes automatic — exponential to log, log to exponential, both directions, no thinking — the rest of this section (laws, equations, applications) just builds on top. Spend time here; it pays off everywhere later.
Need help with Logarithms?
Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.