Vertex Learn

Logarithms: what they mean and the log laws

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 answers one question

  • Log₂ 8 asks: 2 to what power is 8?
  • The answer is 3, because 2³ = 8.
  • A logarithm is an index.
Worked example

Two ways to write one fact

  • Index form: 2³ = 8.
  • Log form: log₂ 8 = 3.
  • Same base, and the power becomes the answer.
Two ways to write one fact
Key idea

Try it: a log is an index

Worked example

Reading logs as questions

  • Ask the question the log is asking.
  • Log₅ 1 = 0, because 5⁰ = 1.
  • Log₃(1/9) = −2, because 3⁻² = 1/9.
LogAsksAnswer
log₂ 82 to what is 8?3
log₁₀ 100010 to what is 1000?3
log₅ 15 to what is 1?0
log₃(1/9)3 to what is 1/9?−2
Key idea

The log laws are the index laws

  • Multiplying adds indices, so logs add.
  • Dividing subtracts them.
  • A power inside comes out the front.
Log ofEqualsBecause
log(ab)log a + log bmultiply: add indices
log(a/b)log a − log bdivide: subtract
log(aⁿ)n log apower: multiply
Worked example

Combining logs

  • Powers first.
  • Then add or subtract.
  1. 2 log 3 + log 5
  2. = log 3² + log 5power law
  3. = log 9 + log 5
  4. = log(9 × 5)add: multiply inside
  5. = log 45
Worked example

Solving 3ˣ = 20

  • The unknown is an index.
  • Take logs of both sides.
  1. 3ˣ = 20
  2. log 3ˣ = log 20log both sides
  3. x log 3 = log 20power law
  4. x = log 20 ÷ log 3÷ log 3
  5. = 2.727
  6. 3^2.727 ≈ 20.00check
Key idea

Try it: when does it pass the target?

Worked example

A harder index: 5^(2x − 1) = 80

  • Brackets round the index.
  • Keep 4 decimal places.
  1. 5^(2x − 1) = 80
  2. (2x − 1) log 5 = log 80logs, power law
  3. 2x − 1 = log 80 ÷ log 5÷ log 5
  4. = 2.7227
  5. 2x = 3.7227add 1
  6. x = 3.7227 ÷ 2 = 1.861÷ 2
Key idea

Try it: flip, trap, pinch

Worked example

An equation with logs in it

  • Combine into one log.
  • Switch to index form.
  1. log₂ x + log₂(x + 2) = 3
  2. log₂(x(x + 2)) = 3add: multiply inside
  3. x(x + 2) = 2³index form
  4. x² + 2x = 8expand
  5. x² + 2x − 8 = 0subtract 8
  6. (x + 4)(x − 2) = 0factorise
  7. x = 2 or x = −4
Key idea

Check in the original equation

  • Substitute back.
  • No logs of negatives.
  1. x = 2 or x = −4
  2. x = 2: log₂ 2 + log₂ 4
  3. = 1 + 2 = 3
  4. x = −4: log₂(−4)no log of a negative
  5. x = 2
Key idea

Graphing calculator

Key idea

Where the marks are

  • Achieved: solve simple log and index equations.
  • Merit: manipulate with the log laws.
  • Excellence: logs inside a real model.
Summary

What to take away

  • A log is an index. The log laws are the index laws.
logₐ x = ymeans aʸ = x
Multiply insideadd the logs
Divide insidesubtract the logs
Power insidebring it to the front
aˣ = bx = log b ÷ log a
Log equationscombine, then index form

Common mistakes

  • 2 log 3 + log 5 = log 6 + log 5 = log 30
    The power law makes 2 log 3 = log 3² = log 9, so the sum is log(9 × 5) = log 45.
  • 3ˣ = 20, so x = 20 ÷ 3 = 6.667
    x is an index, so take logs and bring it down: x = log 20 ÷ log 3 = 2.727.
  • 5^(2x − 1) = 80: 2x − 1 log 5 = log 80
    Keep the whole index in brackets: (2x − 1) log 5 = log 80, so 2x − 1 = 2.7227 and x = 1.861.
  • log₂ x + log₂(x + 2) = 3 gives x = 2 or x = −4.
    Check in the original equation: log₂(−4) does not exist, so reject x = −4 and give x = 2 only.
Your turn

Your turn: eight questions

  • Question 1: ask the question the log asks.
  • Question 4: switch to index form.
1

Evaluate log₄ 64.

2

Write 2 log 3 + log 5 as a single log.

3

Solve 2ˣ = 50, to 3 decimal places.

4

Solve log₃(x + 1) = 2.

5

Write 5³ = 125 in log form.

6

Which statement is true?

7

$5,000 is invested at 4% a year, so after n years it is worth 5000 × 1.04ⁿ dollars. After how many whole years is it first over $8,000?

8

Solve log₆ x + log₆(x − 5) = 2.

Show answer

1. 4³ = 64, so 3. 2. log 9 + log 5 = log 45. 3. x = log 50 ÷ log 2 = 5.644. 4. x + 1 = 3² = 9, so x = 8. 5. log₅ 125 = 3. The base stays the base, and the power 3 becomes the answer. 6. log 20 − log 4 = log 5, because subtracting logs means dividing inside: 20 ÷ 4 = 5. 7. 12 years. 1.04ⁿ = 8000 ÷ 5000 = 1.6, so n = log 1.6 ÷ log 1.04 = 11.98, which rounds up to 12 years (11 years gives only $7,697). 8. x = 9 only. x(x − 5) = 6² = 36, so x² − 5x − 36 = 0 and (x − 9)(x + 4) = 0; reject x = −4, since log₆(−4) does not exist.

Worked example

The answers: questions 1 and 2

  1. 1. 4 to what power is 64?
  2. 4³ = 64, so log₄ 64 = 3
  3. 2. 2 log 3 = log 3² = log 9power law
  4. log 9 + log 5 = log(9 × 5)add: multiply inside
  5. = log 45
Worked example

The answers: questions 3 and 4

  1. 3. 2ˣ = 50
  2. x log 2 = log 50logs, power law
  3. x = log 50 ÷ log 2÷ log 2
  4. = 5.644
  5. 4. log₃(x + 1) = 2
  6. x + 1 = 3²index form
  7. x + 1 = 9, so x = 8
  8. log₃ 9 = 2check
Your turn

Sample question: Achieved

Solve 5ˣ = 40, giving x to 3 decimal places.

Hint

The unknown is an index, so take logs of both sides and bring the x down in front.

Answer

x ≈ 2.292

Step by step
  1. x is the power that 5 must be raised to to make 40. Logs find powers.
  2. Take log of both sides: log 5ˣ = log 40.
  3. The log law log aⁿ = n log a brings the index down: x log 5 = log 40.
  4. Divide both sides by log 5: x = log 40 ÷ log 5.
  5. On a calculator: x ≈ 1.60206 ÷ 0.69897 ≈ 2.292.
  6. Classic mistake: working out log(40 ÷ 5) = log 8. The rule is log 40 ÷ log 5, a division of two logs, not the log of a division.
  7. Sense check: 5² = 25 and 5³ = 125, and 40 lies between them, so x should be between 2 and 3. It is.
  8. Check: 5^2.292 ≈ 40.0 on a calculator.
Full working
  1. log 5ˣ = log 40take logs of both sides
  2. x log 5 = log 40log aⁿ = n log a
  3. x = log 40 ÷ log 5
  4. x ≈ 2.292
Your turn

Sample questions: Merit

1

Solve 2^(3x − 1) = 7ˣ, giving x to 3 decimal places.

Hint

Take logs of both sides, bring both indices down, then collect the x terms on one side and factorise.

Answer

x ≈ 5.191

Step by step
  1. The two sides have different bases, 2 and 7, so you cannot just match the indices. Use logs.
  2. Take logs of both sides: log 2^(3x − 1) = log 7ˣ.
  3. Bring each index down with log aⁿ = n log a: (3x − 1) log 2 = x log 7.
  4. Classic mistake: writing 3x − 1 log 2 without the bracket. The whole index 3x − 1 multiplies log 2.
  5. Expand: 3x log 2 − log 2 = x log 7.
  6. Collect the x terms on one side: 3x log 2 − x log 7 = log 2.
  7. Take out x as a factor: x(3 log 2 − log 7) = log 2.
  8. Divide: x = log 2 ÷ (3 log 2 − log 7). Tidier: 3 log 2 = log 8, and log 8 − log 7 = log(87), so x = log 2 ÷ log(87).
  9. On a calculator: x ≈ 0.30103 ÷ 0.05799 ≈ 5.191.
  10. Check: 3x − 1 ≈ 14.573, and 2^14.573 ≈ 24 370, while 7^5.191 ≈ 24 370. The sides match.
Full working
  1. (3x − 1) log 2 = x log 7take logs; bring down the indices
  2. 3x log 2 − x log 7 = log 2expand and collect x terms
  3. x(log 8 − log 7) = log 23 log 2 = log 8
  4. x = log 2 ÷ log(87)
  5. x ≈ 5.191
2

Solve log₃ x + log₃(x − 8) = 2.

Hint

Combine the two logs into one with the product law, then rewrite the equation in index form. Check every answer in the original equation.

Answer

x = 9

Step by step
  1. Two logs with the same base are added, so use the law log a + log b = log(ab).
  2. log₃ x + log₃(x − 8) = log₃(x(x − 8)). So log₃(x² − 8x) = 2.
  3. Rewrite in index form: log₃ N = 2 means N = 3² = 9. So x² − 8x = 9.
  4. Rearrange to zero: x² − 8x − 9 = 0.
  5. Factorise: two numbers that multiply to −9 and add to −8 are −9 and 1. So (x − 9)(x + 1) = 0.
  6. That gives x = 9 or x = −1.
  7. Now check each one in the original equation, because you can only take the log of a positive number.
  8. x = −1: log₃(−1) does not exist, so reject x = −1.
  9. Classic mistake: giving both answers. The quadratic does not know about the logs, so it can produce a value the logs cannot use.
  10. x = 9: log₃ 9 + log₃ 1 = 2 + 0 = 2. It works, so x = 9.
Full working
  1. log₃(x(x − 8)) = 2log a + log b = log(ab)
  2. x² − 8x = 3² = 9index form
  3. (x − 9)(x + 1) = 0, so x = 9 or −1
  4. x = −1 is rejectedlog₃(−1) is undefined
  5. x = 9
Your turn

Sample questions: Excellence

1

Solve 3^(2x) − 4 × 3ˣ − 45 = 0 exactly, and explain why there is only one solution.

Hint

3^(2x) = (3ˣ)². Let y = 3ˣ, and the equation becomes a quadratic in y.

Answer

x = 2 (the other factor would need 3ˣ = −5, which is impossible)

Step by step
  1. Spot the structure: by the index laws, 3^(2x) = (3ˣ)². So the equation only contains 3ˣ and its square.
  2. Let y = 3ˣ. Then the equation is y² − 4y − 45 = 0, a quadratic in y.
  3. Factorise: two numbers that multiply to −45 and add to −4 are −9 and 5. So (y − 9)(y + 5) = 0.
  4. So y = 9 or y = −5.
  5. Go back to x. y = 9 means 3ˣ = 9 = 3², so x = 2. That is exact, no calculator needed.
  6. y = −5 means 3ˣ = −5. A positive number raised to any power is always positive, so 3ˣ can never be −5.
  7. So y = −5 gives no solution at all, and x = 2 is the only one.
  8. Classic mistake: taking logs of both sides of 3ˣ = −5. log(−5) does not exist, which is the same reason the equation has no solution.
  9. Another trap: treating 3^(2x) as 6ˣ or as 9 × 3ˣ. 3^(2x) = (3²)ˣ = 9ˣ, which is (3ˣ)², not 9 × 3ˣ.
  10. Check x = 2: 3⁴ − 4 × 3² − 45 = 81 − 36 − 45 = 0. Correct.
Full working
  1. (3ˣ)² − 4 × 3ˣ − 45 = 03^(2x) = (3ˣ)²
  2. y² − 4y − 45 = 0let y = 3ˣ
  3. (y − 9)(y + 5) = 0, so y = 9 or y = −5
  4. 3ˣ = 9 = 3², so x = 2
  5. 3ˣ = −5 has no solution3ˣ > 0 for every x
  6. x = 2
2

Find all values of the constant k for which the equation log₂ x + log₂(k − x) = 2 has at least one solution. Find the solution when k takes its smallest possible value.

Hint

Combine the logs and turn it into a quadratic in x. Then you need real roots (the discriminant) and roots that keep both logs defined.

Answer

k ≥ 4; when k = 4 the only solution is x = 2

Step by step
  1. Combine with the product law: log₂(x(k − x)) = 2.
  2. Index form: x(k − x) = 2² = 4. Expand and rearrange: x² − kx + 4 = 0.
  3. For any solution, this quadratic needs real roots, so the discriminant must be zero or more: k² − 16 ≥ 0.
  4. k² ≥ 16 means k ≥ 4 or k ≤ −4.
  5. But the logs add another condition: x > 0 and k − x > 0. Adding these gives k > x > 0, so k must be positive. That rules out k ≤ −4.
  6. Now check that k ≥ 4 really works. The formula gives x = k ± √(k² − 16)2, and √(k² − 16) is less than k, so both roots are positive.
  7. For either root, k − x is the other root: k − k + √(k² − 16)2 = k − √(k² − 16)2. That is positive too, so both logs are defined.
  8. Classic mistake: stopping at k² ≥ 16 and giving k ≤ −4 as well. A log equation always needs a check that the logs exist.
  9. Smallest k: k = 4. Then x² − 4x + 4 = 0, so (x − 2)² = 0 and x = 2, a single repeated root.
  10. Check: log₂ 2 + log₂(4 − 2) = 1 + 1 = 2. Correct.
  11. For example k = 5 gives x² − 5x + 4 = 0, so x = 1 or 4, and log₂ 1 + log₂ 4 = 0 + 2 = 2. Larger k gives two solutions.
Full working
  1. log₂(x(k − x)) = 2, so x(k − x) = 4product law, then index form
  2. x² − kx + 4 = 0
  3. Δ = k² − 16 ≥ 0, so k ≥ 4 or k ≤ −4real roots
  4. x > 0 and k − x > 0, so k > 0logs must be defined
  5. x = k ± √(k² − 16)2 > 0 and k − x > 0 for k ≥ 4√(k² − 16) < k
  6. k = 4: (x − 2)² = 0, x = 2
  7. k ≥ 4; when k = 4, x = 2

Challenge

1

Solve log₂ x + log₄ x = 6 exactly.

Hint

Let log₄ x = y, so x = 4ʸ. Write 4ʸ as a power of 2 and compare with log₂ x.

Answer

x = 16

Step by step
  1. If log₄ x = y, then x = 4ʸ = 2^(2y).
  2. So log₂ x = 2y, which means log₄ x is half of log₂ x.
  3. The equation becomes log₂ x + ½ log₂ x = 6.
  4. So 1.5 log₂ x = 6 and log₂ x = 4.
  5. Switch to index form: x = 2⁴ = 16. Check: 4 + 2 = 6.
Full working
  1. log₄ x = y, so x = 4ʸ = 2^(2y)index form, 4 = 2²
  2. log₂ x = 2y = 2 log₄ xso log₄ x = ½ log₂ x
  3. log₂ x + ½ log₂ x = 6substitute
  4. (32) log₂ x = 6, so log₂ x = 4collect
  5. x = 2⁴index form
  6. x = 16
2

Find all pairs of positive numbers x and y with xy = 1000 and (log x)(log y) = 2, where log means log base 10.

Hint

Take logs of xy = 1000. Then let a = log x and b = log y, and solve for a and b first.

Answer

x = 10, y = 100 or x = 100, y = 10

Step by step
  1. Taking logs of xy = 1000 gives log x + log y = 3.
  2. Let a = log x and b = log y, so a + b = 3 and ab = 2.
  3. Substitute b = 3 − a to get a quadratic in a.
  4. a = 1 or a = 2, and then b = 2 or b = 1.
  5. Switch back: log x = 1 means x = 10, log x = 2 means x = 100.
Full working
  1. log(xy) = log 1000 = 3take logs
  2. a + b = 3, ab = 2a = log x, b = log y, log law
  3. a(3 − a) = 2b = 3 − a
  4. a² − 3a + 2 = 0, so (a − 1)(a − 2) = 0rearrange, factorise
  5. a = 1, b = 2 or a = 2, b = 1b = 3 − a
  6. x = 10¹, y = 10² or x = 10², y = 10¹index form
  7. (x, y) = (10, 100) or (100, 10)
3

Solve log₂ x + 2 logₓ 2 = 3, where x > 0 and x ≠ 1.

Hint

Let t = log₂ x, so x = 2ᵗ. Raise both sides to the power 1t to find logₓ 2 in terms of t.

Answer

x = 2 or x = 4

Step by step
  1. If log₂ x = t, then x = 2ᵗ, so x^(1t) = 2.
  2. That means logₓ 2 = 1t: the two logs are reciprocals.
  3. The equation becomes t + 2t = 3. Multiply by t to get a quadratic.
  4. t = 1 or t = 2, so x = 2¹ or x = 2².
  5. Check: x = 2 gives 1 + 2 × 1 = 3, and x = 4 gives 2 + 2 × ½ = 3.
Full working
  1. t = log₂ x, so x = 2ᵗindex form
  2. x^(1t) = 2, so logₓ 2 = 1tpower of a power
  3. t + 2t = 3substitute
  4. t² − 3t + 2 = 0multiply by t (t ≠ 0 since x ≠ 1)
  5. (t − 1)(t − 2) = 0, so t = 1 or t = 2factorise
  6. x = 2¹ or x = 2²x = 2ᵗ
  7. x = 2 or x = 4

More challenge problems

Science

Where science uses this

Practice

Practise this

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

More in AS 91261

Is your child on track?

Take the free placement test