Skip to content
IB Diploma ProgrammeSL & HL

Exponential and logarithmic functions

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Exponential and logarithmic functions notes as a printable PDF.

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

Read the notes

The full Exponential and logarithmic functions notes as text: skim, search, and jump between subtopics.

~12 min read

1. Exponential functions and their graphs

An exponential function has the variable in the power: f(x) = a^(x), where a > 0. The number a is the base. Every output is positive, so the range is f(x) > 0.

The graph of y = a^(x) passes through (0, 1) because a⁰ = 1. The x-axis is a horizontal asymptote: the curve gets closer to y = 0 but never reaches it. If a > 1 the curve rises (growth). If 0 < a < 1 it falls (decay).

f(x) = a^(x), a > 0

f(0) = a⁰ = 1

Worked example 13 marks

The function f is defined by f(x) = a^(x), where a > 0. The graph of y = f(x) passes through the point (3, 27).(a) Find the value of a.(b) Find f(-2).

  1. 1

    substitutes the point: a³ = 27 (M1) [1]

  2. 2

    a = 3 (A1) [1]

  3. 3

    f(-2) = 3⁻² = 1/9 (A1) [1]

2. The base e and writing any base as e

The number e is a special base. The function f(x) = e^(x) has the shape of any exponential with a > 1: it passes through (0, 1), has the x-axis as its asymptote and its range is f(x) > 0.

Every exponential can be written with base e. The natural logarithm ln a is the power to which e is raised to give a, so a = e^(ln a). Then a^(x) = (e^(ln a))^(x), which is e^(x ln a). A negative power shows decay: e^(-kt) with k > 0 falls towards 0.

a^(x) = e^(x ln a)

f(x) = e^(x), f(x) > 0

Worked example 13 marks

Write 5^(x) in the form e^(kx), where k is an exact constant. Hence write down the value of k for which e^(kx) equals (1/5)^(x).

  1. 1

    uses a^(x) = e^(x lna) with a = 5 (M1) [1]

  2. 2

    5^(x) = e^(x ln 5), so k = ln 5 (A1) [1]

  3. 3

    for a = 1/5: k = ln1/5 (A1) [1]

3. Logarithmic functions as inverses

The logarithm log_a x is the power to which a must be raised to give x. The function f(x) = log_a x is the inverse of g(x) = a^(x), for a > 0, a ≠ 1. The function ln x is log_e x, the inverse of e^(x).

Because they are inverses, each undoes the other. The graph of y = log_a x is the graph of y = a^(x) reflected in the line y = x. The domain of log_a x is x > 0 and its range is all real numbers. The graph passes through (1, 0) and the y-axis is a vertical asymptote.

log_a a^(x) = x, a, x > 0, a ≠ 1

a^(log_a x) = x, x > 0

ln e^(x) = x, e^(ln x) = x

Worked example 13 marks

Do not use a calculator. Find the exact value of(a) log₂ 2⁷(b) ln e⁻⁴(c) e^(ln 9)

  1. 1

    (a) log_a a^(x) = x, so log₂ 2⁷ = 7 (A1) [1]

  2. 2

    (b) ln e⁻⁴ = -4 (A1) [1]

  3. 3

    (c) e^(ln 9) = 9, as e^(x) and ln x undo each other (A1) [1]

4. Finding an inverse and its domain

To find the inverse of a function built from e^(x) or ln x, write y = f(x), swap x and y, then rearrange for y. Take ln of both sides to remove e. Raise e to the power of each side to remove ln.

The domain of the inverse is the range of the original. The range of e^(x) is positive, so the domain of ln x is x > 0.

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

domain of f⁻¹ = range of f

Worked example 13 marks

The function f is defined by f(x) = 2e^(x), where x ∈ R. Find f⁻¹(x), and state its domain.

  1. 1

    swaps x and y: x = 2e^(y), so e^(y) = x/2 (M1) [1]

  2. 2

    f⁻¹(x) = lnx/2 (A1) [1]

  3. 3

    the domain of f⁻¹ is the range of f: x > 0 (A1) [1]

5. Solving equations with the inverse function

To solve e^(u) = c, take ln of both sides: u = ln c. To solve ln u = c, raise e to the power of both sides: u = e^(c). First isolate the exponential or the logarithm on one side.

Give an exact answer such as ln 8 unless the question asks for a decimal. Round only at the last step.

e^(u) = c ⇒ u = ln c

ln u = c ⇒ u = e^(c)

a^(u) = c ⇒ u = log_a c

Worked example 14 marks

Do not use a calculator. Solve, giving exact answers,(a) 5e^(x) = 40(b) ln(2x) = 3

  1. 1

    (a) isolates the exponential: e^(x) = 8 (M1) [1]

  2. 2

    x = ln 8 (A1) [1]

  3. 3

    (b) raises e to the power of both sides: 2x = e³ (M1) [1]

  4. 4

    x = e³/2 (A1) [1]

6. Exponential models

A quantity that grows or decays towards a limit is modelled by V = c + be^(-kt) with k > 0. At t = 0, e⁰ = 1, so the initial value is c + b. As t grows, e^(-kt) tends to 0 and V tends to c.

To find k, substitute the given values and isolate e^(-kt), then take ln. To find a time, substitute the value of k and equate to the given output. Keep the unrounded k in the calculator for the next part. Give the unit of the quantity.

V = c + be^(-kt)

V(0) = c + b

V → c as t → ∞

Worked example 15 marks

The volume of air inside a balloon, V, measured in cubic metres, after t minutes is given by V = 5 + 20e^(-kt), where t ≥ 0 and k is a positive constant.(a) Write down the initial volume of air inside the balloon. After 4 minutes, the volume of air inside the balloon is half the initial volume.(b) Find the value of k.(c) Find the time at which the volume of air inside the balloon is 8 cubic metres.

  1. 1

    (a) V = 5 + 20e⁰: 25 cubic metres (A1) [1]

  2. 2

    (b) substituting half their value of initial volume and t = 4 into the equation: 12.5 = 5 + 20e^(-4k) (M1) [1]

  3. 3

    k = 0.245 (0.245207…), accept -1/4ln15/40 if solved using logs (A1) [1]

  4. 4

    (c) attempt to substitute their value of k into V and equate to 8: 8 = 5 + 20e^(-0.2452t) (M1) [1]

  5. 5

    t = 7.74 (7.73680…) (A1) [1]

Recap

  • f(x) = a^(x) with a > 0 passes through (0, 1), has the x-axis as an asymptote and has range f(x) > 0. It rises if a > 1 and falls if 0 < a < 1.
  • a^(x) = e^(x ln a). A negative power such as e^(-kt) is decay.
  • log_a x and a^(x) are inverses: log_a a^(x) = x and a^(log_a x) = x. ln x and e^(x) are inverses.
  • The graph of log_a x is that of a^(x) reflected in y = x. Its domain is x > 0, it passes through (1, 0) and the y-axis is an asymptote.
  • To find an inverse, swap x and y and rearrange. The domain of f⁻¹ is the range of f.
  • Isolate the exponential, then take ln. Isolate the logarithm, then raise e to the power of both sides. Keep answers exact until the last step.
  • In V = c + be^(-kt), the initial value is c + b and V tends to c. Substitute, isolate e^(-kt), then take ln.

End-of-chapter exercise

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

  1. State the coordinates of the point where the graph of y = 3^(x) crosses the y-axis.1 mark
    Answer
    1. (0, 1), since 3⁰ = 1 (A1)

    Trap: Any a⁰ is 1, not 0, so the point is (0, 1), not the origin.

  2. Do not use a calculator. Write down the value of ln e⁻².1 mark
    Answer
    1. ln e⁻² = -2 (A1)

    Trap: ln undoes e^(x) and returns the power, -2. It is not 2 and not e⁻².

  3. Do not use a calculator. The value of log₂ 32 is A. 5 B. 16 C. 30 D. 641 mark
    Answer
    1. A (A1)
    2. 32 = 2⁵, so log₂ 32 = 5.
    3. B divides 32 by 2. C subtracts 2 from 32. D is 32 doubled.

    Trap: A logarithm is a power, not a quotient or a difference. Write 32 as a power of 2 first.

  4. Do not use a calculator. Solve ln(x - 1) = 2. Give your answer in exact form.2 marks
    Answer
    1. raises e to the power of both sides: x - 1 = e² (M1)
    2. x = 1 + e² (A1)

    Trap: Do not stop at x = e². The -1 is inside the logarithm, so add 1 after removing ln.

  5. Do not use a calculator. Solve e^(2x) = 7. Give your answer in exact form.3 marks
    Answer
    1. takes ln of both sides: ln e^(2x) = ln 7 (M1)
    2. 2x = ln 7 (A1)
    3. x = 1/2 ln 7 (A1)

    Trap: Divide the whole of ln 7 by 2. Writing x = ln7/2 or ln 7 - 2 is a wrong rearrangement.

  6. Do not use a calculator. (a) Write (1/2)^(t) in the form e^(kt), giving k exactly. (b) State, with a reason, whether (1/2)^(t) models growth or decay.3 marks
    Answer
    1. (a)
    2. uses a^(t) = e^(t ln a) with a = 1/2 (M1)
    3. k = ln1/2 (A1)
    4. (b)
    5. decay, because 1/2 < 1 so k = ln1/2 is negative (R1)

    Trap: The sign of k matters. ln1/2 is negative, so writing k = ln 2 gives growth instead of decay.

  7. Do not use a calculator. The function f is defined by f(x) = e^(3x), where x ∈ R. Find f⁻¹(x) and state its domain.3 marks
    Answer
    1. swaps x and y: x = e^(3y) (M1)
    2. 3y = ln x, so f⁻¹(x) = 1/3 ln x (A1)
    3. domain is the range of f: x > 0 (A1)

    Trap: f⁻¹ is not 1/(e^(3x)) and not e^(-3x). The domain of a logarithm is x > 0, so the domain must be stated.

  8. A radioactive sample has mass M = 80e^(-kt) grams after t years, where k is a positive constant. After 5 years the mass is 60 grams. (a) Find the value of k, correct to three significant figures. (b) Determine how many years it takes for the mass to fall to 20 grams.4 marks
    Answer
    1. (a)
    2. 60 = 80e^(-5k), so e^(-5k) = 0.75 (M1)
    3. k = -1/5 ln 0.75 = 0.0575 (A1)
    4. (b)
    5. 20 = 80e^(-kt), so e^(-kt) = 0.25 (M1)
    6. t = (-ln 0.25)/(0.0575…) = 24.1 years (A1)

    Trap: ln 0.75 and ln 0.25 are negative. Dividing by -5 or -k makes the answers positive. Keep the unrounded k for part (b).

  9. The value of a painting, in dollars, t years after it is bought is modelled by P = 2000 × 1.08^(t). The value of a car, in dollars, t years after it is bought is modelled by C = 5000e^(-0.05t). Both are bought at the same time. (a) Show that P = 2000e^(t ln 1.08). (b) Determine the value of t when the painting and the car have the same value.5 marks
    Answer
    1. (a)
    2. 1.08 = e^(ln 1.08), so 1.08^(t) = e^(t ln 1.08) and P = 2000e^(t ln 1.08) (R1)(AG)
    3. (b)
    4. equates the models: 2000e^(t ln 1.08) = 5000e^(-0.05t) (M1)
    5. collects the exponentials: e^(t ln 1.08 + 0.05t) = 2.5 (A1)
    6. takes ln: t(ln 1.08 + 0.05) = ln 2.5 (M1)
    7. t = (ln 2.5)/(ln 1.08 + 0.05) = 7.22 years (7.21710…) (A1)

    Trap: Rounding ln 1.08 to 0.08 before the last step gives t = (ln 2.5)/0.13 = 7.05, which is wrong to three significant figures.

  10. A metal casting cools in a workshop where the air is at 20 °C. Its temperature, T °C, t minutes after it is removed from a furnace is modelled by T = 20 + Ae^(-kt), where A and k are positive constants. After 5 minutes the temperature is 65 °C. After 15 minutes it is 41 °C. (a) Show that k = 1/10ln15/7. (b) Find the temperature of the casting when it is removed from the furnace. (c) Determine the time at which the temperature is 30 °C. (d) Explain why the model predicts that the temperature never falls to 20 °C.9 marks
    Answer
    1. (a)
    2. subtracts 20 from each reading: Ae^(-5k) = 45 and Ae^(-15k) = 21 (M1)
    3. divides to eliminate A: e^(10k) = 45/21 (M1)
    4. e^(10k) = 15/7, so 10k = ln15/7 (A1)
    5. k = 1/10ln15/7 (= 0.0762140…) (AG)
    6. (b)
    7. A = 45e^(5k) (M1)
    8. A = 65.9 (65.8732…) (A1)
    9. T(0) = 20 + A = 85.9 °C (A1)
    10. (c)
    11. 30 = 20 + Ae^(-kt), so e^(-kt) = 10/A (M1)
    12. t = 1/klnA/10 = 24.7 minutes (24.7349…) (A1)
    13. (d)
    14. e^(-kt) > 0 for all t, so Ae^(-kt) > 0 and T > 20; the line T = 20 is an asymptote (R1)

    Trap: The 20 must be subtracted before dividing: e^(10k) = 65/41 loses the constant, just as 12.5 = 20e^(-4k) does in the balloon question.

Say this, not that

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

Loses the markGets the mark
The initial volume is 20 (the 5 is dropped)V = 5 + 20e⁰ = 25, 25 cubic metres, with its unit
12.5 = 20e^(-4k) (the constant 5 is lost)substituting half their value of initial volume and t = 4 into the equation: 12.5 = 5 + 20e^(-4k)
k = -0.245 (sign lost when taking ln)k = 0.245, a positive constant, or -1/4ln15/40 if solved using logs
log_a a^(x) = a or ln e⁻⁴ = e⁻⁴log_a a^(x) = x and ln e⁻⁴ = -4: each function undoes the other

Frequently asked questions

What is an exponential function and why does its graph have an asymptote?
An exponential function has the variable in the power, f(x) = a^(x) with a > 0. Its graph passes through (0, 1). The x-axis is a horizontal asymptote, so the curve gets closer to y = 0 but never reaches it.
How do you write an exponential in the form e^(kt)?
Use a^(x) = e^(x ln a), so 5^(x) = e^(x ln 5). For a = 1/5 the value of k is ln1/5. A negative power such as e^(-kt) with k > 0 is decay, because it falls towards 0.
How does the natural logarithm undo e^(x)?
The natural logarithm ln x is the inverse of e^(x), so ln e^(x) = x and e^(ln x) = x. More generally log_a a^(x) = x. The graph of y = log_a x is the graph of y = a^(x) reflected in the line y = x.
How do you find the inverse of f(x) = 2e^(x) and its domain?
Write y = f(x), swap x and y, then rearrange for y. For f(x) = 2e^(x) this gives f⁻¹(x) = lnx/2. The domain of the inverse is the range of the original, so f⁻¹ has domain x > 0.
How do you solve an equation such as ln(x - 1) = 2 exactly?
To solve ln u = c, raise e to the power of both sides, so u = e^(c). Isolate the logarithm first. For ln(x - 1) = 2, x - 1 = e², so x = 1 + e². Do not stop at x = e², because the -1 is inside the logarithm.
What common mistakes lose marks in exponential models?
The constant 5 is lost when 12.5 = 5 + 20e^(-4k) is rearranged, so 12.5 = 20e^(-4k) is wrong. The sign is lost when taking ln, so k = 0.245 is a positive constant, not -0.245. Keep the unrounded k in the calculator for the next part.

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