Skip to content
Cambridge AS & A Level9709

Logarithmic and exponential functions (Pure Mathematics 2)

Mathematics 9709 Chapter Notes

Last updated November 2026

What this chapter covers

Logarithmic and exponential functions
ShareWhatsAppPost

Logarithmic and exponential functions (Pure Mathematics 2) notes as a printable PDF.

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

Read the notes

The full Logarithmic and exponential functions (Pure Mathematics 2) notes as text: skim, search, and jump between subtopics.

~12 min read

1. Logarithms, indices and the laws of logarithms

A logarithm is a power. If a^(x) = b then x = log_a b. So log_a a = 1 and log_a 1 = 0.

The laws of logarithms turn products into sums, quotients into differences and powers into multiples. They apply to every term, so a coefficient such as the 2 in 2ln 2x must be moved inside first: 2ln(2x) = ln(4x²).

To solve a logarithmic equation, collect the terms into a single logarithm, then remove the logarithm. Check each answer in the original equation, because a logarithm of a negative number does not exist.

ln a + ln b = ln(ab)

ln a - ln b = lna/b

nln a = ln aⁿ

Examiner insight

“Many candidates however, lost the final accuracy mark as they included x = −2 in their solution.” “Candidates should always check that their solutions are valid, especially in an equation involving logarithms.”

Worked example 15 marks

Solve the equation 2ln(2x) - ln(x+3) = 4ln 2.

  1. 1

    use the power law: 2ln(2x) = ln(4x²) [1]

  2. 2

    use the subtraction law: ln(4x²) - ln(x+3) = ln4x²/(x+3) [1]

  3. 3

    4ln 2 = ln 16, so 4x²/(x+3) = 16 [1]

  4. 4

    4x² = 16x + 48, so x² - 4x - 12 = 0 and (x-6)(x+2) = 0 [1]

  5. 5

    x = 6 only: x = -2 makes ln(2x) the logarithm of a negative number [1]

2. The exponential and natural logarithm functions

The functions e^(x) and ln x are inverse functions. Each undoes the other, so ln(e^(x)) = x and e^(lnx) = x. Their graphs are reflections of each other in the line y = x.

To remove a natural logarithm, apply the exponential to both sides: ln u = 2 means u = e².

The graph of y = e^(kx) passes through (0, 1). It increases for k > 0. For k < 0 it falls towards the x-axis and never reaches it. The graph of y = ln x passes through (1, 0) and exists only for x > 0.

ln(e^(x)) = x

e^(ln x) = x (x > 0)

Examiner insight

“Some candidates appeared to be unaware of the basic rule for the subtraction of two logarithmic terms.”

Worked example 14 marks

Given that ln(2x+1) - ln(x-3) = 2, find x in terms of e.

  1. 1

    use the subtraction law: ln(2x+1)/(x-3) = 2 [1]

  2. 2

    remove the logarithm by applying e to both sides [1]

  3. 3

    (2x+1)/(x-3) = e² [1]

  4. 4

    2x + 1 = e² x - 3e², so x(2 - e²) = -(3e² + 1) and x = (3e²+1)/(e²-2) [1]

3. Equations with the unknown in an index

When the unknown is in an index, apply logarithms to both sides. Then use the power law to bring the index down in front. Put brackets round the whole index.

The result is a linear equation in x with logarithms as the coefficients. Collect the x terms on one side, factorise, then divide.

Give the answer to the accuracy asked. Keep the logarithms unevaluated until the last line.

a^(x) = b ⇒ xln a = ln b

a^(f(x)) = b^(g(x)) ⇒ f(x)ln a = g(x)ln b

Examiner insight

“Although many responses involved taking logarithms of both sides, brackets were frequently omitted, which then lead to errors in the subsequent attempts at simplification.”

Worked example 14 marks

Use logarithms to solve the equation 12^(x) = 3^(2x+1). Give your answer correct to 3 significant figures.

  1. 1

    take logarithms of both sides and use the power law: ln 12^(x) = ln 3^(2x+1) [1]

  2. 2

    xln 12 = (2x+1)ln 3 [1]

  3. 3

    xln 12 - 2xln 3 = ln 3, so x(ln 12 - 2ln 3) = ln 3 [1]

  4. 4

    x = (ln 3)/(ln 12 - 2ln 3) = 3.82 [1]

4. Hidden quadratics and inequalities

Some equations hide a quadratic. Write each power with the same base, for example 9^(x) = (3^(x))². Let u = 3^(x), solve for u, then use logarithms on 3^(x) = u.

A power is always positive, so reject any value u ≤ 0. Do not take logarithms of each term of a sum: ln(9^(x) + 3^(x)) is not xln 9 + xln 3.

For an inequality, take logarithms of both sides, then divide by the logarithm of the base. If that logarithm is negative (a base between 0 and 1), the inequality reverses.

a^(2x) = (a^(x))²

u = a^(x) > 0

Examiner insight

“Most candidates attempted to take logarithms of each term in the given equation. This was a completely incorrect approach which could not be awarded any marks.” “It is essential that candidates read the question carefully.”

Worked example 15 marks

Given that 9^(x) + 3^(x) = 240, find the value of 3^(x) and hence, using logarithms, find the value of x correct to 4 significant figures.

  1. 1

    recognise 9^(x) = (3^(x))², so (3^(x))² + 3^(x) - 240 = 0 [1]

  2. 2

    let u = 3^(x): u² + u - 240 = 0, so (u-15)(u+16) = 0 [1]

  3. 3

    3^(x) > 0, so 3^(x) = 15 only [1]

  4. 4

    apply logarithms: xln 3 = ln 15 [1]

  5. 5

    x = (ln 15)/(ln 3) = 2.465 [1]

5. Linear form for power relationships

To find constants in y = Ax^(k) from a straight-line graph, take logarithms: ln y = kln x + ln A. This is Y = mX + c with Y = ln y and X = ln x.

The gradient is k. The intercept on the ln y axis is ln A. Find A by applying e to the intercept.

The coordinates read off the graph are already values of ln x and ln y. Substitute them directly. Do not take another logarithm.

y = Ax^(k) ⇒ ln y = kln x + ln A

k = (ln y₂ - ln y₁)/(ln x₂ - ln x₁)

Examiner insight

“There were a few common errors, the first arising from not writing down the correct logarithmic equation.” “Many candidates were able to find the gradient of the graph but were unsure what to equate it to.”

Worked example 15 marks

The variables x and y satisfy the equation y = Ax^(k), where A and k are constants. The graph of ln y against ln x is a straight line passing through the points (0.56, 2.87) and (0.81, 3.47), as shown in the diagram. Find the value of k, and the value of A correct to 2 significant figures.

  1. 1

    state ln y = kln x + ln A [1]

  2. 2

    k is the gradient of the line [1]

  3. 3

    k = (3.47 - 2.87)/(0.81 - 0.56) = 2.4 [1]

  4. 4

    substitute a point: 2.87 = 2.4 × 0.56 + ln A, so ln A = 1.526 [1]

  5. 5

    A = e^(1.526) = 4.6 [1]

6. Linear form for exponential relationships

For an exponential relationship, take logarithms: ln y = xln b + ln A. This is linear in x and ln y.

The gradient is ln b and the intercept is ln A. For y = Ae^(px) the gradient is p itself.

Write the whole index into the logarithmic equation before you read off the gradient. In y = Ae^(px+p) the index is px + p, so the gradient is p and the intercept is ln A + p.

y = Ab^(x) ⇒ ln y = xln b + ln A

y = Ae^(px) ⇒ ln y = px + ln A

Examiner insight

“It was important that candidates made correct substitutions into the straight line equation.”

Worked example 15 marks

The variables x and y satisfy the equation y = Ae^(px+p), where A and p are constants. The graph of ln y against x is a straight line passing through the points (1, 2.835) and (6, 6.585), as shown in the diagram. Find the values of A and p.

  1. 1

    state ln y = ln A + px + p [1]

  2. 2

    equate the gradient of the line to p [1]

  3. 3

    p = (6.585 - 2.835)/(6 - 1) = 0.75 [1]

  4. 4

    substitute (1, 2.835): 2.835 = ln A + 0.75 + 0.75, so ln A = 1.335 [1]

  5. 5

    A = e^(1.335) = 3.8 [1]

Recap

  • a^(x) = b means x = log_a b. ln a + ln b = ln(ab), ln a - ln b = lna/b, nln a = ln aⁿ.
  • Move coefficients inside as powers, combine into one logarithm, then remove it. Check each answer is valid.
  • e^(x) and ln x are inverse functions. y = e^(kx) passes through (0, 1): it grows for k > 0 and decays for k < 0.
  • Unknown in an index: take logarithms of both sides, use the power law, keep brackets. Same base gives a hidden quadratic: reject a^(x) ≤ 0. A negative logarithm reverses an inequality.
  • y = Ax^(k): plot ln y against ln x. Gradient = k, intercept = ln A.
  • y = Ab^(x): plot ln y against x. Gradient = ln b, intercept = ln A.

End-of-chapter exercise

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

  1. Do not use a calculator. Write 2ln 3 + ln 4 - ln 6 as a single logarithm in its simplest form.2 marks
    Answer
    1. 2ln 3 = ln 3² = ln 9.
    2. ln 9 + ln 4 - ln 6 = ln(9 × 4)/6 = ln 6.

    Trap: Writing 2ln 3 as ln 6 (multiplying inside instead of squaring) gives ln 4.

  2. Do not use a calculator. Simplify e^(3ln 2).2 marks
    Answer
    1. 3ln 2 = ln 2³ = ln 8.
    2. e^(ln 8) = 8.

    Trap: Treating the 3 as a multiplier outside, 3 e^(ln 2) = 6, ignores that it is a power.

  3. Do not use a calculator. Solve ln(x+4) - ln x = ln 5.3 marks
    Answer
    1. ln(x+4)/x = ln 5, so (x+4)/x = 5.
    2. x + 4 = 5x, so 4x = 4.
    3. x = 1.

    Trap: ln(x+4) - ln x is the logarithm of a quotient, not (ln(x+4))/(ln x).

  4. Do not use a calculator. The curve has equation y = e^(-3x). State the coordinates of the point where it crosses the y-axis, and describe what happens to y as x increases.2 marks
    Answer
    1. When x = 0, y = e⁰ = 1, so the point is (0, 1).
    2. The index is negative, so y decreases towards 0 but never reaches it.

    Trap: The -3 only sets how fast y decays. It is not the intercept.

  5. Solve 5^(x) = 40. Give your answer correct to 3 significant figures.3 marks
    Answer
    1. xln 5 = ln 40.
    2. x = (ln 40)/(ln 5).
    3. x = 2.29.

    Trap: (ln 40)/(ln 5) is not ln 8. Using ln 8 gives 2.08.

  6. Use logarithms to solve 3^(2x-1) = 7^(x). Give your answer correct to 3 significant figures.4 marks
    Answer
    1. (2x - 1)ln 3 = xln 7.
    2. 2xln 3 - ln 3 = xln 7, so x(2ln 3 - ln 7) = ln 3.
    3. x = (ln 3)/(2ln 3 - ln 7).
    4. x = 4.37.

    Trap: Writing 2x - 1ln 3 drops the brackets round the whole index.

  7. Solve the inequality 0.4^(x) > 10. Give the boundary value correct to 3 significant figures.3 marks
    Answer
    1. xln 0.4 > ln 10.
    2. ln 0.4 is negative, so dividing reverses the inequality: x < (ln 10)/(ln 0.4).
    3. x < -2.51.

    Trap: Dividing by the negative ln 0.4 without reversing the sign gives x > -2.51.

  8. Do not use a calculator. Solve 4^(x) - 3 × 2^(x) - 10 = 0. Give x as an exact expression in terms of logarithms.4 marks
    Answer
    1. 4^(x) = (2^(x))². Let u = 2^(x): u² - 3u - 10 = 0.
    2. (u - 5)(u + 2) = 0.
    3. 2^(x) > 0, so u = 5 only.
    4. xln 2 = ln 5, so x = (ln 5)/(ln 2).

    Trap: Taking logarithms of each term fails, and keeping 2^(x) = -2 has no solution.

  9. In an experiment, the variables V and h are modelled by V = Ahⁿ, where A and n are constants. When h = 2, V = 12, and when h = 5, V = 75. Transform the relationship to linear form in ln V and ln h, and use it to find the exact values of n and A. Hence find h when V = 200, correct to 3 significant figures.6 marks
    Answer
    1. ln V = nln h + ln A. The line passes through (ln 2, ln 12) and (ln 5, ln 75).
    2. n = (ln 75 - ln 12)/(ln 5 - ln 2) = (ln 6.25)/(ln 2.5) = (2ln 2.5)/(ln 2.5) = 2.
    3. ln 12 = 2ln 2 + ln A, so ln A = ln 3 and A = 3.
    4. 200 = 3h², so h² = 200/3.
    5. h = 8.16.

    Trap: Using (75 - 12)/(5 - 2) = 21 as the gradient forgets that the line's coordinates are ln h and ln V, not h and V.

  10. The temperature excess θ °C of a cooling liquid, t minutes after it leaves a heater, is modelled by θ = 3^(c - kt), where c and k are constants. The graph of lnθ against t is a straight line through the points (2, 3.80) and (10, 2.04). Find c and k correct to 3 significant figures. Hence find the time at which θ = 20, correct to 3 significant figures.7 marks
    Answer
    1. lnθ = (c - kt)ln 3 = cln 3 - (kln 3)t.
    2. Gradient = (2.04 - 3.80)/(10 - 2) = -0.22, so kln 3 = 0.22 and k = 0.200.
    3. The line is lnθ = 3.80 - 0.22(t - 2) = 4.24 - 0.22t, so the intercept is 4.24.
    4. cln 3 = 4.24, so c = 3.86.
    5. ln 20 = 4.24 - 0.22t, so t = (4.24 - ln 20)/0.22.
    6. t = 5.66 minutes.

    Trap: Dropping the brackets, lnθ = c - ktln 3, makes the intercept c itself and gives c = 4.24.

Say this, not that

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

Loses the markGets the mark
ln(2+x) - ln x = (ln(2+x))/(ln x)ln(2+x) - ln x = ln(2+x)/x, by the subtraction law
taking logarithms of each term of 9^(x) + 3^(x) = 240write 9^(x) as (3^(x))² and solve a quadratic in 3^(x)
ln y = 2x - aln 4ln y = (2x - a)ln 4, with brackets round the index
ln 2.87 = kln 0.56 + ln A2.87 = k(0.56) + ln A, since the coordinates are already logarithms

Frequently asked questions

What are the laws of logarithms, and how do I use them?
The laws turn products into sums, quotients into differences and powers into multiples: ln a+ln b=ln(ab), ln a-ln b=ln(a/b) and nln a=ln aⁿ. They apply to every term, so move a coefficient inside first: 2ln(2x)=ln(4x²). Collect the terms into a single logarithm, remove it, and check each answer.
What is the relationship between e^(x) and ln x?
They are inverse functions, so ln(e^(x))=x and e^(ln x)=x for x>0. Their graphs are reflections of each other in the line y=x. To remove a natural logarithm, apply the exponential to both sides: ln u=2 means u=e².
How do I solve an equation where the unknown is in the index, such as 12^(x)=3^(2x+1)?
Apply logarithms to both sides, then use the power law to bring the index down in front, putting brackets round the whole index. The result is a linear equation in x: collect the x terms on one side, factorise, then divide. Keep the logarithms unevaluated until the last line.
How do I solve 9^(x)+3^(x)=240?
Write 9^(x) as (3^(x))², then let u=3^(x) to get a quadratic in u: u²+u-240=0, so u=15 or u=-16. A power is always positive, so reject u=-16. Then apply logarithms to 3^(x)=15 to find x.
How do I find the constants A and k from a straight-line graph of ln y against ln x?
For y=Ax^(k), take logarithms: ln y=kln x+ln A. The gradient is k, and the intercept on the ln y axis is ln A, so find A by applying e to the intercept. The coordinates read off the graph are already logarithms, so substitute them directly.
Why is my logarithm equation wrong when I take logs of the coordinates?
Do not take a logarithm of a value read from a graph of ln y against ln x: it is already a logarithm. Write 2.87=k(0.56)+ln A, not ln 2.87=kln 0.56+ln A. Put brackets round the whole index too, so ln y=(2x - a)ln 4 and not ln y=2x - aln 4.

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