Cambridge IGCSE · Topic 6.1
IGCSE Add Maths 0606 / Topic 6 / IGCSE

Two curves, one mirror.

The exponential curve \(y = e^{x}\) shoots upwards but never touches the \(x\)-axis; the logarithm \(y = \ln x\) creeps upwards but never touches the \(y\)-axis. They are inverses, so each is the reflection of the other in \(y = x\). Learn their shapes, their asymptotes and their key points, and every graph of the form \(y = ke^{nx} + a\) or \(y = k\ln(ax + b)\) follows from them.

The key idea

\(\log_{a} x = y\) means exactly the same as \(a^{y} = x\); \(\ln x\) is \(\log_{e} x\), where \(e \approx 2.718\). \(y = e^{x}\) has domain all real \(x\), range \(y > 0\), asymptote \(y = 0\) and passes through \((0, 1)\). \(y = \ln x\) has domain \(x > 0\), range all real \(y\), asymptote \(x = 0\) and passes through \((1, 0)\). They are inverse functions: \(\ln(e^{x}) = x\) and \(e^{\ln x} = x\), so each graph is the reflection of the other in \(y = x\). For \(y = ke^{nx} + a\): asymptote \(y = a\), \(y\)-intercept \(k + a\). For \(y = k\ln(ax + b)\): asymptote \(x = -\frac{b}{a}\), \(x\)-intercept where \(ax + b = 1\).

x y O (0, 1) (1, 0) y = eˣ y = ln x y = x y = eˣ: domain all real x, range y > 0 asymptote y = 0 (the x-axis) y = ln x: domain x > 0, all real y asymptote x = 0 (the y-axis) each is the reflection of the other in the line y = x (dashed) (0, 1) on y = eˣ reflects to (1, 0) on y = ln x: e⁰ = 1, ln 1 = 0
Fig. 1: y = eˣ (blue) and y = ln x (orange) are reflections of each other in the line y = x (dashed). y = eˣ has asymptote y = 0 and meets the y-axis at (0, 1); y = ln x has asymptote x = 0 and meets the x-axis at (1, 0)
Section 01

Exponentials and logarithms are inverses.

A logarithm answers the question 'what power?'. \(\log_{2} 8 = 3\) because \(2^{3} = 8\). In general, for a base \(a > 0\), \(a \ne 1\), \(\log_{a} x = y\) means exactly the same as \(a^{y} = x\). The most important base is the number \(e \approx 2.718\), and \(\log_{e} x\) is written \(\ln x\) (the natural logarithm). So \(y = \ln x\) means \(e^{y} = x\), and the functions \(f(x) = e^{x}\) and \(g(x) = \ln x\) undo each other.

Worked example Switching between the two forms
Find the exact value of (a) \(\log_{2} 32\), (b) \(\log_{3} \frac{1}{9}\), (c) \(\ln e^{5}\), (d) \(e^{\ln 7}\). Then (e) write \(\ln x = 3\) and \(e^{y} = 10\) in the other form.
  1. (a) \(\log_{2} 32 = y\) means \(2^{y} = 32 = 2^{5}\), so \(y = 5\).
  2. (b) \(3^{y} = \frac{1}{9} = 3^{-2}\), so \(\log_{3} \frac{1}{9} = -2\). A log can be negative; only the number inside must be positive.
  3. (c) \(\ln\) undoes \(e\) to the power: \(\ln e^{5} = 5\).
  4. (d) \(e\) to the power undoes \(\ln\): \(e^{\ln 7} = 7\).
  5. (e) \(\ln x = 3\) means \(x = e^{3}\); \(e^{y} = 10\) means \(y = \ln 10\). These are exact answers: on Paper 1 leave them like this.
Answer: (a) \(5\) (b) \(-2\) (c) \(5\) (d) \(7\) (e) \(x = e^{3}\), \(y = \ln 10\)
Worked example Composing the inverse pair
\(f(x) = e^{x}\) for \(x \in \mathbb{R}\) and \(g(x) = \ln x\) for \(x > 0\). Simplify \(gf(x)\) and \(fg(x)\), stating where each is defined, and state the range of each of \(f\) and \(g\).
  1. \(gf(x) = g(e^{x}) = \ln(e^{x}) = x\). Since \(e^{x} > 0\) for every \(x\), this works for all real \(x\).
  2. \(fg(x) = f(\ln x) = e^{\ln x} = x\), but only for \(x > 0\), because \(\ln x\) needs \(x > 0\).
  3. Range of \(f\): \(f(x) > 0\). Range of \(g\): all real numbers.
  4. So \(g = f^{-1}\): the domain of each is the range of the other, exactly as for any function and its inverse in topic 1.
Answer: \(gf(x) = x\) for all real \(x\); \(fg(x) = x\) for \(x > 0\); range of \(f\) is \(f(x) > 0\), range of \(g\) is all real numbers
Your turn
Find the exact value of \(\log_{5} 125\), \(\log_{4} 2\) and \(\ln \frac{1}{e^{2}}\).
Examiner trap

\(\ln x\) is only defined for \(x > 0\): \(\ln 0\) and \(\ln(-3)\) do not exist, so a log graph never reaches its asymptote and never appears on the wrong side of it. But the VALUE of a log can be negative or zero: \(\ln 1 = 0\) and \(\ln \frac{1}{e} = -1\). And \(e^{x}\) is never zero or negative, so \(y = e^{x}\) stays strictly above the \(x\)-axis, however far left you go.

Section 02

Exponential graphs: asymptote first.

Every graph \(y = ke^{nx} + a\) (with \(k\), \(n\), \(a\) integers, \(k \ne 0\), \(n \ne 0\)) is the curve \(y = e^{x}\) stretched and shifted. The term \(ke^{nx}\) gets closer and closer to \(0\) at one end, so the curve levels out towards the horizontal line \(y = a\). Draw that asymptote dashed first, then decide whether the curve sits above it or below it.

x y O y = 4 (0, 2) (ln 2, 0) y = 4 − 2eˣ as x → −∞, eˣ → 0, so y → 4 asymptote y = 4 (dashed) x = 0: y = 4 − 2 = 2 y = 0: eˣ = 2, so x = ln 2 k = −2 < 0: the curve is below its asymptote, range y < 4
Fig. 2: y = 4 - 2eˣ. The asymptote is y = 4; since k = -2 is negative, the curve lies below it, meets the y-axis at (0, 2) and crosses the x-axis at (ln 2, 0)
Worked example A curve below its asymptote
Sketch \(y = 4 - 2e^{x}\), stating the equation of the asymptote and the exact coordinates of the points where the curve meets the axes. State the range.
  1. In the form \(ke^{nx} + a\): \(k = -2\), \(n = 1\), \(a = 4\). As \(x \to -\infty\), \(e^{x} \to 0\), so \(y \to 4\): the asymptote is \(y = 4\).
  2. \(k < 0\), so the curve is below the asymptote and falls more and more steeply as \(x\) increases.
  3. \(y\)-intercept: \(4 - 2(1) = 2\), so \((0, 2)\).
  4. \(x\)-intercept: \(4 - 2e^{x} = 0\) gives \(e^{x} = 2\), so \(x = \ln 2\): the point \((\ln 2, 0)\).
  5. Range: \(y < 4\) (Fig. 2).
Answer: Asymptote \(y = 4\); meets the axes at \((0, 2)\) and \((\ln 2, 0)\); range \(y < 4\)
Worked example Finding the constants from the graph
The curve \(y = ke^{2x} + a\) has asymptote \(y = 2\) and meets the \(y\)-axis at \((0, 5)\). Find \(k\) and \(a\), and find the exact value of \(y\) when \(x = \ln 2\).
  1. The asymptote of \(y = ke^{2x} + a\) is \(y = a\), so \(a = 2\).
  2. \(y\)-intercept \(k + a = 5\), so \(k = 3\) and \(y = 3e^{2x} + 2\).
  3. At \(x = \ln 2\): \(e^{2\ln 2} = \left(e^{\ln 2}\right)^{2} = 2^{2} = 4\).
  4. So \(y = 3(4) + 2 = 14\).
Answer: \(k = 3\), \(a = 2\); \(y = 14\) when \(x = \ln 2\)
Your turn
Sketch \(y = 3e^{-2x} + 1\): state the asymptote, the \(y\)-intercept, the range and whether the curve meets the \(x\)-axis.
Examiner trap

The \(y\)-intercept of \(y = ke^{nx} + a\) is \(k + a\), not \(k\) and not \(a\): \(e^{0} = 1\), so the \(k\) survives. And the asymptote is \(y = a\), not \(y = 0\): a vertical shift moves the asymptote too. Always draw the asymptote dashed and label it with its equation.

Stage 1 · Learn

Check your understanding

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

What is the exact value of \(\log_{2} \frac{1}{8}\)?

Quick check+10 XP

What is the equation of the asymptote of \(y = 3e^{2x} - 5\)?

Quick check+10 XP

What is the domain of \(y = \ln(2x - 6)\)?

Quick check+10 XP

Which graph is the reflection of \(y = e^{x}\) in the line \(y = x\)?

Section 03

Log graphs: a wall where the bracket is zero.

For \(y = k\ln(ax + b)\) (with \(k\), \(a\), \(b\) integers), the logarithm needs \(ax + b > 0\). The curve exists on one side of the line where \(ax + b = 0\), and plunges along that line without ever touching it: \(x = -\frac{b}{a}\) is a vertical asymptote. Because \(\ln 1 = 0\), the curve crosses the \(x\)-axis where the bracket equals \(1\), not where it equals \(0\).

x y O x = −3 (−2, 0) (0, 2 ln 3) y = 2 ln(x + 3) needs x + 3 > 0: domain x > −3 asymptote x = −3 (dashed) y = 0: x + 3 = 1, so x = −2 x = 0: y = 2 ln 3 (about 2.2) range: all real y
Fig. 3: y = 2 ln(x + 3). The bracket must be positive, so the domain is x > -3 and the line x = -3 is the asymptote. The curve crosses the x-axis where x + 3 = 1, at (-2, 0), and meets the y-axis at (0, 2 ln 3)
Worked example Domain, asymptote and exact intercepts
Sketch \(y = 2\ln(x + 3)\), stating the domain, the equation of the asymptote and the exact coordinates of the points where the curve meets the axes.
  1. The bracket must be positive: \(x + 3 > 0\), so the domain is \(x > -3\) and the asymptote is \(x = -3\).
  2. \(x\)-intercept: \(2\ln(x + 3) = 0\) means \(\ln(x + 3) = 0\), so \(x + 3 = 1\) and \(x = -2\): the point \((-2, 0)\).
  3. \(y\)-intercept: \(x = 0\) gives \(y = 2\ln 3\): the point \((0, 2\ln 3)\).
  4. Shape: \(k = 2 > 0\), so the curve comes up from \(-\infty\) beside the asymptote, crosses at \((-2, 0)\) and keeps rising, more and more slowly (Fig. 3).
Answer: Domain \(x > -3\); asymptote \(x = -3\); meets the axes at \((-2, 0)\) and \((0, 2\ln 3)\)
Worked example An exponential and its inverse on one diagram
\(f(x) = e^{x} + 3\) for \(x \in \mathbb{R}\). Find \(f^{-1}(x)\) and state its domain. On one diagram, sketch \(y = f(x)\) and \(y = f^{-1}(x)\), giving their asymptotes and the points where they meet the axes.
  1. \(y = e^{x} + 3\) gives \(e^{x} = y - 3\), so \(x = \ln(y - 3)\). Hence \(f^{-1}(x) = \ln(x - 3)\).
  2. The range of \(f\) is \(f(x) > 3\), so the domain of \(f^{-1}\) is \(x > 3\).
  3. \(y = f(x)\): asymptote \(y = 3\), \(y\)-intercept \(1 + 3 = 4\), so \((0, 4)\); no \(x\)-intercept, since \(y > 3\).
  4. \(y = f^{-1}(x)\): asymptote \(x = 3\), \(x\)-intercept from \(x - 3 = 1\), so \((4, 0)\); no \(y\)-intercept, since \(x > 3\).
  5. The two curves are reflections of each other in \(y = x\): \((0, 4)\) and \((4, 0)\) swap, and so do the asymptotes.
Answer: \(f^{-1}(x) = \ln(x - 3)\), \(x > 3\); \(y = f(x)\): asymptote \(y = 3\), point \((0, 4)\); \(y = f^{-1}(x)\): asymptote \(x = 3\), point \((4, 0)\)
Your turn
For \(y = -2\ln(x - 1)\), state the domain, the asymptote, any points where the curve meets the axes, and whether it rises or falls.
Examiner trap

The \(x\)-intercept of a log graph comes from bracket \(= 1\), NOT bracket \(= 0\): bracket \(= 0\) gives the asymptote. For \(y = 2\ln(x + 3)\), \(x = -3\) is the asymptote and \(x = -2\) is the intercept. In the next two lessons the laws of logarithms and solving equations such as \(e^{x} = 2\) will make these intercepts quicker to find.

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to IGCSE Additional Mathematics Paper 1 and Paper 2 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

For the curve \(y = 5 - 3e^{2x}\), which gives the point where it meets the \(y\)-axis and the equation of its asymptote?

Exam style+20 XP

Where does the curve \(y = 3\ln(2x - 5)\) meet the coordinate axes?

Exam style+20 XP

The curve \(y = ke^{x} + a\) passes through \((0, 1)\) and has asymptote \(y = -3\). Find \(k\) and \(a\).

Exam style+20 XP

\(f(x) = e^{2x} + 1\) for \(x \in \mathbb{R}\). Find \(f^{-1}(x)\) and its domain.

Skill unlocked

Asymptotes drawn, intercepts exact, mirror in y = x.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
Logarithms from their definition, the graphs of \(y = ke^{nx} + a\) and \(y = k\ln(ax + b)\) with asymptotes and exact intercepts, and an exponential function with its inverse.