π
θ
E = mc²
y = mx+b
Δ
φ
λ
HomeLessonsGrade 12
Grade 12 · Functions · 14 min read

Logarithms: The Complete Grade 12 Guide

Logs as the reverse of exponents, plus every exam type — evaluating, converting between log and exponent form, the log laws, change of base, and solving exponential equations with logs — each worked in full, with a worksheet.

A logarithm answers one question: 'what power do I raise the base to, to get this number?' It's the exact reverse of an exponent — that single idea makes logs easy.

if bx = y   then   logb y = x

Read log2 8 as 'the power that turns 2 into 8'. Since 23 = 8, log2 8 = 3.

1Type 1: Evaluate a logarithm

Worked ExampleExample 1: evaluate log₅ 125
  1. 1
    Ask: 5 to what power gives 125?
    The meaning of the log.
  2. 2
    53 = 125.
    5 × 5 × 5 = 125.
  3. 3
    So log₅ 125 = 3.
    The logarithm is the exponent.

2Type 2: Convert between log and exponent form

Worked ExampleExample 2: write 24 = 16 in log form, and log₃ 81 = 4 in exponent form
  1. 1
    24 = 16 → log₂ 16 = 4.
    Base stays the base; the exponent becomes the log's value.
  2. 2
    log₃ 81 = 4 → 34 = 81.
    Reverse the same relationship.

3Type 3: The log laws

log(xy) = log x + log y  •  logxy = log x − log y  •  log xn = n log x
Worked ExampleExample 3: simplify log 4 + log 25
  1. 1
    Product law: log 4 + log 25 = log(4 × 25) = log 100.
    Adding logs → multiply the numbers.
  2. 2
    log₁₀ 100 = 2.
    102 = 100.

4Type 4: Change of base

Calculators only do base 10 ('log') and base e ('ln'). For any other base, use: logb y = log ylog b.

Worked ExampleExample 4: evaluate log₂ 20
  1. 1
    log₂ 20 = log 20 ÷ log 2.
    Change-of-base rule (any base on the calculator).
  2. 2
    ≈ 1,301 ÷ 0,301 ≈ 4,32.
    Use the log button.

5Type 5: Solve an exponential equation with logs

Worked ExampleExample 5: solve 3ˣ = 40
  1. 1
    Take log of both sides: log 3ˣ = log 40.
    Logs bring the exponent down.
  2. 2
    x · log 3 = log 40 → x = log 40 ÷ log 3.
    Power law: log 3ˣ = x log 3.
  3. 3
    x ≈ 1,602 ÷ 0,477 ≈ 3,36.
💡

Logs let you solve for an unknown in the exponent — e.g. 'how long until an investment doubles?' Take the log of both sides to bring the power down where you can solve it. Logs are also the inverse of the exponential graph.

⚠️

log(a + b) is NOT log a + log b. The laws work on products and quotients — log(ab) = log a + log b — never on sums. One of the most common log errors.

Logs appear in finance, functions and exponential equations across matric. Master these five types in the worksheet.

-4-22468-4-22468xyy = 2xy = log₂ xy = x(0 ; 1)(1 ; 0)
y = log₂ x is the mirror image of y = 2x in the line y = x — which is exactly what 'inverse' means.

6The graph when the base is between 0 and 1

2468-4-224xyy = log₂ x (b > 1)y = log½ x (0 < b < 1)(1 ; 0)
y = log₂ x rises; y = log½ x falls. Both pass through (1 ; 0) and both have the y-axis as asymptote.

If b > 1 the log graph increases. If 0 < b < 1 it decreases — it is the first graph reflected in the x-axis. Either way the domain is x > 0, the range is y ∈ ℝ, and the y-axis is a vertical asymptote.

⚠️

log½ 8 = −3, not 3. A base below 1 gives negative outputs for x > 1 — check the sign against the graph before you write it down.

Practice exercises

Work each one out, then click to reveal the answer.

  1. 1
    Evaluate log₂ 16. (evaluate)
    Show answer ▾
    24 = 16 → 4
  2. 2
    Evaluate log₃ 27. (evaluate)
    Show answer ▾
    33 = 27 → 3
  3. 3
    Evaluate log₁₀ 1000. (evaluate)
    Show answer ▾
    103 = 1000 → 3
  4. 4
    Write 53 = 125 in log form. (convert)
    Show answer ▾
    log₅ 125 = 3
  5. 5
    Write log₂ 32 = 5 in exponent form. (convert)
    Show answer ▾
    25 = 32
  6. 6
    Simplify log 2 + log 50. (laws)
    Show answer ▾
    log(2×50) = log 100 = 2
  7. 7
    Simplify log 200 − log 2. (laws)
    Show answer ▾
    log(2002) = log 100 = 2
  8. 8
    Write log 8 as a multiple of log 2. (laws)
    Show answer ▾
    log 23 = 3 log 2
  9. 9
    Evaluate log₂ 10 (change of base, 2 dp). (change base)
    Show answer ▾
    log10 ÷ log2 ≈ 3,32
  10. 10
    Solve 2ˣ = 20 (2 dp). (solve)
    Show answer ▾
    x = log20 ÷ log2 ≈ 4,32

Now practise it

Download Grade 12 past papers and worksheets on this topic.

Go to Grade 12 papers →