5.4 Solve Exponential and Logarithmic Equations
Learning Objectives
By the end of this section, you will be able to:
- Solve logarithmic equations using the properties of logarithms
- Solve exponential equations using logarithms
- Use exponential models in applications
Try It
Before you get started, take this readiness quiz:
1) Solve: [latex]{x}^{2}=16.[/latex]
2) Solve: [latex]{x}^{2}-5x+6=0.[/latex]
3) Solve: [latex]x\left(x+6\right)=2x+5.[/latex]
Solve Logarithmic Equations Using the Properties of Logarithms
In the section on logarithmic functions, we solved some equations by rewriting the equation in exponential form. Now that we have the properties of logarithms, we have additional methods we can use to solve logarithmic equations.
If our equation has two logarithms we can use a property that says that if [latex]{\text{log}}_{a}M={\text{log}}_{a}N[/latex] then it is true that [latex]M=N[/latex]. This is the One-to-One Property of Logarithmic Equations.
One-to-One Property of Logarithmic Equations
[latex]\begin{array}{c}\text{For}\;M>0\text{,}\;N>0\text{,}\;a>0\text{, and}\;a\neq 1\;\text{is any real number:}\\\text{If}\;\log_aM=\log_aN\text{, then}\;M=N\end{array}[/latex]
To use this property, we must be certain that both sides of the equation are written with the same base.
Remember that logarithms are defined only for positive real numbers. Check your results in the original equation. You may have obtained a result that gives a logarithm of zero or a negative number.
Example 5.4.1
Solve: [latex]2{\text{log}}_{5}x={\text{log}}_{5}81.[/latex]
Solution
Step 1: Use the Power Property.
[latex]\log_5x^2=\log_581[/latex]
Step 2: Use the One-to-One Property, if [latex]{\mathrm{log}}_{a}M={\mathrm{log}}_{a}N[/latex] then [latex]M=N[/latex].
[latex]x^2=81[/latex]
Step 3: Solve using the Square Root Property.
[latex]x=\pm9[/latex]
Step 4: We eliminate [latex]x=-9[/latex] as e cannot take the logarithm of a negative number.
[latex]x=9,\;\overline{)x=-9}[/latex]
Step 5: Check.
[latex]\begin{eqnarray*}x&=&9\\2\log_5x&=&\log_581\\2\log_59&\overset?=&\log_581\\\log_59^2&\overset?=&\log_581\\\log_581&=&\log_581\;\checkmark\end{eqnarray*}[/latex]
Try It
4) Solve: [latex]2{\text{log}}_{3}x={\text{log}}_{3}36[/latex]
Solution
[latex]x=6[/latex]
Try It
5) Solve: [latex]3\text{log}\phantom{\rule{0.2em}{0ex}}x=\text{log}64[/latex]
Solution
[latex]x=4[/latex]
Another strategy to use to solve logarithmic equations is to condense sums or differences into a single logarithm.
Example 5.4.2
Solve: [latex]{\text{log}}_{3}x+{\text{log}}_{3}\left(x-8\right)=2.[/latex]
Solution
Step 1: Use the Product Property, [latex]{\mathrm{log}}_{a}M+{\mathrm{log}}_{a}N={\mathrm{log}}_{a}M\cdot N[/latex].
[latex]{\mathrm{log}}_{3}x\left(x-8\right)=2[/latex]
Step 2: Rewrite in exponential form.
[latex]3^2\;=\;x(x-8)[/latex]
Step 3: Simplify.
[latex]9=x^2-8x[/latex]
Step 4: Subtract 9 from each side.
[latex]0=x^2-8x-9[/latex]
Step 5: Factor.
[latex]0=(x-9)(x+1)[/latex]
Step 6: Use the Zero-Product Property.
[latex]x-9=0,\;x+1=0[/latex]
Step 7: Solve each equation.
[latex]x=9,\;\overline{)x=-1}[/latex]
Step 8: Check.
[latex]\begin{eqnarray*}x&=&-1\\\log_3x+\log_3(x-8)&=&2\\\log_3({\color{red}{-}}{\color{red}{1}})+\log_3({\color{red}{-}}{\color{red}{1}}{\color{red}{-}}{\color{red}{8}})&\overset?=&2\;\text{We cannot take the log of a }{\color{red}{\text{negative}}}\text{ number.}\\\\\\x&=&{\color{blue}{9}}\\\log_3x+\log_3(x-8)&=&2\\\log_3({\color{blue}{9}})+\log_3({\color{blue}{9}}-8)&\overset?=&2\\2+0&\overset?=&2\\2&=&2\;\checkmark\end{eqnarray*}[/latex]
Try It
6) Solve: [latex]{\text{log}}_{2}x+{\text{log}}_{2}\left(x-2\right)=3[/latex]
Solution
[latex]x=4[/latex]
Try It
7) Solve: [latex]{\text{log}}_{2}x+{\text{log}}_{2}\left(x-6\right)=4[/latex]
Solution
[latex]x=8[/latex]
When there are logarithms on both sides, we condense each side into a single logarithm. Remember to use the Power Property as needed.
Example 5.4.3
Solve: [latex]{\text{log}}_{4}\left(x+6\right)-{\text{log}}_{4}\left(2x+5\right)=\text{−}{\text{log}}_{4}x.[/latex]
Solution
Step 1: Use the Quotient Property on the left side and the Power Property on the right.
[latex]\log_4\left(\frac{x+6}{2x+5}\right)=\log_4x^{-1}[/latex]
Step 2: Rewrite [latex]{x}^{-1}=\frac{1}{x}[/latex].
[latex]\log_4\left(\frac{x+6}{2x+5}\right)=\log_4x^\frac14[/latex]
Step 3: Use the One-to-One Property, if [latex]\log_aM=\log_aN[/latex], then [latex]M=N[/latex].
[latex]\frac{x+6}{2x+5}=\frac1x[/latex]
Step 4: Solve the rational equation.
[latex]x(x+6)=2x+5[/latex]
Step 5: Distribute.
[latex]x^2+6x=2x+5[/latex]
Step 6: Write in standard form.
[latex]x^2+4x-5=0[/latex]
Step 7: Factor.
[latex](x+5)(x-1)=0[/latex]
Step 8: Use the Zero-Product Property.
[latex]x+5=0,\;x-1=0[/latex]
Step 9: Solve each equation.
[latex]\cancel{x=-5},\;\;x=1[/latex]
Step 10: Check.
We leave the check for you.
Try It
8) Solve: [latex]\text{log}\left(x+2\right)-\text{log}\left(4x+3\right)=\text{−}\text{log}\phantom{\rule{0.2em}{0ex}}x.[/latex]
Solution
[latex]x=3[/latex]
Try It
9) Solve: [latex]\text{log}\left(x-2\right)-\text{log}\left(4x+16\right)=\text{log}\frac{1}{x}.[/latex]
Solution
[latex]x=8[/latex]
Solve Exponential Equations Using Logarithms
In the section on exponential functions, we solved some equations by writing both sides of the equation with the same base. Next we wrote a new equation by setting the exponents equal.
It is not always possible or convenient to write the expressions with the same base. In that case we often take the common logarithm or natural logarithm of both sides once the exponential is isolated.
Example 5.4.4
Solve [latex]{5}^{x}=11[/latex]. Find the exact answer and then approximate it to three decimal places.
Solution
Step 1: Since the exponential is isolated, take the logarithm of both sides.
[latex]\log5^x=\log11[/latex]
Step 2: Use the Power Property to get the [latex]x[/latex] as a factor, not an exponent.
[latex]x\log5=\log11[/latex]
Step 3: Solve for [latex]x[/latex]. Find the exact answer.
[latex]x=\frac{\log11}{\log5}[/latex]
Step 4: Approximate the answer.
[latex]x\approx1.490[/latex]
Step 5: Check — Does it make sense?
Since [latex]5^1=5[/latex], [latex]5^2=25[/latex] does it make sense that [latex]5^{1.490}\approx11[/latex]?
Try It
10) Solve [latex]{7}^{x}=43[/latex]. Find the exact answer and then approximate it to three decimal places.
Solution
[latex]x=\frac{\text{log}43}{\text{log}7}\approx 1.933[/latex]
Try It
11) Solve [latex]{8}^{x}=98[/latex]. Find the exact answer and then approximate it to three decimal places.
Solution
[latex]x=\frac{\text{log}98}{\text{log}8}\approx 2.205[/latex]
When we take the logarithm of both sides we will get the same result whether we use the common or the natural logarithm (try using the natural log in the last example. Did you get the same result?) When the exponential has base [latex]e[/latex], we use the natural logarithm.
Example 5.4.5
Solve [latex]3{e}^{x+2}=24[/latex]. Find the exact answer and then approximate it to three decimal places.
Solution
Step 1: Isolate the exponential by dividing both sides by [latex]3[/latex].
[latex]e^{x+2}=8[/latex]
Step 2: Take the natural logarithm of both sides.
[latex]\textstyle\text{ln}\hspace{0.2em}e^{x+2}\hspace{0.2em}=\hspace{0.2em}\text{ln}8\hspace{1.8em}[/latex]
Step 3: Use the Power Property to get the [latex]x[/latex] as a factor, not an exponent.
[latex]\textstyle{(x+2)}\text{ln}\hspace{0.2em}e\hspace{0.2em}=\hspace{0.2em}\text{ln}8\hspace{1.8em}[/latex]
Step 4: Use the property [latex]\ln\;e=1[/latex] to simplify.
[latex]\textstyle x+2\hspace{0.2em}=\hspace{0.2em}\text{ln}8\hspace{1.8em}[/latex]
Step 5: Solve the equation. Find the exact answer.
[latex]\textstyle x\hspace{0.2em}=\hspace{0.2em}\text{ln}8-2[/latex]
Step 6: Approximate the answer.
[latex]\textstyle x\approx0.079[/latex]
Try It
12) Solve [latex]2{e}^{x-2}=18[/latex]. Find the exact answer and then approximate it to three decimal places.
Solution
[latex]x=\text{ln}9+2\approx 4.197[/latex]
Try It
13) Solve [latex]5{e}^{2x}=25[/latex]. Find the exact answer and then approximate it to three decimal places.
Solution
[latex]x=\frac{\text{ln}5}{2}\approx 0.805[/latex]
Use Exponential Models in Applications
In previous sections we were able to solve some applications that were modelled with exponential equations. Now that we have so many more options to solve these equations, we are able to solve more applications.
We will again use the Compound Interest Formulas and so we list them here for reference.
Compound Interest
For a principal, [latex]P[/latex], invested at an interest rate, [latex]r[/latex], for [latex]t[/latex] years, the new balance, [latex]A[/latex] is:
Example 5.4.6
Jermael’s parents put [latex]\$10,000[/latex] in investments for his college expenses on his first birthday. They hope the investments will be worth [latex]\$50,000[/latex] when he turns [latex]18[/latex]. If the interest compounds continuously, approximately what rate of growth will they need to achieve their goal?
Solution
Step 1: Identify the variables in the formula.
[latex]\begin{eqnarray*}\textstyle A&=&\$50,000\\P&=&\$10,000\\r&=&?\\t&=&17\;\text{years}\\A&=&Pe^{rt}\end{eqnarray*}[/latex]
Step 2: Substitute the values into the formula.
[latex]\textstyle50,000=10,000e^{r\cdot17}[/latex]
Step 3: Solve for [latex]r[/latex]. Divide each side by 10,000.
[latex]\textstyle5=e^{17r}[/latex]
Step 4: Take the natural log of each side.
[latex]\textstyle\text{ln}5=\text{ln}\hspace{0.2em}e^{17r}[/latex]
Step 5: Use the Power Property.
[latex]\textstyle\text{ln}5=17r\text{ln}\hspace{0.2em}e[/latex]
Step 6: Simplify.
[latex]\textstyle\text{ln}5=17r[/latex]
Step 7: Divide each side by [latex]17[/latex].
[latex]\textstyle\frac{\text{ln}5}{17}=r[/latex]
Step 8: Approximate the answer.
[latex]\textstyle r\approx0.095[/latex]
Step 9: Convert to a percentage.
[latex]\textstyle r\approx9.5\%[/latex]
They need the rate of growth to be approximately [latex]9.5\%[/latex].
Try It
14) Hector invests [latex]\$10,000[/latex] at age [latex]21[/latex]. He hopes the investments will be worth [latex]\$150,000[/latex] when he turns [latex]50[/latex]. If the interest compounds continuously, approximately what rate of growth will he need to achieve his goal?
Solution
[latex]r\approx 9.3\%[/latex]
Try It
15) Rachel invests [latex]\$15,000[/latex] at age [latex]25[/latex]. She hopes the investments will be worth [latex]\$90,000[/latex] when she turns [latex]40[/latex]. If the interest compounds continuously, approximately what rate of growth will she need to achieve her goal?
Solution
[latex]r\approx 11.9\%[/latex]
We have seen that growth and decay are modelled by exponential functions. For growth and decay we use the formula [latex]A={A}_{0}{e}^{kt}.[/latex] Exponential growth has a positive rate of growth or growth constant, [latex]k[/latex], and exponential decay has a negative rate of growth or decay constant, [latex]k[/latex].
Exponential Growth and Decay
For an original amount, [latex]{A}_{0}[/latex], that grows or decays at a rate, [latex]k[/latex], for a certain time, [latex]t[/latex], the final amount, [latex]A[/latex], is:
We can now solve applications that give us enough information to determine the rate of growth. We can then use that rate of growth to predict other situations.
Example 5.4.7
Researchers recorded that a certain bacteria population grew from [latex]100[/latex] to [latex]300[/latex] in [latex]3[/latex] hours. At this rate of growth, how many bacteria will there be [latex]24[/latex] hours from the start of the experiment?
Solution
This problem requires two main steps. First we must find the unknown rate, [latex]k[/latex]. Then we use that value of [latex]k[/latex] to help us find the unknown number of bacteria.
Step 1: Identify the variables in the formula.
[latex]\begin{eqnarray*}\textstyle A&=&300\\A_0&=&100\\k&=&?\\t&=&3\;\text{hours}\\A&=&A_0e^{kt}\end{eqnarray*}[/latex]
Step 2: Substitute the values in the formula.
[latex]\textstyle\hspace{0.1em}300=100e^{k\cdot3}[/latex]
Step 3: Solve for [latex]k[/latex]. Divide each side by [latex]100[/latex].
[latex]\textstyle3=e^{3k}[/latex]
Step 4: Take the natural log of each side.
[latex]\textstyle\text{ln}3=\text{ln}\hspace{0.2em}e^{3k}[/latex]
Step 5: Use the Power Property.
[latex]\textstyle\text{ln}3=3k\text{ln}\hspace{0.2em}e[/latex]
Step 6: Simplify.
[latex]\textstyle\text{ln}3=3k[/latex]
Step 7: Divide each side by [latex]3[/latex].
[latex]\textstyle\frac{\text{ln}3}3=k[/latex]
Step 8: Approximate the answer.
[latex]\textstyle k\approx0.366[/latex]
We use this rate of growth to predict the number of bacteria there will be in [latex]24[/latex] hours.
[latex]\begin{eqnarray*}\textstyle A&=&?\\A_0&=&100\\k&=&{\displaystyle\frac{\ln3}3}\\t&=&24\;\text{hours}\\A&=&A_0e^{kt}\end{eqnarray*}[/latex]
Step 9: Substitute in the values.
[latex]\textstyle A=100e^{\frac{\text{ln}3}3\cdot24}[/latex]
Step 10: Evaluate.
[latex]\textstyle A\approx656,100[/latex]
At this rate of growth, they can expect [latex]656,10[/latex]0 bacteria.
Try It
16) Researchers recorded that a certain bacteria population grew from [latex]100[/latex] to [latex]500[/latex] in [latex]6[/latex] hours. At this rate of growth, how many bacteria will there be [latex]2[/latex]4 hours from the start of the experiment?
Solution
There will be [latex]62,500[/latex] bacteria.
Try It
17) Researchers recorded that a certain bacteria population declined from [latex]700,000[/latex] to [latex]400,000[/latex] in [latex]5[/latex] hours after the administration of medication. At this rate of decay, how many bacteria will there be [latex]24[/latex] hours from the start of the experiment?
Solution
There will be [latex]5,870,061[/latex] bacteria.
Radioactive substances decay or decompose according to the exponential decay formula. The amount of time it takes for the substance to decay to half of its original amount is called the half-life of the substance.
Similar to the previous example, we can use the given information to determine the constant of decay, and then use that constant to answer other questions.
Example 5.4.8
The half-life of radium-[latex]226[/latex] is [latex]1,590[/latex] years. How much of a [latex]100[/latex] mg sample will be left in [latex]500[/latex] years?
Solution
This problem requires two main steps. First we must find the decay constant [latex]k[/latex]. If we start with [latex]100[/latex]-mg, at the half-life there will be [latex]50[/latex]-mg remaining. We will use this information to find [latex]k[/latex]. Then we use that value of [latex]k[/latex] to help us find the amount of sample that will be left in [latex]500[/latex] years.
Step 1: Identify the variables in the formula.
[latex]\begin{eqnarray*}\textstyle A&=&50\\A_0&=&100\\k&=&?\\t&=&\;1590\;\text{years}\\A&=&A_0e^{kt}\end{eqnarray*}[/latex]
Step 2: Substitute the values in the formula.
[latex]\textstyle50=100e^{k\cdot1590}[/latex]
Step 3: Solve for [latex]k[/latex]. Divide each side by [latex]100[/latex].
[latex]\textstyle0.5=e^{1590k}[/latex]
Step 4: Take the natural log of each side.
[latex]\textstyle\text{ln}0.5=\text{ln}\hspace{0.2em}e^{1590k}[/latex]
Step 5: Use the Power Property.
[latex]\textstyle\text{ln}0.5=1590k\text{ln}\hspace{0.2em}e[/latex]
Step 6: Simplify.
[latex]\textstyle\text{ln}0.5=1590k[/latex]
Step 7: Divide each side by [latex]1590[/latex].
[latex]\textstyle\frac{\text{ln}0.5}{1590}=k\hspace{0.2em}\text{exact answer}[/latex]
Step 8: Substitute in the values.
[latex]\textstyle A=100e^{\frac{\text{ln}0.5}{1590}\cdot500}[/latex]
We use this rate of growth to predict the amount that will be left in [latex]500[/latex] years.
[latex]\begin{eqnarray*}\textstyle A&=&?\\A_0&=&100\\k&=&{\displaystyle\frac{\ln0.5}{1590}}\\t&=&500\;\text{years}\\A&=&A_0e^{kt}\end{eqnarray*}[/latex]
Step 9: Evaluate.
[latex]\textstyle A\approx80.4\hspace{0.2em}\text{mg}[/latex]
In [latex]500[/latex] years there would be approximately [latex]80.4[/latex] mg remaining.
Try It
18) The half-life of magnesium-[latex]27[/latex] is [latex]9.45[/latex] minutes. How much of a [latex]10[/latex]-mg sample will be left in [latex]6[/latex] minutes?
Solution
There will be [latex]6.43[/latex] mg left.
Try It
19) The half-life of radioactive iodine is [latex]60[/latex] days. How much of a [latex]50[/latex]-mg sample will be left in [latex]40[/latex] days?
Solution
There will be [latex]31.5[/latex] mg left.
Access these online resources for additional instruction and practice with solving exponential and logarithmic equations.
Key Concepts
- One-to-One Property of Logarithmic Equations:
- Compound Interest:
For a principal, [latex]P[/latex], invested at an interest rate, [latex]r[/latex], for [latex]t[/latex] years, the new balance, [latex]A[/latex], is:
- Exponential Growth and Decay:
For an original amount, [latex]{A}_{0}[/latex] that grows or decays at a rate, [latex]r[/latex], for a certain time [latex]t[/latex], the final amount, [latex]A[/latex], is [latex]A={A}_{0}{e}^{rt}.[/latex]
Self Check
a) After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
b) After looking at the checklist, do you think you are well-prepared for the next section? Why or why not?