18.4.1: Solving Exponential and Logarithmic Equations
- Page ID
- 77424
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)- Solve exponential equations.
- Solve logarithmic equations.
Introduction
As you know, algebra often requires you to solve equations to find unknown values. This is also true for exponential and logarithmic equations. There are some strategies that you can use, along with some properties you’ve learned, that you can use to solve those equations.
Solving Exponential Equations
You may be able to look at an equation like \(\ 4^{x}=16\) and solve it by asking yourself, “4 to what power is 16? \(\ 4^{2}\) is 16, so \(\ x=2\).” Equations like \(\ 4^{x}=17\) are a bit more difficult. You know \(\ x\) must be a little more than 2, because 17 is just a little more than 16. One way to find \(\ x\) with more precision, though, is by using logarithms.
When you have solved other algebraic equations, you often relied on the idea that you can change both sides of the equation in the same way and still get a true equation. This is true with logarithms, too: If \(\ x=y\), then \(\ \log _{b} x=\log _{b} y\), no matter what \(\ b\) is.
Let’s look at this with an equation whose solution you already know: \(\ 4^{x}=16\). You can use either the common log or the natural log. In the following example, you will use the common log.
Solve \(\ 4^{x}=16\).
Solution
\(\ \begin{aligned} 4^{x} &=16 \\ \log 4^{x} &=\log 16 \end{aligned}\) |
Take the common logarithm of both sides. (Remember, when no base is written, that means the base is 10.) |
\(\ \begin{array}{l} \log 4^{x}=\log 16 \\ x \log 4=\log 16 \end{array}\) |
What can you do with that new equation? Use the power property of logarithms to simplify the logarithm on the left side of the equation. |
\(\ \begin{array}{c} x \log 4=\log 16 \\ x=\frac{\log 16}{\log 4} \end{array}\) |
Remember that \(\ \log 4\) is a number. You can divide both sides of the equation by \(\ \log 4\) to get \(\ x\) by itself. |
\(\ x=\frac{1.204 \ldots}{0.602 \ldots}=2\) | Use a calculator to evaluate the logarithms and the quotient. |
Just as you knew, \(\ x=2\). Now let’s try it with our more difficult example, \(\ 4^{x}=17\). The procedure is exactly the same.
Solve \(\ 4^{x}=17\).
Solution
\(\ \begin{aligned} 4^{x} &=17 \\ \log 4^{x} &=\log 17 \end{aligned}\) |
Take the common logarithm of both sides. |
\(\ \begin{array}{l} \log 4^{x}=\log 17 \\ x \log 4=\log 17 \end{array}\) |
Use the power property of logarithms to simplify the logarithm on the left. |
\(\ \begin{array}{c} x \log 4=\log 17 \\ x=\frac{\log 17}{\log 4} \end{array}\) |
Divide both sides by \(\ \log 4\) to get \(\ x\) by itself. |
\(\ x=\frac{1.230 \ldots}{0.602 \ldots}=2.043 \ldots\) | Use a calculator to evaluate the logarithms and the quotient. |
You could have used either the common log or the natural log with the example above. You use one of these two bases, as you can then use your calculator to find the values.
Solve \(\ e^{2 x}=54\).
Solution
\(\ \begin{aligned} e^{2 x} &=54 \\ \ln e^{2 x} &=\ln 54 \end{aligned}\) |
Since the base is \(\ e\), use the natural logarithm. (If the base were 10, using common logarithms would be better.) |
\(\ \begin{array}{c} \ln e^{2 x}=\ln 54 \\ 2 x=\ln 54 \end{array}\) |
Remember that logarithms and exponential functions are inverses. When you have \(\ \log _{b} b^{m}\), the logarithm undoes the exponent, and the result is just \(\ m\). So \(\ \ln e^{2 x}=\log _{e} e^{2 x}=2 x\). |
\(\ x=\frac{\ln 54}{2}\) | Divide both sides by 2 to get \(\ x\) by itself. |
\(\ x=1.99449 \ldots\) | Use a calculator to evaluate the logarithm and quotient on the right and you’re done! |
Another kind of exponential equation has exponential expressions on both sides. When the bases are the same, or the exponents are the same, you can just compare the parts that are different. Look at these examples.
Solve \(\ 3^{2 x+5}=3^{3 x-2}\).
Solution
\(\ 3^{2 x+5}=3^{3 x-2}\) |
Here are two exponential expressions with the same base. If the two expressions are equal, then their exponents must be equal. (Think about that: if you have \(\ 3^{a}\) and \(\ 3^{b}\), and \(\ a \neq b\), then \(\ 3^{a}\) can’t have the same value as \(\ 3^{b}\).) |
\(\ 2 x+5=3 x-2\) | So, write a new equation that sets the exponents equal to each other. |
\(\ \begin{array}{c} 5=x-2 \\ 7=x \end{array}\) |
Solve the linear equation as you normally would. |
\(\ \begin{aligned} 3^{2(7)+5} &=3^{3(7)-2} \\ 3^{19} &=3^{19} \end{aligned}\) |
Test the solution in the original equation. No need to find \(\ 3^{19}\). When both sides say the same thing, you know it’s correct! |
\(\ x=7\)
Solve \(\ (x+4)^{8}=7^{8}\).
Solution
\(\ (x+4)^{8}=7^{8}\) | Again, you have two exponential expressions that are equal to each other. In this case, both sides have the same exponent, and this means the bases must be equal. |
\(\ x+4=7\) | Write a new equation that sets the bases equal to each other. |
\(\ x=3\) | Solve the linear equation as you normally would. |
\(\ \begin{array}{c} (3+4)^{8}=7^{8} \\ 7^{8}=7^{8} \end{array}\) |
Test the solution in the original equation. No need to find \(\ 7^{8}\). When both sides say the same thing, you know it’s correct! |
\(\ x=3\)
Solve \(\ 10^{3 x-2}=13\).
- \(\ x=5\)
- \(\ x=1.03798 \ldots\)
- \(\ x=1.52164 \ldots\)
- \(\ x=3.11394 \ldots\)
- Answer
-
- \(\ x=5\)
Incorrect. You probably forgot to take the logarithm of 13 as well as of \(\ 10^{3 x-2}\). The correct answer is \(\ x=1.03798 \ldots\).
- \(\ x=1.03798 \ldots\)
Correct. \(\ 10^{3 x-2}\) can be rewritten as \(\ \log 10^{3 x-2}=\log 13\), and \(\ \log 10^{3 x-2}=3 x-2\), so \(\ 3 x-2=\log 13\). This yields \(\ x=\frac{\log 13+2}{3}\).
- \(\ x=1.52164 \ldots\)
Incorrect. You probably used a natural logarithm on the right side \(\ (\ln 13)\), but common logarithm on the left side \(\ \left(\log 10^{3 x-2}=3 x-2\right)\). The correct answer is \(\ x=1.03798 \ldots\).
- \(\ x=3.11394 \ldots\)
Incorrect. You probably took the logarithms correctly and added 2 to both sides, but you forgot to divide by 3. The correct answer is \(\ x=1.03798 \ldots\).
- \(\ x=5\)
Solving Logarithmic Equations
There are several strategies you can use to solve logarithmic equations. The first is one you have used before: Rewrite the logarithmic equation as an exponential equation!
Solve \(\ \ln x=4.657\). Give \(\ x\) to the thousandths place.
Solution
\(\ \begin{array}{c} \ln x=4.657 \\ \log _{e} x=4.657 \\ e^{4.657}=x \end{array}\) |
Remember that natural logarithms have a base of \(\ e\). Rewrite this logarithm as an exponential equation. |
\(\ \begin{array}{c} 105.3196 \ldots=x \\ x \approx 105.320 \end{array}\) |
Use a calculator to evaluate \(\ e^{4.657}\), and round to the nearest thousandth. |
This works regardless of the base.
Solve \(\ \log _{7} x=3.843\). Give \(\ x\) to the thousandths place.
Solution
\(\ \begin{array}{c} \log _{7} x=3.843 \\ 7^{3.843}=x \end{array}\) |
Rewrite this logarithm as an exponential equation. |
\(\ \begin{array}{c} 1768.9345 \ldots=x \\ x \approx 1768.935 \end{array}\) |
Use a calculator to evaluate \(\ 7^{3.843}\) and round to the nearest thousandth. |
Logarithmic equations may also involve inputs where the variable has a coefficient other than 1, or where the variable itself is squared. In these cases, you need to complete a few more steps in solving for the variable.
Solve \(\ \log _{5} 3 x^{2}=1.96\). Give \(\ x\) to the hundredths place.
Solution
\(\ 5^{1.96}=3 x^{2}\) | Rewrite this logarithmic equation as an exponential equation. |
\(\ 23.44127 \ldots=3 x^{2}\) | Evaluate \(\ 5^{1.96}\). |
\(\ \begin{array}{c} 7.81375 \ldots=x^{2} \\ x=\pm 2.7953 \ldots \\ x \approx \pm 2.80 \end{array}\) |
Solve as you normally would. In this case, divide both sides by 3, then use the square root property to find the possible values for \(\ x\). Don’t forget that when using the square root property, both positive and negative roots must be considered. Round to the nearest hundredth. |
\(\ \begin{array}{c} \log _{5} 3 x^{2}=1.96 \\ \log _{5} 3(-2.80)^{2}=1.96 \\ \log _{5} 3(7.84)=1.96 \\ \log _{5} 23.52=1.96 \end{array}\) |
Check your answer by substituting the value of \(\ x\) into the original equation. Because \(\ (-2.80)^{2}\) and \(\ (+2.80)^{2}\) are both positive, we don't need to check \(\ +2.80\) separately. |
\(\ \begin{array}{c} \frac{\log 23.52}{\log 5}=1.96 \\ \frac{1.3714 \ldots}{0.6989 \ldots}=1.96 \\ 1.96=1.96 \end{array}\) |
Apply the change of base formula to switch from base 5 to base 10. The check shows that with rounding accounted for, a true statement results, so you know that the answer is correct. |
\(\ x \approx \pm 2.80\)
The equations may also include more than one logarithm. You can use the properties of logarithms to combine these logarithms into one logarithm. Note: You’ll find it helpful to record which properties you use at each step, both to help you be sure you’re using them properly and as a way to help you find errors.
Solve \(\ 2 \log 3+\frac{1}{2} \log 16-\log 3=\log x\).
Solution
\(\ 2 \log 3+\frac{1}{2} \log 16-\log 3=\log x\) | First notice that all of the logarithms have the same base. (These are common logarithms, so the bases are all 10). When using the properties, it is absolutely necessary that the bases are the same. |
\(\ \log 3^{2}+\log 16^{\frac{1}{2}}-\log 3=\log x\) | Use the power property to rewrite \(\ 2 \log 3\) as \(\ \log 3^{2}\) and \(\ \frac{1}{2} \log 16\) as \(\ \log 16^{\frac{1}{2}}\). |
\(\ \log 9+\log 4-\log 3=\log x\) | Evaluate the exponents. |
\(\ \begin{array}{c} \log (9 \cdot 4)-\log 3=\log x \\ \log 36-\log 3=\log x \end{array}\) |
Use the product property \(\ \log _{b} M N=\log _{b} M+\log _{b} N\) to combine \(\ \log 9+\log 4\). |
\(\ \begin{array}{c} \log \left(\frac{36}{3}\right)=\log x \\ \log 12=\log x \end{array}\) |
Use the quotient property \(\ \log _{b}\left(\frac{M}{N}\right)=\log _{b} M-\log _{b} N\) to combine \(\ \log 36-\log 3\). |
\(\ x=12\) | Since the logarithm of 12 and the logarithm of \(\ x\) are equal, \(\ x\) must equal 12. |
Solve \(\ \log x+\log 3=\log 24\).
- \(\ 0.460 \ldots\)
- \(\ 2.892 \ldots\)
- 8
- 21
- Answer
-
- \(\ 0.460 \ldots\)
Incorrect. Use the product property to combine \(\ \log x+\log 3\) into one logarithm. The correct answer is 8.
- \(\ 2.892 \ldots\)
Incorrect. Use the product property to combine \(\ \log x+\log 3\) into one logarithm. The correct answer is 8.
- 8
Correct. \(\ \log x+\log 3=\log 3 x\). So \(\ \log 3 x=\log 24\), \(\ 3 x=24\) and \(\ x=8\).
- 21
Incorrect. Use the product property to combine \(\ \log x+\log 3\) into one logarithm. The correct answer is 8.
- \(\ 0.460 \ldots\)
Summary
There are several strategies that can be used to solve equations involving exponents and logarithms. Taking logarithms of both sides is helpful with exponential equations. Rewriting a logarithmic equation as an exponential equation is a useful strategy. Using properties of logarithms is helpful to combine many logarithms into a single one.