Skip to content
IB Diploma ProgrammeSL & HL

Laws of logarithms

Mathematics: Applications and Interpretation SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Laws of logarithms notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Laws of logarithms notes as text: skim, search, and jump between subtopics.

~12 min read

1. The three laws of logarithms

For a, x, y > 0, a logarithm turns a product into a sum, a quotient into a difference and a power into a multiple. In examinations, a will equal 10 or e, so the laws are written with log₁₀ or ln.

A question that gives the form ln(g(x)) and asks you to find an expression for g(x) wants the argument of one ln, not the whole logarithm.

The markscheme gives a method mark for correct use of one log law. Show the law you are using on its own line so that the mark is easy to award.

log_a xy = log_a x + log_a y

log_a x/y = log_a x - log_a y

log_a x^(m) = m log_a x

Worked example 12 marks

Consider the function f(x) = ln(2 -x) + ln(-2 -x) - 2ln(-x), where x < -2.

The function f(x) can be rewritten in the form ln(g(x)).

(a) Find an expression for g(x).

  1. 1

    M1: correct use of one log law, for example -2ln(-x) = ln((-x)⁻²) = ln x⁻², or ln(2 -x) + ln(-2 -x) = ln((2 - x)(-2 - x)) [1]

  2. 2

    A1: combine all three terms: ln((2 - x)(-2 - x))/x², so g(x) = (x² - 4)/x² (or ((2 - x)(-2 - x))/x², or 1 - 4x⁻²) [1]

2. Combining and splitting logarithms

Work in two moves. First use the power law to move every coefficient inside as an index. Then use the product and quotient laws to collect the terms into one logarithm.

The laws work on the argument of a logarithm, never on the logarithm as a whole. ln(x +y) does not split. ln x × ln y is not ln(xy). (ln x)² is not 2 ln x.

To split a single logarithm, go the other way. A root is an index of 1/2, so ln√x = 1/2ln x. Each letter must stay positive for the laws to apply.

m ln x = ln x^(m)

ln x + ln y - ln z = ln xy/z

Worked example 13 marks

Write 2ln 6 - ln 9 + ln 3 in the form ln k, where k is an integer.

  1. 1

    M1: use the power law, 2ln 6 = ln 6² = ln 36 [1]

  2. 2

    M1: use the product and quotient laws, ln 36 - ln 9 + ln 3 = ln(36 × 3)/9 [1]

  3. 3

    A1: ln 12, so k = 12 [1]

3. Solving equations that contain logarithms

To solve an equation with logarithms, write each side as a single logarithm. If ln A = ln B, then A = B. Then solve the equation that is left.

The laws only hold for positive arguments, so check every solution in the original equation. A root that makes an argument zero or negative must be rejected, with the reason written down.

For a quadratic, rearrange to = 0 first. State both roots, then cross out the one that fails.

ln A = ln B ⇒ A = B

argument > 0

Worked example 14 marks

Solve ln(x + 2) + ln(x - 1) = ln 10.

  1. 1

    M1: use the product law, ln((x + 2)(x - 1)) = ln 10 [1]

  2. 2

    M1: equate the arguments and rearrange, (x + 2)(x - 1) = 10, so x² + x - 12 = 0 [1]

  3. 3

    A1: (x + 4)(x - 3) = 0, so x = 3 or x = -4 [1]

  4. 4

    R1: reject x = -4, because x - 1 = -5 and the logarithm of a negative number is not defined. The solution is x = 3 [1]

4. Exponential equations: the power law in use

To solve a^(x) = b, take a logarithm of both sides. The power law brings the unknown down from the index, so it is a multiple of a logarithm and can be divided out.

Use log₁₀ or ln, the two bases an examination allows. The answer is the same in either. Take the logarithm of the whole side: log 3 × 2^(x) is not xlog 6.

On the GDC, enter the equation in the equation solver, or graph both sides and read off the intersection. Use the laws to show the method, and the GDC to check the value.

a^(x) = b ⇒ x log a = log b

x = (log b)/(log a)

Worked example 13 marks

Solve 4^(x) = 30. Give your answer to three significant figures.

  1. 1

    M1: take logarithms of both sides, log₁₀ 4^(x) = log₁₀ 30 [1]

  2. 2

    M1: use the power law, x log₁₀ 4 = log₁₀ 30, so x = (log₁₀ 30)/(log₁₀ 4) [1]

  3. 3

    A1: x = 2.45 (2.4534 on the GDC) [1]

5. Logarithms inside functions and inverses

A function made of logarithms is easier to handle as a single logarithm. Combine first. Then the range and the inverse follow from one expression.

To find an inverse, exchange the variables, then make y the subject. Undo ln by writing both sides as powers of e. A square root gives ±. Choose the sign from the domain of f, because the range of f⁻¹ is the domain of f.

The domain of f is also where each argument stays positive. Here x < -2 keeps 2 - x, -2 - x and -x all positive.

y = f⁻¹(x) Leftrightarrow x = f(y)

range of f⁻¹ = domain of f

Worked example 15 marks

Consider the function f(x) = ln(2 -x) + ln(-2 -x) - 2ln(-x), where x < -2.

The function f(x) can be rewritten in the form ln(g(x)).

The function f⁻¹(x) can be written in the form a/(√(1 - e^(x))).

(c) Find the value of a.

  1. 1

    M1: attempt to exchange variables, with f(x) = ln(x² - 4)/x² from part (a): x = ln(y² - 4)/y² (or x = ln(1 - 4y⁻²)) [1]

  2. 2

    A1: write both sides as powers of e, e^(x) = (y² - 4)/y² (or e^(x) = 1 - 4y⁻²) [1]

  3. 3

    A1: y²(e^(x) - 1) = -4 [1]

  4. 4

    A1: y = ±2/(√(1 - e^(x))) [1]

  5. 5

    A1: since the domain of f is x < -2, f⁻¹ takes negative values, so a = -2 [1]

Recap

  • log_a xy = log_a x + log_a y, log_a x/y = log_a x - log_a y and log_a x^(m) = mlog_a x, for a, x, y > 0. In examinations, a is 10 or e.
  • The laws act on the argument. Multiply for a sum, divide for a difference, raise to the power for a coefficient.
  • Solve a log equation by writing it as a single logarithm on each side. Then reject any root that makes an argument zero or negative.
  • Solve a^(x) = b by taking logarithms: x = (log b)/(log a).
  • For an inverse, exchange the variables, undo the ln with e, and take the sign from the domain of f.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Do not use a calculator. State the value of log₁₀ 2 + log₁₀ 5.1 mark
    Answer
    1. log₁₀ 2 + log₁₀ 5 = log₁₀(2 × 5) = log₁₀ 10 = 1.

    Trap: Adding the arguments to get log₁₀ 7: a sum of logarithms is the logarithm of a product.

  2. Which expression is equal to ln 18 - ln 3? A. ln 15 B. ln 6 C. ln 54 D. (ln 18)/(ln 3)1 mark
    Answer
    1. The answer is B: ln 18 - ln 3 = ln18/3 = ln 6.
    2. A subtracts the arguments. C multiplies them, which is the rule for a sum. D divides the logarithms, but the law divides the arguments inside one logarithm.

    Trap: Subtracting the arguments for a difference of logarithms, instead of dividing them.

  3. Do not use a calculator. Write 3ln 2 + ln 5 as a single logarithm in the form ln k.2 marks
    Answer
    1. Power law: 3ln 2 = ln 2³ = ln 8.
    2. Product law: ln 8 + ln 5 = ln 40, so k = 40.

    Trap: Writing 3ln 2 = ln 6: the coefficient becomes an index, not a factor.

  4. Do not use a calculator. Show that 2log₁₀ 5 + log₁₀ 4 = 2.2 marks
    Answer
    1. Power law: 2log₁₀ 5 = log₁₀ 25.
    2. Product law: log₁₀ 25 + log₁₀ 4 = log₁₀ 100 = 2, as 10² = 100.

    Trap: Writing 2log₁₀ 5 = log₁₀ 10, which doubles the argument instead of squaring it.

  5. Do not use a calculator. For x, y, z > 0, write ln(x³√y)/z in terms of ln x, ln y and ln z.3 marks
    Answer
    1. Quotient law: ln(x³√y) - ln z.
    2. Product law: ln x³ + ln√y - ln z.
    3. Power law, with √y = y^(1/2): 3ln x + 1/2ln y - ln z.

    Trap: Turning √y into 2ln y: a square root is an index of 1/2, not 2.

  6. An investment grows by 5% each year, so its value is multiplied by 1.05^(t) after t years. Determine the number of years for the value to double. Give your answer to three significant figures.3 marks
    Answer
    1. Doubling means 1.05^(t) = 2.
    2. Take logarithms: tln 1.05 = ln 2.
    3. t = (ln 2)/(ln 1.05) = 0.693147/0.048790 = 14.2 years.

    Trap: Dividing the numbers first, t = ln2/1.05, or leaving t in the index: the power law must bring t down.

  7. Do not use a calculator. Solve log₁₀(x + 3) + log₁₀ x = 1.4 marks
    Answer
    1. Product law: log₁₀(x(x + 3)) = 1.
    2. Write 1 = log₁₀ 10, so x(x + 3) = 10 and x² + 3x - 10 = 0.
    3. (x + 5)(x - 2) = 0, so x = 2 or x = -5.
    4. Reject x = -5, because log₁₀(-5) is not defined. So x = 2. Check: log₁₀ 5 + log₁₀ 2 = log₁₀ 10 = 1.

    Trap: Keeping x = -5: the quadratic gives two roots, but the original equation needs x > 0.

  8. Solve 3^(2x - 1) = 7^(x). Give your answer to three significant figures.4 marks
    Answer
    1. Take logarithms: (2x - 1)ln 3 = xln 7.
    2. Expand the bracket: 2xln 3 - ln 3 = xln 7.
    3. Collect: x(2ln 3 - ln 7) = ln 3, so x = (ln 3)/(2ln 3 - ln 7) = 1.0986/0.25131.
    4. x = 4.37. Check: both 3^(7.743) and 7^(4.371) are about 4.9 × 10³.

    Trap: Writing 2x - 1ln 3 without a bracket, so the -1 is not multiplied by ln 3.

  9. The sound level, L decibels, of a sound of intensity I W m⁻² is modelled by L = 10log₁₀I/I₀, where I₀ = 10⁻¹² W m⁻². (a) Show that L = 10log₁₀ I + 120. (b) A sound has a level of 85 decibels. Calculate its intensity. (c) A second sound has 50 times the intensity of the sound in (b). Determine its sound level, to three significant figures.6 marks
    Answer
    1. (a)
    2. Quotient law: L = 10(log₁₀ I - log₁₀ 10⁻¹²).
    3. Power law: log₁₀ 10⁻¹² = -12, so L = 10log₁₀ I - 10(-12) = 10log₁₀ I + 120.
    4. (b)
    5. 85 = 10log₁₀ I + 120, so log₁₀ I = -3.5.
    6. I = 10^(-3.5) = 3.16 × 10⁻⁴ W m⁻².
    7. (c)
    8. Product law: L₂ = 10log₁₀(50I) + 120 = 10log₁₀ 50 + (10log₁₀ I + 120) = 10log₁₀ 50 + 85.
    9. L₂ = 16.99 + 85 = 102 decibels. Check: I₂ = 50 × 3.162 × 10⁻⁴ = 0.01581, and 10log₁₀ 0.01581 + 120 = 102.

    Trap: Losing the sign in (a): -10log₁₀ 10⁻¹² is +120, not -120; and in (c) multiplying the level by 50 instead of adding 10log₁₀ 50.

  10. Do not use a calculator. Consider f(x) = ln(x + 1) - ln(x - 1), for x > 1. (a) Write f(x) as a single logarithm. (b) Find f⁻¹(x). (c) State the domain of f⁻¹.6 marks
    Answer
    1. (a)
    2. Quotient law: f(x) = ln(x + 1)/(x - 1).
    3. (b)
    4. Exchange variables: x = ln(y + 1)/(y - 1), so e^(x) = (y + 1)/(y - 1).
    5. Clear the fraction: e^(x)(y - 1) = y + 1, so y e^(x) - y = e^(x) + 1.
    6. Factorise: y(e^(x) - 1) = e^(x) + 1, so f⁻¹(x) = (e^(x) + 1)/(e^(x) - 1). Check: f(3) = ln 2 and f⁻¹(ln 2) = 3/1 = 3.
    7. (c)
    8. The domain of f⁻¹ is the range of f. Since (x + 1)/(x - 1) = 1 + 2/(x - 1) > 1, f(x) > 0, so the domain is x > 0.

    Trap: Giving the domain of f⁻¹ as x > 1, which is the domain of f: the domain of the inverse is the range of f.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
f⁻¹(x) ≤ -2 for the range of f⁻¹f⁻¹(x) < -2 or (-∞, -2), with strictness for -2
a = 2, or y = ±2/(√(1 - e^(x))) with no choice of signa = -2, since the domain of f is x < -2
g(x) = ln(x² - 4)/x² when the question asks for g(x) in f(x) = ln(g(x))g(x) = (x² - 4)/x², the argument of the single logarithm
ln(2 - x) + ln(-2 - x) = ln(2 - x - 2 - x) (the logs added, then the arguments added)correct use of one log law: ln((2 - x)(-2 - x)), the arguments multiplied

Frequently asked questions

What are the laws of logarithms?
For a, x, y > 0, log_a xy = log_a x + log_a y, log_a x/y = log_a x - log_a y and log_a x^(m) = mlog_a x. In examinations a is 10 or e. The laws act on the argument: multiply for a sum, divide for a difference, and raise to the power for a coefficient.
How do you write two or more logarithms as a single logarithm?
Use the power law first to move each coefficient inside as an index, so mln x = ln x^(m). Then use the product and quotient laws to collect the terms, so ln x + ln y - ln z = ln xy/z. For example, 2ln 6 - ln 9 + ln 3 = ln 12. Each letter must stay positive for the laws to apply.
How do you solve an equation that contains logarithms?
Write each side as a single logarithm, then equate the arguments: if ln A = ln B, then A = B. Solve the equation that is left. Check every solution in the original equation, because the laws hold only for positive arguments. Reject a root that makes an argument zero or negative, and write the reason. For ln(x + 2) + ln(x - 1) = ln 10, the root x = -4 is rejected and x = 3 is the solution.
How do you solve an exponential equation such as 4^(x) = 30?
Take logarithms of both sides, then use the power law to bring the unknown down from the index. So x log 4 = log 30, and x = (log 30)/(log 4). This gives x = 2.45 to three significant figures. Take the logarithm of the whole side, because log 3 × 2^(x) is not xlog 6. The GDC can check the value.
How do you find the inverse of a function that contains a logarithm?
Combine the logarithms into one first, then exchange x and y. Write x = ln(…) as e^(x) = …, and make y the subject. A square root gives ±, and the domain of f chooses the sign, because the range of f⁻¹ is the domain of f. For x < -2, the inverse takes negative values, so a = -2.
Why can't I add the arguments when I add two logarithms?
A sum of logarithms is the logarithm of a product, so the arguments are multiplied, not added. ln(2 - x) + ln(-2 - x) = ln((2 - x)(-2 - x)), not ln(2 - x - 2 - x). Likewise log₁₀ 2 + log₁₀ 5 = log₁₀ 10 = 1, not log₁₀ 7.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters