Skip to content
Family Table Math
Auto

Solving Exponential Equations

An exponential equation has the unknown in an exponent, like 5x=405^x = 40 or 2000(1.045)n=30002000(1.045)^n = 3000. In Grade 11 you solved these by matching bases or by guess and check. Now you have logarithms, which can bring any exponent down to where you can solve for it. This page shows both methods and how to choose between them.

If two powers of the same base are equal, their exponents are equal:

bm=bn⇒m=n(b>0, b≠1)b^m = b^n \quad\Rightarrow\quad m = n \qquad (b \gt 0,\ b \ne 1)

This works when both sides can be written as powers of the same number. For example, 4x=8x−14^x = 8^{x - 1} becomes 22x=23x−32^{2x} = 2^{3x - 3}, so 2x=3x−32x = 3x - 3 and x=3x = 3.

When the numbers aren’t powers of a common base, take the log of both sides. The power law brings the exponent down:

5x=40⇒log⁡(5x)=log⁡40⇒xlog⁡5=log⁡40⇒x=log⁡40log⁡55^x = 40 \quad\Rightarrow\quad \log\left(5^x\right) = \log 40 \quad\Rightarrow\quad x\log 5 = \log 40 \quad\Rightarrow\quad x = \frac{\log 40}{\log 5}

Base 1010 is the usual choice because it’s on your calculator, but any base works. (Rewriting 5x=405^x = 40 in log form, x=log⁡540x = \log_5 40, gives the same answer after change of base.)

Before taking logs, isolate the power. In 2000(1.045)n=30002000(1.045)^n = 3000, divide by 20002000 first.

You can’t take the log of each term in a sum. But if the terms share a power, factor it out:

2x+3−2x=2x⋅23−2x=2x(8−1)=7(2x)2^{x + 3} - 2^x = 2^x \cdot 2^3 - 2^x = 2^x(8 - 1) = 7\left(2^x\right)

Equations like 9x−4(3x)+3=09^x - 4\left(3^x\right) + 3 = 0 are quadratics in disguise, because 9x=(32)x=(3x)29^x = \left(3^2\right)^x = \left(3^x\right)^2. Let u=3xu = 3^x, solve the quadratic for uu, then solve 3x=u3^x = u. Remember that 3x3^x is always positive, so a negative or zero value of uu gives no solution.

The equation looks like…Use
both sides are powers of the same number (88 and 3232, or 99 and 127\tfrac{1}{27})common base; gives an exact answer
the numbers don’t share a base (5x=405^x = 40, growth and interest problems)take logarithms
a sum or difference of powers of the same basefactor out the common power first
one power is the square of another (4x4^x and 2x2^x)substitute uu, then solve a quadratic

Solve.

  • (a) 8x+1=42x8^{x + 1} = 4^{2x}
  • (b) 9x−1=1279^{x - 1} = \dfrac{1}{27}

Solution.

(a) Both 88 and 44 are powers of 22:

(23)x+1=(22)2x23x+3=24x3x+3=4xequal bases, so equal exponentsx=3\begin{aligned} \left(2^3\right)^{x + 1} &= \left(2^2\right)^{2x} \\ 2^{3x + 3} &= 2^{4x} \\ 3x + 3 &= 4x && \text{equal bases, so equal exponents} \\ x &= 3 \end{aligned}

Check: 84=40968^4 = 4096 and 46=40964^6 = 4096. ✓

(b) Both 99 and 2727 are powers of 33, and 127=3−3\dfrac{1}{27} = 3^{-3}:

32(x−1)=3−3⇒2x−2=−3⇒x=−123^{2(x - 1)} = 3^{-3} \quad\Rightarrow\quad 2x - 2 = -3 \quad\Rightarrow\quad x = -\tfrac{1}{2}

Check: 9−32=1(9)3=1279^{-\frac{3}{2}} = \dfrac{1}{\left(\sqrt{9}\right)^3} = \dfrac{1}{27}. ✓

(a) Solve 5x=405^x = 40, to three decimal places.

(b) Shreya invests $2000 at 4.5%4.5\% per year, compounded annually. How many years until her investment is worth at least $3000?

Solution.

(a) 4040 isn’t a power of 55, so take logs:

xlog⁡5=log⁡40⇒x=log⁡40log⁡5≈2.292x\log 5 = \log 40 \quad\Rightarrow\quad x = \frac{\log 40}{\log 5} \approx 2.292

Check: 52.292≈40.05^{2.292} \approx 40.0. ✓

(b) The compound interest model is A=2000(1.045)nA = 2000(1.045)^n. Set A=3000A = 3000 and isolate the power before taking logs:

2000(1.045)n=30001.045n=1.5divide by 2000nlog⁡1.045=log⁡1.5take logsn=log⁡1.5log⁡1.045≈9.21\begin{aligned} 2000(1.045)^n &= 3000 \\ 1.045^n &= 1.5 && \text{divide by } 2000 \\ n\log 1.045 &= \log 1.5 && \text{take logs} \\ n &= \frac{\log 1.5}{\log 1.045} \approx 9.21 \end{aligned}

Interest is added only at the end of each year, so after 99 years it isn’t quite there yet (2000(1.045)9≈2000(1.045)^9 \approx $2972.19), and after 1010 years it is (about $3105.94). It takes 1010 years.

There’s no common base for 1.0451.045 and 1.51.5, which is why logs are the right method here.

Solve 32x−1=7x3^{2x - 1} = 7^x. Give an exact answer and a decimal to three places.

Solution. Take logs of both sides, and keep the brackets around the exponent:

(2x−1)log⁡3=xlog⁡72xlog⁡3−log⁡3=xlog⁡7expand2xlog⁡3−xlog⁡7=log⁡3collect x termsx(2log⁡3−log⁡7)=log⁡3factor out xx=log⁡32log⁡3−log⁡7\begin{aligned} (2x - 1)\log 3 &= x\log 7 \\ 2x\log 3 - \log 3 &= x\log 7 && \text{expand} \\ 2x\log 3 - x\log 7 &= \log 3 && \text{collect } x \text{ terms} \\ x(2\log 3 - \log 7) &= \log 3 && \text{factor out } x \\ x &= \frac{\log 3}{2\log 3 - \log 7} \end{aligned}

The denominator simplifies to log⁡9−log⁡7=log⁡97\log 9 - \log 7 = \log \frac{9}{7}, so x=log⁡3log⁡97≈4.371x = \dfrac{\log 3}{\log \frac{9}{7}} \approx 4.371.

Check: 32(4.371)−1≈49403^{2(4.371) - 1} \approx 4940 and 74.371≈49407^{4.371} \approx 4940. ✓

Example 4: Factoring and a hidden quadratic

Section titled “Example 4: Factoring and a hidden quadratic”

Solve.

  • (a) 3x+2−3x=723^{x + 2} - 3^x = 72
  • (b) 9x−4(3x)+3=09^x - 4\left(3^x\right) + 3 = 0

Solution.

(a) Factor out 3x3^x, using 3x+2=3x⋅93^{x + 2} = 3^x \cdot 9:

3x(9−1)=72⇒3x=9⇒x=23^x(9 - 1) = 72 \quad\Rightarrow\quad 3^x = 9 \quad\Rightarrow\quad x = 2

Check: 34−32=81−9=723^4 - 3^2 = 81 - 9 = 72. ✓ Factoring turned it into a common-base equation.

(b) Since 9x=(3x)29^x = \left(3^x\right)^2, let u=3xu = 3^x:

u2−4u+3=0⇒(u−1)(u−3)=0⇒u=1  or  u=3u^2 - 4u + 3 = 0 \quad\Rightarrow\quad (u - 1)(u - 3) = 0 \quad\Rightarrow\quad u = 1 \ \text{ or } \ u = 3

Now go back to xx: 3x=13^x = 1 gives x=0x = 0, and 3x=33^x = 3 gives x=1x = 1.

Check x=1x = 1: 9−4(3)+3=09 - 4(3) + 3 = 0. ✓ Check x=0x = 0: 1−4+3=01 - 4 + 3 = 0. ✓

Taking the log of each term in a sum. log⁡(3x+2−3x)\log\left(3^{x + 2} - 3^x\right) is not log⁡(3x+2)−log⁡(3x)\log\left(3^{x + 2}\right) - \log\left(3^x\right). Factor out the common power first, as in Example 4(a).

Multiplying the coefficient into the base. 2000(1.045)n2000(1.045)^n is not (2090)n(2090)^n. The exponent only applies to 1.0451.045. Divide by 20002000 before you do anything else.

Losing the brackets on the exponent. log⁡(32x−1)=(2x−1)log⁡3\log\left(3^{2x - 1}\right) = (2x - 1)\log 3, not 2x−1log⁡32x - 1\log 3. Without brackets, only the 11 gets multiplied.

Keeping an impossible value of uu. In a quadratic-type equation, 2x=−32^x = -3 has no solution, because a power of 22 is always positive. Reject it.

Simplifying a quotient of logs into one log. log⁡40log⁡5\dfrac{\log 40}{\log 5} is about 2.2922.292. It is not log⁡8\log 8 (about 0.9030.903). Divide the two decimal values.

Rounding too early. Keep the full calculator values until the last step. In Example 2(b), rounding log⁡1.045\log 1.045 to 0.020.02 gives n≈8.80n \approx 8.80, and the wrong answer of 99 years.

1. (Warm-up) Solve using a common base.

  • (a) 2x=322^x = 32
  • (b) 27x=927^x = 9
  • (c) 4x−1=644^{x - 1} = 64
Solution

(a) 2x=252^x = 2^5, so x=5x = 5.

(b) 33x=323^{3x} = 3^2, so 3x=23x = 2 and x=23x = \tfrac{2}{3}.

(c) 4x−1=434^{x - 1} = 4^3, so x−1=3x - 1 = 3 and x=4x = 4.

2. (Warm-up) Solve 6x=156^x = 15, to three decimal places.

Solutionx=log⁡15log⁡6≈1.511x = \frac{\log 15}{\log 6} \approx 1.511

Check: 61.511≈15.06^{1.511} \approx 15.0. ✓

3. (Core) Solve (12)x=8x+4\left(\tfrac{1}{2}\right)^x = 8^{x + 4}.

Solution

Write both sides as powers of 22: (12)x=2−x\left(\tfrac{1}{2}\right)^x = 2^{-x} and 8x+4=23(x+4)8^{x + 4} = 2^{3(x + 4)}.

−x=3x+12⇒−4x=12⇒x=−3-x = 3x + 12 \quad\Rightarrow\quad -4x = 12 \quad\Rightarrow\quad x = -3

Check: (12)−3=8\left(\tfrac{1}{2}\right)^{-3} = 8 and 81=88^1 = 8. ✓

4. (Core) Solve 12(1.5)x=9012(1.5)^x = 90, to three decimal places.

Solution1.5x=7.5⇒x=log⁡7.5log⁡1.5≈4.9691.5^x = 7.5 \quad\Rightarrow\quad x = \frac{\log 7.5}{\log 1.5} \approx 4.969

5. (Core) Solve 5x+1=32x5^{x + 1} = 3^{2x}. Give an exact answer and a decimal to three places.

Solution(x+1)log⁡5=2xlog⁡3xlog⁡5+log⁡5=2xlog⁡3log⁡5=x(2log⁡3−log⁡5)x=log⁡52log⁡3−log⁡5=log⁡5log⁡1.8≈2.738\begin{aligned} (x + 1)\log 5 &= 2x\log 3 \\ x\log 5 + \log 5 &= 2x\log 3 \\ \log 5 &= x(2\log 3 - \log 5) \\ x &= \frac{\log 5}{2\log 3 - \log 5} = \frac{\log 5}{\log 1.8} \approx 2.738 \end{aligned}

(The denominator is log⁡9−log⁡5=log⁡95=log⁡1.8\log 9 - \log 5 = \log \tfrac{9}{5} = \log 1.8.) Check: 53.738≈4105^{3.738} \approx 410 and 35.476≈4103^{5.476} \approx 410. ✓

6. (Core) Solve 2x+3+2x=722^{x + 3} + 2^x = 72.

Solution

Factor out 2x2^x: 2x(8+1)=722^x(8 + 1) = 72, so 2x=82^x = 8 and x=3x = 3.

Check: 26+23=64+8=722^6 + 2^3 = 64 + 8 = 72. ✓

7. (Core) Liam deposits $5000 in an account paying 6%6\% per year, compounded monthly. How many months until the account holds at least $8000? About how many years is that?

Solution

The monthly rate is 0.0612=0.005\dfrac{0.06}{12} = 0.005, so A=5000(1.005)nA = 5000(1.005)^n with nn in months.

5000(1.005)n=8000⇒1.005n=1.6⇒n=log⁡1.6log⁡1.005≈94.245000(1.005)^n = 8000 \quad\Rightarrow\quad 1.005^n = 1.6 \quad\Rightarrow\quad n = \frac{\log 1.6}{\log 1.005} \approx 94.24

After 9494 months the balance is about $7990.61 (not enough), and after 9595 months it’s about $8030.56. So it takes 9595 months, which is 77 years and 1111 months.

8. (Challenge) Solve 4x−2x+1−8=04^x - 2^{x + 1} - 8 = 0.

Solution

4x=(2x)24^x = \left(2^x\right)^2 and 2x+1=2(2x)2^{x + 1} = 2\left(2^x\right). Let u=2xu = 2^x:

u2−2u−8=0⇒(u−4)(u+2)=0⇒u=4  or  u=−2u^2 - 2u - 8 = 0 \quad\Rightarrow\quad (u - 4)(u + 2) = 0 \quad\Rightarrow\quad u = 4 \ \text{ or } \ u = -2

2x=42^x = 4 gives x=2x = 2. 2x=−22^x = -2 has no solution, since 2x>02^x \gt 0. So x=2x = 2.

Check: 16−8−8=016 - 8 - 8 = 0. ✓

9. (Challenge) Solve 25x−7(5x)+10=025^x - 7\left(5^x\right) + 10 = 0. Give exact answers, then decimals where needed.

Solution

Let u=5xu = 5^x, so 25x=u225^x = u^2:

u2−7u+10=0⇒(u−2)(u−5)=0⇒u=2  or  u=5u^2 - 7u + 10 = 0 \quad\Rightarrow\quad (u - 2)(u - 5) = 0 \quad\Rightarrow\quad u = 2 \ \text{ or } \ u = 5

5x=55^x = 5 gives x=1x = 1. 5x=25^x = 2 gives x=log⁡2log⁡5≈0.431x = \dfrac{\log 2}{\log 5} \approx 0.431.

Check x=1x = 1: 25−35+10=025 - 35 + 10 = 0. ✓ Check x≈0.431x \approx 0.431: 5x=25^x = 2 and 25x=425^x = 4, so 4−14+10=04 - 14 + 10 = 0. ✓