Educerie

Educerie · AP · Precalculus

AP Precalculus 2.13

Exponential and Logarithmic Equations and Inequalities

How do you solve exponential and logarithmic equations and inequalities, find an inverse of a transformed function, and spot an answer that does not belong?

What you will learn

  • Understand that solving means isolating the exponential or logarithm and then undoing it
  • Know that every answer must be checked in the original equation for extraneous roots
  • Know how to find the inverse of a transformed exponential or logarithm

You must be able to

  1. Solve exponential equations by a common base or by taking logarithms
  2. Solve an equation that is quadratic in an exponential and reject impossible roots
  3. Combine logarithms, solve and reject extraneous solutions
  4. Solve exponential and logarithmic inequalities with the correct direction and domain
  5. Find the inverse of a transformed exponential or logarithm
  6. Give exact answers unless a decimal is asked for

In the exam. This is the heart of Free-response 4 (no calculator, no context): solve an exponential or logarithmic equation exactly, and solve an equation that is quadratic in exe^x, rejecting the impossible root. Students lose points by treating log⁡5x=32\log_5 x = \tfrac32 as a product, by keeping a root such as x=−4x = -4, and by missing that ex=−2e^x = -2 is impossible. Section I Part A has the same skills in multiple choice, and Part B has a solve over an interval with a calculator.

1Exponential equations

Same base. Write each side with one base and equate exponents.

Worked example 1. Solve 32x−1=273^{2x-1} = 27.

32x−1=33  ⇒  2x−1=3  ⇒  x=23^{2x-1} = 3^{3} \;\Rightarrow\; 2x - 1 = 3 \;\Rightarrow\; x = 2

Isolate, then take a logarithm. When the sides cannot share a base, isolate the exponential term and apply a logarithm in any base. The power rule brings the exponent down.

Worked example 2. Solve 5⋅2x=405\cdot 2^{x} = 40 and 3x=203^{x} = 20.

2x=8  ⇒  x=32^{x} = 8 \;\Rightarrow\; x = 33x=20  ⇒  x=log⁡320=ln⁡20ln⁡3≈2.7273^{x} = 20 \;\Rightarrow\; x = \log_3 20 = \frac{\ln 20}{\ln 3} \approx 2.727

The exact answer is log⁡320\log_3 20. Use a decimal only when the question allows a calculator and asks for one.

Rewriting in another base. Since b=clog⁡cbb = c^{\log_c b},

bx=c xlog⁡cbb^{x} = c^{\,x\log_c b}

For example, 5x=exln⁡55^x = e^{x\ln 5}. The new form shows an equivalent growth rate: 5x5^x is the same function as e1.609xe^{1.609x}, with 1.609≈ln⁡51.609 \approx \ln 5.

2A quadratic in disguise

Some equations are quadratic in an exponential. Substitute u=exu = e^x (or u=2xu = 2^x), solve for uu, then go back to xx.

Worked example 3. Solve e2x−3ex−10=0e^{2x} - 3e^{x} - 10 = 0.

u=ex:u2−3u−10=0  ⇒  (u−5)(u+2)=0  ⇒  u=5 or u=−2u = e^{x}:\quad u^{2} - 3u - 10 = 0 \;\Rightarrow\; (u-5)(u+2) = 0 \;\Rightarrow\; u = 5 \text{ or } u = -2

Now return to xx:

  • ex=5e^x = 5 gives x=ln⁡5x = \ln 5.
  • ex=−2e^x = -2 has no solution, because exe^x is always positive.

So the only solution is x=ln⁡5x = \ln 5. Reject ex=−2e^x = -2 and say why: an exponential function is never negative.

3Logarithmic equations

One logarithm. Rewrite in exponential form.

Worked example 4. Solve log⁡5x=32\log_5 x = \tfrac32 and log⁡3(x+1)=2\log_3(x+1) = 2.

x=53/2x = 5^{3/2}x+1=32=9  ⇒  x=8x + 1 = 3^{2} = 9 \;\Rightarrow\; x = 8

log⁡5x=32\log_5 x = \tfrac32 means "55 to the power 32\tfrac32 is xx". It is not a product of log⁡5\log_5 and xx.

Several logarithms. Combine into one logarithm, convert to exponential form, solve, then check.

Worked example 5. Solve log⁡2x+log⁡2(x−2)=3\log_2 x + \log_2(x - 2) = 3.

log⁡2(x(x−2))=3  ⇒  x(x−2)=8  ⇒  x2−2x−8=0\log_2\big(x(x-2)\big) = 3 \;\Rightarrow\; x(x-2) = 8 \;\Rightarrow\; x^{2} - 2x - 8 = 0(x−4)(x+2)=0  ⇒  x=4 or x=−2(x-4)(x+2) = 0 \;\Rightarrow\; x = 4 \text{ or } x = -2

Check in the original equation. For x=−2x = -2, log⁡2x\log_2 x is undefined. So reject x=−2x = -2. For x=4x = 4: log⁡24+log⁡22=2+1=3\log_2 4 + \log_2 2 = 2 + 1 = 3. Correct.

Extraneous solutions come from steps that widen the domain. Combining logs lets in an xx that the separate logs did not allow. Check every answer in the original equation.

4Inequalities

Solve like the equation, but watch two things.

  • Direction. Taking a logarithm with base b>1b > 1, or raising a base b>1b>1 to both sides, keeps the inequality direction. With a base between 00 and 11, the direction reverses. Dividing by a negative number reverses it too.
  • Domain. A logarithm needs a positive input.

Worked example 6. Solve 3⋅2x−1≤243\cdot 2^{x-1} \le 24.

2x−1≤8=23  ⇒  x−1≤3  ⇒  x≤42^{x-1} \le 8 = 2^{3} \;\Rightarrow\; x - 1 \le 3 \;\Rightarrow\; x \le 4

Worked example 7. Solve (12)x<18\left(\tfrac12\right)^{x} < \tfrac18.

(12)x<(12)3  ⇒  x>3\left(\tfrac12\right)^{x} < \left(\tfrac12\right)^{3} \;\Rightarrow\; x > 3

The base is below 11, so the function is decreasing, and the direction reverses.

Worked example 8. Solve log⁡2(x−1)<3\log_2(x - 1) < 3.

0<x−1<23=8  ⇒  1<x<90 < x - 1 < 2^{3} = 8 \;\Rightarrow\; 1 < x < 9

The left end comes from the domain, x−1>0x - 1 > 0.

5Inverses of transformed functions

Use the inverse operations in reverse order, or swap xx and yy and solve.

An exponential. f(x)=a bx−h+kf(x) = a\,b^{x-h} + k:

x=a by−h+k  ⇒  by−h=x−ka  ⇒  f−1(x)=h+log⁡b ⁣(x−ka)x = a\,b^{y-h} + k \;\Rightarrow\; b^{y-h} = \frac{x-k}{a} \;\Rightarrow\; f^{-1}(x) = h + \log_b\!\left(\frac{x-k}{a}\right)

Worked example 9. f(x)=2⋅3x−1+4f(x) = 2\cdot 3^{x-1} + 4 gives f−1(x)=1+log⁡3 ⁣x−42f^{-1}(x) = 1 + \log_3\!\dfrac{x-4}{2}. Check: f(2)=2⋅3+4=10f(2) = 2\cdot 3 + 4 = 10 and f−1(10)=1+log⁡33=2f^{-1}(10) = 1 + \log_3 3 = 2.

A logarithm. g(x)=alog⁡b(x−h)+kg(x) = a\log_b(x-h) + k:

x=alog⁡b(y−h)+k  ⇒  log⁡b(y−h)=x−ka  ⇒  g−1(x)=h+b(x−k)/ax = a\log_b(y-h) + k \;\Rightarrow\; \log_b(y-h) = \frac{x-k}{a} \;\Rightarrow\; g^{-1}(x) = h + b^{(x-k)/a}

Worked example 10. g(x)=3log⁡2(x+1)−2g(x) = 3\log_2(x+1) - 2 gives g−1(x)=2(x+2)/3−1g^{-1}(x) = 2^{(x+2)/3} - 1. Check: g(3)=3⋅2−2=4g(3) = 3\cdot 2 - 2 = 4, and g−1(4)=22−1=3g^{-1}(4) = 2^{2} - 1 = 3.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.