mastree

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.
Key idea

A log is an index

  1. logₐ x = y means aʸ = x.
  2. The log laws are the index laws, in log form.
  3. Unknown in an index: take logs of both sides.
  4. Logs in the equation: combine them, then index form.
Your turn

Question 1 · Achieved

  • (a) Write 6² = 36 in log form.
  • (b) Solve log₃ x = 4
Worked example

Q1: index form and log form

  • Base stays the base.
  • The log is the index.
  1. 6² = 36base 6, index 2
  2. log₆ 36 = 2the log is the index
  3. log₃ x = 4
  4. x = 3⁴index form
  5. = 3 × 3 × 3 × 3
  6. = 81
  7. 3⁴ = 81, so log₃ 81 = 4
Your turn

Question 2 · Achieved

  • Solve 4ˣ = 30
  • Give x to 3 decimal places.
Worked example

Q2: 4ˣ = 30

  • x is an index: use logs.
  • Round only at the end.
  1. 4ˣ = 30
  2. log 4ˣ = log 30log both sides
  3. x log 4 = log 30power law
  4. x = log 30 ÷ log 4÷ log 4
  5. = 2.453445...
  6. x = 2.453 (3 dp)
  7. 4^2.453 = 29.98 ≈ 30
  8. log(30 ÷ 4) = 0.875not log 30 ÷ log 4
Key idea

Try it: solve 4ˣ = 30

Your turn

Question 3 · Merit

  • Write as a single log and evaluate:
  • 3 log 2 + log 5 − log 4
Worked example

Q3: 3 log 2 + log 5 − log 4

  • Powers first.
  • Then add, then subtract.
  1. 3 log 2 = log 2³power law
  2. = log 8
  3. log 8 + log 5 − log 4
  4. = log(8 × 5) − log 4product law
  5. = log 40 − log 4
  6. = log(40 ÷ 4)quotient law
  7. = log 10
  8. = 110¹ = 10
  9. 3 log 2 = log 6the 3 is a power
Key idea

Try it: log laws are index laws

Your turn

Question 4 · Merit

  • Solve 5 × 2^(x + 1) = 120
  • Give x to 3 decimal places.
  • Careful: 5 × 2 is not the base.
Worked example

Q4: 5 × 2^(x + 1) = 120

  • Only the 2 is powered.
  • Divide by 5 first.
  1. 5 × 2^(x + 1) = 120
  2. 10^(x + 1) = 120only 2 is powered
  3. 2^(x + 1) = 24÷ 5 both sides
  4. (x + 1) log 2 = log 24log, power law
  5. x + 1 = log 24 ÷ log 2÷ log 2
  6. = 4.584962...
  7. x = 3.584962...− 1
  8. x = 3.585 (3 dp)
  9. 5 × 2^4.585 = 120.00
Your turn

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.
Worked example

Q5: magnitude 7.8 versus 6.3

  • Subtract: A₀ cancels.
  • Answer with units.
  1. 7.8 = log(A ÷ A₀)magnitude 7.8
  2. 6.3 = log(2 ÷ A₀)magnitude 6.3
  3. log(A ÷ A₀) − log(2 ÷ A₀) = 1.5
  4. log(A ÷ 2) = 1.5quotient law, A₀ cancels
  5. A ÷ 2 = 10^1.5index form, base 10
  6. A = 2 × 10^1.5× 2
  7. = 63.245... mm
  8. A = 63.2 mm (1 dp)
  9. 10^1.5 ≈ 31.6: about 32 times
Your turn

Question 6 · Excellence

  • Solve 3^(x + 1) = 5ˣ
  • Give x to 3 decimal places.
Worked example

Q6: 3^(x + 1) = 5ˣ

  • x on both sides.
  • Collect the x terms.
  1. (x + 1) log 3 = x log 5log, power law
  2. x log 3 + log 3 = x log 5expand
  3. log 3 = x log 5 − x log 3− x log 3
  4. log 3 = x(log 5 − log 3)factorise x
  5. x = log 3 ÷ (log 5 − log 3)÷ the bracket
  6. = log 3 ÷ log(5 ÷ 3)quotient law
  7. x = 2.150660... = 2.151 (3 dp)
  8. both sides = 31.86
Your turn

Question 7 · Excellence

  • Solve log₂(x + 2) + log₂(x − 4) = 4
Worked example

Q7: combine, then index form

  • One log first.
  • Then lose the log.
  1. log₂(x + 2) + log₂(x − 4) = 4
  2. log₂((x + 2)(x − 4)) = 4product law
  3. (x + 2)(x − 4) = 2⁴index form
  4. x² − 4x + 2x − 8 = 16expand, 2⁴ = 16
  5. x² − 2x − 8 = 16collect
  6. x² − 2x − 24 = 0− 16 both sides
Worked example

Q7: solve, reject, check

  • No log of a negative.
  • Check in the original.
  1. x² − 2x − 24 = 0
  2. (x − 6)(x + 4) = 0−6 × 4, −6 + 4
  3. x = 6 or x = −4
  4. x = −4log₂(−8) is undefined
  5. x = 6: log₂ 8 + log₂ 2
  6. = 3 + 1 = 4
  7. x = 6
Key idea

Try it: four log games

Common mistakes

  • 4ˣ = 30, so x = log(30 ÷ 4) = 0.875
    Take logs of both sides: x log 4 = log 30, so x = log 30 ÷ log 4 = 2.453.
  • 3 log 2 = log 6
    The 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) = 120
    Only 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 = −4
    Reject x = −4: log₂(−2) and log₂(−8) are undefined, so x = 6 is the only solution.
Summary

The laws that solved all seven

  • A log is an index: switch forms, use the laws, check.
StepHow
Log formlogₐ x = y means aʸ = x
Powerlog aⁿ = n log a, do it first
Productlog a + log b = log(ab)
Quotientlog a − log b = log(a ÷ b)
aˣ = blog both sides, then divide
Logs in itcombine, then index form
Checkno log of a negative

Challenge

1

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
  1. Write 2 log x as log x², then combine: log(x² ÷ (x − 2)) = log 9.
  2. If the logs are equal, the numbers inside are equal: x² ÷ (x − 2) = 9.
  3. Multiply by (x − 2) and rearrange: x² − 9x + 18 = 0, which factorises to (x − 3)(x − 6) = 0.
  4. The logs need x > 0 and x − 2 > 0, so x > 2. Both 3 and 6 are bigger than 2.
  5. Both answers check in the original equation, so neither should be rejected.
Full working
  1. log x² − log(x − 2) = log 9power law
  2. log(x² ÷ (x − 2)) = log 9quotient law
  3. x² = 9(x − 2) = 9x − 18equal logs, × (x − 2)
  4. x² − 9x + 18 = 0rearrange to zero
  5. (x − 3)(x − 6) = 0, so x = 3 or x = 6−3 × −6 = 18, −3 + −6 = −9
  6. x = 3: log 9 − log 1 = log 9 ✓; x = 6: log 36 − log 4 = log 9 ✓both inside values positive
  7. x = 3 or x = 6, both valid
2

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
  1. Write 22.5 as 3² × 5 ÷ 2.
  2. The log laws turn this into 2 log₂ 3 + log₂ 5 − log₂ 2 = 2p + q − 1.
  3. Write √15 ÷ 8 as (3 × 5)^(12) ÷ 2³.
  4. The power law gives (12)(log₂ 3 + log₂ 5) − 3 log₂ 2 = p + q2 − 3.
  5. 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
  1. 22.5 = 45 ÷ 2 = 3² × 5 ÷ 2prime factors
  2. log₂ 22.5 = 2 log₂ 3 + log₂ 5 − log₂ 2product, quotient, power laws
  3. = 2p + q − 1log₂ 2 = 1
  4. √15 ÷ 8 = (3 × 5)^(12) ÷ 2³root as an index
  5. log₂(√15 ÷ 8) = (12)(log₂ 3 + log₂ 5) − 3 log₂ 2power law
  6. = p + q2 − 3log₂ 2 = 1
  7. (a) 2p + q − 1 (b) p + q2 − 3
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
  1. 5^(2x) is the same as (5ˣ)², so let y = 5ˣ.
  2. The equation becomes y² − 7y + 12 = 0, which factorises to (y − 3)(y − 4) = 0.
  3. So 5ˣ = 3 or 5ˣ = 4.
  4. Take logs of both sides of each: x = log 3 ÷ log 5 or x = log 4 ÷ log 5.
  5. Both values of 5ˣ are positive, so both give real answers: x = 0.683 or x = 0.861.
Full working
  1. 5^(2x) = (5ˣ)²power of a power
  2. y² − 7y + 12 = 0let y = 5ˣ
  3. (y − 3)(y − 4) = 0, so y = 3 or y = 4−3 × −4 = 12
  4. 5ˣ = 3: x = log 3 ÷ log 5 = 0.682606...log, power law
  5. 5ˣ = 4: x = log 4 ÷ log 5 = 0.861353...log, power law
  6. x = 0.683: 5 to the power 1.366 − 7 × 5 to the power 0.683 + 12 ≈ 9 − 21 + 12 = 0check
  7. x = 0.683 or x = 0.861 (3 dp)

More challenge problems

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91261