Allday Education

Solving Exponential Equations & Inequalities

An exponential equation has the variable in the exponent — things like 3x=813^x = 81 or 2x1=162^{x-1} = 16. That placement is what makes them feel different: you can't isolate xx by adding or dividing, because xx isn't a term or a factor. It's a power.

There are exactly two methods, and which one you use depends on the numbers. If both sides can be written as powers of the same base, match the bases and set the exponents equal — fast and clean. If they can't, take a logarithm of both sides and use the power rule to bring xx down out of the exponent. Every exponential equation you'll see falls into one of these two buckets.

Method 1: match the bases

If you can rewrite both sides as powers of one common base, the equation bleft=brightb^{\text{left}} = b^{\text{right}} forces the exponents to be equal — an exponential function never repeats an output, so equal outputs mean equal inputs. From there it's ordinary algebra.

For 3x=813^x = 81: recognize 81=3481 = 3^4, so 3x=343^x = 3^4 and x=4x = 4. The skill this method really tests is knowing your powers — 25=322^5 = 32, 34=813^4 = 81, 53=1255^3 = 125, and so on. When a problem's numbers are "nice," this is almost always the intended route.

Watch for hidden common bases. In 4x=84^x = 8, neither number is a power of the other, but both are powers of 22: 4=224 = 2^2 and 8=238 = 2^3. Rewriting gives 22x=232^{2x} = 2^3, so 2x=32x = 3 and x=32x = \dfrac{3}{2}.

Method 2: take a logarithm of both sides

When the two sides don't share a base — like 5x=405^x = 40, since 4040 is not a whole-number power of 55 — take a log of both sides. Any base works; log\log (base 1010) or ln\ln are the ones on your calculator.

The whole point is the power rule: log5x=xlog5\log 5^x = x \log 5. Taking the log moves xx from the exponent down to a coefficient, and once xx is a coefficient, you divide: x=log40log5x = \dfrac{\log 40}{\log 5}. The logarithm is the inverse of the exponential, which is exactly why it can pull the variable out of the exponent.

The exact answer is the log expression itself. Only round at the very end: log40log52.29\dfrac{\log 40}{\log 5} \approx 2.29. And note the expression is log40\log 40 divided by log5\log 5 — not log405\log \dfrac{40}{5}. Those are different numbers.

Choosing a method, and one warning

Scan the numbers first. Powers of a common base on both sides? Method 1. Anything else — Method 2. Both methods are correct on every solvable equation; matching bases is just quicker when it's available.

One warning for inequalities: if the base is between 00 and 11, the function decreases, so comparing exponents flips the inequality sign. (12)x<(12)4\displaystyle \left(\frac{1}{2}\right)^x < \left(\frac{1}{2}\right)^4 means x>4x > 4, not x<4x < 4. For plain equations there's nothing to flip — equal is equal.

Worked examples

Example 1: same base, simple exponent

Solve 3x=813^x = 81.

Write 8181 as a power of 3381=3481 = 3^4
Now both sides share base 333x=343^x = 3^4
Set the exponents equalx=4x = 4
Check: 34=813^4 = 81

Answer: x=4x = 4

Example 2: same base, expression in the exponent

Solve 2x1=162^{x-1} = 16.

Write 1616 as a power of 2216=2416 = 2^4
Match the bases2x1=242^{x-1} = 2^4
Set the exponents equalx1=4x - 1 = 4
Add 11 to both sidesx=5x = 5

Answer: x=5x = 5

Example 3: a hidden common base

Solve 4x=84^x = 8.

Write both sides as powers of 224=22,8=234 = 2^2, \quad 8 = 2^3
Rewrite the equation(22)x=23(2^2)^x = 2^3
Power to a power: multiply exponents22x=232^{2x} = 2^3
Set the exponents equal and solve2x=3,x=322x = 3, \quad x = \dfrac{3}{2}

Answer: x=32x = \dfrac{3}{2}

Example 4: no common base — use logs

A bacteria culture multiplies by 55 every day, so its size relative to the start is 5x5^x after xx days. Solve 5x=405^x = 40. Round to the nearest hundredth.

4040 is not a whole-number power of 55, so take the log of both sideslog5x=log40\log 5^x = \log 40
Power rule: bring the exponent downxlog5=log40x \log 5 = \log 40
Divide both sides by log5\log 5x=log40log5x = \dfrac{\log 40}{\log 5}
Evaluate and roundx2.29x \approx 2.29

Answer: x=log40log52.29x = \dfrac{\log 40}{\log 5} \approx 2.29 days

Try one yourself

Common questions

How do I know which method to use?

Look at the numbers. If both sides can be written as powers of one base (3x=813^x = 81, or 4x=84^x = 8 via base 22), match the bases. If not (5x=405^x = 40), take a log of both sides. When in doubt, the log method always works — matching bases is just a shortcut for nice numbers.

Does it matter which log base I use in Method 2?

No. Any base gives the same answer: log40log5=ln40ln5\dfrac{\log 40}{\log 5} = \dfrac{\ln 40}{\ln 5}. Use log\log or ln\ln since both are on your calculator. If you use the base of the equation itself, the answer is even cleaner: x=log540x = \log_5 40.

What if the exponential isn't alone, like 32x=483 \cdot 2^x = 48?

Isolate the exponential first, before either method. Divide both sides by 33 to get 2x=162^x = 16, then proceed: 16=2416 = 2^4, so x=4x = 4. Taking a log before isolating is the classic mistake — log(32x)\log(3 \cdot 2^x) is not 3log2x3 \cdot \log 2^x.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1