Skip to main content

Section 13.5 Solving Exponential Equations with Logarithms

Recall that if an exponential equation can be written with both sides having equal bases, then it can be solved by equating exponents.
However, if both sides don’t have the same base, then logarithms are needed. In fact, most exponential equations in applications will not contain convenient whole number bases where you can equate exponents.

Example 13.5.1. Solving Exponential Equations with Different Bases.

Consider the equation \(4^x = 15\text{.}\) Here, the variable is in the exponent, but 15 is not a power of 4 (or 2). However, we can solve this by converting this equation to logarithmic form, to get \(x = \log_{4}15\text{.}\) This is the solution for \(x\text{.}\) In other words,
\begin{gather*} x = \log_{4}15 = \frac{\log{15}}{\log{4}} \approx 1.95 \end{gather*}
Note that \(4^2 = 16\text{,}\) and so \(x \approx 1.95 \approx 2\) is reasonable.
Alternatively, we can take the log of both sides, just like in the same way we would take the square root of both sides, or multiply both sides by 2. Here, using log base 10,
\begin{align*} 4^x \amp = 15\\ \log{(4^x)} \amp = \log{15} \amp\amp \text{taking the log of both sides} \end{align*}
Then, using the power law for logarithms, on the left side, we can bring the \(x\) into the front,
\begin{align*} x \cdot \log{4} \amp = \log{15} \amp\amp \text{using the power law}\\ x \amp = \frac{\log{15}}{\log{4}} \approx 1.95 \amp\amp \text{solving for $x$} \end{align*}
Both methods give you the correct answer.

Example 13.5.2. Solving an Equation with Binomial Exponent.

Consider the equation \(5^{x+3} = 7\text{.}\) Taking the log of both sides,
\begin{align*} \log\brac{5^{x+3}} \amp = \log{7} \amp\amp \text{taking the log of both sides} \end{align*}
Bringing the exponent \(x+3\) into the front,
\begin{align*} (x+3)\log{5} \amp = \log{7} \amp\amp \text{using the power law} \end{align*}
Next, expand by distributing \(\log{5}\) into the brackets,
\begin{gather*} x\log{5} + 3\log{5} = \log{7} \end{gather*}
Then, isolate the term involving \(x\text{.}\) Subtract \(3\log 5\) from both sides,
\begin{gather*} x\log{5} = \log{7} - 3\log{5} \end{gather*}
Finally, divide both sides by \(\log 5\text{,}\)
\begin{gather*} x = \frac{\log 7 - 3\log{5}}{\log 5} \end{gather*}
This is an exact final answer, and you can put it in your calculator to get \(x \approx -1.79\text{.}\)
In general, when the variable is in the exponent, taking the log of both sides β€œpulls down” the variable from the exponent to the β€œground level” of the equation, allowing you to solve for it, using algebra.
\begin{gather*} \boxed{\text{If the variable is in the exponent, take logs of both sides}} \end{gather*}

Remark 13.5.3.

The standard convention is to take the common logarithm (base 10) of both sides, because that is included on calculators. However, in principle, you could use any base that is convenient (if your calculator allows you to input logarithms of any base), and you will still get the same correct answer.

Remark 13.5.4.

When solving equations by taking logs of both sides, there are often multiple ways to write the final answer, because there are multiple ways to do the algebra to isolate for \(x\) (which are all equivalent and correct). If you’re unsure if your answer is equivalent to a different-looking answer, you can check by typing both into your calculator and seeing if the decimal number is the same.

Subsection 13.5.1 Examples

Exercise Group 13.5.1. Basic Equations.

Solve each equation. Give answers in exact form and rounded to 2 decimal places.
(b)
\(6^{x-3}=3\)
Answer.
\(x=\frac{3\log{6} + \log 3}{\log 6}\approx 3.61\)
(e)
\(9^x = 51\)
Answer.
\(x=\frac{\log 51}{\log 9}\approx 1.79\)
(f)
\(3^{x/4}=42\)
Answer.
\(x=\frac{4\log 42}{\log 3}\approx 13.61\)
(g)
\(13^{x+2}=7\)
Answer.
\(x=\frac{\log 7-2\log 13}{\log 13}\approx -1.24\)
(i)
\(4^{x+3} = 260\)
Answer.
\(x=\frac{\log 260 - 3 \log{4}}{\log 4}\approx 1.01\)
(j)
\(2^{\frac{x}{3}}=11\)
Answer.
\(x=\frac{3\log11}{\log2}\approx 10.38\)
(k)
\(6^{x-1}=271\)
Answer.
\(x=\frac{\log6+\log271}{\log6}\approx 4.13\)
(l)
\(4^{2x+1}=54\)
Answer.
\(x=\frac{\log54-\log4}{2\log4}\approx 0.94\)
(m)
\(5^{x-3}=1700\)
Answer.
\(x=\frac{3\log5+\log1700}{\log5}\approx 7.62\)

Remark 13.5.5.

For your final answer, there is no need to combine logs together (it is not considered more β€œsimple” or something like that).
Sometimes, you need to isolate the exponential first, and then take logs of both sides.

Exercise Group 13.5.2. Isolating the Exponential.

Solve each equation. Give answers in exact form and rounded to 2 decimal places.
(a)
\(4(7^x)=92\)
Answer.
\(x=\frac{\log23}{\log7}\approx 1.61\)
(b)
\(8(3^{2x})=568\)
Answer.
\(x=\frac{\log71}{2\log3}\approx 1.94\)
(c)
\(5+2\cdot3^{4x}=10\)
Answer.
\(x=\frac{\log{\brac{\frac{5}{2}}}}{4\log{3}} \approx 0.21\)

Example 13.5.6. Variables in Both Exponents.

Consider the equation \(4^{2x-3}=7^{x+1}\text{.}\) Again, the variable is in the exponent, so we’ll take the log of both sides,
\begin{align*} \log\brac{4^{2x-3}} \amp=\log\brac{7^{x+1}} \amp\amp \text{taking the log of both sides} \end{align*}
Bringing the exponents to the front,
\begin{align*} (2x-3)\log 4\amp=(x+1)\log 7 \amp\amp \text{using the power law} \end{align*}
Next, expand by distributing,
\begin{align*} 2x\log 4-3\log 4\amp=x\log 7+\log 7 \end{align*}
Then, to isolate for \(x\text{,}\) collect all terms involving \(x\) on one side, and move all terms without \(x\) to the other side
\begin{align*} 2x\log 4-x\log 7\amp=\log 7+3\log 4 \end{align*}
On the left side, there are 2 terms with \(x\) in them (as a factor), which means we can factor out \(x\text{,}\)
\begin{align*} x\brac{2\log 4-\log 7}\amp=\log 7+3\log 4 \end{align*}
Finally, divide both sides by \(2\log 4-\log 7\text{,}\)
\begin{align*} x\amp=\frac{\log 7+3\log 4}{2\log 4-\log 7} \end{align*}
This is an exact final answer, and you can put it in your calculator to get \(x\approx 7.38\text{.}\)

Exercise Group 13.5.3. Variables in Both Exponents Practice.

Solve each equation. Give answers in exact form and rounded to 2 decimal places.
(a)
\(3^x=5^{x+1}\)
Answer.
\(x=\frac{\log 5}{\log 3-\log 5}\approx -3.15\)
(b)
\(5^{x+2} = 3^{2x-1}\)
Answer.
\(x=\frac{2\log 5+\log 3}{2\log 3-\log 5}\approx 7.35\)
(c)
\(7^x=8^{x+1}\)
Answer.
\(x=\frac{\log 8}{\log 7-\log 8}\approx -15.57\)
(d)
\(2^{3x} = 5^{x-1}\)
Answer.
\(x=\frac{\log 5}{\log 5-3\log 2}\approx -3.42\)
(e)
\(7^{2x-1} = 17^x\)
Answer.
\(x=\frac{\log 7}{2\log 7-\log 17}\approx 1.84\)
(f)
\(4^{2x-1} = 3^{x+2}\)
Answer.
\(x=\frac{\log 4+2\log 3}{2\log 4-\log 3}\approx 2.14\)
(g)
\(12^{x-1}=2\cdot 6^x\)
Answer.
\(x=\frac{\log{2}+\log{12}}{\log{12}-\log{6}}\approx 4.58\)
(h)
\(6^{3x+1}=8^{x+3}\)
Answer.
\(x=\frac{3\log8-\log6}{3\log6-\log8}\approx 1.35\)
(i)
\(7^{2x}=2^{x+3}\)
Answer.
\(x=\frac{3\log2}{2\log7-\log2}\approx 0.65\)
(j)
\(1.6^{x-4}=5^{3x}\)
Answer.
\(x=\frac{4\log1.6}{\log1.6-3\log5}\approx -0.43\)
(k)
\(9^{2x-1}=71^{x+2}\)
Answer.
\(x=\frac{\log9+2\log71}{2\log9-\log71}\approx 81.37\)
(l)
\(7^{x+1}=4^{2x-1}\)
Answer.
\(x=\frac{\log4+\log7}{2\log4-\log7}\approx 4.03\)
(m)
\(12^{x-2}=3^{2x+1}\)
Answer.
\(x=\frac{2\log12+\log3}{\log12-2\log3}\approx 21.09\)
(n)
\(5^{x-2} = 4^{2x+3}\)
Answer.
\(x=\frac{2\log 5+3\log 4}{\log 5-2\log 4}\approx -6.34\)

Exercise Group 13.5.4. Mixed Exponential Equations.

Solve each equation. Give answers in exact form and rounded to 2 decimal places.
(a)
\(3^{2x+7} = 2^{x-2}\)
Answer.
\(x=\frac{-7\log 3-2\log 2}{2\log 3-\log 2}\approx -6.03\)
(b)
\(2\cdot 6^x = 5^{x+1}\)
Answer.
\(x=\frac{\log 5-\log 2}{\log 6-\log 5}\approx 5.03\)
(c)
\(3^{x+1} = 5^{x-2}\)
Answer.
\(x=\frac{-2\log 5-\log 3}{\log 3-\log 5}\approx 8.45\)
(d)
\(6^{x-5}=2\cdot 7^x\)
Answer.
\(x=\frac{\log 2+5\log 6}{\log 6-\log 7}\approx -62.61\)
(e)
\(3\cdot 2^{2x}=5\cdot 7^{x+1}\)
Answer.
\(x=\frac{\log{7}+\log{5}-\log{3}}{2\log 2-\log 7}\approx -4.39\)
(f)
\(3\cdot 4^{x+1}=5^{2x-3}\)
Answer.
\(x=\frac{-3\log 5-\log 4-\log 3}{\log 4-2\log 5}\approx 3.99\)
(g)
\(3\cdot 5^{x+2}=8^{2x}\)
Answer.
\(x=\frac{-\log3-2\log5}{\log 5-\log8}\approx 1.69\)
(h)
\(2\cdot 7^{3x-1}=\brac{\frac{1}{3}}^{5x}\)
Answer.
\(x=\frac{\log 7-\log 2}{3\log 7-5\log\brac{\frac{1}{3}}}\approx 0.11\)
(i)
\(4^x\cdot 6^{x-1}=9^{x+5}\)
Answer.
\(x=\frac{\log 6+5\log 9}{\log 4+\log6-\log9} \approx 13.03\)
(j)
\(3\cdot 2^{x-2} = 6^x\)
Answer.
\(x=\frac{2\log 2-\log 3}{\log 2-\log 6}\approx -0.26\)
(k)
\(4(7^{x+2})=9^{2x-3}\)
Answer.
\(x=\frac{3\log9+2\log7+\log4}{2\log9-\log7}\approx 4.85\)
(l)
\(3^{x-1} = 9\cdot 10^x\)
Answer.
\(x=\frac{\log 3 + \log{9}}{\log{3}-1}\approx -2.74\)
(m)
\(7^{x-1} = 2\cdot 5^{1-2x}\)
Answer.
\(x=\frac{\log 2+\log 5+\log 7}{\log 7+2\log 5}\approx 0.82\)

Subsection 13.5.2 Solving Exponential Equations in Quadratic Form

Exercise Group 13.5.5. Quadratic Form Practice.

Solve each equation.
(a)
\(2^{2x}-7\cdot2^x+12=0\)
Answer.
\(x=\frac{\log{3}}{\log{2}}, 2\)
(b)
\(2 \cdot 3^{2x} - 11 \cdot 3^x + 5 = 0\)
Answer.
\(x = \frac{\log{5}}{\log{3}}, -\frac{\log{2}}{\log{3}}\)
(e)
\(36^x - 16 \cdot 6^x = -64\)
Answer.
\(x = \frac{\log{8}}{\log{6}}\)

Subsection 13.5.3 Advanced Examples

Need to peel off the extra factors.

Exercise Group 13.5.6. Peeling Off Extra Factors.

Solve each equation.
(a)
\(12 + 5 \cdot 2^{x+2} - 6 \cdot 2^{x-1} = 40\)
Hint.
\(2^{x+2}\) and \(2^{x-1}\) differ by 3 factors of 2
Answer.
\(x = \frac{\log\brac{\frac{28}{17}}}{\log{2}} \approx 0.72\)
(b)
\(3^{2x+1}+20\cdot3^x=21\)
Hint.
\(3^{2x+1} = 3^{2x} \cdot 3 = 3 (3^x)^2\text{,}\) use quadratic form
Answer.
\(x=\log_3{\brac{\frac{-10+\sqrt{163}}{3}}} \approx -0.07\)
(c)
\(3^{x+3}+3^{x+2}=1458\)
Answer.
\(x=\frac{\log{\brac{\frac{729}{2}}}-2\log{3}}{\log{3}} \approx 3.37\)