Algebra 2 · Grades 10, 11

Solving Exponential and Logarithmic Equations

Quick answer

An exponential equation has the variable in an exponent. If both sides can be written as powers of the same base, set the exponents equal; otherwise isolate the power and take a logarithm of both sides. A logarithmic equation has the variable inside a logarithm: condense to a single logarithm, rewrite in exponential form, and solve. Logarithms accept only positive inputs, so check every solution in the original equation; one that makes an argument zero or negative is extraneous.

What you'll learn

  • Solve exponential equations by matching bases
  • Solve exponential equations by taking logarithms
  • Solve logarithmic equations by condensing and rewriting
  • Identify and reject extraneous solutions

Unknowns in exponents

In 3⋅5x=603 \cdot 5^x = 60 the unknown sits in an exponent, out of reach of adding, subtracting, multiplying or dividing. Two strategies bring it down.

Match the bases. If both sides can be written as powers of one base, the exponents must be equal, because exponential functions are one-to-one: bm=bnb^m = b^n only when m=nm = n.

Take logarithms. Otherwise, isolate the power and take ln⁡\ln (or log⁡\log) of both sides. The power rule turns the exponent into a factor.

Taking a logarithm of both sides

To solve 3⋅5x=603 \cdot 5^x = 60, first isolate the power: 5x=205^x = 20. Then

ln⁡5x=ln⁡20⟹xln⁡5=ln⁡20⟹x=ln⁡20ln⁡5≈1.861\ln 5^x = \ln 20 \quad\Longrightarrow\quad x\ln 5 = \ln 20 \quad\Longrightarrow\quad x = \frac{\ln 20}{\ln 5} \approx 1.861

Unknowns inside logarithms

For a logarithmic equation, condense to one logarithm and rewrite it in exponential form: log⁡bA=c\log_b A = c means A=bcA = b^c.

Why some solutions are extraneous

log⁡x+log⁡(x−3)\log x + \log(x - 3) makes sense only when both arguments are positive, so only for x>3x > 3. Its condensed form, log⁡(x(x−3))\log\left(x(x - 3)\right), also accepts every x<0x < 0, where both factors are negative. Condensing is a correct identity for x>3x > 3, but it quietly widens the domain, and the widened equation can have solutions the original does not.

Solving log x + log(x − 3) = 1 The curve y = log x + log(x − 3) exists only to the right of x = 3 and meets the line y = 1 at x = 5. The dashed curve y = log(x(x − 3)) matches it there but also has a left branch, for x less than 0, which meets y = 1 at x = −2. That second crossing belongs to the condensed equation only. -4-2246-112xy x = 5 x = −2
  • y = log x + log(x − 3)
  • y = log(x(x − 3))
  • y = 1
Solving log x + log(x − 3) = 1

Every solution of a logarithmic equation must be checked in the original, because the steps that condense logarithms can admit numbers the original logarithms refuse.

Worked examples

Common mistakes

Practice problems

  1. Solve 32x=273^{2x} = 27.

    Answer

    x=32x = \tfrac{3}{2}

    Full solution

    27=3327 = 3^3, so 2x=32x = 3.

  2. Solve 8x=328^x = 32.

    Answer

    x=53x = \tfrac{5}{3}

    Full solution

    23x=252^{3x} = 2^5, so 3x=53x = 5.

  3. Solve 2⋅7x=502 \cdot 7^x = 50.

    Answer

    x=ln⁡25ln⁡7≈1.654x = \tfrac{\ln 25}{\ln 7} \approx 1.654

    Full solution

    Isolate the power: 7x=257^x = 25. Then xln⁡7=ln⁡25x\ln 7 = \ln 25.

  4. Solve e0.3t=5e^{0.3t} = 5.

    Answer

    t=ln⁡50.3≈5.365t = \tfrac{\ln 5}{0.3} \approx 5.365

    Full solution

    Take ln⁡\ln: 0.3t=ln⁡50.3t = \ln 5.

  5. Solve 5x−1=2x5^{x-1} = 2^x.

    Answer

    x=ln⁡5ln⁡5−ln⁡2≈1.757x = \tfrac{\ln 5}{\ln 5 - \ln 2} \approx 1.757

    Full solution

    (x−1)ln⁡5=xln⁡2(x - 1)\ln 5 = x\ln 2, so xln⁡5−xln⁡2=ln⁡5x\ln 5 - x\ln 2 = \ln 5.

  6. Solve log⁡3(2x−1)=2\log_3(2x - 1) = 2.

    Answer

    x=5x = 5

    Full solution

    2x−1=32=92x - 1 = 3^2 = 9, so x=5x = 5. Check: log⁡39=2\log_3 9 = 2.

  7. Solve ln⁡(x+1)−ln⁡(x−1)=ln⁡3\ln(x + 1) - \ln(x - 1) = \ln 3.

    Answer

    x=2x = 2

    Full solution

    Condense: ln⁡x+1x−1=ln⁡3\ln \tfrac{x + 1}{x - 1} = \ln 3, so x+1=3(x−1)x + 1 = 3(x - 1) and x=2x = 2. Both arguments, 33 and 11, are positive.

  8. Solve log⁡2x+log⁡2(x+2)=3\log_2 x + \log_2(x + 2) = 3.

    Answer

    x=2x = 2

    Full solution

    x(x+2)=23=8x(x + 2) = 2^3 = 8, so x2+2x−8=(x−2)(x+4)=0x^2 + 2x - 8 = (x - 2)(x + 4) = 0. x=−4x = -4 is extraneous, since log⁡2(−4)\log_2(-4) is undefined.

  9. Solve e2x−3ex−4=0e^{2x} - 3e^x - 4 = 0.

    Answer

    x=ln⁡4≈1.386x = \ln 4 \approx 1.386

    Full solution

    With u=exu = e^x: (u−4)(u+1)=0(u - 4)(u + 1) = 0. ex=−1e^x = -1 is impossible, since ex>0e^x > 0, so ex=4e^x = 4.

  10. A student solves log⁡x+log⁡(x−9)=1\log x + \log(x - 9) = 1, gets x=10x = 10 and x=−1x = -1, and keeps both. What went wrong?

    Hint

    Substitute x=−1x = -1 into the original equation.

    Answer

    x=−1x = -1 is extraneous: log⁡(−1)\log(-1) is undefined. The only solution is x=10x = 10.

    Full solution

    Condensing gives x(x−9)=10x(x - 9) = 10, whose solutions are 1010 and −1-1. The original equation needs x>9x > 9, so only 1010 survives. Check: log⁡10+log⁡1=1+0=1\log 10 + \log 1 = 1 + 0 = 1.

Frequently asked questions

How do I solve an exponential equation?

If both sides are powers of the same base, set the exponents equal. Otherwise isolate the power and take the logarithm of both sides, which brings the exponent down.

How do I solve a logarithmic equation?

Use the log rules to get a single logarithm, rewrite log_b A = c as A = b^c, solve, and check each answer in the original equation.

Why do logarithmic equations have extraneous solutions?

Condensing logarithms can widen the domain. log x + log(x − 3) needs x > 3, but log(x(x − 3)) also accepts negative x, so a negative solution of the condensed equation fails the original.

Can I take the log of each term separately?

No. The log of a sum does not split. Isolate the power first, so that one side is a single exponential.

What if the equation looks like a quadratic in eˣ?

Substitute u = eˣ, solve the quadratic, and keep only positive values of u, since eˣ is always positive.

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSF.LE.A.4Linear, Quadratic, and Exponential ModelsFor exponential models, express as a logarithm the solution to ab<sup>ct</sup> = d where a, c, and d are numbers and the base b is 2, 10, or e; evaluate the logarithm using technology.
  • CCSS.MATH.CONTENT.HSA.REI.A.2Reasoning with Equations and InequalitiesSolve simple rational and radical equations in one variable, and give examples showing how extraneous solutions may arise.