Skip to content

Search topics

Practise for free Sign in

Worked example Exponentials and logarithms

Laws of logarithms worked example

In one sentence

8 worked examples on Laws of logarithms, each solved step by step.

Last checked Source: Laws of logarithms Source: Laws of logarithms qualifications.pearson.com (opens in a new tab)

Laws of logarithms in your study of A-level maths, set out with its source.

Related pages include Definite integrals, Friction, Integration by substitution and Integrate standard functions.

Points to check

  • Writing log 3² as (log 3)² rather than 2 log 3.
  • Subtracting the arguments instead of dividing them.
  • Keeping the negative root even though log of a negative number is not defined.

Study brief

  • For A Level Mathematics, understanding logarithmic laws is essential. A logarithm can be defined such that if x equals a raised to the power of n, then n equals log a x. This relationship holds when a is greater than 0 and x is greater than 0. Additionally, the definition of log a x acts as the inverse function of a x, provided that a is not equal to 1, a is positive, and x is greater than or equal to 0. One specific identity is loga a equals 1. Several laws govern how to manipulate these expressions. Adding loga x and loga y is equivalent to loga (xy). Subtracting loga y from loga x results in loga (x/y). Furthermore, multiplying a logarithm by a constant k, written as k loga x, is the same as loga (x to the power of k). This rule applies even if k equals -1 or k equals -1/2. Students may also utilize the change of base formula during their calculations.

Worked examples

Example 1

Problem

Write log_5 250 − log_5 2 as a single logarithm and evaluate it.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Quotient law: log a − log b = log(a/b), so the expression is log_5(250/2).
  2. 2 250/2 = 125.
  3. 3 log_5(125) = 3.

Answer

3

Example 2

Problem

Given log_a 2 = p and log_a 3 = q, express log_a(18) in terms of p and q.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Factorise the number into primes.

    Why: Logs of primes can be combined by the laws.

  2. 2 18 = 2 × 3²

    Why: Write it as a product of powers.

  3. 3 Apply the product and power laws: log_a 18 = log_a 2 + 2 log_a 3 = p + 2q.

    Why: Add logs; bring powers down as multipliers.

Answer

p + 2q

Example 3

Problem

Write log_3 36 − log_3 4 as a single logarithm and evaluate it.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Quotient law: log a − log b = log(a/b), so the expression is log_3(36/4).
  2. 2 36/4 = 9.
  3. 3 log_3(9) = 2.

Answer

2

Example 4

Problem

Given log_a 2 = p and log_a 3 = q, express log_a 24 in terms of p and q.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Factorise the number into primes.
  2. 2 24 = 2³ × 3
  3. 3 log_a 24 = 3 log_a 2 + log_a 3 = 3p + q.

Answer

3p + q

Example 5

Problem

Solve log_2 x + log_2(x − 2) = 1.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Combine with the product law: log_2[x(x − 2)] = 1.
  2. 2 Remove the log: x(x − 2) = 2¹ = 2, so x² − 2x − 2 = 0.
  3. 3 Solve the quadratic: x = 1 − √3 or x = 1 + √3.
  4. 4 Reject the root that makes log_2(x − 2) not defined (needs x > 2): x = 1 + √3.

Answer

x = 1 + √3

Example 6

Problem

Write log_2 12 − log_2 3 as a single logarithm and evaluate it.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Quotient law: log a − log b = log(a/b), so the expression is log_2(12/3).

    Why: Subtracting logs divides arguments.

  2. 2 12/3 = 4.

    Why: Simplify the argument.

  3. 3 log_2(4) = 2.

    Why: Evaluate with the base's powers.

Answer

2

Example 7

Problem

Write log_10 5000 − log_10 50 as a single logarithm and evaluate it.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Quotient law: log a − log b = log(a/b), so the expression is log_10(5000/50).
  2. 2 5000/50 = 100.
  3. 3 log_10(100) = 2.

Answer

2

Example 8

Problem

Solve log_3 x + log_3(x − 2) = 1.

Solution, step by step

Try it yourself first, then open a step to see why it works.

  1. 1 Combine with the product law: log_3[x(x − 2)] = 1.

    Why: Adding logs multiplies arguments.

  2. 2 Remove the log: x(x − 2) = 3¹ = 3, so x² − 2x − 3 = 0.

    Why: Convert from log form to index form.

  3. 3 Solve the quadratic: x = −1 or x = 3.

    Why: Use the formula.

  4. 4 Reject the root that makes log_3(x − 2) not defined (needs x > 2): x = 3.

    Why: Always check the domain of the original logs.

Answer

x = 3

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction