AP Precalculus · Study guide

Exponential and Logarithmic Equations and Inequalities

AP® Precalculus · Unit 2 · Exponential and Logarithmic Functions

Exponential and Logarithmic Equations and Inequalities

Exponential and logarithmic functions undo each other, and that is the key to solving equations with either one in them. This guide solves equations and inequalities, checks for extraneous solutions, and finds inverses of transformed functions.

The idea in one paragraph

To solve an exponential equation, isolate the power and apply a logarithm (or write both sides with the same base and match exponents). To solve a logarithmic equation, isolate a single log and rewrite it in exponential form. Rewriting with log properties can enlarge the domain, so always check answers in the original equation and throw out extraneous solutions. For inequalities, an increasing function keeps the inequality’s direction and a decreasing one reverses it. The same undoing steps, done in reverse order, find inverses of \(ab^{x + h} + k\) and \(a\log_b(x + h) + k\).

1Solving exponential equations

If both sides are powers of the same base, set the exponents equal. Otherwise isolate the power \(b^x\) and take a logarithm, usually ln or log so a calculator can finish the job.

Worked Example 1 Matching bases

Solve \(4^{x + 1} = 8^x\).

  1. 1
    Write both sides as powers of 2: \(4^{x + 1} = 2^{2x + 2}\) and \(8^x = 2^{3x}\).
  2. 2
    Equal powers of the same base have equal exponents: \(2x + 2 = 3x\), so \(x = 2\).
  3. 3
    Check: \(4^3 = 64\) and \(8^2 = 64\).
Answer: \(x = 2\)
Worked Example 2 Isolate, then take a log

Solve \(5 \cdot 3^x = 40\).

  1. 1
    Isolate the power: \(3^x = 8\).
  2. 2
    Rewrite as a log: \(x = \log_3 8 = \dfrac{\ln 8}{\ln 3} \approx 1.893\).
Answer: \(x = \log_3 8 \approx 1.893\)
Worked Example 3 Solving for time

An account grows as \(A(t) = 200e^{0.05t}\). When does it reach 500?

  1. 1
    \(200e^{0.05t} = 500\), so \(e^{0.05t} = 2.5\).
  2. 2
    Take \(\ln\) of both sides: \(0.05t = \ln 2.5\), so \(t = \dfrac{\ln 2.5}{0.05} \approx 18.33\).
Answer: After about 18.33 years.
Common Mistake 1 · Taking the log before isolating

In \(5 \cdot 3^x = 40\), writing \(x = \log_3 40\) ignores the 5. Divide first: \(3^x = 8\).

2Solving logarithmic equations

Combine logs into one using the properties, then switch to exponential form: \(\log_b(\text{stuff}) = c\) means \(\text{stuff} = b^c\).

Worked Example 4 Undo the log with a power

Solve \(\ln(x + 3) = 2\).

  1. 1
    Rewrite in exponential form: \(x + 3 = e^2\).
  2. 2
    \(x = e^2 - 3 \approx 4.389\). It satisfies \(x + 3 \gt 0\), so it is valid.
Answer: \(x = e^2 - 3 \approx 4.389\)

3Extraneous solutions

A solution can appear during the algebra that the original equation does not allow, usually because it makes some log input zero or negative. Check every candidate in the original equation, not in the rewritten one.

Worked Example 5 A logarithmic equation with an extraneous solution

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

  1. 1
    Condense: \(\log_2\big(x(x - 2)\big) = 3\), so \(x(x - 2) = 2^3 = 8\).
  2. 2
    \(x^2 - 2x - 8 = 0\) factors as \((x - 4)(x + 2) = 0\): \(x = 4\) or \(x = -2\).
  3. 3
    Check in the original: \(\log_2(-2)\) is undefined, so \(-2\) is extraneous. For \(x = 4\): \(\log_2 4 + \log_2 2 = 2 + 1 = 3\).
Answer: \(x = 4\) only (Figure 1).
Figure 1. Combining the logs produced a function with a bigger domain. Its extra intersection, x = −2, is a solution of the rewritten equation only: an extraneous solution.
Write it like this

“\(x = -2\) is extraneous because \(\log_2(-2)\) is undefined. The only solution is \(x = 4\).”

Common Mistake 2 · Checking in the condensed equation

\(-2\) does satisfy \(\log_2\big(x(x - 2)\big) = 3\), since \((-2)(-4) = 8\). It fails the original equation, which contains \(\log_2 x\) by itself. Check in the equation you were given.

4Inequalities

Solve the matching equation to find the boundary, then decide the direction. Exponential and log functions with base greater than 1 are increasing, so they keep the inequality; with base between 0 and 1 they are decreasing, so they reverse it. For logs, also keep the inputs positive.

Worked Example 6 Inequalities and the direction of the base

Solve \(3 \cdot 2^x \gt 48\) and \((0.8)^t \lt 0.5\).

  1. 1
    \(2^x \gt 16 = 2^4\). Base 2 is greater than 1, so bigger outputs come from bigger inputs: \(x \gt 4\).
  2. 2
    Base 0.8 is between 0 and 1, so \(0.8^t\) is decreasing: smaller outputs come from bigger inputs. \(0.8^t = 0.5\) at \(t = \log_{0.8} 0.5 \approx 3.106\), so \(t \gt 3.106\).
  3. 3
    With logs: \(t\ln 0.8 \lt \ln 0.5\). Dividing by \(\ln 0.8\), which is negative, flips the inequality.
Answer: \(x \gt 4\); \(t \gt \log_{0.8} 0.5 \approx 3.106\).
Worked Example 7 A logarithmic inequality

Solve \(\log_3(x - 1) \le 2\).

  1. 1
    Domain first: \(x - 1 \gt 0\), so \(x \gt 1\).
  2. 2
    \(\log_3\) is increasing, so \(x - 1 \le 3^2 = 9\), giving \(x \le 10\).
Answer: \(1 \lt x \le 10\)
Common Mistake 3 · Forgetting that ln of a small number is negative

\(\ln 0.8 \approx -0.223\). Dividing both sides of \(t\ln 0.8 \lt \ln 0.5\) by it reverses the inequality: \(t \gt 3.106\), not \(t \lt 3.106\).

5Inverses of transformed functions

Swap \(x\) and \(y\), then undo the steps in reverse order: remove the outside shift, then the outside factor, then switch between exponential and log form, then remove the inside shift.

Worked Example 8 Inverses of transformed functions

Find the inverses of \(f(x) = 2 \cdot 3^{x - 1} + 5\) and \(g(x) = 4\ln(x + 2) - 1\).

  1. 1
    \(f\): swap and undo in reverse order. \(x = 2 \cdot 3^{y - 1} + 5\) gives \(3^{y - 1} = \frac{x - 5}{2}\), so \(y = 1 + \log_3\frac{x - 5}{2}\), for \(x \gt 5\).
  2. 2
    \(g\): \(x = 4\ln(y + 2) - 1\) gives \(\ln(y + 2) = \frac{x + 1}{4}\), so \(y = e^{(x + 1)/4} - 2\).
  3. 3
    Spot check: \(f(2) = 2 \cdot 3 + 5 = 11\), and \(f^{-1}(11) = 1 + \log_3 3 = 2\).
Answer: \(f^{-1}(x) = 1 + \log_3\dfrac{x - 5}{2}\) (\(x \gt 5\)); \(g^{-1}(x) = e^{(x + 1)/4} - 2\).

Quick reference

EquationMove
\(b^{\text{A}} = b^{\text{B}}\)\(\text{A} = \text{B}\)
\(a \cdot b^x = c\)\(b^x = \frac ca\), then \(x = \log_b \frac ca\)
\(\log_b(\text{stuff}) = c\)\(\text{stuff} = b^c\), then check the domain
\(b^x = c^{(\log_c b)x}\)e.g. \(2^x = e^{x\ln 2} \approx e^{0.6931x}\)
Inequality, base > 1Direction stays
Inequality, 0 < base < 1Direction reverses