Free access until 31 December 2026 · Physics and Maths questions and notes, updated continuously · Build a test · Get an email before anything changes
IAL Maths (Edexcel) · P2 · Topic P2.5AS≈ 25 min read

P2.5 Exponentials and logarithms

⤓ Presentation⤓ PowerPointPresentation: opens offline in any browser, simulations live. PowerPoint: editable.

P2 (Pure Mathematics 2), specification sections 5.1–5.3. Indices and graph transformations come from P1; the number e, ln x and exponential models are in P3. On this page "log" on its own means \(\log_{10}\), the log key on your calculator.

What this page covers

8 points
  • The function \(y = a^x\) for \(a > 0,\ a \ne 1\): its graph, intercept, asymptote and translations
  • The meaning of \(\log_a x\), including \(\log_a a = 1\) and \(\log_a 1 = 0\)
  • Why \(y = \log_a x\) is the reflection of \(y = a^x\) in the line \(y = x\)
  • The laws of logarithms for products, quotients, powers and reciprocals
  • Solving \(a^x = b\), including equations with the unknown in two different powers
  • Equations that become quadratics in \(a^x\)
  • Changing the base of a logarithm, and proving the change of base formula
  • Solving logarithmic equations and checking that every log is defined

In one minute

6 points
  • A logarithm answers the question "what power?": \(\log_a b = x\) means exactly the same as \(a^x = b\), and every exponential or logarithmic equation on this page is solved by moving between those two forms.
  • \(y = a^x\) (\(a > 0,\ a \ne 1\)) passes through \((0, 1)\), is always positive and has the \(x\)-axis as an asymptote. It increases if \(a > 1\) and decreases if \(0 < a < 1\).
  • \(\log_a a = 1\), \(\log_a 1 = 0\), and you can only take the log of a positive number.
  • Laws: \(\log xy = \log x + \log y\); \(\log \frac{x}{y} = \log x - \log y\); \(\log x^k = k\log x\); \(\log \frac{1}{x} = -\log x\). All logs in one law must have the same base.
  • To solve \(a^x = b\), take logs of both sides: \(x = \frac{\log b}{\log a}\). If \(a^{2x}\) and \(a^x\) both appear, let \(u = a^x\), solve a quadratic and reject \(u \le 0\).
  • Change of base: \(\log_a x = \frac{\log_b x}{\log_b a}\). For log equations, combine into one log, remove the logs, and check every root keeps each original argument positive.

Contents

13 sections
  1. What does the graph of y = aˣ look like?
  2. What is a logarithm?
  3. What are the laws of logarithms?
  4. How do I solve aˣ = b?
  5. How do I solve a quadratic in aˣ?
  6. How do I change the base of a logarithm?
  7. How do I solve a logarithmic equation?
  8. Exam tips for P2.5
  9. Common misconceptions
  10. How this topic connects
  11. Key formulae
  12. Check your understanding
  13. Specification checklist

What does the graph of y = aˣ look like?

In P1 the variable was the base, as in \(x^2\) or \(x^3\). Now the base is fixed and the variable is the power. That small change produces a completely different kind of curve: one that grows by the same factor every time \(x\) goes up by 1.

Exponential function. A function of the form \(y = a^x\), where the base \(a\) is a positive constant other than 1 and the variable \(x\) is the power.

Why must \(a\) be positive and not 1? If \(a = 1\) the graph is just the line \(y = 1\), which is not interesting. If \(a\) were negative, numbers like \((-2)^{1/2}\) would not be real, so the curve would have gaps everywhere. With \(a > 0\), the power \(a^x\) is defined for every real \(x\).

Four features follow from the index laws:

  • Intercept. \(a^0 = 1\) for every base, so every curve \(y = a^x\) passes through \((0, 1)\). At \(x = 1\) the height is \(a\) itself.
  • Always positive. \(a^x > 0\) for every real \(x\). The curve never meets the \(x\)-axis, which is a horizontal asymptote.
  • Growth or decay. If \(a > 1\) the curve increases, more and more steeply (exponential growth). If \(0 < a < 1\) it decreases towards the \(x\)-axis (exponential decay).
  • Reflection. \(\left(\tfrac{1}{2}\right)^x = 2^{-x}\), so \(y = \left(\tfrac12\right)^x\) is the reflection of \(y = 2^x\) in the \(y\)-axis.
−3−2−112312345678Oy = 2ˣy = 3ˣy = (½)ˣ(0, 1)
y = 2ˣ, y = 3ˣ and y = (½)ˣ. All three pass through (0, 1) and stay above the x-axis. The larger the base, the steeper the curve for x > 0 and the flatter for x < 0; (½)ˣ is the mirror image of 2ˣ in the y-axis.

The P1 transformations still apply. \(y = a^x + k\) moves the curve and its asymptote up by \(k\), so the asymptote becomes \(y = k\). \(y = a^{x+c}\) moves the curve \(c\) to the left; the asymptote stays on the \(x\)-axis but the \(y\)-intercept becomes \(a^c\).

−4−3−2−1123123456789Oy = 2ˣy = 2ˣ + 3y = 2ˣ⁺²(0, 4)(0, 1)asymptote y = 3
Translations of y = 2ˣ. Adding 3 lifts the curve and its asymptote to y = 3. Replacing x by x + 2 moves the curve 2 left, so it now crosses the y-axis at 2² = 4, but the asymptote stays y = 0.
Worked example 1 Easy · Sketch

The curve \(C\) has equation \(y = 3^x - 9\). (a) Find the coordinates of the points where \(C\) meets the coordinate axes. (b) Write down the equation of the asymptote to \(C\). (c) Sketch \(C\). (d) Find the value of \(x\) for which \(y = 72\).

−4−3−2−1123−10−8−6−4−2246810Oy = 3ˣ − 9(2, 0)(0, −8)y = −9
C: y = 3ˣ − 9. A sketch must show the two intercepts (2, 0) and (0, −8) and the asymptote y = −9, with the curve staying strictly above the asymptote.

(a) On the \(y\)-axis, \(x = 0\): \(y = 3^0 - 9 = 1 - 9 = -8\), giving \(\left(0, -8\right)\). On the \(x\)-axis, \(y = 0\): \(3^x = 9 = 3^2\), so \(x = 2\), giving \((2, 0)\). \((0, -8)\) and \((2, 0)\)

(b) As \(x \to -\infty\), \(3^x \to 0\), so \(y \to -9\). \(y = -9\)

(c) The curve \(y = 3^x\) moved down 9: increasing, through both intercepts, approaching \(y = -9\) on the left (see the figure).

(d) \(3^x - 9 = 72 \Rightarrow 3^x = 81 = 3^4\). \(x = 4\)

Common error

Drawing the asymptote of \(y = 3^x - 9\) on the \(x\)-axis, or letting the curve cross \(y = -9\). The translation moves the asymptote too, and the curve stays strictly above it.

What is a logarithm?

Suppose \(2^x = 8\). You can see that \(x = 3\). But for \(2^x = 7\) there is no whole-number answer, and we need a name for "the power of 2 that gives 7". That name is the logarithm.

Logarithm. The logarithm to base \(a\) of a positive number \(b\) is the power to which \(a\) must be raised to give \(b\): \[\log_a b = x \iff a^x = b.\]

Moving between the two forms is the key skill of the whole topic. For example \(10^3 = 1000 \iff \log_{10} 1000 = 3\), and \(2^{-3} = \frac18 \iff \log_2 \frac18 = -3\). Notice that a logarithm can be negative or a fraction; only the number you take the log of has to be positive.

  • Two special values: \(\log_a a = 1\) because \(a^1 = a\), and \(\log_a 1 = 0\) because \(a^0 = 1\).
  • Since \(a^x\) is always positive, \(\log_a b\) exists only for \(b > 0\). There is no log of 0 or of a negative number.
  • \(y = \log_a x\) undoes \(y = a^x\): it is the inverse function. So \(\log_a a^x = x\) and \(a^{\log_a x} = x\).

Because the two functions are inverses, their graphs are reflections of each other in the line \(y = x\). Every point \((p, q)\) on \(y = 2^x\) becomes the point \((q, p)\) on \(y = \log_2 x\). The intercept \((0, 1)\) becomes \((1, 0)\), and the horizontal asymptote \(y = 0\) becomes the vertical asymptote \(x = 0\).

−3−2−1123456−3−2−1123456Oy = 2ˣy = log₂ xy = x(2, 4)(4, 2)(0, 1)(1, 0)
y = 2ˣ and y = log₂ x on equal scales are mirror images in y = x: 2² = 4 gives (2, 4), and log₂ 4 = 2 gives (4, 2). The log curve passes through (1, 0) and has the y-axis as an asymptote, so it only exists for x > 0.

Every log curve with base greater than 1 has the same shape: through \((1, 0)\), increasing, slowly. A larger base gives a flatter curve, because a larger base needs a smaller power to reach the same number.

012345678910−3−2−11234xy = log₂ xy = log₃ xy = log x(2, 1)(3, 1)
Logs to three bases. All pass through (1, 0) because a⁰ = 1, and each reaches height 1 at x = a, because log_a a = 1. All are negative for 0 < x < 1.
Worked example 2 Easy · Find

(a) Without a calculator, find the value of: (i) \(\log_2 64\) (ii) \(\log_3 \frac{1}{27}\) (iii) \(\log_{25} 5\) (iv) \(\log_4 8\) (v) \(\log_7 1\). (b) Solve (i) \(\log_x 49 = 2\), where \(x > 0\), and (ii) \(\log_5 y = -2\).

(a) Ask "what power?" each time. (i) \(2^6 = 64\), so 6. (ii) \(3^{-3} = \frac{1}{27}\), so \(-3\). (iii) \(25^{1/2} = 5\), so \(\frac12\). (iv) \(4^x = 8 \Rightarrow 2^{2x} = 2^3 \Rightarrow x = \frac32\). (v) \(7^0 = 1\), so 0. \(6,\ -3,\ \tfrac12,\ \tfrac32,\ 0\)

(b) Rewrite in index form. (i) \(x^2 = 49\), and a base must be positive, so \(x = 7\). (ii) \(y = 5^{-2} = \frac{1}{25}\). \(x = 7,\ y = \tfrac{1}{25}\)

Exam tip

When two numbers are powers of the same thing (4 and 8, 9 and 27, 25 and 125) write both as powers of that common base. \(\log_4 8\) becomes \(2^{2x} = 2^3\), and the answer is exact without a calculator.

What are the laws of logarithms?

Each law of logarithms is an index law read backwards. Suppose \(\log_a x = m\) and \(\log_a y = n\), so \(x = a^m\) and \(y = a^n\). Then \(xy = a^m a^n = a^{m+n}\), so \(\log_a xy = m + n = \log_a x + \log_a y\). Multiplying numbers adds their powers, so the log of a product is the sum of the logs. The other laws come the same way from \(a^m \div a^n = a^{m-n}\) and \((a^m)^k = a^{mk}\).

The laws of logarithms (any base \(a\); \(x, y > 0\)): \[\log_a xy = \log_a x + \log_a y \qquad \log_a \frac{x}{y} = \log_a x - \log_a y\] \[\log_a x^k = k\log_a x \qquad \log_a \frac{1}{x} = -\log_a x \qquad \log_a a = 1 \qquad \log_a 1 = 0\] These are not in the formulae booklet: learn them.

The reciprocal law is just the power law with \(k = -1\). Roots are powers too: \(\log_a \sqrt{x} = \frac12 \log_a x\). There is no law for \(\log(x + y)\), and \(\log x \div \log y\) is not \(\log \frac{x}{y}\).

01234567−0.4−0.20.20.40.60.81xy = log x(2, 0.301)(3, 0.477)(6, 0.778)
The product law on the graph of y = log x: the height at 6 equals the height at 2 plus the height at 3, since 0.301 + 0.477 = 0.778. Heights add when the inputs multiply.
Worked example 3 Medium · Show that / Express

(a) Show that \(2\log_3 6 - \log_3 4 = 2\). (b) Given that \(\log_a 2 = p\) and \(\log_a 3 = q\), express in terms of \(p\) and \(q\): (i) \(\log_a 18\) (ii) \(\log_a\left(\frac{8}{9a}\right)\) (iii) \(\log_a\left(\frac16\right)\).

(a) Power law first, then the quotient law: \(2\log_3 6 - \log_3 4 = \log_3 36 - \log_3 4 = \log_3 \frac{36}{4} = \log_3 9 = 2\), since \(3^2 = 9\). \(= 2\) as required

(b)(i) \(18 = 2 \times 3^2\), so \(\log_a 18 = \log_a 2 + 2\log_a 3\). \(p + 2q\)

(b)(ii) Split the quotient and the product, and use \(\log_a a = 1\): \(\log_a 2^3 - \log_a 3^2 - \log_a a\). \(3p - 2q - 1\)

(b)(iii) Reciprocal law: \(-\log_a 6 = -(\log_a 2 + \log_a 3)\). \(-p - q\)

Common error

Writing \(2\log_3 6\) as \(\log_3 12\). The coefficient 2 becomes a power: \(2\log_3 6 = \log_3 6^2 = \log_3 36\). Apply the power law before combining sums and differences.

How do I solve aˣ = b?

If both sides are obviously powers of the same base, match the powers, as in \(3^x = 81 = 3^4\). Otherwise, take logs of both sides (any base will do; \(\log_{10}\) is the calculator key) and use the power law to bring the unknown down from the power:

\[a^x = b \;\Rightarrow\; x\log a = \log b \;\Rightarrow\; x = \frac{\log b}{\log a}, \text{ which is } \log_a b.\]

This result is not in the formulae booklet; derive it by taking logs each time. A solution exists only if \(b > 0\), because \(a^x\) is never zero or negative. Graphically, the solution of \(a^x = b\) is the \(x\)-coordinate where the curve \(y = a^x\) meets the horizontal line \(y = b\); since an exponential curve is always increasing (or always decreasing), there is exactly one such point.

−11231020304050Oy = 5ˣy = 40(2.29, 40)
5ˣ = 40 has exactly one solution, where the increasing curve meets y = 40: x = log 40 ÷ log 5 = 2.29 (3 s.f.). Between x = 2 (height 25) and x = 3 (height 125), as expected.

When the unknown is in two powers with different bases, take logs, expand the brackets, collect the \(x\) terms on one side and factorise. Keep the exact form (such as \(\frac{\log 40}{\log 5}\)) until the last line and round only the final answer.

Worked example 4 Medium · Solve

Solve, giving each answer to 3 significant figures: (a) \(5^x = 40\) (b) \(2^{x+1} = 3^x\).

(a) Take logs of both sides: \(x\log 5 = \log 40\), so \(x = \frac{\log 40}{\log 5} = 2.2920\ldots\) \(x = 2.29\)

(b) Take logs and use the power law on each side: \((x+1)\log 2 = x\log 3\). Expand and collect the \(x\) terms: \(x\log 2 + \log 2 = x\log 3 \Rightarrow \log 2 = x(\log 3 - \log 2)\). Divide, and simplify with the quotient law: \[x = \frac{\log 2}{\log 3 - \log 2} = \frac{\log 2}{\log 1.5} = 1.7095\ldots\] \(x = 1.71\)

Check: \(2^{2.7095} \approx 3^{1.7095} \approx 6.54\), the crossing point in the figure.

−11232468101214Oy = 3ˣy = 2ˣ⁺¹(1.71, 6.54)
The solution of 2ˣ⁺¹ = 3ˣ is the x-coordinate where the two curves cross: x = 1.7095…, y = 6.54. Left of the crossing 2ˣ⁺¹ is larger; to the right 3ˣ grows faster. One crossing, so one solution.
Common error

Writing \(\log(2^{x+1})\) as \(x + 1\log 2\) without the bracket, or as \(x\log 2 + 1\). The whole power multiplies the log: \((x+1)\log 2\).

How do I solve a quadratic in aˣ?

Look for \(a^{2x}\) together with \(a^x\). Because \(a^{2x} = (a^x)^2\), the substitution \(u = a^x\) turns the equation into an ordinary quadratic in \(u\). Before substituting, rewrite every term using the index laws:

  • \(4^x = (2^2)^x = (2^x)^2\), so \(4^x = u^2\) when \(u = 2^x\).
  • \(2^{x+3} = 2^3 \times 2^x = 8u\).
  • \(3^{2x+1} = 3 \times (3^x)^2 = 3u^2\) when \(u = 3^x\).

Solve for \(u\), then solve \(a^x = u\) for each value. Reject any \(u \le 0\): \(a^x\) is never zero or negative, so such a value gives no \(x\) at all.

Worked example 5 Medium · Solve

(a) Solve \(4^x - 5 \times 2^x - 6 = 0\), giving your answer to 3 significant figures. (b) Solve \(3^{2x+1} - 10 \times 3^x + 3 = 0\).

(a) Let \(u = 2^x\), so \(4^x = u^2\): \(u^2 - 5u - 6 = 0 \Rightarrow (u - 6)(u + 1) = 0 \Rightarrow u = 6\) or \(u = -1\). Now \(2^x = -1\) has no solution, since \(2^x > 0\) for all \(x\). So \(2^x = 6 \Rightarrow x = \frac{\log 6}{\log 2} = 2.5850\ldots\) \(x = 2.58\)

(b) \(3^{2x+1} = 3 \times 3^{2x} = 3u^2\) with \(u = 3^x\): \(3u^2 - 10u + 3 = 0 \Rightarrow (3u - 1)(u - 3) = 0 \Rightarrow u = \frac13\) or \(u = 3\). Both values are positive, so both give a solution: \(3^x = 3^{-1} \Rightarrow x = -1\), and \(3^x = 3^1 \Rightarrow x = 1\). \(x = -1\) or \(x = 1\)

−3−2−11234567−14−12−10−8−6−4−2246810Ouy = u² − 5u − 6u = 6 ✓u = −1 ✗u = 2ˣ must be > 0
The quadratic in u from part (a). Only roots to the right of u = 0 can be values of 2ˣ, so u = −1 is rejected and u = 6 is kept.
−4−3−2−1123−14−12−10−8−6−4−2246Oy = 4ˣ − 5·2ˣ − 6(2.585, 0)(0, −10)(1.32, −12.25)y = −6
The same equation in x. The curve crosses the x-axis once, at x = 2.585; the rejected root u = −1 has no point on the graph. It starts near the asymptote y = −6, passes through (0, −10) and dips to −12.25 before rising.
Exam tip

When you reject a value of \(u\), write the reason: "\(2^x > 0\) for all \(x\), so \(2^x = -1\) has no solution". A value crossed out with no reason looks like a lost root.

How do I change the base of a logarithm?

A calculator works in base 10 (and base e, met in P3). To evaluate a log in any other base, or to combine logs with different bases in one equation, rewrite them in a common base.

Change of base (in the formulae booklet; know how to use it and how to prove it): \[\log_a x = \frac{\log_b x}{\log_b a}\] with \(a, b > 0\) and \(\ne 1\), and \(x > 0\). The base \(b\) is any base you choose, usually 10 or the base of the other logs in the equation.

Proof. Let \(y = \log_a x\), so \(a^y = x\). Take \(\log_b\) of both sides: \(\log_b a^y = \log_b x\), so \(y\log_b a = \log_b x\), giving \(y = \frac{\log_b x}{\log_b a}\).

Two special cases appear often. Putting \(x = b\) gives \(\log_a b = \frac{1}{\log_b a}\). Putting \(a = b^2\) gives \(\log_{b^2} x = \frac12\log_b x\); for example \(\log_9 x = \frac12\log_3 x\).

012345678910−2−112xy = log₃ xy = log₉ x(9, 2)(9, 1)(3, 1)
log₉ x = ½ log₃ x: at every x the red curve is exactly half the height of the blue one. At x = 9, log₃ 9 = 2 and log₉ 9 = 1.
Worked example 6 Medium · Find / Solve

(a) Find \(\log_5 12\), giving your answer to 3 significant figures. (b) Solve \(\log_3 x = 4\log_x 3\), where \(x > 0\) and \(x \ne 1\).

(a) Change to base 10: \(\log_5 12 = \frac{\log 12}{\log 5} = 1.5440\ldots\) (check: \(5^{1.544} \approx 12\)). \(1.54\)

(b) Write \(\log_x 3\) in base 3 and let \(L = \log_3 x\): \(\log_x 3 = \frac{\log_3 3}{\log_3 x} = \frac{1}{L}\), so \(L = \frac{4}{L}\). Multiply by \(L\) (non-zero, since \(x \ne 1\)): \(L^2 = 4\), so \(L = 2\) or \(L = -2\). Undo the log: \(x = 3^2 = 9\) or \(x = 3^{-2} = \frac19\). \(x = 9\) or \(x = \tfrac19\)

Common error

Using only \(L = 2\) from \(L^2 = 4\). A logarithm can be negative (\(\log_3 \frac19 = -2\)), so both square roots give valid values of \(x\). It is \(x\), not \(L\), that must be positive.

How do I solve a logarithmic equation?

A logarithmic equation has the unknown inside one or more logs. The method has four steps, and the last one is the step most often forgotten.

  1. Make every log the same base (change of base if needed).
  2. Use the laws to collect the logs into a single log on one side, or one log on each side.
  3. Remove the logs: \(\log_a P = k \Rightarrow P = a^k\), and \(\log_a P = \log_a Q \Rightarrow P = Q\). A plain number \(k\) can be rewritten as \(\log_a a^k\) if that helps.
  4. Solve the resulting equation, then check every root in the original equation: each log must have a positive argument.

Why the check? Combining logs can enlarge the set of allowed values. \(\log_3 (x-1)^2\) is defined for every \(x \ne 1\), but the original \(2\log_3(x-1)\) needs \(x > 1\). The algebra therefore can produce a root that the original equation never allowed.

Worked example 7 Medium · Solve

Solve \(2\log_3(x - 1) - \log_3(x + 5) = 1\), where \(x > 1\).

Power law, then quotient law: \(\log_3 (x-1)^2 - \log_3(x+5) = 1 \Rightarrow \log_3 \frac{(x-1)^2}{x+5} = 1\).

Remove the log (\(\log_3 P = 1 \Rightarrow P = 3^1\)): \((x-1)^2 = 3(x+5) \Rightarrow x^2 - 2x + 1 = 3x + 15 \Rightarrow x^2 - 5x - 14 = 0\).

Solve and check: \((x-7)(x+2) = 0\), so \(x = 7\) or \(x = -2\). But \(x = -2\) makes \(x - 1\) negative, so \(\log_3(x-1)\) is undefined. \(x = 7\) only

Check: \(2\log_3 6 - \log_3 12 = \log_3 \frac{36}{12} = \log_3 3 = 1\) ✓

−3−2−112345678910111213−4−3−2−1123Oy = 2log₃(x − 1) − log₃(x + 5)(7, 1)x = −2 ✗
The left-hand side as a function of x exists only for x > 1 (dashed line) and meets y = 1 once, at (7, 1). The algebra's second root, x = −2, lies outside the domain, so there is no point of the curve there.
Worked example 8 Hard · Show that / Hence / Solve

(a) Show that \(\log_9 x = \frac12\log_3 x\) for \(x > 0\). (b) Hence solve \(\log_3 x + \log_9 x = 6\). (c) Solve \(9^x - 4 \times 3^{x+1} + 27 = 0\). (d) Solve \(3^x = 2 \times 5^{x-1}\), giving your answer to 3 significant figures.

(a) Change of base to base 3: \(\log_9 x = \frac{\log_3 x}{\log_3 9} = \frac{\log_3 x}{2} = \frac12\log_3 x\) ✓

(b) Using (a), let \(L = \log_3 x\): \(L + \frac12 L = 6 \Rightarrow \frac32 L = 6 \Rightarrow L = 4\), so \(x = 3^4 = 81\). \(x = 81\)

(c) \(9^x = (3^x)^2\) and \(3^{x+1} = 3 \times 3^x\); let \(u = 3^x\): \(u^2 - 12u + 27 = 0 \Rightarrow (u-3)(u-9) = 0 \Rightarrow u = 3\) or \(9\). So \(3^x = 3 \Rightarrow x = 1\), and \(3^x = 9 \Rightarrow x = 2\). \(x = 1\) or \(x = 2\)

(d) Take logs, expand, collect: \(x\log 3 = \log 2 + (x-1)\log 5 \Rightarrow x(\log 3 - \log 5) = \log 2 - \log 5\), so \[x = \frac{\log 2 - \log 5}{\log 3 - \log 5} = \frac{\log 0.4}{\log 0.6} = 1.7937\ldots\] Both brackets are negative, so \(x\) is positive; dividing by \(\log 3 - \log 5\) needs no sign change in an equation. \(x = 1.79\)

Exam tips for P2.5

Exam tip 1 — exact first, decimal last

Write the exact answer, such as \(\frac{\log 40}{\log 5}\) or \(\log_5 40\), before the decimal. If the question asks for an exact answer, stop there; otherwise round only the final value to the accuracy asked for (3 significant figures if none is given).

Exam tip 2 — check the domain of every log

After solving a log equation, substitute each root into each original log. A root that makes any argument zero or negative is rejected, and you should say so in words.

Exam tip 3 — spot the hidden quadratic

Three terms, one of them with a doubled power (\(a^{2x}\), \(4^x\), \(9^x\), \(25^x\)), means substitute \(u = a^x\). Rewrite \(a^{x+k}\) as \(a^k \times a^x\) first.

Exam tip 4 — one base before you combine

The laws of logs only combine logs with the same base. If you see \(\log_2 x\) and \(\log_4 x\) in one equation, change base first; then collect into a single log.

Exam tip 5 — "show that" and "hence"

In a "show that" part, every law you use should appear as a separate line ending at the printed result. In a "hence" part, start by quoting the result you have just shown: that is the method the question is asking for.

Common misconceptions

MisconceptionWhy it is wrongCorrect idea
\(\log(x + y) = \log x + \log y\)The sum law is for a product inside the log.\(\log xy = \log x + \log y\); \(\log(x + y)\) cannot be split.
\(\frac{\log 8}{\log 2} = \log 4\)Dividing two logs is not the quotient law.\(\frac{\log 8}{\log 2} = \log_2 8 = 3\) (change of base); \(\log 8 - \log 2 = \log 4\).
\((\log x)^2 = 2\log x\)The power law needs the power inside the log.\(\log x^2 = 2\log x\); \((\log x)^2\) is a square, used when substituting \(L = \log x\).
\(4^x = 2 \times 2^x\) and \(2^{x+1} = 2^x + 1\)Index laws multiply powers; they do not add numbers.\(4^x = (2^x)^2\); \(2^{x+1} = 2 \times 2^x\).
\(\log_a 1 = 1\)\(a^1 = a\), not 1.\(\log_a 1 = 0\) and \(\log_a a = 1\).
A negative answer to a log equation is always rejected.The arguments of the logs must be positive, not \(x\) itself.Reject a root only if it makes some argument \(\le 0\); e.g. \(\log_2(x + 5) = 1\) has \(x = -3\).

How this topic connects

P1 Pure Mathematics 1

The laws of indices are the laws of logarithms written the other way round. Translations and reflections of graphs give the sketches of \(a^x + k\) and \(a^{-x}\), and factorising quadratics finishes every hidden-quadratic question.

P2 sequences and series

Finding the least \(n\) for which a geometric term or sum passes a value means solving \(r^n = k\) with a logarithm, with care over the inequality sign when \(\log r < 0\).

P3 Pure Mathematics 3

The base e, \(\ln x\) as the inverse of \(e^x\), exponential growth and decay models, and turning \(y = ax^n\) or \(y = kb^x\) into straight lines by taking logs all build on this page. In IAL Physics, radioactive decay, capacitor discharge and half-life use the same exponential functions.

Key formulae

FormulaUseIn the formulae list?
\(\log_a b = x \iff a^x = b\)definition: switch between log form and index formNo — must be known
\(\log_a a = 1,\ \log_a 1 = 0\)special valuesNo — must be known
\(\log_a xy = \log_a x + \log_a y\)product lawNo — must be known
\(\log_a \frac{x}{y} = \log_a x - \log_a y\)quotient lawNo — must be known
\(\log_a x^k = k\log_a x,\ \log_a \frac1x = -\log_a x\)power and reciprocal lawsNo — must be known
\(a^x = b \Rightarrow x = \frac{\log b}{\log a}\)solving an exponential equationNo — derive it
\(\log_a x = \frac{\log_b x}{\log_b a}\)change of base; evaluating logs on a calculatorYes

Check your understanding

1. Write down \(\log_2 32\) and \(\log_2 \frac{1}{32}\).

\(2^5 = 32\), so \(\log_2 32 = 5\); by the reciprocal law \(\log_2 \frac{1}{32} = -5\).

2. Show that \(3\log 2 + \log 125 = 3\), where log means \(\log_{10}\).

\(3\log 2 + \log 125 = \log 8 + \log 125 = \log 1000 = 3\), because \(10^3 = 1000\).

3. Solve \(3^x = 200\), giving \(x\) to 3 significant figures.

\(x = \frac{\log 200}{\log 3} = 4.8227\ldots = 4.82\).

4. Solve \(2^{2x} - 3 \times 2^x + 2 = 0\).

With \(u = 2^x\): \(u^2 - 3u + 2 = (u-1)(u-2) = 0\), so \(2^x = 1\) or \(2\), giving \(x = 0\) or \(x = 1\).

5. Solve \(\log_2(x + 3) = 3\). Is the answer allowed?

\(x + 3 = 2^3 = 8\), so \(x = 5\). The argument \(x + 3 = 8\) is positive, so yes.

6. Find the least integer \(n\) for which \(0.8^n < 0.1\).

Take logs: \(n\log 0.8 < \log 0.1\). Since \(\log 0.8 < 0\), dividing reverses the inequality: \(n > \frac{\log 0.1}{\log 0.8} = 10.318\ldots\), so the least integer is \(n = 11\). (Check: \(0.8^{10} = 0.107\), \(0.8^{11} = 0.0859\).)

Specification checklist

  • (P2 5.1) I can sketch \(y = a^x\) for \(a > 1\) and for \(0 < a < 1\), showing the point \((0, 1)\) and the asymptote.
  • (P2 5.1) I can sketch simple transformations of \(y = a^x\), giving intercepts and the equation of the asymptote.
  • (P2 5.2) I can switch between index form \(a^x = b\) and log form \(\log_a b = x\), and use \(\log_a a = 1\) and \(\log_a 1 = 0\).
  • (P2 5.2) I can use the product, quotient, power and reciprocal laws of logarithms to combine or split logs, and express logs in terms of given letters.
  • (P2 5.3) I can solve \(a^x = b\), including equations with the unknown in two powers, giving exact or rounded answers.
  • (P2 5.3) I can solve equations that reduce to a quadratic in \(a^x\), rejecting impossible values with a reason.
  • (P2 5.3) I can use the change of base formula, and solve simple logarithmic equations, checking that every log in the original equation is defined.