Educerie

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 1.7 · SL and HL

Laws of exponents and logarithms

When the unknown is up in the exponent, how do you bring it down?

What you will learn

  • Understand a fractional power as a root followed by a power, with negative powers as reciprocals.
  • Know the three laws of logarithms and the values loga a = 1 and loga 1 = 0.
  • Understand change of base as the way to evaluate any logarithm and to put mixed bases on one base.
  • Know how to solve exponential and logarithmic equations exactly or with technology, rejecting impossible roots.

You must be able to

  1. Solve exponential equations by matching bases or by taking logarithms, giving exact or 3 s.f. answers.
  2. Write a sum or difference of logarithms as a single logarithm, or expand one in terms of given letters.
  3. Evaluate powers with rational and negative exponents exactly without a calculator.
  4. Show that a log in one base equals a multiple of a log in another, then use it to solve.
  5. Solve equations that are quadratics in a^x or e^x, and reject roots where a^x would be negative.
  6. Solve log equations, checking each root against the domain and stating why any is rejected.

In the exam. mostly Paper 1 (no calculator), where the numbers are chosen to come out exact: powers such as 323/532^{3/5}, logarithms to combine, "show that" chains, and exact solutions such as x=ln⁡5ln⁡3x = \dfrac{\ln 5}{\ln 3} (1 to 7 marks). Paper 2 asks for decimals from logarithms or graphs, often inside a growth or decay model (5 to 8 marks). HL Paper 3 uses all of it as tools.

1Rational exponents

The laws of exponents from 1.5 still hold for fractional exponents. That fixes what they mean.

Take a1/2a^{1/2}. By the power law, (a1/2)2=a1=a\left(a^{1/2}\right)^{2} = a^{1} = a. So a1/2a^{1/2} is the number whose square is aa: it is a\sqrt{a}. In the same way, (a1/3)3=a\left(a^{1/3}\right)^{3} = a, so a1/3=a3a^{1/3} = \sqrt[3]{a}.

a1/m=am\boldsymbol{a^{1/m} = \sqrt[m]{a}}, and an/m=(am)n\boldsymbol{a^{n/m} = \left(\sqrt[m]{a}\right)^{n}}. The denominator is the root, the numerator is the power. If mm is even, the root means the positive root. For example, 163/4=(164)3=23=816^{3/4} = \left(\sqrt[4]{16}\right)^{3} = 2^{3} = 8.

The laws themselves are not in the formula booklet, so learn them.

LawExample with fractions
am×an=am+na^{m} \times a^{n} = a^{m+n}x2/3×x5/3=x7/3x^{2/3} \times x^{5/3} = x^{7/3}
am÷an=am−na^{m} \div a^{n} = a^{m-n}x3/2÷x1/2=xx^{3/2} \div x^{1/2} = x
(am)n=amn\left(a^{m}\right)^{n} = a^{mn}(x3/4)2/3=x1/2\left(x^{3/4}\right)^{2/3} = x^{1/2}
a−n=1ana^{-n} = \dfrac{1}{a^{n}}16−1/4=1164=1216^{-1/4} = \dfrac{1}{\sqrt[4]{16}} = \dfrac{1}{2}
(ab)n=anbn(ab)^{n} = a^{n}b^{n}(27x6)1/3=3x2\left(27x^{6}\right)^{1/3} = 3x^{2}

Figure 1 shows the order to work in. Take the root first, then the power, then deal with any minus sign by taking one over.

Figure 1 · Reading a rational exponent: root first, then power 272/3 cube root (denominator 3) 3 square it (numerator 2) 9 32−3/5 fifth root (denominator 5) 2 cube it (numerator 3) 8 one over (the minus sign) 1/8 Power first gives the same answer the hard way: 272 = 729, and the cube root of 729 is 9. The denominator is the root, the numerator is the power, and a minus sign means one over.
Figure 1 · Reading a rational exponent: root first, then power

Worked example 1. Paper 1. Find the exact values of (a) 272/327^{2/3}, (b) 32−3/532^{-3/5}, (c) (4925)−3/2\left(\tfrac{49}{25}\right)^{-3/2}.

(a)272/3=(273)2=32=9\text{(a)}\quad 27^{2/3} = \left(\sqrt[3]{27}\right)^{2} = 3^{2} = 9(b)32−3/5=1323/5=1(325)3=123=18\text{(b)}\quad 32^{-3/5} = \frac{1}{32^{3/5}} = \frac{1}{\left(\sqrt[5]{32}\right)^{3}} = \frac{1}{2^{3}} = \frac{1}{8}(c)(4925)−3/2=(2549)3/2=(2549)3=(57)3=125343a negative power flips the fraction\text{(c)}\quad \left(\frac{49}{25}\right)^{-3/2} = \left(\frac{25}{49}\right)^{3/2} = \left(\sqrt{\frac{25}{49}}\right)^{3} = \left(\frac{5}{7}\right)^{3} = \frac{125}{343} \qquad \textcolor{#838c91}{\text{a negative power flips the fraction}}

An even root is the positive one: 2549=57\sqrt{\tfrac{25}{49}} = \tfrac{5}{7}, not ±57\pm\tfrac{5}{7}. The ±\pm belongs to solving x2=2549x^{2} = \tfrac{25}{49}, a different question.

Simplifying, expanding and factorising with powers. Treat x1/2x^{1/2} like any other symbol, and remember that x1/2×x1/2=xx^{1/2} \times x^{1/2} = x.

Worked example 2. Paper 1. (a) Simplify (36x4)1/2x−3\dfrac{\left(36x^{4}\right)^{1/2}}{x^{-3}} for x>0x > 0. (b) Expand (x1/2+4)(x1/2−4)\left(x^{1/2} + 4\right)\left(x^{1/2} - 4\right). (c) Write 4x3−12x3\dfrac{4x^{3} - 1}{2\sqrt[3]{x}} as a sum of powers of xx. (d) Factorise x3/2−5x1/2x^{3/2} - 5x^{1/2}. (e) Expand (2x+3)(2x−1)\left(2^{x} + 3\right)\left(2^{x} - 1\right).

(a)(36x4)1/2=6x2,so 6x2x−3=6x2+3=6x5dividing by x−3 adds 3\text{(a)}\quad \left(36x^{4}\right)^{1/2} = 6x^{2}, \quad \text{so } \frac{6x^{2}}{x^{-3}} = 6x^{2+3} = 6x^{5} \qquad \textcolor{#838c91}{\text{dividing by }x^{-3}\text{ adds 3}}(b)x1/2⋅x1/2−4x1/2+4x1/2−16=x−16a difference of squares\text{(b)}\quad x^{1/2}\cdot x^{1/2} - 4x^{1/2} + 4x^{1/2} - 16 = x - 16 \qquad \textcolor{#838c91}{\text{a difference of squares}}(c)4x32x1/3−12x1/3=2x8/3−12x−1/3divide each term separately\text{(c)}\quad \frac{4x^{3}}{2x^{1/3}} - \frac{1}{2x^{1/3}} = 2x^{8/3} - \tfrac{1}{2}x^{-1/3} \qquad \textcolor{#838c91}{\text{divide each term separately}}(d)x3/2−5x1/2=x1/2(x−5)take out the lowest power\text{(d)}\quad x^{3/2} - 5x^{1/2} = x^{1/2}\left(x - 5\right) \qquad \textcolor{#838c91}{\text{take out the lowest power}}(e)2x⋅2x+3⋅2x−2x−3=4x+2⋅2x−3=4x+2x+1−3\text{(e)}\quad 2^{x}\cdot 2^{x} + 3\cdot 2^{x} - 2^{x} - 3 = 4^{x} + 2\cdot 2^{x} - 3 = 4^{x} + 2^{x+1} - 3

Calculus in Topic 5 needs every term as a single power of xx, as in (c). Part (e) treats 2x2^{x} as the symbol. That is how a hidden quadratic is built (section 5).

2What a logarithm is, and the values you always know

From 1.5: for a>0a > 0, a≠1a \ne 1 and y>0y > 0,

y=ax  ⟺  x=log⁡ay\boldsymbol{y = a^{x} \iff x = \log_{a} y}
  • The base aa must be positive and not 1 (1x1^{x} is always 1, so no power of 1 gives 5).
  • The number yy must be positive, because a positive base to any power is positive.
    • That is why the log of zero or of a negative number does not exist, and why roots are rejected in section 7.

Two values follow straight from the definition, and the guide lists them:

  • log⁡aa=1\boldsymbol{\log_{a} a = 1}, because a1=aa^{1} = a.
  • log⁡a1=0\boldsymbol{\log_{a} 1 = 0}, because a0=1a^{0} = 1.
  • Two more say that log⁡a\log_{a} and "aa to the power" undo each other: log⁡a(ax)=x\boldsymbol{\log_{a}\left(a^{x}\right) = x} and alog⁡ax=x\boldsymbol{a^{\log_{a} x} = x}.
    • Figure 2 shows it. The graph of y=log⁡axy = \log_{a} x is the reflection of y=axy = a^{x} in y=xy = x, since each point (p,q)(p, q) on one is (q,p)(q, p) on the other. Section 2.9 studies these graphs.
Figure 2 · y = 2ˣ and y = log₂ x undo each other x y 4 8 4 8 y = 2x y = log2 x y = x (3, 8) (8, 3) (0, 1) (1, 0) Each point (p, q) on y = 2ˣ has a partner (q, p) on y = log₂ x: the graphs mirror in y = x.
Figure 2 · y = 2ˣ and y = log₂ x undo each other

Two bases have their own keys. log⁡\log with no base written means log⁡10\log_{10}. ln⁡\ln means log⁡e\log_{\mathrm{e}}, the natural logarithm, where e≈2.718\mathrm{e} \approx 2.718. Everything above holds for both, so

ln⁡e=1,ln⁡1=0,ln⁡(ex)=x,eln⁡x=x\ln \mathrm{e} = 1, \qquad \ln 1 = 0, \qquad \ln\left(\mathrm{e}^{x}\right) = x, \qquad \mathrm{e}^{\ln x} = xlog⁡10=1,log⁡(10x)=x,10log⁡x=x\log 10 = 1, \qquad \log\left(10^{x}\right) = x, \qquad 10^{\log x} = x

Any power can also be moved to base e, because a=eln⁡aa = \mathrm{e}^{\ln a}. So ax=exln⁡aa^{x} = \mathrm{e}^{x\ln a}, which is in the formula booklet.

Worked example 3. Paper 1. (a) Write down log⁡5125\log_{5} 125, log⁡2116\log_{2}\tfrac{1}{16}, log⁡927\log_{9} 27 and log⁡1/28\log_{1/2} 8. (b) Find xx if log⁡x64=3\log_{x} 64 = 3. (c) Find xx if log⁡5x=−2\log_{5} x = -2.

(a)53=125→3;2−4=116→−4;93/2=27→32;(12)−3=8→−3\text{(a)}\quad 5^{3} = 125 \to 3; \qquad 2^{-4} = \tfrac{1}{16} \to -4; \qquad 9^{3/2} = 27 \to \tfrac{3}{2}; \qquad \left(\tfrac{1}{2}\right)^{-3} = 8 \to -3(b)x3=64  →  x=4rewrite as a power, then solve\text{(b)}\quad x^{3} = 64 \;\to\; x = 4 \qquad \textcolor{#838c91}{\text{rewrite as a power, then solve}}(c)x=5−2=125\text{(c)}\quad x = 5^{-2} = \frac{1}{25}

Ask "what power?" each time. If it is not obvious, write both numbers as powers of one number. For log⁡927\log_{9} 27, 9=329 = 3^{2} and 27=3327 = 3^{3}, so 9k=279^{k} = 27 means 32k=333^{2k} = 3^{3} and k=32k = \tfrac{3}{2}.

A base that is a fraction gives a negative answer for a number above 1.

3The three laws of logarithms

For a,x,y>0a, x, y > 0 (and a≠1a \ne 1), these are in the formula booklet:

LawIn words
log⁡axy=log⁡ax+log⁡ay\log_{a} xy = \log_{a} x + \log_{a} ythe log of a product is the sum of the logs
log⁡axy=log⁡ax−log⁡ay\log_{a}\dfrac{x}{y} = \log_{a} x - \log_{a} ythe log of a quotient is the difference of the logs
log⁡axm=mlog⁡ax\log_{a} x^{m} = m\log_{a} xa power comes down in front as a multiplier

Each is a law of exponents read backwards, as Figure 3 shows. Here is the first proved, in the layout of 1.6.

Let m=log⁡axm = \log_{a} x and n=log⁡ayn = \log_{a} y, so x=amx = a^{m} and y=any = a^{n}. Then xy=am+nxy = a^{m+n}, so log⁡axy=m+n=log⁡ax+log⁡ay\log_{a} xy = m + n = \log_{a} x + \log_{a} y.

Figure 3 · Every log law is an exponent law read backwards Law of exponents Law of logarithms (a, x, y > 0) ap × aq = ap+q loga xy = loga x + loga y ap ÷ aq = ap−q loga (x/y) = loga x − loga y (ap)m = apm loga xm = m loga x a1 = a and a0 = 1 loga a = 1 and loga 1 = 0 Write x = a to the power p and y = a to the power q, and each exponent law becomes the log law beside it. Logs turn multiplying into adding, dividing into subtracting, and powers into multiples.
Figure 3 · Every log law is an exponent law read backwards

Worked example 4. Paper 1. Show that 3log⁡2+2log⁡5−log⁡2=23\log 2 + 2\log 5 - \log 2 = 2.

3log⁡2+2log⁡5−log⁡2=log⁡23+log⁡52−log⁡2power law first: coefficients go up as exponents=log⁡(8×252)add the logs = multiply, subtract = divide=log⁡100=2because 102=100\begin{aligned}3\log 2 + 2\log 5 - \log 2 &= \log 2^{3} + \log 5^{2} - \log 2 && \textcolor{#838c91}{\text{power law first: coefficients go up as exponents}} \\[6pt] &= \log\left(\frac{8 \times 25}{2}\right) && \textcolor{#838c91}{\text{add the logs = multiply, subtract = divide}} \\[6pt] &= \log 100 \\[6pt] &= 2 && \textcolor{#838c91}{\text{because }10^{2} = 100}\end{aligned}

Move every coefficient up into an exponent before combining. The product and quotient laws only work on logs with coefficient 1.

Worked example 5. Paper 1. Find the exact value of (a) log⁡612+log⁡63\log_{6} 12 + \log_{6} 3, (b) log⁡354−log⁡32\log_{3} 54 - \log_{3} 2, (c) 2log⁡46−log⁡492\log_{4} 6 - \log_{4} 9.

(a)log⁡612+log⁡63=log⁡636=262=36\text{(a)}\quad \log_{6} 12 + \log_{6} 3 = \log_{6} 36 = 2 \qquad \textcolor{#838c91}{6^{2} = 36}(b)log⁡354−log⁡32=log⁡327=333=27\text{(b)}\quad \log_{3} 54 - \log_{3} 2 = \log_{3} 27 = 3 \qquad \textcolor{#838c91}{3^{3} = 27}(c)2log⁡46−log⁡49=log⁡436−log⁡49=log⁡44=1\text{(c)}\quad 2\log_{4} 6 - \log_{4} 9 = \log_{4} 36 - \log_{4} 9 = \log_{4} 4 = 1

None of log⁡612\log_{6} 12, log⁡354\log_{3} 54 or log⁡46\log_{4} 6 is neat on its own, but the combined log is. That is the signal to combine.

Worked example 6. Paper 1. Given that p=ln⁡2p = \ln 2 and q=ln⁡5q = \ln 5, write in terms of pp and qq: (a) ln⁡40\ln 40, (b) ln⁡0.4\ln 0.4, (c) ln⁡25e\ln\dfrac{25}{\mathrm{e}}. Then (d) expand log⁡ax3yz2\log_{a}\dfrac{x^{3}\sqrt{y}}{z^{2}}.

(a)ln⁡40=ln⁡(23×5)=3ln⁡2+ln⁡5=3p+q\text{(a)}\quad \ln 40 = \ln\left(2^{3} \times 5\right) = 3\ln 2 + \ln 5 = 3p + q(b)ln⁡0.4=ln⁡25=ln⁡2−ln⁡5=p−q\text{(b)}\quad \ln 0.4 = \ln\frac{2}{5} = \ln 2 - \ln 5 = p - q(c)ln⁡25e=ln⁡52−ln⁡e=2q−1ln⁡e=1\text{(c)}\quad \ln\frac{25}{\mathrm{e}} = \ln 5^{2} - \ln \mathrm{e} = 2q - 1 \qquad \textcolor{#838c91}{\ln \mathrm{e} = 1}(d)log⁡ax3yz2=3log⁡ax+12log⁡ay−2log⁡az\text{(d)}\quad \log_{a}\frac{x^{3}\sqrt{y}}{z^{2}} = 3\log_{a} x + \tfrac{1}{2}\log_{a} y - 2\log_{a} z

Break each number into the pieces you were given (here 2s and 5s). Part (d) runs the same laws the other way.

A plain number is a logarithm too. Since k=log⁡a(ak)k = \log_{a}\left(a^{k}\right), a bare number can join the laws: 1=log⁡aa1 = \log_{a} a, 3=log⁡283 = \log_{2} 8, 2=log⁡1002 = \log 100, k=ln⁡ekk = \ln \mathrm{e}^{k}.

Worked example 7. Paper 1. Write as a single logarithm: (a) log⁡25+3\log_{2} 5 + 3, (b) 2−log⁡42 - \log 4, (c) ln⁡6−2\ln 6 - 2.

(a)log⁡25+3=log⁡25+log⁡28=log⁡2403=log⁡223=log⁡28\text{(a)}\quad \log_{2} 5 + 3 = \log_{2} 5 + \log_{2} 8 = \log_{2} 40 \qquad \textcolor{#838c91}{3 = \log_{2} 2^{3} = \log_{2} 8}(b)2−log⁡4=log⁡100−log⁡4=log⁡252=log⁡102, and a bare log⁡ is base 10\text{(b)}\quad 2 - \log 4 = \log 100 - \log 4 = \log 25 \qquad \textcolor{#838c91}{2 = \log 10^{2}\text{, and a bare }\log\text{ is base 10}}(c)ln⁡6−2=ln⁡6−ln⁡e2=ln⁡(6e2)2=ln⁡e2\text{(c)}\quad \ln 6 - 2 = \ln 6 - \ln \mathrm{e}^{2} = \ln\left(\frac{6}{\mathrm{e}^{2}}\right) \qquad \textcolor{#838c91}{2 = \ln \mathrm{e}^{2}}

Write the plain number as a log of the same base as the other terms, then combine as before.

Three things the laws do not say, each a favourite wrong answer:

  • log⁡(x+y)\log(x + y) is not log⁡x+log⁡y\log x + \log y. There is no law for the log of a sum.
  • (log⁡x)2(\log x)^{2} is not 2log⁡x2\log x. The power law applies to log⁡(x2)\log\left(x^{2}\right), where the square is inside.
  • log⁡x÷log⁡y\log x \div \log y is not log⁡xy\log\dfrac{x}{y}. A quotient of two logs is a change of base (section 4), not a log of a quotient.

4Change of base

For a,b,x>0a, b, x > 0 (with a,b≠1a, b \ne 1), in the formula booklet:

log⁡ax=log⁡bxlog⁡ba\log_{a} x = \frac{\log_{b} x}{\log_{b} a}

To change base, divide: log⁡ax=ln⁡xln⁡a\log_{a} x = \dfrac{\ln x}{\ln a}, or the same with log⁡10\log_{10}: any base works if it is the same on top and underneath.

Why it is true:

Let y=log⁡ax, so ay=x\text{Let } y = \log_{a} x, \text{ so } a^{y} = xlog⁡b(ay)=log⁡bxtake logs to base b of both sides\log_{b}\left(a^{y}\right) = \log_{b} x \qquad \textcolor{#838c91}{\text{take logs to base }b\text{ of both sides}}ylog⁡ba=log⁡bxpower lawy\log_{b} a = \log_{b} x \qquad \textcolor{#838c91}{\text{power law}}y=log⁡bxlog⁡bay = \frac{\log_{b} x}{\log_{b} a}

It has three uses.

Evaluating a log in any base

  • On Paper 2 your GDC has ln⁡\ln and log⁡10\log_{10} keys, and some have a log⁡a\log_{a} template too. With either key, log⁡790=ln⁡90ln⁡7=2.31\log_{7} 90 = \dfrac{\ln 90}{\ln 7} = 2.31 (3 s.f.).
  • Check: 72=497^{2} = 49 and 73=3437^{3} = 343, so the answer lies between 2 and 3.

Finding exact values when both numbers are powers of something else

On Paper 1:

log⁡2781=log⁡381log⁡327=43\log_{27} 81 = \frac{\log_{3} 81}{\log_{3} 27} = \frac{4}{3}log⁡12525=log⁡525log⁡5125=23\log_{125} 25 = \frac{\log_{5} 25}{\log_{5} 125} = \frac{2}{3}

Putting logs with different bases on the same base

  • So the laws in section 3 apply.
  • Changing the base only multiplies by a constant. In Figure 4, y=log⁡4xy = \log_{4} x is half as tall as y=log⁡2xy = \log_{2} x at every xx:

log⁡4x=log⁡2xlog⁡24=log⁡2x2\log_{4} x = \dfrac{\log_{2} x}{\log_{2} 4} = \dfrac{\log_{2} x}{2}

Two special cases fall out of the rule and turn up in "show that" questions:

  • Swapping base and argument. Putting x=bx = b gives log⁡ab=1log⁡ba\log_{a} b = \dfrac{1}{\log_{b} a}, because log⁡bb=1\log_{b} b = 1. So log⁡ab×log⁡ba=1\log_{a} b \times \log_{b} a = 1.
  • A base that is a power of another. log⁡akx=log⁡axlog⁡aak=1klog⁡ax\log_{a^{k}} x = \dfrac{\log_{a} x}{\log_{a} a^{k}} = \dfrac{1}{k}\log_{a} x. This is the pattern behind log⁡4x=12log⁡2x\log_{4} x = \tfrac{1}{2}\log_{2} x in Figure 4.
Figure 4 · Changing the base only rescales the graph x y 4 8 16 −2 1 2 3 4 1 4 2 2 1 y = log2 x y = log4 x log₄ x is exactly half of log₂ x at every x, because log₄ x = log₂ x ÷ log₂ 4 = log₂ x ÷ 2.
Figure 4 · Changing the base only rescales the graph

Worked example 8. Paper 1. (a) Show that log⁡8x=13log⁡2x\log_{8} x = \tfrac{1}{3}\log_{2} x. (b) Hence solve log⁡2x−log⁡8x=4\log_{2} x - \log_{8} x = 4. (c) Find the exact value of log⁡29÷log⁡43\log_{2} 9 \div \log_{4} 3.

(a)log⁡8x=log⁡2xlog⁡28=log⁡2x3=13log⁡2xchange base 8 to base 2; every line shown\text{(a)}\quad \log_{8} x = \frac{\log_{2} x}{\log_{2} 8} = \frac{\log_{2} x}{3} = \tfrac{1}{3}\log_{2} x \qquad \textcolor{#838c91}{\text{change base 8 to base 2; every line shown}}(b)log⁡2x−13log⁡2x=4  →  23log⁡2x=4  →  log⁡2x=6  →  x=26=64"hence" means use (a)\text{(b)}\quad \log_{2} x - \tfrac{1}{3}\log_{2} x = 4 \;\to\; \tfrac{2}{3}\log_{2} x = 4 \;\to\; \log_{2} x = 6 \;\to\; x = 2^{6} = 64 \qquad \textcolor{#838c91}{\text{"hence" means use (a)}}Check: log⁡264−log⁡864=6−2=4\text{Check: } \log_{2} 64 - \log_{8} 64 = 6 - 2 = 4(c)log⁡29=2log⁡23,log⁡43=log⁡23log⁡24=12log⁡23\text{(c)}\quad \log_{2} 9 = 2\log_{2} 3, \qquad \log_{4} 3 = \frac{\log_{2} 3}{\log_{2} 4} = \tfrac{1}{2}\log_{2} 32log⁡2312log⁡23=4the log⁡23 cancels\frac{2\log_{2} 3}{\tfrac{1}{2}\log_{2} 3} = 4 \qquad \textcolor{#838c91}{\text{the }\log_{2} 3\text{ cancels}}

5Solving exponential equations

An exponential equation = an equation with the unknown in an exponent. There are three methods, and choosing the right one is half the question.

Method A: match the bases (Paper 1). If both sides can be written as powers of the same number, the exponents must be equal, because y=axy = a^{x} never takes the same value twice.

Worked example 9. Paper 1. Solve (a) 9x=27x−29^{x} = 27^{x-2}, (b) (14)x=8x+1\left(\tfrac{1}{4}\right)^{x} = 8^{x+1}.

(a)32x=33x−6\text{(a)}\quad 3^{2x} = 3^{3x-6}2x=3x−6equate the exponents2x = 3x - 6 \qquad \textcolor{#838c91}{\text{equate the exponents}}x=6x = 6(b)(2−2)x=(23)x+1  →  −2x=3x+3  →  x=−3514=2−2\text{(b)}\quad \left(2^{-2}\right)^{x} = \left(2^{3}\right)^{x+1} \;\to\; -2x = 3x + 3 \;\to\; x = -\frac{3}{5} \qquad \textcolor{#838c91}{\tfrac14 = 2^{-2}}Check (a): 96=531441=274\text{Check (a): } 9^{6} = 531441 = 27^{4}

Method B: take logarithms of both sides

  • When the bases will not match, take ln⁡\ln (or log⁡\log) of both sides. Use the power law to bring the unknown down. It gives an exact answer on Paper 1 and a decimal on Paper 2.
  • A power standing alone needs only the definition of a log. With other terms beside it, isolate the power first.

Worked example 10. Solve (a) 72x−1=407^{2x-1} = 40, (b) 3×5x+4=493 \times 5^{x} + 4 = 49. Give each exactly, then to 3 s.f.

(a)2x−1=log⁡740the definition of a log, used directly\text{(a)}\quad 2x - 1 = \log_{7} 40 \qquad \textcolor{#838c91}{\text{the definition of a log, used directly}}x=1+log⁡7402=12(1+ln⁡40ln⁡7)=1.45x = \frac{1 + \log_{7} 40}{2} = \frac{1}{2}\left(1 + \frac{\ln 40}{\ln 7}\right) = 1.45(b)3×5x=45  →  5x=15isolate the power before any log\text{(b)}\quad 3 \times 5^{x} = 45 \;\to\; 5^{x} = 15 \qquad \textcolor{#838c91}{\text{isolate the power before any log}}x=log⁡515=ln⁡15ln⁡5=1.68x = \log_{5} 15 = \frac{\ln 15}{\ln 5} = 1.68

Worked example 11. Solve 5x=2x+35^{x} = 2^{x+3}. Give xx exactly, then to 3 s.f.

ln⁡5x=ln⁡2x+3\ln 5^{x} = \ln 2^{x+3}xln⁡5=(x+3)ln⁡2power law: both exponents come downx\ln 5 = (x + 3)\ln 2 \qquad \textcolor{#838c91}{\text{power law: both exponents come down}}xln⁡5=xln⁡2+3ln⁡2expandx\ln 5 = x\ln 2 + 3\ln 2 \qquad \textcolor{#838c91}{\text{expand}}xln⁡5−xln⁡2=3ln⁡2x-terms to one sidex\ln 5 - x\ln 2 = 3\ln 2 \qquad \textcolor{#838c91}{x\text{-terms to one side}}x(ln⁡5−ln⁡2)=3ln⁡2factorise out xx(\ln 5 - \ln 2) = 3\ln 2 \qquad \textcolor{#838c91}{\text{factorise out }x}x=3ln⁡2ln⁡2.5ln⁡5−ln⁡2=ln⁡52x = \frac{3\ln 2}{\ln 2.5} \qquad \textcolor{#838c91}{\ln 5 - \ln 2 = \ln\tfrac{5}{2}}x=2.27 (3 s.f.)x = 2.27 \text{ (3 s.f.)}

Bring down, expand, collect, factorise: the same four moves whenever the unknown is in two exponents. ln⁡2\ln 2 and ln⁡5\ln 5 are just numbers, like those in 5x=2(x+3)5x = 2(x + 3).

Method C: graphs (Paper 2)

  • Graph each side on the GDC and find where they meet. Figure 5 solves worked example 11 this way, at x≈2.27x \approx 2.27.
Figure 5 · 5ˣ = 2ˣ⁺³ solved as the meeting of two graphs x y −1 1 2 3 10 20 30 40 50 60 (2.27, 38.6) y = 5x y = 2x+3 The graphs meet once, at x ≈ 2.27. The algebra in section 5 gives x = 3 ln 2 ÷ ln 2.5 exactly.
Figure 5 · 5ˣ = 2ˣ⁺³ solved as the meeting of two graphs
  • On Paper 2 the graph also shows how many solutions to expect.
  • Some equations have no algebraic route. In 2x=10−x2^{x} = 10 - x the unknown is both in and outside an exponent, so taking logs does nothing, and the graph is the method (the curves meet once, at x≈2.84x \approx 2.84).

Quadratics in disguise

  • 4x4^{x} is (2x)2\left(2^{x}\right)^{2}, so an equation with 4x4^{x} and 2x2^{x} in it is a quadratic in 2x2^{x}.
  • Substitute y=2xy = 2^{x}, solve the quadratic, then undo the substitution.

Worked example 12. Paper 1. Solve 4x−6×2x+8=04^{x} - 6 \times 2^{x} + 8 = 0.

Let y=2x, so 4x=(22)x=(2x)2=y2\text{Let } y = 2^{x}, \text{ so } 4^{x} = \left(2^{2}\right)^{x} = \left(2^{x}\right)^{2} = y^{2}y2−6y+8=0y^{2} - 6y + 8 = 0(y−2)(y−4)=0(y - 2)(y - 4) = 0y=2 or y=4y = 2 \text{ or } y = 42x=2→x=1;2x=4→x=22^{x} = 2 \to x = 1; \qquad 2^{x} = 4 \to x = 2

Figure 6 graphs the left side and confirms the two roots.

Figure 6 · 4ˣ − 6 × 2ˣ + 8 = 0 has two roots, as the substitution predicts x y −1 −1 2 4 6 8 x = 1 x = 2 y = 4x − 6 × 2x + 8 Putting y = 2ˣ turns the equation into y² − 6y + 8 = 0, so 2ˣ = 2 or 4, so x = 1 or 2.
Figure 6 · 4ˣ − 6 × 2ˣ + 8 = 0 has two roots, as the substitution predicts
  • Sometimes one root of the quadratic is impossible. In 49x+7x+1−8=049^{x} + 7^{x+1} - 8 = 0, put y=7xy = 7^{x}, so 49x=y249^{x} = y^{2} and 7x+1=7y7^{x+1} = 7y.
    • Then y2+7y−8=0y^{2} + 7y - 8 = 0, so (y+8)(y−1)=0(y + 8)(y - 1) = 0 and y=−8y = -8 or y=1y = 1.
    • But 7x7^{x} is always positive, so 7x=−87^{x} = -8 has no solution. 7x=17^{x} = 1 gives x=0x = 0 as the only answer. Writing "reject 7x=−87^{x} = -8 since 7x>07^{x} > 0" is usually worth an R1 on its own.

An exponential model

A town has 2400 people and grows by 3.5% a year, so after tt years its population is P=2400×1.035tP = 2400 \times 1.035^{t}. When does it reach 5000?

2400×1.035t=50002400 \times 1.035^{t} = 50001.035t=50002400isolate the power first1.035^{t} = \frac{5000}{2400} \qquad \textcolor{#838c91}{\text{isolate the power first}}tln⁡1.035=ln⁡(50002400)t\ln 1.035 = \ln\left(\frac{5000}{2400}\right)t=ln⁡(5000/2400)ln⁡1.035=21.3 years (3 s.f.)t = \frac{\ln\left(5000/2400\right)}{\ln 1.035} = 21.3 \text{ years (3 s.f.)}

Figure 7 shows it as the time the curve crosses P=5000P = 5000.

Figure 7 · When does the town reach 5000 people? t P 5 10 15 20 25 30 2400 5000 7000 t ≈ 21.3 P = 2400 × 1.035t P = 5000 t in years, P in people P = 2400 × 1.035ᵗ meets P = 5000 at t = ln(5000/2400) ÷ ln 1.035 ≈ 21.3 years.
Figure 7 · When does the town reach 5000 people?
  • The doubling time of any quantity growing by a fixed percentage does not depend on where it starts. With A×1.042t=2AA \times 1.042^{t} = 2A, the AA cancels, so t=ln⁡2ln⁡1.042=16.8t = \dfrac{\ln 2}{\ln 1.042} = 16.8 years.
  • Decay works the same way: a ratio below 1 makes both logs negative and the signs cancel. A dose loses 15% of its strength each hour, so after tt hours 0.85t0.85^{t} of it is left. When is it down to 40%?
0.85t=0.40.85^{t} = 0.4tln⁡0.85=ln⁡0.4t\ln 0.85 = \ln 0.4t=ln⁡0.4ln⁡0.85=−0.916…−0.163…=5.64 hours (3 s.f.)both logs negative: the quotient is positivet = \frac{\ln 0.4}{\ln 0.85} = \frac{-0.916\ldots}{-0.163\ldots} = 5.64 \text{ hours (3 s.f.)} \qquad \textcolor{#838c91}{\text{both logs negative: the quotient is positive}}

A negative time means a sign was dropped somewhere, not that the answer lies before the start.

6Equations with logarithms and e in them

The laws in section 3 also solve equations that start with logs. Combine the logs into one, then turn the log statement into a power statement with the definition.

Worked example 13. Paper 1. Solve log⁡2(x+1)+log⁡2(x−3)=5\log_{2}(x + 1) + \log_{2}(x - 3) = 5.

log⁡2((x+1)(x−3))=5product law\log_{2}\left((x + 1)(x - 3)\right) = 5 \qquad \textcolor{#838c91}{\text{product law}}(x+1)(x−3)=25=32definition of a log(x + 1)(x - 3) = 2^{5} = 32 \qquad \textcolor{#838c91}{\text{definition of a log}}x2−2x−35=0x^{2} - 2x - 35 = 0(x−7)(x+5)=0(x - 7)(x + 5) = 0x=7 or x=−5x = 7 \text{ or } x = -5Check x=−5: log⁡2(−4) does not exist, so reject x=−5.\text{Check } x = -5\text{: } \log_{2}(-4) \text{ does not exist, so reject } x = -5.x=7(check: log⁡28+log⁡24=3+2=5)x = 7 \qquad \text{(check: } \log_{2} 8 + \log_{2} 4 = 3 + 2 = 5\text{)}

Combining the logs let in an xx where both brackets are negative: their product is positive, but neither log exists. Test every root in the original equation. Reject, in words, any that needs the log of zero or a negative number.

Quicker: state the domain first (x>3x > 3) and compare.

Logs on both sides

  • If each side is a single log of the same base, the arguments are equal, because log⁡a\log_{a} takes each value once.
  • Example: ln⁡(x2−4)=ln⁡3x\ln\left(x^{2} - 4\right) = \ln 3x gives x2−4=3xx^{2} - 4 = 3x, so (x−4)(x+1)=0(x - 4)(x + 1) = 0. At x=−1x = -1 the left argument is −3-3, so reject it, and x=4x = 4.

A quadratic in the log itself

  • If ln⁡x\ln x appears squared, substitute L=ln⁡xL = \ln x.
  • Example: solve (ln⁡x)2−ln⁡x−6=0(\ln x)^{2} - \ln x - 6 = 0.
    • (L−3)(L+2)=0(L - 3)(L + 2) = 0, so ln⁡x=3\ln x = 3 or ln⁡x=−2\ln x = -2, and x=e3x = \mathrm{e}^{3} or x=e−2x = \mathrm{e}^{-2}. Both are allowed: the test is that x>0x > 0, not the sign of LL.

With ln⁡\ln the plan is the same. Combine, write a plain number as ln⁡ek\ln \mathrm{e}^{k} (section 3), or undo the ln⁡\ln with e.

Worked example 14. Paper 1. (a) Solve ln⁡3x+ln⁡x=4\ln 3x + \ln x = 4, giving xx exactly. (b) Solve 3ln⁡x=ln⁡64+63\ln x = \ln 64 + 6, giving xx in the form peqp\mathrm{e}^{q}, where p,q∈Z+p, q \in \mathbb{Z}^{+}.

(a)ln⁡(3x2)=4  →  3x2=e4  →  x=e23x>0, so only the positive root\text{(a)}\quad \ln\left(3x^{2}\right) = 4 \;\to\; 3x^{2} = \mathrm{e}^{4} \;\to\; x = \frac{\mathrm{e}^{2}}{\sqrt{3}} \qquad \textcolor{#838c91}{x > 0\text{, so only the positive root}}(b)ln⁡x=13ln⁡64+2divide every term by 3\text{(b)}\quad \ln x = \tfrac{1}{3}\ln 64 + 2 \qquad \textcolor{#838c91}{\text{divide every term by 3}}ln⁡x=ln⁡4+ln⁡e2=ln⁡(4e2)641/3=4, and 2=ln⁡e2\ln x = \ln 4 + \ln \mathrm{e}^{2} = \ln\left(4\mathrm{e}^{2}\right) \qquad \textcolor{#838c91}{64^{1/3} = 4\text{, and }2 = \ln \mathrm{e}^{2}}x=4e2x = 4\mathrm{e}^{2}Check: 3ln⁡(4e2)=3ln⁡4+6=ln⁡64+6correct\text{Check: } 3\ln\left(4\mathrm{e}^{2}\right) = 3\ln 4 + 6 = \ln 64 + 6 \qquad \textcolor{#838c91}{\text{correct}}

Equations with e in the exponent

  • Taking ln⁡\ln of both sides of ex=k\mathrm{e}^{x} = k gives x=ln⁡kx = \ln k, because ln⁡e=1\ln \mathrm{e} = 1. So base e is the easiest to solve in.
  • A quadratic in ex\mathrm{e}^{x} works like one in 2x2^{x}.

Worked example 15. Paper 1. Solve (a) ex=12\mathrm{e}^{x} = 12, giving xx to 3 s.f., (b) 3e2x+1=253\mathrm{e}^{2x} + 1 = 25, (c) e2x−5ex−6=0\mathrm{e}^{2x} - 5\mathrm{e}^{x} - 6 = 0.

(a)x=ln⁡12=2.48(3 s.f.)\text{(a)}\quad x = \ln 12 = 2.48 \quad \text{(3 s.f.)}(b)3e2x=24  →  e2x=8  →  2x=ln⁡8  →  x=12ln⁡8=32ln⁡2isolate the power first\text{(b)}\quad 3\mathrm{e}^{2x} = 24 \;\to\; \mathrm{e}^{2x} = 8 \;\to\; 2x = \ln 8 \;\to\; x = \tfrac{1}{2}\ln 8 = \tfrac{3}{2}\ln 2 \qquad \textcolor{#838c91}{\text{isolate the power first}}(c)Let y=ex:y2−5y−6=0,(y−6)(y+1)=0\text{(c)}\quad \text{Let } y = \mathrm{e}^{x}: \quad y^{2} - 5y - 6 = 0, \quad (y - 6)(y + 1) = 0ex=6 or ex=−1\mathrm{e}^{x} = 6 \text{ or } \mathrm{e}^{x} = -1Reject ex=−1 since ex>0;x=ln⁡6\text{Reject } \mathrm{e}^{x} = -1 \text{ since } \mathrm{e}^{x} > 0; \quad x = \ln 6

7Logs of a model (beyond the guide)

This is not one of the guide's 1.7 or 2.9 statements. It is here because the guide links 1.7 to chemistry, where activation energy comes from experimental data.

  • Plot the log of the measured rate constant against 1T\dfrac{1}{T}, where TT is the temperature in kelvin. The points lie on a straight line, and its gradient gives the activation energy.
  • The idea is general. Logs turn a power law or an exponential law into a straight line, which is how such a model is tested on a scatter graph. Take ln⁡\ln of both sides, split with the product law and bring the exponent down:
  • y=kxny = kx^{n} gives ln⁡y=ln⁡k+nln⁡x\ln y = \ln k + n\ln x, a line in ln⁡y\ln y against ln⁡x\ln x with gradient nn and intercept ln⁡k\ln k.
  • y=abxy = ab^{x} gives ln⁡y=ln⁡a+xln⁡b\ln y = \ln a + x\ln b, a line in ln⁡y\ln y against xx with gradient ln⁡b\ln b and intercept ln⁡a\ln a.

The horizontal axis tells you which model is straight: ln⁡x\ln x for a power law, plain xx for an exponential.

Worked example 16. Calculator. (a) For y=5×2.5xy = 5 \times 2.5^{x}, show that ln⁡y\ln y is a linear function of xx and give its gradient and intercept. (b) A power model y=kxny = kx^{n} is fitted and the line of best fit is ln⁡y=3.2ln⁡x−0.5\ln y = 3.2\ln x - 0.5. Find nn and kk.

(a)ln⁡y=ln⁡(5×2.5x)=ln⁡5+xln⁡2.5\text{(a)}\quad \ln y = \ln\left(5 \times 2.5^{x}\right) = \ln 5 + x\ln 2.5gradient ln⁡2.5=0.916,intercept ln⁡5=1.61(3 s.f.)\text{gradient } \ln 2.5 = 0.916, \qquad \text{intercept } \ln 5 = 1.61 \quad \text{(3 s.f.)}(b)ln⁡y=ln⁡k+nln⁡x matches ln⁡y=3.2ln⁡x−0.5\text{(b)}\quad \ln y = \ln k + n\ln x \text{ matches } \ln y = 3.2\ln x - 0.5n=3.2,ln⁡k=−0.5 so k=e−0.5=0.607(3 s.f.)undo the ln⁡ with en = 3.2, \qquad \ln k = -0.5 \text{ so } k = \mathrm{e}^{-0.5} = 0.607 \quad \text{(3 s.f.)} \qquad \textcolor{#838c91}{\text{undo the }\ln\text{ with }\mathrm{e}}

Practice questions

41 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.