8E

Equations involving logarithms and indices

The change-of-base formula, solving index equations by matching bases or taking logs, equations that reduce to quadratics, log equations, and exponential inequations.

This section puts the last three together. Every equation here has the unknown in an index or inside a log. Your job is to get it out, using the matching-bases trick from 9B, the definition from 9C or the laws from 9D.

The change-of-base formula

Calculators have keys for base $10$ (and base $e$, which you meet in Chapter 12). To find a log to any other base, convert it.

Change of base
$$\log_a x = \frac{\log_b x}{\log_b a}$$

So $\log_5 40 = \dfrac{\log_{10} 40}{\log_{10} 5} \approx 2.292$. Sanity check: $5^2 = 25$ and $5^3 = 125$, so the answer should be between $2$ and $3$.

Index equations

Example 1: matching bases●

Solve $9^{x-1} = 27^x$.

$3^{2(x-1)} = 3^{3x}$
9 and 27 are both powers of 3.
$2x - 2 = 3x$, so $x = -2$.
Same base, so the indices are equal.
Example 2: using logs●●

Solve $3^x = 20$, correct to 3 decimal places.

$x = \log_3 20$
20 is not a power of 3. Rewrite with the definition of a log.
$x = \dfrac{\log_{10} 20}{\log_{10} 3} \approx 2.727$
Change to base 10 for the calculator.
Solving 2ˣ = k

The solution is the x-coordinate where the dashed line y = k meets the curve.

Try this

Set $k = 10$ and check the answer against $\dfrac{\log_{10} 10}{\log_{10} 2}$ on your calculator. Then drag $k$ down to $0$ and below. Why does the equation stop having a solution?

Equations that reduce to quadratics

Look for a power that is the square of another: $4^x = (2^x)^2$, $9^x = (3^x)^2$. Substituting $u = 2^x$ turns the equation into a quadratic in $u$.

Example 3●●●

Solve $4^x - 2^x - 12 = 0$.

$u^2 - u - 12 = 0$
4 to the x is (2 to the x) squared, so let u = 2 to the x.
$(u - 4)(u + 3) = 0$, so $u = 4$ or $u = -3$.
$2^x = 4$ gives $x = 2$. $\;2^x = -3$ has no solution.
Go back to x. A power of 2 is always positive, so the second has no solution.

Log equations

Combine the logs into one with the log laws, convert to index form, then check every answer in the original equation. You can only take logs of positive numbers, so some algebraic answers must be rejected.

Example 4●●●

Solve $\log_6 x + \log_6 (x - 5) = 2$.

$\log_6 x(x - 5) = 2$
Product law.
$x(x - 5) = 36$, so $x^2 - 5x - 36 = 0$.
Index form.
$(x - 9)(x + 4) = 0$, so $x = 9$ or $x = -4$.
Reject $x = -4$. The solution is $x = 9$.
x = −4 would need log₆(−4), which doesn't exist.

Inequations

$y = a^x$ is increasing when $a \gt 1$, so for these bases the inequality passes straight through to the indices: $3^x \lt 81$ means $3^x \lt 3^4$, so $x \lt 4$. Logs to a base above $1$ are increasing too, so taking $\log_{10}$ of both sides keeps the sign. The danger comes when you divide by a negative log.

Example 5●●●

A car loses $15\%$ of its value each year, so after $n$ years it is worth $0.85^n$ of its original value. After how many whole years is it first worth less than $20\%$ of the original?

$0.85^n \lt 0.2$, so $n\log_{10} 0.85 \lt \log_{10} 0.2$.
Take log base 10 of both sides. log is increasing, so the sign stays.
$n \gt \dfrac{\log_{10} 0.2}{\log_{10} 0.85} \approx 9.90$
log 0.85 is negative (0.85 is less than 1). Dividing by a negative reverses the inequality.
After $10$ years.
Check: 0.85⁹ ≈ 0.232 is still above 0.2, but 0.85¹⁰ ≈ 0.197 is below.

Your turn

Solve $4^x - 6 \times 2^x + 8 = 0$.

Show the working

Let $u = 2^x$: $u^2 - 6u + 8 = 0$, so $(u - 2)(u - 4) = 0$. Then $2^x = 2$ gives $x = 1$, and $2^x = 4$ gives $x = 2$.

Flashcards
Change of base
$\log_a x = \dfrac{\log_b x}{\log_b a}$
Substitution for $4^x$ and $2^x$
Let $u = 2^x$, so $4^x = u^2$.
Dividing an inequality by $log$ of a number less than $1$
Reverse the sign: the log is negative.
Practice
  1. Use the change-of-base formula to find $\log_5 40$, correct to 3 decimal places.

  2. Solve $3^{x+1} = 27^x$.

  3. Solve $2^x = 10$, correct to 3 decimal places.

  4. The exact solution of $5^x = 12$ is:

  5. The solution of $2^x \gt 32$ is:

  6. Solve $9^x - 4 \times 3^x + 3 = 0$. Enter both solutions separated by &.

  7. Solve $\log_3 x + \log_3 (x + 6) = 3$.

  8. Find the smallest whole number $n$ with $0.9^n \lt 0.5$.

  9. Exam style: solve $3^{2x} = 5 \times 3^x$, correct to 3 decimal places.

  10. Exam style: solve $2^{x+1} = 3^x$, correct to 2 decimal places.

Formula sheet