Euler Hall — free maths guides

Solve an exponential or logarithmic equation and reject excluded inputs

Solve an exponential equation by equating exponents or taking a logarithm. The idea in plain words, a worked example, and a check with the answers shown — part of the free Precalculus guides.

Two directions, one inverse pair

Exponential and logarithmic equations are solved by applying the operation that undoes whichever one is in the way.

  • - To solvebx=Ab^x=A, take the logarithm of both sides:x=log⁡b(A)x=\log_b(A);
  • - To solvelog⁡b(x)=c\log_b(x)=c, exponentiate:x=bcx=b^c.

Every case in this module is one of those, possibly wrapped in arithmetic.

One extra rule matters more than the rest: a candidate must lie in the domain. A logarithm accepts only positive arguments, so a solution that makes an argument zero or negative is not a solution at all, even if it satisfies the algebra after the logarithms were combined.

Why extraneous roots appear

Combining two logarithms into one multiplies their arguments. That multiplication can produce a positive product from two negative factors, so the combined equation accepts inputs the original never could.

For examplelog⁡(x)+log⁡(x−3)\log(x)+\log(x-3) requires bothx>0x>0 andx>3x>3; combining them giveslog⁡(x(x−3))\log(x(x-3)) which requires onlyx(x−3)>0x(x-3)>0, satisfied also byx<0x<0. The combined equation has a wider domain, so it can have solutions the original does not.

The fix is always the same: check every candidate in the ORIGINAL equation, or equivalently against the original's domain restrictions.

Worked example

Solve32x−1=273^{2x-1}=27 and then check a logarithmic equation.

Step 1. Write both sides with the same base.27=3327=3^3, so32x−1=333^{2x-1}=3^3.

Step 2. Equate the exponents.2x−1=32x-1=3.

Step 3. Solve.x=2x=2.

Step 4. Check.32⋅2−1=33=273^{2\cdot2-1}=3^3=27. Correct.

Step 5. A logarithmic case. Solvelog⁡3(x+5)=2\log_3(x+5)=2. Exponentiating givesx+5=9x+5=9, sox=4x=4.

Step 6. Check the domain.x+5=9>0x+5=9>0, so the candidate is valid. Then verify:log⁡3(9)=2\log_3(9)=2. Correct.

By the end you can
  • Solve an exponential equation by equating exponents or taking a logarithm
  • Solve a logarithmic equation by exponentiating
  • Reject a candidate that makes a logarithm's argument non-positive
Check yourself

(a) Solve5x=1255^{x}=125.

(b) Solvelog⁡4(x)=2\log_4(x)=2.

(c) Why must a logarithmic equation end with a domain check?

Answers

(a)x=3x=3, since53=1255^3=125.

(b)x=42=16x=4^2=16.

(c) Because combining or manipulating logarithms can widen the domain and produce candidates the original equation cannot accept.

Work out where to start — free, no accountAnswer six real questions — free, no account