impera Open Impera

AP Precalculus · Exponential and logarithmic functions

Exponential and logarithmic equations

1Solving exponential equations

Method 1: same base. If both sides can be written as powers of the same base, set the exponents equal.

Worked example

$4^{x + 1} = 32$.

  1. $2^{2(x + 1)} = 2^5$.
  2. $2x + 2 = 5$, so $x = \frac{3}{2}$.

Method 2: take logarithms. Isolate the exponential, then take a log of both sides.

Worked example

$5 \cdot 3^x = 70$.

  1. $3^x = 14$.
  2. $x = \log_3 14 = \frac{\ln 14}{\ln 3} \approx 2.402$.
Worked example

$e^{2x} = 9$: $2x = \ln 9$, $x = \frac{\ln 9}{2} = \ln 3 \approx 1.099$.

Check yourself

Solve 2ˣ = 20.

  • x = 20/2

  • x = 10

  • x = ln 20 / ln 2 ≈ 4.32

  • x = ln 2 / ln 20

Show the answer

x = ln 20 / ln 2 ≈ 4.32

Take logs.

2Exponentials on both sides and quadratic types

Worked example

$3^{2x - 1} = 7^x$.

  1. Take ln: $(2x - 1)\ln 3 = x\ln 7$.
  2. $2x\ln 3 - x\ln 7 = \ln 3$.
  3. $x = \frac{\ln 3}{2\ln 3 - \ln 7} \approx 4.371$.

Worked example (quadratic in disguise): $e^{2x} - 5e^x + 6 = 0$.

  1. Let $u = e^x$: $u^2 - 5u + 6 = 0$, so $u = 2$ or $u = 3$.
  2. $x = \ln 2$ or $x = \ln 3$.
  3. Reject any solution with $u \le 0$, since $e^x > 0$.
Check yourself

Solving e²ˣ − 3eˣ − 4 = 0 gives eˣ = 4 or eˣ = −1. The solution is:

  • x = 4 or x = −1

  • No solution

  • x = ln 4 only

  • x = ln 4 or x = ln(−1)

Show the answer

x = ln 4 only

eˣ cannot be negative.

3Solving logarithmic equations

Method: convert to exponential form, or combine logs into one, then exponentiate.

Worked example

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

  1. $x - 3 = 2^4 = 16$, so $x = 19$.
Worked example

$\log x + \log(x - 3) = 1$.

  1. $\log[x(x - 3)] = 1$, so $x^2 - 3x = 10$.
  2. $(x - 5)(x + 2) = 0$: $x = 5$ or $x = -2$.
  3. Check: $x = -2$ makes $\log x$ undefined, so reject it. Solution $x = 5$.
Worked example

$\ln(2x + 1) = \ln(x + 4)$: $2x + 1 = x + 4$, $x = 3$ (both arguments positive ✓).

Check yourself

Solve log₃(x + 1) = 2.

  • x = 9

  • x = 8

  • x = 5

  • x = 7

Show the answer

x = 8

x + 1 = 9.

4Applications: solving for time

Exponential models often ask "when will it reach...?" which needs logs.

Worked example

$2000 grows at 6% per year. When does it reach $5000?

  1. $2000(1.06)^t = 5000$, so $1.06^t = 2.5$.
  2. $t = \frac{\ln 2.5}{\ln 1.06} \approx 15.7$ years.
Worked example

carbon-14 has a half-life of 5730 years. How old is a sample with 30% left?

  1. $(0.5)^{t/5730} = 0.3$.
  2. $\frac{t}{5730} = \frac{\ln 0.3}{\ln 0.5}$, so $t \approx 9953$ years.

Doubling time for growth rate $r$: $t = \frac{\ln 2}{\ln(1 + r)}$.

Check yourself

How long does it take an investment growing at 8% per year to double?

  • About 12.5 years

  • About 9 years

  • About 8 years

  • About 25 years

Show the answer

About 9 years

ln 2 / ln 1.08 ≈ 9.0.

5Going deeper: a strategy for each type, with checks for extraneous solutions

Type 1: one exponential term. Isolate it, then take a logarithm (or match bases).

Worked example

$3 \cdot 2^x = 48$.

  1. $2^x = 16$.
  2. x = 4.
Worked example

$5e^{0.2t} = 40$.

  1. $e^{0.2t} = 8$.
  2. $0.2t = \ln 8$.
  3. $t = \frac{\ln 8}{0.2} = 10.40$.

Worked example (bases that do not match): $4^{x} = 30$.

  1. $x\ln 4 = \ln 30$.
  2. $x = \frac{\ln 30}{\ln 4} = 2.453$.

Type 2: the same base on both sides. Equate exponents.

Worked example

$9^{x + 1} = 27^{x}$.

  1. $3^{2x + 2} = 3^{3x}$.
  2. 2x + 2 = 3x, so x = 2.

Type 3: quadratic in form. Substitute.

Worked example

$2^{2x} - 5 \cdot 2^x + 4 = 0$.

  1. Let $u = 2^x$: $u^2 - 5u + 4 = 0$.
  2. u = 1 or u = 4.
  3. x = 0 or x = 2.
  4. A negative value of u would give no solution, since $2^x > 0$.

Type 4: one logarithm. Isolate it and rewrite in exponential form.

Worked example

$2\log_3(x - 1) = 4$.

  1. $\log_3(x - 1) = 2$.
  2. x − 1 = 9, so x = 10.

Type 5: several logarithms. Combine into one, rewrite, solve, and check the domain.

Worked example

$\log_2 x + \log_2(x - 2) = 3$.

  1. $\log_2(x(x - 2)) = 3$.
  2. $x^2 - 2x = 8$.
  3. (x − 4)(x + 2) = 0: x = 4 or x = −2.
  4. x = −2 is extraneous (log of a negative number). Solution: x = 4.
Worked example

$\ln(x + 3) - \ln x = \ln 4$.

  1. $\frac{x + 3}{x} = 4$.
  2. x + 3 = 4x, so x = 1. Valid.

Applications

Worked example (doubling time): an investment grows at 6% a year.

  1. $1.06^t = 2$.
  2. $t = \frac{\ln 2}{\ln 1.06} = 11.9$ years.
  3. The starting amount does not matter.

Worked example (decay): a sample decays by $A = A_0e^{-0.03t}$. When is 20% left?

  1. $e^{-0.03t} = 0.2$.
  2. $t = \frac{\ln 0.2}{-0.03} = 53.6$.

Inequalities: solve as an equation, then decide the direction. Remember that dividing by a negative number (such as ln 0.5) reverses the inequality.

Worked example

$0.5^x < 0.1$.

  1. $x\ln 0.5 < \ln 0.1$.
  2. ln 0.5 is negative: $x > \frac{\ln 0.1}{\ln 0.5} = 3.32$.

Solving graphically: the solution of f(x) = g(x) is the x-coordinate where the graphs intersect; use this to check, or when algebra is not possible (as in $2^x = x + 3$).

Common mistakes

  • Taking a logarithm before isolating the exponential.
  • Writing $\ln(a + b) = \ln a + \ln b$.
  • Keeping an extraneous solution.
  • Dividing $\frac{\ln 30}{\ln 4}$ as $\ln\frac{30}{4}$.
  • Forgetting to reverse an inequality when dividing by a negative logarithm.
Check yourself

Solve log(x) + log(x − 3) = 1.

  • x = 5 or x = −2

  • x = 13

  • x = 5

  • x = 2

Show the answer

x = 5

x(x − 3) = 10 gives x = 5 or −2, and −2 is extraneous.

6For top marks

  • Isolate the exponential or logarithm before taking logs or exponentiating.
  • Check every solution of a log equation in the original: arguments must be positive.
  • Give exact answers (like $\frac{\ln 5}{\ln 2}$) and decimals when asked.
  • In context, interpret the answer with units and round sensibly.
Example

"$\log_2(x + 2) + \log_2(x - 2) = 5$ gives $x^2 - 4 = 32$, so $x = \pm 6$; only $x = 6$ makes both arguments positive."

Check yourself

Before taking logs of 4 · 5ˣ − 3 = 17, you should:

  • Take the log of each term

  • Divide by 5

  • Subtract 4

  • Isolate 5ˣ = 5

Show the answer

Isolate 5ˣ = 5

Isolate the exponential first.

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