IB Middle Years Programme · Mathematics (Extended) MYP Year 5

Logarithms

Cover illustration for Logarithms (Mathematics (Extended) MYP Year 5).
MYP · Mathematics (Extended) MYP Year 5

Logarithms

MYP Mathematics Extended, Year 5 — Number & Algebra: Logarithms

24 min readAdvancedCore Number & Algebra strand — recurs across investigation and problem-solving criteria; a near-guaranteed source of at least one multi-part question per assessment.

Every logarithm question is hiding the same command underneath: what power turns this base into that number? Once you can see as a disguised exponent, the whole chapter — pH, the Richter scale, compound interest, log graphs — collapses into one repeated move: convert between exponential and logarithmic form, then apply the laws. Exam questions almost never test the definition in isolation; they bury it inside a real formula and expect you to rearrange, simplify, and interpret the result correctly.

Overview — the shape of the chapter

Why logarithms exist

  • Logarithms are the inverse operation of exponentiation — a 'power finder': asks, 'base , to what power, gives ?'
  • Every exponential fact has an equivalent logarithmic sentence — these are two names for the same statement, not two separate rules to memorise.
  • The chapter builds in one direction: definition → laws → change of base → solving equations both ways → graphs → real models. Skipping the definition step is why students start guessing at laws instead of deriving them.

The shape of the chapter

Command terms this topic loves to use

Command termWhat it demandsAOMark-earning move
State / Write downGive the answer directly with no working shown or required.AO1 knowledgeFull marks for the correct value alone — but if you show wrong working and only the answer is right, still full marks; if the answer is wrong, working can't rescue it here.
Show thatProve a given result using explicit, gradable algebraic steps, ending at the stated value.AO2 applicationThe final answer is already known to you — every mark comes from the correctness and completeness of the working, not from the number at the end.
FindCarry out a calculation or solve an equation, with enough working to justify the method.AO2Method marks are awarded for correct setup even if arithmetic slips later; a bare correct answer with zero working can still lose marks on multi-step questions.
Justify / EvaluateState a conclusion (true/false, valid/invalid) AND give the specific reasoning or calculation supporting it.AO3 reasoningA correct conclusion with no supporting reasoning typically scores zero — the reasoning IS the mark, not a bonus for it.
HenceUse the result from the previous part directly, rather than starting a fresh method.AO2/AO3An independent alternative method that ignores the earlier part can be capped, even if mathematically correct, when the command is 'hence' rather than 'hence or otherwise'.

Key point

If you can't instantly rewrite as (and back again), stop and drill that conversion before touching laws or equations — almost every dropped mark in this topic traces back to that one skill being shaky.

Worked example

Command terms in action: state, find, justify

The number of squares in an L-shaped pattern is for figures . (a) Write down for . (b) Find a rule for in terms of . (c) A student claims Figure 50 has 100 squares. Justify whether this is correct.

Applications of Logarithms

Where logarithms actually show up

  • Logs are the natural language for quantities that span many powers of ten at once — acidity, earthquake energy, sound intensity. A linear scale from to is unusable; a log scale compresses it to through .
  • Two formulas dominate exam questions: pH and Richter magnitude . Both are 'log of a positive quantity' — learn the structure once and both fall into place.
  • The recurring exam trick: a DIFFERENCE in magnitude or pH corresponds to a RATIO (not a difference) in the underlying quantity, because subtracting logs is equivalent to dividing the originals.

Key applied formulas

pH of a solution from hydrogen ion concentration

— hydrogen ion concentration (mol/L)

Richter magnitude from amplitude ratio

— recorded amplitude of the earthquake
— fixed reference amplitude

amplitude ratio from a magnitude difference — the key derived result for comparison questions

Memorise

Worked example

Comparing acidity of two river samples

[4]
Sample A has mol/L. (a) State the pH of Sample A. (b) Sample B has pH 7. Show that its hydrogen ion concentration is mol/L. (c) Hence state how many times more acidic Sample A is than Sample B.

Worked example

Reading the Richter scale correctly

[4]
Earthquake P has amplitude . (a) Find its magnitude . Earthquake Q has magnitude 6.1 and Earthquake R has magnitude 4.2. (b) Find how many times greater Q's amplitude is than R's.

Common mistake

Treating a magnitude or pH difference as if it were the ratio itself (e.g. 'magnitude 6.1 vs 4.2 means 1.9 times the amplitude').

Consequence: Loses the final answer mark even when every earlier line of working is correct — the exponentiation step is what's actually being credited.

Fix: Whenever comparing two magnitudes or pH values, write the identity first, then exponentiate both sides before quoting a 'times as large' answer.

Significant figures in applied log questions

Applications questions want an exact evaluation where possible ( exactly) but a rounded decimal for the 'compare two quantities' step (e.g. , 3 s.f.). Check whether the number inside the log is a clean power of ten before reaching for the calculator.

Why earthquakes and acidity use logs at all

A magnitude-9 earthquake releases roughly a billion times more energy than a magnitude-3 tremor — writing that on an ordinary number line would need a scale running from 1 to 1,000,000,000. Richter and pH scales exist purely so scientists can compare quantities differing by many powers of ten using small, manageable numbers like 3, 7, or 9.1.

Key takeaways

  • pH and are both 'log of a positive quantity' — convert to exponential form to reverse them.
  • A difference in log values (pH or magnitude) always converts to a ratio of the original quantities via — never read a log-scale gap as the ratio directly.
  • 'Show that' parts require the rearrangement written out, not just the final number.

Change of Base Formula

Why you need it

  • Your GDC only has two log buttons: (base 10) and (base ). Every other base — , , — has to be rebuilt from one of these before you can get a decimal answer.
  • The change of base formula doesn't change the VALUE of the logarithm, only how it's computed — is one fixed number no matter which base you route the calculation through.
  • It also lets you compare or combine logs written in different bases within the same equation, which matters once logs start appearing inside more complex expressions later in the chapter.

The formula and its practical form

change of base — rewrite a base- log using any convenient base

— original base
— argument
— new base of your choice, $c>0,\ c\neq1$
Memorise

the two versions actually usable on a calculator

Worked example

Evaluating a log your calculator can't do directly

Evaluate , giving your answer to 3 significant figures.

Mnemonic

'New base on the bottom, argument stays on top.'

For , the number you were originally taking the log OF () always sits in the numerator; whatever new base you switch to goes underneath both times.

Sanity-check with estimation

Before trusting the calculator, estimate: must be a bit less than 2, since . If your change-of-base calculation gives something like 0.54 or 5.3, you've inverted the fraction or hit the wrong log button.

Key takeaways

  • — argument on top, base on bottom, in whatever new base you choose.
  • Base 10 () and base () give identical final answers; use whichever your calculator has ready.
  • Estimate the rough size of the answer first (bracket between two integer powers) to catch flipped fractions instantly.

Introduction to Logarithms

The core definition

  • A logarithm answers 'what power?' — is the exponent you put on base to get .
  • This is the same fact as an index equation, just written the other way round: . Neither form is 'more correct' than the other.
  • Three restrictions make the definition work: , (a base of 1 or a negative base breaks the one-to-one relationship), and (a positive base raised to any real power can never give zero or a negative result).
Logarithm
The exponent to which a base must be raised to produce a given number: means .Read as 'log, base , of '.
Base ()
The fixed number being repeatedly multiplied; must satisfy and .
Argument ()
The result of the exponentiation; must be strictly positive, since a positive base to any real power is always positive.
Common / natural logarithm
is written simply ; is written — the two bases with dedicated calculator buttons.

Worked example

Converting between exponential and logarithmic form

(a) Write in logarithmic form. (b) A student claims the general rule is for any . Evaluate whether this claim is fully correct.

Common mistake

Quoting without stating the restrictions .

Consequence: On 'state the general rule' or 'justify' questions, the restriction IS what earns the mark — the bare equivalence is usually taken as given, so stating it alone scores nothing extra.

Fix: Say the three conditions out loud every time you write the definition until it's automatic: base positive, base not 1, argument positive.

Key point

and are the SAME sentence in two alphabets. Stuck on any log question? First move: translate it into the other form and see what's actually being asked.

Key takeaways

  • — practise converting both directions until it's instant.
  • Restrictions matter for marks: .
  • means base 10; means base — different notation, same underlying definition.

Laws of Logarithms

  • Because logs are exponents, the three laws are just the index laws translated into log language — multiplying powers adds exponents, so multiplying arguments adds logs.
  • Learn the shape, not just the symbols: 'multiply inside → add outside', 'divide inside → subtract outside', 'power inside → multiply outside'.
  • Two special values get used constantly and are worth memorising outright: and , true for every valid base .

The three laws

Product law

Quotient law

Power law

Special values

Memorise

The three laws at a glance

LawRuleIn wordsCommon error
Productmultiply inside → add outsidewriting — a completely different, invalid operation
Quotientdivide inside → subtract outsidereversing the order to
Powerpower inside → coefficient outsideforgetting must multiply the WHOLE log, not just

Worked example

Simplifying a combination of logs

Write as a single logarithm and evaluate it.

Common mistake

Believing .

Consequence: This single error changes the actual value of the expression, not just its form — every later step built on it is also wrong, and follow-through marks can't rescue it.

Fix: There is no law for the log of a sum. If you see , it stays exactly as it is — you can only split logs across multiplication, division, and powers.

Frequently confused

Concept AConcept BThe distinction that matters
The first equals by the quotient law; the second has no simpler form — the two are never equal except by coincidence for specific numbers.
These ARE equal by the power law — the one direction where moving between coefficient and exponent is always valid, unlike the subtraction pair above.
(no subscript) with no written base means base 10 by convention; always means base — never assume they're interchangeable without a change-of-base step.

Key takeaways

  • Product → add, quotient → subtract, power → multiply out front — these act on the LOGS, never on the raw numbers inside.
  • has no shortcut; don't invent a 'sum law' that doesn't exist.
  • Combine two terms at a time to avoid accidentally merging three arguments incorrectly.

Exponential–Logarithmic Relationships

  • and (for ) are inverse functions — each one undoes the other: and .
  • Because they're inverses, their graphs are mirror images across the line : every point on the exponential curve has a matching point on the log curve.
  • Domain and range swap between the two: the exponential has domain all reals and range ; the logarithm has domain and range all reals — the exponential's horizontal asymptote () becomes the logarithm's vertical asymptote ().

Exponential and logarithmic functions as reflections

passes through ; its reflection passes through .

y = 2^xy = log_2 xy = xasymptote y = 0asymptote x = 0

Exponential vs logarithmic function: properties

Property () ()
Domainall real
Rangeall real
Asymptotehorizontal, vertical,
Fixed point
Behaviourincreases without bound, never reaches 0increases slowly, undefined at and left of

Key takeaways

  • and are inverse functions — reflect one in to get the other.
  • Swap domain and range between the pair; the asymptote direction swaps too (horizontal ↔ vertical).
  • on the exponential maps to on the log graph — a fast check that you've sketched the right curve.

Solving Logarithmic Equations

  • To solve an equation containing logs, first combine every log term into a single log using the laws, then convert that one equation into exponential form to remove the log entirely.
  • Combining logs can create solutions that don't satisfy the domain of the ORIGINAL equation (each log needs a positive argument) — these extraneous roots must be found and rejected, not quietly dropped.
  • Always substitute candidate solutions back into the original, uncombined equation to check validity, not the simplified single-log version.

Worked example

Solving with domain checking

Solve .

Common mistake

Solving the combined quadratic correctly but forgetting to check both roots against the domain of the ORIGINAL logarithmic equation.

Consequence: Loses the final mark(s) even with perfect algebra — mark schemes typically allocate a mark specifically to rejecting the invalid root as 'undefined'.

Fix: Write out the domain restriction from the un-combined equation (each argument ) BEFORE solving, then test both roots against it at the end.

State the restriction before you solve

Write 'need and , so ' as your first line, before combining the logs. Examiners give credit for this domain statement independently of the final answer, and it stops you presenting an invalid root by accident.

Key takeaways

  • Combine logs into one, convert to exponential form, solve algebraically, then check EVERY root against the original domain.
  • An extraneous root isn't a mistake in your algebra — it's a real solution of the combined equation that fails the original domain, and must be explicitly rejected.
  • Domain condition: each individual log's argument must be strictly positive.

Solving Exponential Equations using Logarithms

  • When the unknown is stuck in an exponent (), taking (or ) of both sides brings it down using the power law, turning an exponential equation into a linear one in .
  • General pattern: .
  • When there's a coefficient in front (like a compound-interest formula ), isolate the exponential term FIRST by dividing by the coefficient, THEN take logs — don't try to log the coefficient and the power separately in one messy step.

General method

solving an exponential equation with the unknown in the exponent

Memorise

solving compound interest / growth models for time

Worked example

Compound interest — solving for time

[4]
A bank account is modelled by . (a) Write down the value of . (b) Find how many years it takes for the balance to double.

Worked example

Verifying a log-linear model against data

The energy released by an earthquake of magnitude is modelled by . Show that the predicted energy for is J, and calculate the percentage error given the observed value is J.

Common mistake

Taking logs of both sides of before isolating the exponential term, then incorrectly splitting as — multiplying the two logs.

Consequence: This treats the product law as multiplication instead of addition — every subsequent line is wrong and no marks are recoverable from that point.

Fix: Product law always ADDS logs: . Better still, divide by first so there's no product to worry about.

Key takeaways

  • Isolate the exponential term (divide out any coefficient) BEFORE taking logs — avoids product-law slip-ups.
  • is the go-to formula whenever the unknown sits in the exponent.
  • 'Show that ' needs the final exponential-form line written, not just the log value 18.

Graphs of Logarithmic Functions

  • (for ) always passes through and , has a vertical asymptote at , and is defined only for — there's nothing to plot left of the -axis.
  • The curve rises slowly and without bound as increases, but drops steeply toward as — it never actually reaches the asymptote.
  • A horizontal shift moves the whole graph (and its asymptote) units right; the new asymptote is and the domain becomes .

Graph of y = log_2(x)

Passes through ; vertical asymptote at .

y = log_2(x)asymptote x = 0(1,0)(2,1)(4,2)(8,3)

Worked example

Reading and transforming a log graph

[5]
for . (a) Write down . (b) Find the exact value of such that . (c) passes through . Find , and hence justify whether is defined at .

Asymptote equation, not just a description

When asked for the asymptote of , state it as an equation — '' — not as a sentence like 'the graph doesn't touch the -axis'. Mark schemes look for the specific equation of the vertical line.

Key takeaways

  • : domain , vertical asymptote , always passes through and .
  • A shift moves the asymptote to and the domain to — check this before declaring a function 'undefined' anywhere.
  • Equal logs (same base) mean equal arguments — use this to solve [combined log] questions without a calculator.

Quick Reference

Logarithms — everything on one page

Formulas

  • core definition;
  • product law
  • quotient law
  • power law
  • special values
  • change of base for calculator use
  • solving with the unknown in the exponent
  • applied models — pH and Richter magnitude

Key facts

0
1
Domain of
Asymptote of
(vertical)
Asymptote of
(horizontal)
Fixed point on
and

Mnemonics

  • New base on the bottom, argument stays on top.In , (the argument) is always the numerator; the new base always sits underneath.

Don't confuse

  • vs : First equals ; the second has no simpler form — never equal in general.
  • vs : = base 10 by convention; = base — always convert before mixing them.
  • Solving a LOG equation vs Solving an EXPONENTIAL equation: Log equation: combine logs then exponentiate to remove them. Exponential equation: take logs of both sides to bring the exponent down — opposite procedures.

Command terms

Show that:
Write every algebraic step through to the final stated value, including the exponential/logarithmic conversion line.
Write down:
One-line answer, no working expected or rewarded.
Justify:
State the conclusion AND the specific calculation or reasoning behind it — a bare conclusion scores zero.
Hence:
Use the previous part's result directly; a fresh independent method may be capped.

Exam checklist

  • Stated the domain restriction () before solving a log equation?
  • Checked every root of a combined log equation against the ORIGINAL domain, not the simplified one?
  • Isolated the exponential term before taking logs in a -style equation?
  • Converted a magnitude/pH DIFFERENCE into a ratio using , not left it as the difference?
  • Written the asymptote of a log graph as an equation (), not a description?