Tutorials › Calculus I › Solve Exponential Equations with Logarithms

Exponential and Logarithmic Models · Tutorial 99 of 1495

Solve Exponential Equations with Logarithms

Use logarithms to solve exponential equations that cannot be conveniently rewritten with matching bases, and check each solution in the original equation.

Beginner 10 min read

What You'll Learn

  • Recognize when taking logarithms is a useful alternative to matching bases.
  • Isolate an exponential expression before applying logarithms.
  • Solve equations with an affine expression in the exponent.
  • Check when an equation has no real solution or needs separate treatment.
  • Verify exact and approximate solutions in the original equation.

When Matching Bases Is Not Convenient

Some exponential equations can be solved by rewriting both sides with the same base. That method is especially direct when the numbers have a simple common base. But not every equation has a useful matching-base form. For example, \(5^{2x-1}=13\) does not become simpler by rewriting 5 and 13 as powers of one common base.

Logarithms provide a general method for these cases. Since a logarithm is the inverse of an exponential function, taking a logarithm allows us to bring an exponent down as a factor and then solve for the variable.

Key idea: First isolate the exponential expression. Then take the logarithm of both sides, use the power rule for logarithms, and solve the resulting equation for the variable.

The Basic Method

Suppose the equation has the form \(a^{mx+b}=c\), where \(a>0\), \(a\ne1\), \(m\ne0\), and \(c>0\). The base must be positive for the real-valued exponential expression to be defined, and it cannot equal 1 because \(1^{mx+b}\) is always 1. The right side must be positive because \(a^{mx+b}>0\) for every real \(x\).

Take the natural logarithm of both sides. The logarithm power rule gives \(\ln(a^u)=u\ln a\) for \(a>0\). Therefore:

$$ a^{mx+b}=c \quad\Longrightarrow\quad \ln(a^{mx+b})=\ln c \quad\Longrightarrow\quad (mx+b)\ln a=\ln c. $$

Because \(a\ne1\), \(\ln a\ne0\). We can divide by \(\ln a\), then isolate \(x\):

$$ mx+b=\frac{\ln c}{\ln a}, \qquad x=\frac{\frac{\ln c}{\ln a}-b}{m}. $$
Formula: For \(a^{mx+b}=c\), with \(a>0\), \(a\ne1\), \(m\ne0\), and \(c>0\), the real solution is $$ x=\frac{\frac{\ln c}{\ln a}-b}{m}. $$

The same solution results if we use any logarithm base greater than zero and not equal to 1, provided we use that base consistently on both sides. Natural logarithms are a convenient choice. The quotient \(\frac{\ln c}{\ln a}\) expresses the logarithm of \(c\) to base \(a\), but we do not need to change the equation to that notation to solve it.

Why Taking Logarithms Works

The method depends on two properties. First, the logarithm is the inverse of the exponential function: for \(a>0\), \(a\ne1\), and \(y>0\), \(\log_a(a^y)=y\). Second, the logarithm power rule states that \(\ln(u^r)=r\ln u\) when \(u>0\). Here is the full chain of reasoning for the general equation.

1
Preserve equality.
Both sides of \(a^{mx+b}=c\) are positive, so taking their natural logarithms is defined and gives an equivalent equation.
2
Use the power rule.
\(\ln(a^{mx+b})=(mx+b)\ln a\), so the variable expression in the exponent becomes a factor.
3
Isolate the variable.
Since \(a\ne1\), \(\ln a\ne0\); since \(m\ne0\), the resulting linear equation can be solved uniquely for \(x\).

This also shows why the conditions matter. If \(c\le0\), the original equation has no real solution because a positive base raised to a real power is always positive. If \(m=0\), the exponent \(mx+b\) does not depend on \(x\): the equation is either true for every real \(x\) or false for every real \(x\), rather than determining one value. The special base \(a=1\) has the same constant-expression issue.

Worked Examples

Worked Example: Solve \(5^{2x-1}=13\)

The bases are not conveniently matched, so take natural logarithms of both sides. The right side is positive, as required.

$$ \begin{aligned} 5^{2x-1}&=13\\ \ln(5^{2x-1})&=\ln 13\\ (2x-1)\ln 5&=\ln 13\\ 2x-1&=\frac{\ln 13}{\ln 5}\\ 2x&=1+\frac{\ln 13}{\ln 5}\\ x&=\frac{1+\frac{\ln 13}{\ln 5}}{2}. \end{aligned} $$

This exact expression is the solution. Using a calculator and rounding \(x\) to nine decimal places gives \(x\approx1.296846321\). Substitution into the original equation gives an exponent of approximately \(2(1.296846321)-1=1.593692642\), so \(5^{1.593692642}\approx13.0000000\). For an exact check, substitute the unrounded expression:

$$ 5^{2x-1} =5^{\ln 13/\ln 5} = e^{(\ln 13/\ln 5)\ln 5} = e^{\ln 13} =13. $$

Thus the exact solution satisfies the original equation.

Worked Example: Solve \(2^{3x+1}=11\)

Take natural logarithms and use the power rule. Then isolate \(x\).

$$ \begin{aligned} 2^{3x+1}&=11\\ \ln(2^{3x+1})&=\ln 11\\ (3x+1)\ln 2&=\ln 11\\ 3x+1&=\frac{\ln 11}{\ln 2}\\ x&=\frac{\frac{\ln 11}{\ln 2}-1}{3}. \end{aligned} $$

The exact solution is \(x=\frac{\frac{\ln 11}{\ln 2}-1}{3}\). A calculator gives \(x\approx0.819810540\) to nine decimal places. Substituting this rounded value gives \(3x+1\approx3.459431620\), and hence \(2^{3x+1}\approx11.00000001\). The small difference from 11 is due to rounding. With the exact expression, the check is:

$$ 2^{3x+1} =2^{\ln 11/\ln 2} =e^{(\ln 11/\ln 2)\ln 2} =e^{\ln 11} =11. $$

Worked Example: Solve \(4(1/3)^{x+2}=5\)

First isolate the exponential expression by dividing both sides by 4. The resulting right side, \(5/4\), is positive, so its logarithm is defined.

$$ \begin{aligned} 4\left(\frac13\right)^{x+2}&=5\\ \left(\frac13\right)^{x+2}&=\frac54\\ \ln\left(\left(\frac13\right)^{x+2}\right)&=\ln\left(\frac54\right)\\ (x+2)\ln\left(\frac13\right)&=\ln\left(\frac54\right)\\ x+2&=\frac{\ln(5/4)}{\ln(1/3)}\\ x&=\frac{\ln(5/4)}{\ln(1/3)}-2. \end{aligned} $$

Since \(\ln(1/3)<0\), the quotient is negative. Numerically, \(x\approx-2.203114013\), rounded to nine decimal places. Check the exact expression in the original equation:

$$ 4\left(\frac13\right)^{x+2} =4\left(\frac13\right)^{\ln(5/4)/\ln(1/3)} =4e^{\ln(5/4)} =4\left(\frac54\right) =5. $$

The negative logarithm of the base causes no difficulty: it is simply a nonzero number by which we divide.

Equations with a Coefficient

An equation may have a constant multiplying the exponential expression, as in the third example. In general, consider \(A a^{mx+b}=C\). If \(A=0\), the left side is zero, so the equation is true for every \(x\) when \(C=0\) and has no solution when \(C\ne0\). If \(A\ne0\), divide by \(A\) first. The quotient \(C/A\) must be positive; if it is zero or negative, there is no real solution. When \(C/A>0\), the equation becomes \(a^{mx+b}=C/A\), and the logarithm method applies if \(a>0\), \(a\ne1\), and \(m\ne0\).

This order is useful: isolate the exponential expression before taking logarithms. Taking the logarithm of a product is possible when its factors are positive, but dividing first keeps the steps clear and makes the required positivity check explicit.

A Common Mistake: Losing the Logarithm of the Base

A frequent error is to take the logarithm of an exponential power but forget the factor \(\ln a\). For example, a mistaken solution to \(2^{x+1}=9\) might be:

$$ \ln(2^{x+1})=\ln 9 \quad\Rightarrow\quad x+1=\ln 9 \quad\Rightarrow\quad x=\ln 9-1\approx1.197225. $$

The middle step is incorrect. The power rule gives \(\ln(2^{x+1})=(x+1)\ln2\), not just \(x+1\). The corrected work is:

$$ \begin{aligned} 2^{x+1}&=9\\ (x+1)\ln2&=\ln9\\ x&=\frac{\ln9}{\ln2}-1\\ x&\approx2.169925. \end{aligned} $$

Check the exact answer: \(2^{x+1}=2^{\ln9/\ln2}=e^{\ln9}=9\). By contrast, the incorrect rounded value \(x\approx1.197225\) gives \(2^{x+1}\approx4.59\), not 9. Always keep the logarithm of the base when using the power rule.

Checking and Interpreting a Solution

A solution obtained through logarithms should be checked in the original equation, not only in the transformed equation. The exact checks above use the inverse relationship between logarithms and exponentials. For a decimal answer, substitution should give a value close to the required right side; any small discrepancy should be consistent with the number of digits retained.

For equations of the form \(a^{mx+b}=c\) under the stated conditions, the method produces exactly one real solution. The logarithm is one-to-one, and the resulting equation is linear with nonzero coefficient \(m\ln a\). This conclusion is specific to that form; an equation with additional terms or more complicated expressions may require further analysis.

Logarithms matter here because they turn an exponent containing the unknown into an ordinary linear expression. Matching bases is often quicker when it applies, but logarithms work for a much broader range of positive right sides and positive bases other than 1.

Check Your Understanding

For each question, show the isolation and logarithm steps, and check any proposed solution in the original equation.

  1. Solve \(3^{x-2}=8\) exactly, then give a decimal approximation rounded to six decimal places.
  2. Solve \(7^{2x}=4\) using natural logarithms. Why is the quotient involving \(\ln 7\) positive?
  3. For \(5(2)^{x+1}=3\), explain why dividing by 5 still leaves an equation to which logarithms can be applied.
  4. Does \(4^{x}=0\) have a real solution? Explain using the possible values of a positive-base exponential.
  5. In solving \(6^{2x-1}=10\), what factor must appear when the power is brought down by taking natural logarithms?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon