impera Open Impera

IB Diploma Mathematics AA · Number and algebra

Exponents and logarithms

1Laws of exponents

An exponent (index, power) shows how many times a number is multiplied by itself. In $a^n$, $a$ is the base.

  • $a^m \times a^n = a^{m+n}$
  • $a^m \div a^n = a^{m-n}$
  • $(a^m)^n = a^{mn}$
  • $a^0 = 1$
  • $a^{-n} = \dfrac{1}{a^n}$
  • $a^{\frac{1}{n}} = \sqrt[n]{a}$ and $a^{\frac{m}{n}} = \left(\sqrt[n]{a}\right)^m$
Worked example

Simplifying

  1. $2^3 \times 2^4 = 2^7 = 128$.
  2. $5^{-2} = \frac{1}{5^2} = \frac{1}{25}$.
  3. $27^{\frac{2}{3}} = \left(\sqrt[3]{27}\right)^2 = 3^2 = 9$.
  4. $\dfrac{x^5 \times x^2}{x^3} = x^{5+2-3} = x^4$.
Check yourself

What is 8 to the power of one third?

  • 8/3

  • 4

  • 2

  • 24

Show the answer

2

It is the cube root of 8.

2What a logarithm is

A logarithm answers the question: "what power must the base be raised to, to give this number?"

$$a^x = b \quad\Longleftrightarrow\quad \log_a b = x$$

for $a > 0$, $a \neq 1$ and $b > 0$.

Example

$\log_2 8 = 3$, because $2^3 = 8$. And $\log_{10} 1000 = 3$, because $10^3 = 1000$.

Two bases are used most.

  • Base 10, written $\log x$.
  • Base $e$, written $\ln x$, the natural logarithm. The number $e \approx 2.718$ arises in continuous growth.

Useful facts: $\log_a 1 = 0$, $\log_a a = 1$, and $\log_a (a^x) = x$. You cannot take the logarithm of zero or of a negative number.

Check yourself

What is log₃ 81?

  • 4

  • 3

  • 9

  • 27

Show the answer

4

3⁴ = 81.

3Laws of logarithms

Because logarithms are exponents, they follow matching laws.

  • $\log_a (xy) = \log_a x + \log_a y$
  • $\log_a \left(\dfrac{x}{y}\right) = \log_a x - \log_a y$
  • $\log_a (x^m) = m \log_a x$

Change of base:

$$\log_a x = \frac{\log_b x}{\log_b a}$$

Worked example

Using the laws

  1. Write $\log 2 + \log 5$ as one logarithm: $\log(2 \times 5) = \log 10 = 1$.
  2. Write $2\log 3 - \log 9$ as one logarithm: $\log 3^2 - \log 9 = \log\frac{9}{9} = \log 1 = 0$.
  3. Find $\log_2 10$: $\frac{\log 10}{\log 2} = \frac{1}{0.3010} = 3.32$.
Check yourself

Which is equal to log x + log y?

  • log (x − y)

  • log (x + y)

  • log (xy)

  • log x × log y

Show the answer

log (xy)

Adding logarithms multiplies the numbers.

4Solving exponential equations

To solve an equation with the unknown in the exponent, take logarithms of both sides and use the power law to bring the exponent down.

Worked example

Solving $3^x = 20$

  1. Take logs: $\log 3^x = \log 20$.
  2. Bring the power down: $x \log 3 = \log 20$.
  3. $x = \dfrac{\log 20}{\log 3} = \dfrac{1.3010}{0.4771} = 2.73$.
Worked example

How long to double?

  1. An investment grows at 4% per year. When has it doubled?
  2. $1.04^n = 2$, so $n \log 1.04 = \log 2$.
  3. $n = \dfrac{0.3010}{0.01703} = 17.7$, so it takes 18 years.

If both sides can be written with the same base, compare exponents instead: $2^{x+1} = 8 = 2^3$ gives $x + 1 = 3$, so $x = 2$.

Check yourself

What is the first step in solving 5ˣ = 30?

  • Divide both sides by 5

  • Square both sides

  • Subtract 5 from both sides

  • Take logarithms of both sides

Show the answer

Take logarithms of both sides

The power law then brings x down.

5Change of base

The change of base formula: $\log_a b = \frac{\log_c b}{\log_c a}$, often with $c = 10$ or $e$.

Worked example

Evaluate $\log_3 20$

  1. $\log_3 20 = \frac{\ln 20}{\ln 3} \approx \frac{2.996}{1.099} \approx 2.73$.
  2. Check: $3^{2.73} \approx 20$.
Check yourself

What is $\log_2 32$?

  • 4

  • 5

  • 16

  • 6

Show the answer

5

$2^5 = 32$.

6Equations with logarithms on both sides

Worked example

$\log_2(x + 3) + \log_2(x - 3) = 4$

  1. Combine: $\log_2((x + 3)(x - 3)) = 4$.
  2. $x^2 - 9 = 2^4 = 16$, so $x^2 = 25$ and $x = \pm 5$.
  3. Check the domain: $x - 3 > 0$ requires $x > 3$.
  4. So $x = 5$ only.

Always check solutions in the original equation, because logarithms need positive arguments.

Check yourself

Why is $x = -5$ rejected in the example?

  • It makes the sum of the logs equal 4

  • It makes the logarithm arguments negative

  • It is not a whole number, so it is rejected

  • It gives the wrong base for the logs

Show the answer

It makes the logarithm arguments negative

Domain check.

7Going deeper: four equation types and how to recognise them

Most exponential and logarithmic equations fall into four types. Identifying the type tells you the method.

Type 1: a hidden quadratic. Solve $3^{2x} - 10(3^x) + 9 = 0$.

  1. Let $u = 3^x$, so $3^{2x} = u^2$.
  2. $u^2 - 10u + 9 = 0$ gives $(u - 1)(u - 9) = 0$.
  3. $3^x = 1$ gives $x = 0$; $3^x = 9$ gives $x = 2$.
  4. If a value of $u$ is negative, reject it: $a^x$ is always positive.

Type 2: several logarithms. Solve $\log_2 x + \log_2(x - 2) = 3$.

  1. Combine: $\log_2(x(x - 2)) = 3$.
  2. Remove the log: $x^2 - 2x = 2^3 = 8$.
  3. $x^2 - 2x - 8 = 0$ gives $x = 4$ or $x = -2$.
  4. Check the domain: logarithms need positive arguments, so $x > 2$. Only $x = 4$ is valid.

Type 3: different bases. Solve $5^{x+1} = 3^{2x}$.

  1. Take natural logs: $(x + 1)\ln 5 = 2x\ln 3$.
  2. Collect $x$: $\ln 5 = x(2\ln 3 - \ln 5)$.
  3. $x = \frac{\ln 5}{\ln 9 - \ln 5} = \frac{\ln 5}{\ln 1.8} \approx 2.74$.
  4. Give the exact form if the question says "exact".

Type 4: same base on both sides. Solve $4^{x} = 8^{x - 1}$.

  1. Write both as powers of 2: $2^{2x} = 2^{3(x - 1)}$.
  2. Equate exponents: $2x = 3x - 3$, so $x = 3$.

Simplifying

  • $2\log_3 6 - \log_3 4 = \log_3 36 - \log_3 4 = \log_3 9 = 2$.
  • $\log_a a^k = k$ and $a^{\log_a k} = k$.
  • Change of base: $\log_a b = \frac{\ln b}{\ln a}$. This is how to evaluate $\log_7 50$ on a calculator without a base key.

Common mistakes

  • $\log(a + b) \ne \log a + \log b$.
  • $(\log x)^2 \ne \log x^2$. The first is a square of a logarithm; the second equals $2\log x$.
  • Cancelling "log" from both sides when the two sides are sums of logs. Combine each side into a single logarithm first.
  • Forgetting to reject solutions outside the domain.
  • Dividing an inequality by $\ln 0.5$, a negative number, without reversing the sign.
Check yourself

Solve log x + log(x + 3) = 1, where the logarithms are base 10.

  • x = 2 or x = −5

  • x = 3.5

  • x = 2

  • x = 5

Show the answer

x = 2

x(x + 3) = 10 gives x = 2 or −5, and −5 is rejected because log of a negative number is undefined.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera