IB Practice / Maths AA HL / Number and algebra

Exponents and logarithms: study notes

This topic is the algebra of powers and their inverses: writing numbers as a×10ka \times 10^k, manipulating integer and rational exponents, and using logarithms to undo exponentials. In the exam it appears as a short Paper 1 question worth 5 to 7 marks (simplify to a single logarithm, solve a log equation with a domain check, or solve an equation that is a hidden quadratic in axa^x) and as a tool inside sequences, finance and modelling questions, where you are asked to find the smallest nn or a parameter of an exponential model. Most marks are A marks for correct intermediate equations, so write each step as a clean equation.

Download the PDFFree, no sign-up.

1. Numbers of the form $a \times 10^k$

A number is in standard form when it is written as a×10ka \times 10^k with 1≤a<101 \le a < 10 and kk an integer. Multiply or divide such numbers by dealing with the two parts separately: (3×105)(4×10−2)=12×103=1.2×104(3 \times 10^5)(4 \times 10^{-2}) = 12 \times 10^{3} = 1.2 \times 10^4, re-adjusting so that aa stays in [1,10)[1, 10). To add or subtract, first write both numbers with the same power of ten: 5.1×106+3×105=5.1×106+0.3×106=5.4×1065.1 \times 10^6 + 3 \times 10^5 = 5.1 \times 10^6 + 0.3 \times 10^6 = 5.4 \times 10^6. A calculator will display results in this form; copy the exponent correctly and round aa to the accuracy asked for (three significant figures unless told otherwise). None of this is in the booklet; it is expected as fluent arithmetic.

2. Laws of exponents (learn these, not in the booklet)

For a base a>0a > 0 and any rational exponents m,nm, n: aman=am+na^m a^n = a^{m+n}, aman=am−n\dfrac{a^m}{a^n} = a^{m-n}, (am)n=amn(a^m)^n = a^{mn}, (ab)n=anbn(ab)^n = a^n b^n, a0=1a^0 = 1, a−n=1ana^{-n} = \dfrac{1}{a^n}, a1/n=ana^{1/n} = \sqrt[n]{a} and am/n=amn=(an)ma^{m/n} = \sqrt[n]{a^m} = (\sqrt[n]{a})^m. For example 8−2/3=1(83)2=148^{-2/3} = \dfrac{1}{(\sqrt[3]{8})^2} = \dfrac{1}{4} and 274/3=34=8127^{4/3} = 3^4 = 81. The most useful exam skill is rewriting different bases as powers of one base: 4x=22x4^x = 2^{2x}, 9x+1=32x+29^{x+1} = 3^{2x+2}, 3=31/2\sqrt{3} = 3^{1/2}, 125=5−2\dfrac{1}{25} = 5^{-2}. Once every term is a power of the same base, an equation such as 23x−1=4x+22^{3x-1} = 4^{x+2} becomes 3x−1=2x+43x - 1 = 2x + 4, so x=5x = 5, with no logarithms needed.

3. What a logarithm is; base 10 and base $e$

The booklet gives the defining relationship ax=b  ⟺  x=log⁡aba^x = b \iff x = \log_a b for a>0a > 0, b>0b > 0, a≠1a \ne 1. In words, log⁡ab\log_a b is the exponent to which aa must be raised to give bb: log⁡232=5\log_2 32 = 5 because 25=322^5 = 32, and log⁡5125=−2\log_5 \dfrac{1}{25} = -2. Two consequences you must learn (not in the booklet): log⁡a1=0\log_a 1 = 0 and log⁡aa=1\log_a a = 1; the general identities log⁡aak=k\log_a a^k = k and alog⁡ab=ba^{\log_a b} = b are in the booklet, but under Topic 2 (SL 2.9), so know them anyway. Base 10 is written log⁡x\log x and base ee is written ln⁡x\ln x; both are calculator keys and are used for numerical evaluation, for example ln⁡7≈1.95\ln 7 \approx 1.95 and log⁡250≈2.40\log 250 \approx 2.40. The domain condition is essential and the booklet only hints at it through the condition b>0b > 0 beside the definition: log⁡ax\log_a x exists only for x>0x > 0. Questions state domains such as x>2x > 2 so that laws may be applied, and markschemes usually award a mark for rejecting a root that makes any argument zero or negative. The graph of y=log⁡axy = \log_a x for a>1a > 1 passes through (1,0)(1, 0), increases slowly, and has the yy-axis as a vertical asymptote; it is the reflection of y=axy = a^x in the line y=xy = x.

4. Laws of logarithms and change of base (in the booklet)

For positive x,yx, y and valid base aa: log⁡axy=log⁡ax+log⁡ay\log_a xy = \log_a x + \log_a y, log⁡axy=log⁡ax−log⁡ay\log_a \dfrac{x}{y} = \log_a x - \log_a y, log⁡axm=mlog⁡ax\log_a x^m = m \log_a x, and change of base log⁡ba=log⁡calog⁡cb\log_b a = \dfrac{\log_c a}{\log_c b}. Learn how to use them in both directions. Combining: 2log⁡3x−log⁡3(x+1)=log⁡3x2x+12\log_3 x - \log_3 (x+1) = \log_3 \dfrac{x^2}{x+1}. Splitting: ln⁡xe2=12ln⁡x−2\ln \dfrac{\sqrt{x}}{e^2} = \dfrac{1}{2}\ln x - 2. A constant can be written as a log in any base, 3=log⁡283 = \log_2 8, which is often the key step when one side of an equation is a number. Change of base lets you evaluate log⁡320=ln⁡20ln⁡3\log_3 20 = \dfrac{\ln 20}{\ln 3} on a calculator, and it gives the reciprocal result log⁡ba=1log⁡ab\log_b a = \dfrac{1}{\log_a b} (take c=ac = a). It is also how mixed-base equations are solved: log⁡4x=log⁡2xlog⁡24=12log⁡2x\log_4 x = \dfrac{\log_2 x}{\log_2 4} = \dfrac{1}{2}\log_2 x. A standard symbolic task gives log⁡a2=p\log_a 2 = p and log⁡a3=q\log_a 3 = q and asks for log⁡a18=p+2q\log_a 18 = p + 2q or log⁡a32=q−12p\log_a \dfrac{3}{\sqrt{2}} = q - \dfrac{1}{2}p; break the argument into prime factors first. There is no law for log⁡a(x+y)\log_a (x + y).

5. Solving exponential equations

If both sides can be written as powers of the same base, equate exponents. Otherwise take logarithms of both sides (any base, usually ln⁡\ln) and bring the exponent down with the power law: 5x=12⇒xln⁡5=ln⁡12⇒x=ln⁡12ln⁡5≈1.545^{x} = 12 \Rightarrow x \ln 5 = \ln 12 \Rightarrow x = \dfrac{\ln 12}{\ln 5} \approx 1.54, which is the same as x=log⁡512x = \log_5 12. When the unknown appears in two different bases, collect the xx terms: 3x+1=22x3^{x+1} = 2^{2x} gives (x+1)ln⁡3=2xln⁡2(x + 1)\ln 3 = 2x \ln 2, so x(2ln⁡2−ln⁡3)=ln⁡3x(2\ln 2 - \ln 3) = \ln 3 and x=ln⁡3ln⁡4−ln⁡3x = \dfrac{\ln 3}{\ln 4 - \ln 3}. In exact-answer questions leave the result as a quotient of logs or as a single log; a decimal with no working typically earns nothing. The same technique drives the 'smallest nn such that' questions in sequences and finance: 2000(1.04)n>50002000(1.04)^n > 5000 becomes nln⁡1.04>ln⁡2.5n \ln 1.04 > \ln 2.5, so n>23.4n > 23.4 and the smallest integer is n=24n = 24. Remember that dividing by ln⁡r\ln r with 0<r<10 < r < 1 reverses the inequality because ln⁡r<0\ln r < 0. On calculator papers you may also solve numerically with a graph or table, but write the inequality down first for the method mark.

6. Hidden quadratics and log equations with a domain check

An equation such as 32x−10⋅3x+9=03^{2x} - 10 \cdot 3^x + 9 = 0 is a quadratic in disguise: write 32x=(3x)23^{2x} = (3^x)^2, let u=3xu = 3^x, solve u2−10u+9=0u^2 - 10u + 9 = 0 to get u=1u = 1 or u=9u = 9, then return to xx: 3x=1⇒x=03^x = 1 \Rightarrow x = 0 and 3x=9⇒x=23^x = 9 \Rightarrow x = 2. A value u≤0u \le 0 must be rejected because ax>0a^x > 0 for all real xx. Watch for disguises: 4x=(2x)24^x = (2^x)^2, e2x=(ex)2e^{2x} = (e^x)^2, 2x+1=2⋅2x2^{x+1} = 2 \cdot 2^x and 9x−3x+1=(3x)2−3⋅3x9^x - 3^{x+1} = (3^x)^2 - 3 \cdot 3^x. Similarly (log⁡2x)2−3log⁡2x+2=0(\log_2 x)^2 - 3\log_2 x + 2 = 0 with u=log⁡2xu = \log_2 x gives u=1u = 1 or u=2u = 2, so x=2x = 2 or x=4x = 4; note that (log⁡x)2(\log x)^2 is not log⁡x2\log x^2. For equations containing several logs, use the laws to reach a single log equal to a constant or to another single log, remove the logs with the definition, solve the resulting polynomial, and finally check every root against the original domain, writing a reason such as 'reject x=−2x = -2 since log⁡2x\log_2 x is undefined'. That written reason is normally a separate mark.

Formulas

ax=b  ⟺  x=log⁡aba^x = b \iff x = \log_a b, with a>0a > 0, b>0b > 0, a≠1a \ne 1in the booklet
log⁡axy=log⁡ax+log⁡ay\log_a xy = \log_a x + \log_a y, log⁡axy=log⁡ax−log⁡ay\log_a \dfrac{x}{y} = \log_a x - \log_a y, log⁡axm=mlog⁡ax\log_a x^m = m\log_a xin the booklet
log⁡ba=log⁡calog⁡cb\log_b a = \dfrac{\log_c a}{\log_c b}in the booklet
aman=am+na^m a^n = a^{m+n}, aman=am−n\dfrac{a^m}{a^n} = a^{m-n}, (am)n=amn(a^m)^n = a^{mn}, (ab)n=anbn(ab)^n = a^n b^nlearn it
a0=1a^0 = 1, a−n=1ana^{-n} = \dfrac{1}{a^n}, a1/n=ana^{1/n} = \sqrt[n]{a}, am/n=(an)ma^{m/n} = (\sqrt[n]{a})^mlearn it
log⁡a1=0\log_a 1 = 0, log⁡aa=1\log_a a = 1, log⁡aak=k\log_a a^k = k, alog⁡ab=ba^{\log_a b} = blearn the first two; others: booklet
log⁡ax\log_a x is defined only for x>0x > 0; ax>0a^x > 0 for all real xxlearn it
log⁡ba=1log⁡ab\log_b a = \dfrac{1}{\log_a b} (change of base with c=ac = a)learn it

Worked examples

Example 1

Solve log⁡2x+log⁡2(x−6)=4\log_2 x + \log_2 (x - 6) = 4, where x>6x > 6. (5 marks, non-calculator)

Solution
  1. Combine the left side with the product law: log⁡2(x(x−6))=4\log_2 \big(x(x-6)\big) = 4. (M1 for the law applied)
  2. Remove the logarithm using the definition ax=b  ⟺  x=log⁡aba^x = b \iff x = \log_a b: x(x−6)=24=16x(x - 6) = 2^4 = 16. (A1)
  3. Expand and rearrange into a quadratic: x2−6x−16=0x^2 - 6x - 16 = 0, which factorises as (x−8)(x+2)=0(x - 8)(x + 2) = 0. (A1 for the quadratic)
  4. The candidate roots are x=8x = 8 and x=−2x = -2.
  5. Check the domain: x=−2x = -2 is rejected because log⁡2x\log_2 x (and log⁡2(x−6)\log_2(x-6)) is undefined for a negative argument, and the question requires x>6x > 6. (A1 for the rejection with a reason)
  6. The only solution is x=8x = 8; verify: log⁡28+log⁡22=3+1=4\log_2 8 + \log_2 2 = 3 + 1 = 4. (A1)

Answer: x=8x = 8

Example 2

Solve 22x+1−9(2x)+4=02^{2x + 1} - 9(2^x) + 4 = 0, giving your answers exactly. (6 marks, non-calculator)

Solution
  1. Rewrite the first term in terms of 2x2^x using the laws of exponents: 22x+1=2⋅22x=2(2x)22^{2x+1} = 2 \cdot 2^{2x} = 2(2^x)^2. (M1)
  2. Let u=2xu = 2^x, so the equation becomes 2u2−9u+4=02u^2 - 9u + 4 = 0. (A1)
  3. Factorise: (2u−1)(u−4)=0(2u - 1)(u - 4) = 0, so u=12u = \dfrac{1}{2} or u=4u = 4. (M1A1)
  4. Both values are positive, so both are acceptable since 2x>02^x > 0 for all real xx.
  5. Return to xx: 2x=12=2−12^x = \dfrac{1}{2} = 2^{-1} gives x=−1x = -1. (A1)
  6. 2x=4=222^x = 4 = 2^2 gives x=2x = 2. (A1) Equivalently x=log⁡212x = \log_2 \dfrac{1}{2} and x=log⁡24x = \log_2 4, which simplify to the same integers.

Answer: x=−1x = -1 or x=2x = 2

Example 3

Let log⁡a2=p\log_a 2 = p and log⁡a3=q\log_a 3 = q, where a>0a > 0, a≠1a \ne 1. (a) Find log⁡a12\log_a 12 in terms of pp and qq. (b) Find log⁡a29\log_a \dfrac{\sqrt{2}}{9} in terms of pp and qq. (c) Hence find log⁡6a\log_6 a in terms of pp and qq. (7 marks, non-calculator)

Solution
  1. (a) Factorise the argument: 12=22×312 = 2^2 \times 3, so log⁡a12=log⁡a22+log⁡a3\log_a 12 = \log_a 2^2 + \log_a 3. (M1)
  2. Apply the power law: log⁡a12=2log⁡a2+log⁡a3=2p+q\log_a 12 = 2\log_a 2 + \log_a 3 = 2p + q. (A1)
  3. (b) Write 2=21/2\sqrt{2} = 2^{1/2} and 9=329 = 3^2, then use the quotient law: log⁡a29=log⁡a21/2−log⁡a32\log_a \dfrac{\sqrt{2}}{9} = \log_a 2^{1/2} - \log_a 3^2. (M1)
  4. Apply the power law to each term: =12log⁡a2−2log⁡a3=12p−2q= \dfrac{1}{2}\log_a 2 - 2\log_a 3 = \dfrac{1}{2}p - 2q. (A1)
  5. (c) Use change of base with c=ac = a: log⁡6a=log⁡aalog⁡a6=1log⁡a6\log_6 a = \dfrac{\log_a a}{\log_a 6} = \dfrac{1}{\log_a 6}, since log⁡aa=1\log_a a = 1. (M1)
  6. Now log⁡a6=log⁡a2+log⁡a3=p+q\log_a 6 = \log_a 2 + \log_a 3 = p + q. (A1)
  7. Therefore log⁡6a=1p+q\log_6 a = \dfrac{1}{p + q}. (A1)

Answer: (a) 2p+q2p + q; (b) 12p−2q\dfrac{1}{2}p - 2q; (c) 1p+q\dfrac{1}{p+q}

Can you...

  • Convert between ax=ba^x = b and x=log⁡abx = \log_a b instantly, evaluate logs such as log⁡381\log_3 81 and ln⁡e−2\ln e^{-2} without a calculator, and state that log⁡a1=0\log_a 1 = 0 and log⁡aa=1\log_a a = 1?
  • Write 4x4^x, 9x+19^{x+1}, 3\sqrt{3} and 125\dfrac{1}{25} as single powers of 22, 33, 33 and 55, and use this to spot a hidden quadratic in axa^x?
  • Combine 2log⁡3x−log⁡3(x+1)2\log_3 x - \log_3(x+1) into one log, and split ln⁡xe2\ln \dfrac{\sqrt{x}}{e^2} into separate terms, quoting the booklet laws correctly?
  • Solve log⁡2x+log⁡2(x−2)=3\log_2 x + \log_2(x - 2) = 3 completely, including rejecting the invalid root with a written reason?
  • Take logs of both sides of 5x=125^x = 12 or 3x+1=22x3^{x+1} = 2^{2x}, solve for xx exactly as a quotient of logs, and turn A(1.04)n>BA(1.04)^n > B into the smallest integer nn?

Common errors

  • Inventing a law for the log of a sum, writing log⁡a(x+y)=log⁡ax+log⁡ay\log_a (x + y) = \log_a x + \log_a y. The laws only cover products, quotients and powers; if a sum appears inside a log, leave it as a single argument.
  • Forgetting the domain check and giving two answers to a log equation. After removing the logs, substitute every root back into each original argument and state in words why a root is rejected; that sentence is usually a mark.
  • Dropping the base when changing base, for example writing log⁡4x=log⁡2x\log_4 x = \log_2 x or ln⁡4ln⁡x\dfrac{\ln 4}{\ln x}. Keep the base as the denominator: log⁡4x=log⁡2xlog⁡24=12log⁡2x\log_4 x = \dfrac{\log_2 x}{\log_2 4} = \dfrac{1}{2}\log_2 x.
  • Sign and fraction errors with exponents, such as 8−2/3=−48^{-2/3} = -4 or a−n=−ana^{-n} = -a^n. A negative exponent means a reciprocal, never a negative value; a fractional exponent means a root.
  • Confusing (log⁡x)2(\log x)^2 with log⁡x2=2log⁡x\log x^2 = 2\log x, or ln⁡2x\ln 2x with 2ln⁡x2\ln x. Use brackets carefully and substitute u=log⁡xu = \log x before solving a quadratic.
  • Rounding too early in 'smallest nn' or model-fitting questions. Keep ln⁡2.5ln⁡1.04\dfrac{\ln 2.5}{\ln 1.04} exact or to several decimal places, then round only at the final line, and remember a smallest integer satisfying a strict inequality must be rounded up.

Original questions and notes written by Pietro Meloni, PhD, from the IB syllabus. Not endorsed by or affiliated with the International Baccalaureate Organization. Found a mistake? Please tell me privately at pietro@pietromeloni.com. More questions on this topic: Number and algebra practice.

Find out what is costing the marks.

One to one, online, on Google Meet.

Book a first session