Logarithms: 7 exam questions solved step by step
What this lesson covers
- A logarithm is the index: log base a of x is the power a is raised to to give x.
- The log laws are the index laws written in log form.
A log is an index
- logₐ x = y means aʸ = x.
- The log laws are the index laws, in log form.
- Unknown in an index: take logs of both sides.
- Logs in the equation: combine them, then index form.
Question 1 · Achieved
- (a) Write 6² = 36 in log form.
- (b) Solve log₃ x = 4
Q1: index form and log form
- Base stays the base.
- The log is the index.
- 6² = 36base 6, index 2
- log₆ 36 = 2the log is the index
- log₃ x = 4
- x = 3⁴index form
- = 3 × 3 × 3 × 3
- = 81
- 3⁴ = 81, so log₃ 81 = 4
Question 2 · Achieved
- Solve 4ˣ = 30
- Give x to 3 decimal places.
Q2: 4ˣ = 30
- x is an index: use logs.
- Round only at the end.
- 4ˣ = 30
- log 4ˣ = log 30log both sides
- x log 4 = log 30power law
- x = log 30 ÷ log 4÷ log 4
- = 2.453445...
- x = 2.453 (3 dp)
- 4^2.453 = 29.98 ≈ 30
- log(30 ÷ 4) = 0.875not log 30 ÷ log 4
Try it: solve 4ˣ = 30
Question 3 · Merit
- Write as a single log and evaluate:
- 3 log 2 + log 5 − log 4
Q3: 3 log 2 + log 5 − log 4
- Powers first.
- Then add, then subtract.
- 3 log 2 = log 2³power law
- = log 8
- log 8 + log 5 − log 4
- = log(8 × 5) − log 4product law
- = log 40 − log 4
- = log(40 ÷ 4)quotient law
- = log 10
- = 110¹ = 10
- 3 log 2 = log 6the 3 is a power
Try it: log laws are index laws
Question 4 · Merit
- Solve 5 × 2^(x + 1) = 120
- Give x to 3 decimal places.
- Careful: 5 × 2 is not the base.
Q4: 5 × 2^(x + 1) = 120
- Only the 2 is powered.
- Divide by 5 first.
- 5 × 2^(x + 1) = 120
- 10^(x + 1) = 120only 2 is powered
- 2^(x + 1) = 24÷ 5 both sides
- (x + 1) log 2 = log 24log, power law
- x + 1 = log 24 ÷ log 2÷ log 2
- = 4.584962...
- x = 3.584962...− 1
- x = 3.585 (3 dp)
- 5 × 2^4.585 = 120.00
Question 5 · Merit, in context
- Earthquake magnitude: M = log(A ÷ A₀)
- A: seismograph reading, A₀ fixed.
- A magnitude 6.3 quake reads 2 mm.
- Find the reading for a magnitude 7.8.
Q5: magnitude 7.8 versus 6.3
- Subtract: A₀ cancels.
- Answer with units.
- 7.8 = log(A ÷ A₀)magnitude 7.8
- 6.3 = log(2 ÷ A₀)magnitude 6.3
- log(A ÷ A₀) − log(2 ÷ A₀) = 1.5
- log(A ÷ 2) = 1.5quotient law, A₀ cancels
- A ÷ 2 = 10^1.5index form, base 10
- A = 2 × 10^1.5× 2
- = 63.245... mm
- A = 63.2 mm (1 dp)
- 10^1.5 ≈ 31.6: about 32 times
Question 6 · Excellence
- Solve 3^(x + 1) = 5ˣ
- Give x to 3 decimal places.
Q6: 3^(x + 1) = 5ˣ
- x on both sides.
- Collect the x terms.
- (x + 1) log 3 = x log 5log, power law
- x log 3 + log 3 = x log 5expand
- log 3 = x log 5 − x log 3− x log 3
- log 3 = x(log 5 − log 3)factorise x
- x = log 3 ÷ (log 5 − log 3)÷ the bracket
- = log 3 ÷ log(5 ÷ 3)quotient law
- x = 2.150660... = 2.151 (3 dp)
- both sides = 31.86
Question 7 · Excellence
- Solve log₂(x + 2) + log₂(x − 4) = 4
Q7: combine, then index form
- One log first.
- Then lose the log.
- log₂(x + 2) + log₂(x − 4) = 4
- log₂((x + 2)(x − 4)) = 4product law
- (x + 2)(x − 4) = 2⁴index form
- x² − 4x + 2x − 8 = 16expand, 2⁴ = 16
- x² − 2x − 8 = 16collect
- x² − 2x − 24 = 0− 16 both sides
Q7: solve, reject, check
- No log of a negative.
- Check in the original.
- x² − 2x − 24 = 0
- (x − 6)(x + 4) = 0−6 × 4, −6 + 4
- x = 6 or x = −4
- x = −4log₂(−8) is undefined
- x = 6: log₂ 8 + log₂ 2
- = 3 + 1 = 4
- x = 6
Try it: four log games
Common mistakes
- 4ˣ = 30, so x = log(30 ÷ 4) = 0.875Take logs of both sides: x log 4 = log 30, so x = log 30 ÷ log 4 = 2.453.
- 3 log 2 = log 6The 3 is a power: 3 log 2 = log 2³ = log 8, so 3 log 2 + log 5 − log 4 = log 10 = 1.
- 5 × 2^(x + 1) = 120, so 10^(x + 1) = 120Only the 2 is raised to the power; divide by 5 first: 2^(x + 1) = 24, so x = 3.585.
- (x − 6)(x + 4) = 0, so x = 6 or x = −4Reject x = −4: log₂(−2) and log₂(−8) are undefined, so x = 6 is the only solution.
The laws that solved all seven
- A log is an index: switch forms, use the laws, check.
| Step | How |
|---|---|
| Log form | logₐ x = y means aʸ = x |
| Power | log aⁿ = n log a, do it first |
| Product | log a + log b = log(ab) |
| Quotient | log a − log b = log(a ÷ b) |
| aˣ = b | log both sides, then divide |
| Logs in it | combine, then index form |
| Check | no log of a negative |
Challenge
Solve 2 log x − log(x − 2) = log 9. A student finds two answers and rejects one of them. Decide whether that is right.
Hint
Use the power law on 2 log x, then the quotient law, so each side is a single log. Then check each answer: every log must be of a positive number.
Answer
x = 3 or x = 6, and both are valid, so the student was wrong to reject one
Step by step
- Write 2 log x as log x², then combine: log(x² ÷ (x − 2)) = log 9.
- If the logs are equal, the numbers inside are equal: x² ÷ (x − 2) = 9.
- Multiply by (x − 2) and rearrange: x² − 9x + 18 = 0, which factorises to (x − 3)(x − 6) = 0.
- The logs need x > 0 and x − 2 > 0, so x > 2. Both 3 and 6 are bigger than 2.
- Both answers check in the original equation, so neither should be rejected.
Full working
- log x² − log(x − 2) = log 9power law
- log(x² ÷ (x − 2)) = log 9quotient law
- x² = 9(x − 2) = 9x − 18equal logs, × (x − 2)
- x² − 9x + 18 = 0rearrange to zero
- (x − 3)(x − 6) = 0, so x = 3 or x = 6−3 × −6 = 18, −3 + −6 = −9
- x = 3: log 9 − log 1 = log 9 ✓; x = 6: log 36 − log 4 = log 9 ✓both inside values positive
- x = 3 or x = 6, both valid
Let log₂ 3 = p and log₂ 5 = q. Write (a) log₂ 22.5 and (b) log₂(√15 ÷ 8) in terms of p and q, with no logs left in your answers.
Hint
Break each number into powers of 2, 3 and 5. 22.5 = 45 ÷ 2 = 3² × 5 ÷ 2. √15 is 15 to the power 12. Remember log₂ 2 = 1 and log₂ 8 = 3.
Answer
(a) log₂ 22.5 = 2p + q − 1 (b) log₂(√15 ÷ 8) = p + q2 − 3
Step by step
- Write 22.5 as 3² × 5 ÷ 2.
- The log laws turn this into 2 log₂ 3 + log₂ 5 − log₂ 2 = 2p + q − 1.
- Write √15 ÷ 8 as (3 × 5)^(12) ÷ 2³.
- The power law gives (12)(log₂ 3 + log₂ 5) − 3 log₂ 2 = p + q2 − 3.
- Check with a calculator: p ≈ 1.585 and q ≈ 2.322 give 4.492 and −1.047, which match log₂ 22.5 and log₂(√15 ÷ 8).
Full working
- 22.5 = 45 ÷ 2 = 3² × 5 ÷ 2prime factors
- log₂ 22.5 = 2 log₂ 3 + log₂ 5 − log₂ 2product, quotient, power laws
- = 2p + q − 1log₂ 2 = 1
- √15 ÷ 8 = (3 × 5)^(12) ÷ 2³root as an index
- log₂(√15 ÷ 8) = (12)(log₂ 3 + log₂ 5) − 3 log₂ 2power law
- = p + q2 − 3log₂ 2 = 1
- (a) 2p + q − 1 (b) p + q2 − 3
Solve 5^(2x) − 7 × 5ˣ + 12 = 0. Give both answers to 3 decimal places.
Hint
5^(2x) = (5ˣ)². Let y = 5ˣ: the equation becomes a quadratic in y. Solve it, then use logs to undo each y = 5ˣ.
Answer
x = 0.683 or x = 0.861
Step by step
- 5^(2x) is the same as (5ˣ)², so let y = 5ˣ.
- The equation becomes y² − 7y + 12 = 0, which factorises to (y − 3)(y − 4) = 0.
- So 5ˣ = 3 or 5ˣ = 4.
- Take logs of both sides of each: x = log 3 ÷ log 5 or x = log 4 ÷ log 5.
- Both values of 5ˣ are positive, so both give real answers: x = 0.683 or x = 0.861.
Full working
- 5^(2x) = (5ˣ)²power of a power
- y² − 7y + 12 = 0let y = 5ˣ
- (y − 3)(y − 4) = 0, so y = 3 or y = 4−3 × −4 = 12
- 5ˣ = 3: x = log 3 ÷ log 5 = 0.682606...log, power law
- 5ˣ = 4: x = log 4 ÷ log 5 = 0.861353...log, power law
- x = 0.683: 5 to the power 1.366 − 7 × 5 to the power 0.683 + 12 ≈ 9 − 21 + 12 = 0check
- x = 0.683 or x = 0.861 (3 dp)
Practise this
Report a mistake
More in AS 91261
Index laws, fractional indices and surds7 min
Expanding, factorising and simplifying algebraic fractions9 min
Quadratic equations: solving, and forming from the roots8 min
The discriminant: how many roots, and what kind9 min
Logarithms: what they mean and the log laws7 min
Exponential growth and decay: interest, depreciation, half-life9 min
Simultaneous equations: two lines, or a line and a curve8 min
Algebraic modelling: completing a model from the context9 min
Indices and surds: 7 exam questions solved step by step11 min
Algebraic fractions: 7 exam questions solved step by step11 min
Quadratic equations: 7 exam questions solved step by step11 min
The discriminant: 7 exam questions solved step by step11 min
Logarithms: 7 exam questions solved step by step10 min
Exponential models: 7 exam questions solved step by step10 min
Simultaneous equations: 7 exam questions solved step by step11 min
Algebraic modelling: 6 exam questions solved step by step11 min