*i.e.*you are probably on a mobile phone). Due to the nature of the mathematics on this site it is best views in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (should be able to scroll to see them) and some of the menu items will be cut off due to the narrow screen width.

### Section 1-9 : Exponential and Logarithm Equations

In this section we’ll take a look at solving equations with exponential functions or logarithms in them.

We’ll start with equations that involve exponential functions. The main property that we’ll need for these equations is,

\[{\log _b}{b^x} = x\]The first step is to get the exponential all by itself on one side of the equation with a coefficient of one.

\[\begin{align*}7 + 15{{\bf{e}}^{1 - 3z}} & = 10\\ 15{{\bf{e}}^{1 - 3z}} & = 3\\ {{\bf{e}}^{1 - 3z}} & = \frac{1}{5}\end{align*}\]Now, we need to get the \(z\) out of the exponent so we can solve for it. To do this we will use the property above. Since we have an **e** in the equation we’ll use the natural logarithm. First, we take the logarithm of both sides and then use the property to simplify the equation.

All we need to do now is solve this equation for \(z\).

\[\begin{align*}1 - 3z & = \ln \left( {\frac{1}{5}} \right)\\ - 3z & = - 1 + \ln \left( {\frac{1}{5}} \right)\\ z & = - \frac{1}{3}\left( { - 1 + \ln \left( {\frac{1}{5}} \right)} \right) = 0.8698126372\end{align*}\]Now, in this case it looks like the best logarithm to use is the common logarithm since left hand side has a base of 10. There’s no initial simplification to do, so just take the log of both sides and simplify.

\[\begin{align*}\log {10^{{t^2} - t}} & = \log 100 = \log {10^2} = 2\\ {t^2} - t & = 2\end{align*}\]At this point, we’ve just got a quadratic that can be solved

\[\begin{align*}{t^2} - t - 2 & = 0\\ \left( {t - 2} \right)\left( {t + 1} \right) & = 0\end{align*}\]So, it looks like the solutions in this case are \(t = 2\) and \(t = - 1\).

Now that we’ve seen a couple of equations where the variable only appears in the exponent we need to see an example with variables both in the exponent and out of it.

The first step is to factor an \(x\) out of both terms.

**DO NOT DIVIDE AN \(x\) FROM BOTH TERMS!!!!**

Note that it is very tempting to “simplify” the equation by dividing an \(x\) out of both terms. However, if you do that you’ll miss a solution as we’ll see.

\[\begin{align*}x - x{{\bf{e}}^{5x + 2}} & = 0\\ x\left( {1 - {{\bf{e}}^{5x + 2}}} \right) & = 0\end{align*}\]So, it’s now a little easier to deal with. From this we can see that we get one of two possibilities.

\[x = 0\hspace{0.25in}\,\,\,{\rm{OR}}\hspace{0.25in}1 - {{\bf{e}}^{5x + 2}} = 0\]The first possibility has nothing more to do, except notice that if we had divided both sides by an \(x\) we would have missed this one so be careful. In the second possibility we’ve got a little more to do. This is an equation similar to the first two that we did in this section.

\[\begin{align*}{{\bf{e}}^{5x + 2}} & = 1\\ 5x + 2 & = \ln 1\\ 5x + 2 & = 0\\ x & = - \frac{2}{5}\end{align*}\]Don’t forget that \(\ln 1 = 0\).

So, the two solutions are \(x = 0\) and \(x = - \frac{2}{5}\).

The next equation is a more complicated (looking at least…) example similar to the previous one.

As with the previous problem do NOT divide an \({x^2} - 4\)out of both sides. Doing this will lose solutions even though it “simplifies” the equation. Note however, that if you can divide a term out then you can also factor it out if the equation is written properly.

So, the first step here is to move everything to one side of the equation and then to factor out the \({x^2} - 4\).

\[\begin{align*}5\left( {{x^2} - 4} \right) - \left( {{x^2} - 4} \right){{\bf{e}}^{7 - x}} & = 0\\ \left( {{x^2} - 4} \right)\left( {5 - {{\bf{e}}^{7 - x}}} \right) & = 0\end{align*}\]At this point all we need to do is set each factor equal to zero and solve each.

\[\begin{array}{lll}\begin{aligned}{x^2} - 4 & = 0\\ x & = \pm 2 \\ & \\ & \end{aligned} & \hspace{0.25in} & \begin{aligned}5 - {{\bf{e}}^{7 - x}} & = 0\\ {{\bf{e}}^{7 - x}} & = 5\\ 7 - x & = \ln \left( 5 \right)\\ x & = 7 - \ln \left( 5 \right) = 5.390562088\end{aligned}\end{array}\]The three solutions are then \[x = \pm \,2\] and \(x = 5.3906\).

As a final example let’s take a look at an equation that contains two different exponentials.

The first step here is to get one exponential on each side and then we’ll divide both sides by one of them (which doesn’t matter for the most part) so we’ll have a quotient of two exponentials. The quotient can then be simplified and we’ll finally get both coefficients on the other side. Doing all of this gives,

\[\begin{align*}4{{\bf{e}}^{1 + 3x}} & = 9{{\bf{e}}^{5 - 2x}}\\ \frac{{{{\bf{e}}^{1 + 3x}}}}{{{{\bf{e}}^{5 - 2x}}}} & = \frac{9}{4}\\ {{\bf{e}}^{1 + 3x - \left( {5 - 2x} \right)}} & = {\frac{9}{4}}\\ {{\bf{e}}^{5x - 4}} & = {\frac{9}{4}}\end{align*}\]Note that while we said that it doesn’t really matter which exponential we divide out by doing it the way we did here we’ll avoid a negative coefficient on the \(x\). Not a major issue, but those minus signs on coefficients are really easy to lose on occasion.

This is now in a form that we can deal with so here’s the rest of the solution.

\[\begin{align*}{{\bf{e}}^{5x - 4}} = {\frac{9}{4}}\\ 5x - 4 & = \ln \left( {{\frac{9}{4}}} \right)\\ 5x & = 4 + \ln \left( {{\frac{9}{4}}} \right)\\ x & = {\frac{1}{5}}\left( {4 + \ln \left( {{\frac{9}{4}}} \right)} \right) = 0.9621860432\end{align*}\]This equation has a single solution of \(x = 0.9622\).

Now let’s take a look at some equations that involve logarithms. The main property that we’ll be using to solve these kinds of equations is,

\[{b^{{{\log }_b}x}} = x\]This first step in this problem is to get the logarithm by itself on one side of the equation with a coefficient of 1.

\[\begin{align*}2\ln \left( {\frac{x}{7} + 3} \right) & = - 7\\ \ln \left( {\frac{x}{7} + 3} \right) & = - \frac{7}{2}\end{align*}\]Now, we need to get the \(x\) out of the logarithm and the best way to do that is to “exponentiate” both sides using **e**. In other words,

So, using the property above with **e**, since there is a natural logarithm in the equation, we get,

Now all that we need to do is solve this for \(x\).

\[\begin{align*}\frac{x}{7} + 3 & = {{\bf{e}}^{ - \frac{7}{2}}}\\ \frac{x}{7} & = - 3 + {{\bf{e}}^{ - \frac{7}{2}}}\\ x & = 7\left( { - 3 + {{\bf{e}}^{ - \frac{7}{2}}}} \right) = - 20.78861832\end{align*}\]At this point we might be tempted to say that we’re done and move on. However, we do need to be careful. Recall from the previous section that we can’t plug a negative number into a logarithm. This, by itself, doesn’t mean that our answer won’t work since its negative. What we need to do is plug it into the logarithm and make sure that \(\frac{x}{7} + 3\) will not be negative. I’ll leave it to you to verify that this is in fact positive upon plugging our solution into the logarithm and so \(x = - 20.78861832\) is a solution to the equation.

Let’s now take a look at a more complicated equation. Often there will be more than one logarithm in the equation. When this happens we will need to use one or more of the following properties to combine all the logarithms into a single logarithm. Once this has been done we can proceed as we did in the previous example.

\[{\log _b}xy = {\log _b}x + {\log _b}y\hspace{0.5in}{\log _b}\left( {\frac{x}{y}} \right) = {\log _b}x - {\log _b}y\hspace{0.5in}{\log _b}\left( {{x^r}} \right) = r{\log _b}x\]First get the two logarithms combined into a single logarithm.

\[\begin{align*}2\ln \left( {\sqrt x } \right) - \ln \left( {1 - x} \right) & = 2\\ \ln \left( {{{\left( {\sqrt x } \right)}^2}} \right) - \ln \left( {1 - x} \right) & = 2\\ \ln \left( x \right) - \ln \left( {1 - x} \right) & = 2\\ \ln \left( {\frac{x}{{1 - x}}} \right) & = 2\end{align*}\]Now, exponentiate both sides and solve for \(x\).

\[\begin{align*}\frac{x}{{1 - x}} & = {{\bf{e}}^2}\\ x & = {{\bf{e}}^2}\left( {1 - x} \right)\\ x & = {{\bf{e}}^2} - {{\bf{e}}^2}x\\ x\left( {1 + {{\bf{e}}^2}} \right) & = {{\bf{e}}^2}\\ x & = \frac{{{{\bf{e}}^2}}}{{1 + {{\bf{e}}^2}}} = 0.8807970780\end{align*}\]The solution work here was a little messy but this is work that you will need to be able to do on occasion so make sure you and do it!

Finally, we just need to make sure that the solution, \(x = 0.8807970780\), doesn’t produce negative numbers in both of the original logarithms. It doesn’t, so this is in fact our solution to this problem.

Let’s take a look at another example.

As with the last example, first combine the logarithms into a single logarithm.

\[\begin{align*}\log x + \log \left( {x - 3} \right) & = 1\\ \log \left( {x\left( {x - 3} \right)} \right) & = 1\end{align*}\]Now exponentiate, using 10 this time instead of **e** because we’ve got common logs in the equation, both sides.

So, potential solutions are \(x = 5\) and \(x = - 2\). Note, however that if we plug \(x = - 2\) into either of the two original logarithms we would get negative numbers so this can’t be a solution. We can however, use \(x = 5\).

Therefore, the solution to this equation is \(x = 5\).

When solving equations with logarithms it is important to check your potential solutions to make sure that they don’t generate logarithms of negative numbers or zero. It is also important to make sure that you do the checks in the **original** equation. If you check them in the second logarithm above (after we’ve combined the two logs) both solutions will appear to work! This is because in combining the two logarithms we’ve actually changed the problem. In fact, it is this change that introduces the extra solution that we couldn’t use!

Also, be careful in solving equations containing logarithms to not get locked into the idea that you will get two potential solutions and only one of these will work. It is possible to have problems where both are solutions and where neither are solutions.

There is one more problem that we should work.

The first step of this problem is the same as we’ve been doing up to this point. So, let’s combine the logarithms.

\[\begin{align*}\ln \left( {\left( {x - 2} \right)\left( {x + 1} \right)} \right) & = 2\\ \ln \left( {{x^2} - x - 2} \right) & = 2\end{align*}\]Now we can exponentiate both sides with respect to \(\bf{e}\) to eliminate the logarithm. Doing this along with a little simplification gives,

\[\begin{align*}{x^2} - x - 2 & = {{\bf{e}}^2}\\ {x^2} - x - 2 - {{\bf{e}}^2} & = 0\end{align*}\]We’ve reached the point of this problem. We need to solve this quadratic and without the \({{\bf{e}}^2}\) everyone would be able to do that. However, with the \({{\bf{e}}^2}\) people tend to decide that they can’t do it.

This is just a quadratic equation and everyone in this class should be able to solve that. The only difference between this quadratic equation and those you are probably used to seeing is that there are numbers in it that are not integers, or at worst, fractions. In this case the constant in the quadratic is just \( - 2 - {{\bf{e}}^2}\) and so all we need to do is use the quadratic formula to get the solutions.

The solutions to this quadratic equation are,

\[x = \frac{{1 \pm \sqrt {1 - 4\left( 1 \right)\left( { - 2 - {{\bf{e}}^2}} \right)} }}{2} = \frac{{1 \pm \sqrt {9 + 4{{\bf{e}}^2}} }}{2} = - 2.6047,\,\,\,3.6047\]Do not get excited about the “messy” solutions to this quadratic. We will get these kinds of solutions on occasion.

The last step to this problem is to check the two solutions to the quadratic equation in the original equation. Doing that we can see that the first solution, -2.6047, will give negative numbers in the logarithms and so can’t be a solution. On the other hand, the second solution, 3.6047, does not give negative numbers in the logarithms and so is okay.

The solution to the original equation is \(x = 3.6047\).