Exponents & logarithms
What a logarithm is, the laws you use to combine and split logarithms, and how to solve exponential and logarithmic equations, with and without a calculator.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Use the laws of exponents, including rational exponentsSL 1.7
- Understand that means SL 1.5
- Know that and SL 1.5
- Use the laws of logarithms, including change of baseSL 1.7
- Solve exponential equations by matching bases or by taking logarithmsSL 1.7
- Solve logarithmic equations and reject invalid solutionsSL 1.7
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
A logarithm is the reverse of a power. If , then : the logarithm tells you what power you need. Logarithms let you solve equations where the unknown is in the exponent, such as .
2.1 Exponents and matching bases
The laws of indices from Before you start SL hold for all rational exponents. If both sides of an equation can be written as powers of the same base, set the exponents equal.
This works because a power function with a fixed base never gives the same output twice: if , then must equal . So once the bases match, you can ignore them and compare the powers.
2.2 What a logarithm is
A logarithm answers the question "what power?"
You already know the operation that undoes squaring (square root) and the one that undoes adding (subtracting). The logarithm undoes "raise the base to a power". For example, , so : "10 to the power what gives 1000?"
The base , , and you can only take the logarithm of a positive number.
- means , and means , where .
- Useful facts: , , and .
2.3 Laws of logarithms
Logarithms are powers, so the laws of logarithms come straight from the laws of indices. Multiplying numbers means adding their powers, so the log of a product is the sum of the logs. Dividing means subtracting powers, and raising to a power means multiplying the power.
Let and , so and . Then , so . The other laws can be shown in the same way.
There is no law for . A very common mistake is to write , which is false.
2.4 Solving exponential equations with logarithms
When the bases cannot be matched, take logarithms of both sides and use to bring the power down.
Any base will do, but is the usual choice because it is on every calculator and appears throughout calculus.
ln is ctrl ex, and log (base 10) is ctrl 10x. For other bases, use change of base: is ln(20)/ln(3).
Solving an equation: menu → 3: Algebra → 1: Numerical Solve, e.g. nSolve(5^x=3^(x+1),x) gives 2.15. Or graph both sides and use menu → 6: Analyze Graph → Intersection.
2.5 Logarithmic equations
Combine the logarithms into one, convert to exponential form, solve, then check every solution: the logarithm of a negative number or of zero is undefined.
Why do solutions need checking? When you combine logarithms and then remove them, you can create extra solutions that do not work in the original equation. In the original, every expression inside a logarithm must be positive.
3Explore it
Change the base . The graphs of and are reflections of each other in the line . Try a base between 0 and 1.
★HL extension
Extra depth for HL: harder worked examples and HL-standard exam questions.
HL equations with exponents and logarithms often need a substitution or a change of base before the standard methods work, and some have solutions that must be rejected.
Logarithms with different bases
When an equation mixes bases, change everything to one base using . A useful special case is , and another is .
Hidden quadratics and rejected solutions
Equations such as are quadratics in disguise: . Substitute , solve the quadratic, then remember that for every real . Any negative value of gives no solution.
The function (with ) only takes positive values: its graph lies entirely above the -axis. So an equation has exactly one solution when and none when . This single fact explains every rejected root in these questions.
HL exam-style questions
Solve the equation .
| M1 A1 | |
| A1 | |
| A1 | |
| A1 | |
| valid as | R1 |
- (a)Solve .[4]
- (b)Show that for , .[3]
| (a) | |
| let : | M1 |
| A1 | |
| A1 | |
| A1 | |
| (b) | |
| and | M1 A1 |
| product | AG A1 |
4Common mistakes & exam tips
Common mistakes
- .
- : the left side is change of base, not a law of subtraction.
- .
- Not rejecting solutions that make a logarithm undefined.
- Trying to solve or : they have no solution.
Exam tips
- Paper 1 often wants exact answers such as . Do not convert to decimals unless asked.
- If you see and in the same equation, substitute to get a quadratic.
- When you reject a solution, say why (e.g. " is undefined"). This is often the R1 mark.
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.
- (a)Write down the value of .[1]
- (b)Hence, or otherwise, solve .[5]
| (a) | |
| A1 | |
| (b) | |
| M1 | |
| A1 | |
| (or formula) | M1 |
| A1 | |
| rejected because is undefined | R1 |
Solve .
| ; let | M1 |
| A1 | |
| or | A1 |
| , | A1 A1 |
The number of bacteria in a sample is modelled by , where is the time in hours.
- (a)Write down the initial number of bacteria.[1]
- (b)Find the number of bacteria after 5 hours.[2]
- (c)Find the time taken for the number of bacteria to reach 10 000.[3]
| (a) | |
| A1 | |
| (b) | |
| M1 | |
| A1 | |
| (c) | |
| M1 | |
| (or GDC) | M1 |
| hours | A1 |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| May 2025 · TZ3 · Paper 1 | Q1 | Express logarithms in terms of given log values | ★☆☆ |
| Nov 2025 · TZ3 · Paper 1 | Q4 | Solve an equation mixing logarithms of different bases | ★☆☆ |
| May 2025 · TZ1 · Paper 1 | Q8 | Prove by induction that n exceeds log base 2 of n | ★★☆ |
| May 2022 · TZ1 · Paper 1 | Q10 | Log series as geometric then arithmetic, finding terms and sums | ★★★ |
