IB Maths AI SLTopic 1 ā Number & AlgebraPaper 1 & 2In formula booklet~8 min read
Introduction to Logarithms
A logarithm is just a way of asking a power question backwards. Instead of “what’s 2 to the power 5?” (answer: 32), a log asks “what power of 2 gives me 32?” (answer: 5). That’s the whole idea. Once you can flip between an exponential statement (like 25 = 32) and a logarithmic one (log2(32) = 5), the rest is just using your GDC.
š What you need to know
The flip ā the most important fact: ax = b āŗ x = loga(b). These two statements say exactly the same thing, just rearranged.
Read a log as a question: loga(b) means “what power of a gives b?” The answer is the x in ax = b.
The base rules: in loga(b), the base a > 0 and a ā 1; the argument b must be > 0. You cannot take the log of zero or a negative number.
Common log: when no base is written, the base is 10. So log(x) means log10(x).
Natural log: ln(x) means loge(x), where e ā 2.718 (Euler’s number). Comes up everywhere in growth and decay.
Logs and powers undo each other: loga(ax) = x, and aloga(x) = x. Useful shortcut when one operation cancels the other.
The flip is in the formula booklet: you’ll find “ax = b āŗ x = loga(b)” listed there ā but you should know it instantly, not look it up.
Your GDC has three buttons: log (base 10), ln (base e), and loga(b) (any base ā you type in the base yourself).
The big idea ā a log is just a power question, rearranged
The flip ā formula bookletax = b āŗ x = loga(b)
The base, the power, and the answer all appear in BOTH forms ā just in different places. Always ask “what power of the base gives the argument?” when you read a log.
So if a question asks for log3(81), read it as “what power of 3 gives 81?” Try a few: 31 = 3, 32 = 9, 33 = 27, 34 = 81. So log3(81) = 4. No calculator needed when the answer is a whole number.
Two special logs you’ll see all the time
Common log ā base 10
log(x) = log10(x)
When no base is shown, it’s base 10. e.g. log(100) = 2 because 10² = 100. Linked to standard form ā log(a Ć 10n) gives roughly n for the exponent.
Natural log ā base e
ln(x) = loge(x)
e ā 2.718 is Euler’s number ā the “natural” growth rate. Used in continuous compound interest, population growth, radioactive decay. Press the ln button on your GDC.
GDC reminder: most calculators have three log-related keys ā log (base 10), ln (base e), and a separate loga(b) entry for typing in any base you like. If your calculator only has log and ln, you can still find any other log using the change-of-base formula (covered in the next note).
š§ Recipe ā solving any log or exponential problem
Identify which form you have: is it written as ax = b (exponential), or loga(b) = x (logarithmic)?
Decide what’s unknown: which letter are you trying to find ā the power, the answer, or the base?
If the power is unknown: flip to log form. ax = b becomes x = loga(b), then evaluate on your GDC.
If the answer is unknown: flip to exponential form. x = loga(b) becomes b = ax, then evaluate.
Try inspection first: before reaching for the GDC, check if the answer is a small whole number (e.g., log2(64) = 6 by spotting 26 = 64). Saves time and shows method clearly in working.
Worked examples
WE 1
Evaluate by inspection (whole-number answer)
Find the value of log2(32) without using a calculator.
Step 1 ā read it as a questionlog_2(32) asks: “what power of 2 gives 32?”Step 2 ā work through powers of 2 until you hit 322¹ = 22² = 42³ = 82ā“ = 162āµ = 32 ālog2(32) = 5whenever the argument is a power of the base, the answer is a whole number ā no calculator needed. Build your “powers of 2” reflex: 2, 4, 8, 16, 32, 64, 128, 256.
WE 2
Converting between forms
Write the equation 43 = 64 in logarithmic form.
Step 1 ā identify the base, power, and answer4³ = 64base = 4, power = 3, answer = 64Step 2 ā flip using a^x = b āŗ x = log_a(b)a = 4 (the base stays as the base)b = 64 (the answer goes inside the log)x = 3 (the power becomes the log value)log4(64) = 3in exam questions that ask you to “rewrite” between forms, just identify the three numbers and slot them in. The BASE always stays in the same role. The trickiest part is remembering that the answer goes INSIDE the log brackets.
WE 3
Common log ā no base shown
Find log(1000) without a calculator.
Step 1 ā when no base is shown, the base is 10log(1000) means log_10(1000)Step 2 ā read as a question“what power of 10 gives 1000?”10¹ = 10, 10² = 100, 10³ = 1000 ālog(1000) = 3handy shortcut: log of a power of 10 is just the exponent. log(10) = 1, log(100) = 2, log(1000) = 3, log(1 000 000) = 6. log(0.1) = ā1, log(0.01) = ā2.
WE 4
Logs and powers undo each other
Evaluate ln(e4).
Step 1 ā recognise the shortcutln means log_e (natural log, base e)log_a(a^x) = x ā the log undoes the powerStep 2 ā apply directlyln(eā“) = log_e(eā“) = 4ln(e4) = 4no GDC needed. Whenever you see a log whose argument is the base raised to some power, the answer is just that power. e.g. log(10ā·) = 7, log_5(5²āµ) = 25, ln(eā»Ā³) = ā3.
WE 5
Solve for the unknown power (GDC needed)
Solve 5x = 80, giving your answer to 3 significant figures.
Step 1 ā the power is unknown, so flip to log form5^x = 80 āŗ x = log_5(80)Step 2 ā try inspection first5² = 25 (too small)5³ = 125 (too big)so x is between 2 and 3 ā not a whole number, use GDCStep 3 ā type log_5(80) on your GDClog_5(80) = 2.72270…x ā 2.72 (3 s.f.)always sanity-check with inspection first: since the answer is between 5² and 5³, x must be between 2 and 3 ā and 2.72 fits. If your GDC gave you 0.27 or 5.4 you’d know to recheck.
WE 6
Real-world ā bacteria doubling time
A bacterial culture doubles every hour. Starting with 1 bacterium, find how many hours until the population reaches 1 000 000. Give your answer to 3 significant figures.
Step 1 ā set up the equationafter t hours, population = 2^twe want 2^t = 1 000 000Step 2 ā flip to log formt = log_2(1 000 000)Step 3 ā sanity-check with inspection2¹Ⱐ= 1024 ā 10³2²Ⱐā 10ā¶ ā so t will be near 20Step 4 ā evaluate on GDClog_2(1 000 000) = 19.9315…t ā 19.9 hoursthe famous “2¹Ⱐā 10³” rule of thumb means every 10 doublings ā Ć1000. So going from 1 to a million (Ć10ā¶) takes about 20 doublings ā matches our answer.
š” Top tips
Always read a log as a question: “loga(b) = what power of a gives b?” ā drilling this phrase out loud trains your brain to flip automatically.
Try inspection before GDC: if the argument is a power of the base (like log2(64), log3(81), log(10000)), the answer is a whole number you can find by trial. Faster than typing.
Sanity-check with bounds: if 5² = 25 and 5³ = 125, then log5(80) must be between 2 and 3. Useful for catching GDC input errors.
Remember the “undo” shortcuts: loga(ax) = x and aloga(x) = x. They cancel each other like + and ā or Ć and Ć·.
Watch the base notation: log (no base) = base 10; ln = base e; log2, log3, etc. ā base shown explicitly. Mixing these up is the #1 source of wrong answers.
ā Common mistakes
Forgetting “log” means base 10: writing log(7) and using base e on your GDC will give the wrong answer. log with no base = base 10. If you want natural log, write ln.
Putting the base and argument in the wrong places when flipping: 4³ = 64 becomes log4(64) = 3, NOT log64(4) = 3 or log4(3) = 64. The base stays the base; the answer goes inside the log.
Taking the log of zero or a negative number: log(0), log(ā5), ln(ā2) are all UNDEFINED. The argument must be positive. Some GDCs give an error; others give a complex number ā neither is valid in AI SL.
Using a base of 1 or a negative base: log1(anything) is undefined (since 1 to any power is just 1). The base must be positive AND not equal to 1.
Assuming logs distribute over + and ā: log(a + b) is NOT log(a) + log(b). The rules for combining logs (covered next) only work for products, quotients, and powers ā NEVER for sums.
Up next: Solving Exponential Equations. Once you can flip between forms, you can solve any equation where the unknown is in the power ā like working out how long an investment takes to double, or when a population reaches a target. Same idea, more interesting problems.
Need help with AI SL Number & Algebra?
Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.