AP Precalculus · Topic 2.13 · Reading guide, about 5 min

Solving exponential and log equations and inequalities

Solve exponential and log equations and inequalities, spot extraneous solutions, and build inverse functions.

In one minute

An exponential equation hides the unknown in an exponent, and a log equation hides it inside a log. Both are solved by using the fact that exponentials and logs undo each other. You either match the bases, or you apply the inverse operation to both sides.

The tool is simple, but two traps wait. Log equations can produce answers that are not allowed in the original equation, and inequalities need you to think about whether a function is increasing or decreasing. This topic also asks you to write the inverse of an exponential or log function.

Key terms

Common base method
Rewriting both sides of an exponential equation with the same base, so that the exponents must be equal.
Taking logs
Applying a log to both sides of an equation, then using the power property to bring the unknown exponent down.
Exponential form
log⁡bx=y\log_b x=y rewritten as by=xb^y=x. It turns a log equation into a power equation.
Extraneous solution
A value that comes out of correct algebra but fails the original equation, often because it puts a negative number inside a log.
Domain check
Testing a candidate answer in the original equation to confirm every log input is positive.
Monotonic
Always increasing or always decreasing. Exponential and log functions are monotonic, so inequalities keep or flip direction predictably.
Inverse function
A function f−1f^{-1} that undoes ff: f−1(f(x))=xf^{-1}(f(x))=x. Its graph is the reflection of ff over y=xy=x.
Isolating the base expression
Getting the power or log alone on one side, away from added or multiplied constants, before undoing it.

Solving exponential equations

First isolate the exponential part. In 3⋅2x=483\cdot 2^x=48, divide by 3 to get 2x=162^x=16. Since 16=2416=2^4, the bases match and x=4x=4. This is the common base method, and it works when both sides are clean powers of the same number.

When the bases do not match, take a log. Solve 5x=205^x=20. Apply ln⁡\ln to both sides: ln⁡(5x)=ln⁡20\ln(5^x)=\ln 20. The power property gives xln⁡5=ln⁡20x\ln 5=\ln 20, so x=ln⁡20ln⁡5≈2.99571.6094≈1.861x=\dfrac{\ln 20}{\ln 5}\approx\dfrac{2.9957}{1.6094}\approx 1.861. Check: 51.8615^{1.861} has natural log 1.861×1.6094≈2.9951.861\times1.6094\approx 2.995, which matches ln⁡20\ln 20. Any base of log works, as long as you use the same one on both sides.

If the unknown is in the exponent and there is also a number added outside, such as 4⋅3x+7=434\cdot 3^{x}+7=43, subtract first: 4⋅3x=364\cdot3^x=36, then 3x=93^x=9, so x=2x=2. Always undo addition and multiplication before touching the exponent.

Solving log equations and the domain check

To solve a log equation, isolate the log and rewrite in exponential form. For log⁡3(x−1)=2\log_3(x-1)=2, we get x−1=32=9x-1=3^2=9, so x=10x=10. If there are several logs, condense them first using the rules in 2.12.

Worked example. Solve log⁡2x+log⁡2(x−2)=3\log_2 x+\log_2(x-2)=3. Step 1, condense with the product property: log⁡2[x(x−2)]=3\log_2[x(x-2)]=3. Step 2, exponential form: x(x−2)=23=8x(x-2)=2^3=8. Step 3, expand and rearrange: x2−2x−8=0x^2-2x-8=0, which factors as (x−4)(x+2)=0(x-4)(x+2)=0, so x=4x=4 or x=−2x=-2. Step 4, check each candidate in the original equation. For x=−2x=-2, the term log⁡2(−2)\log_2(-2) is undefined, so −2-2 is extraneous. For x=4x=4: log⁡24+log⁡22=2+1=3\log_2 4+\log_2 2=2+1=3, which works. The only solution is x=4x=4.

The lesson: the algebra after condensing allowed x=−2x=-2, but the original equation required x>0x>0 and x−2>0x-2>0, so x>2x>2. Always compare candidates to the domain of the original equation, not the rewritten one.

Choosing a method
Equation typeFirst moveNext moveThen
a⋅bx=ca\cdot b^{x}=cDivide by aaCommon base, or take a logSolve for xx
log⁡b(stuff)=k\log_b(\text{stuff})=kRewrite as stuff=bk\text{stuff}=b^kSolve what remainsCheck the domain
Several logs, same baseCondense to one logRewrite in exponential formCheck every log input
Logs of both sides equalSet the inputs equalSolve what remainsCheck the domain

Inequalities and monotonicity

Because bxb^x is always increasing when b>1b>1, an inequality such as 3x−1≤813^{x-1}\le 81 can be rewritten as 3x−1≤343^{x-1}\le 3^4 and then x−1≤4x-1\le 4, so x≤5x\le 5. The direction is kept. If the base were between 0 and 1, the function is decreasing and the direction would flip.

For logs, remember the domain too. Solve log⁡(x−1)<2\log(x-1)<2 for base 10. The input must be positive, so x>1x>1. Also, since log is increasing, x−1<102=100x-1<10^2=100, so x<101x<101. The solution is 1<x<1011< x<101. Forgetting the lower bound is a common loss of points.

A graph helps. Sketch both sides as functions and read off where one is above or below the other, using a calculator to find the crossing point if needed.

Building inverses

To invert an exponential, swap the roles of input and output and solve. Let f(x)=3⋅2x+1f(x)=3\cdot2^x+1. Write y=3⋅2x+1y=3\cdot 2^x+1. Swap names: x=3⋅2y+1x=3\cdot2^y+1. Solve for yy: x−13=2y\dfrac{x-1}{3}=2^y, so y=log⁡2x−13y=\log_2\dfrac{x-1}{3}. Hence f−1(x)=log⁡2x−13f^{-1}(x)=\log_2\dfrac{x-1}{3} with domain x>1x>1, the range of ff.

Check with numbers: f(3)=3⋅8+1=25f(3)=3\cdot 8+1=25 and f−1(25)=log⁡28=3f^{-1}(25)=\log_2 8=3. The inverse sent the output back to the input. The horizontal asymptote y=1y=1 of ff becomes the vertical asymptote x=1x=1 of f−1f^{-1}, which matches the reflection over y=xy=x.

To invert a log, do the opposite: use exponential form. If g(x)=2log⁡5(x)+3g(x)=2\log_5(x)+3, solve x−32=log⁡5y\frac{x-3}{2}=\log_5 y to get y=5(x−3)/2y=5^{(x-3)/2}.

How it connects

  • Back to 2.9: exponential form, log⁡bc=a\log_b c=a meaning ba=cb^a=c, is the main step in solving log equations.
  • Back to 2.12: the product, quotient and power rules are used to condense logs and bring exponents down.
  • Back to 2.8: inverse functions swap domain and range, which is why the domain of f−1f^{-1} equals the range of ff.
  • Forward to 2.14: logarithmic models need these solving steps to find when a quantity reaches a given value.
  • Forward to 3.10: solving trig equations also uses inverse functions and checks that answers fit the interval.

Common mistakes

  • Skipping the domain check. Both roots of a quadratic may appear, but only the one that keeps every log input positive survives.
  • Taking a log before isolating. In 3⋅2x=483\cdot2^x=48, logging both sides without dividing first makes the work messier. Isolate the exponential first.
  • Distributing a log over a sum. ln⁡(5+2x)\ln(5+2^x) is not ln⁡5+xln⁡2\ln 5+x\ln 2. Only a product or power can be split.
  • Giving only the upper bound. For a log inequality, the inside must be positive, so a lower bound usually comes from the domain.

How it shows up on the exam

  • Equation items give an exponential or log equation and ask for the solution, sometimes with a choice that is extraneous.
  • Inequality items ask for a solution set, often written as an interval, and may be answered from a graph with a calculator.
  • Some items give a function and ask for a formula for its inverse, or for a feature of the inverse such as its asymptote or domain.

Check yourself

  1. How can you tell when the common base method works and when you must take logs?
  2. Why does log⁡2x+log⁡2(x−2)=3\log_2 x+\log_2(x-2)=3 lose one of its algebraic solutions?
  3. How does the domain of f−1f^{-1} relate to the range of ff for an exponential function?
  4. When would an exponential inequality flip its direction when you compare exponents?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.