SOLVING LOGARITHMIC EQUATIONS


Note:

If you would like an in-depth review of logarithms, the rules of logarithms, logarithmic functions and logarithmic equations, click on logarithmic function.



Solve for x in the following equation.


Example 3:

log $_{4}\left( x^{2}-6x-16\right) =5$

The above equation is valid only if

\begin{eqnarray*}&& \\
\left( x^{2}-6x-16\right) &>&0\rightarrow \left( x-8\rig...
...
&& \\
&&or \\
&& \\
x-8 &<&0\ \ and\ \ x+2<0\rightarrow x<-2
\end{eqnarray*}


The domain is the set of real numbers less than -2 or greater than 8.



Convert the equation to an exponential equation with base 4.

\begin{eqnarray*}&& \\
\log _{4}\left( x^{2}-6x-16\right) &=&5 \\
&& \\
&& \\...
... \\
0=x^{2}-6x-16-4^{5} && \\
&& \\
0=x^{2}-6x-1040 && \\
&&
\end{eqnarray*}
\begin{eqnarray*}&& \\
x=\displaystyle \frac{6\pm \sqrt{36-\left( 4\right) \lef...
...\
&& \\
x=\displaystyle \frac{6\pm 2\sqrt{1049}}{2} && \\
&&
\end{eqnarray*}
\begin{eqnarray*}&& \\
x=3\pm \sqrt{1049} && \\
&& \\
&& \\
x=3+\sqrt{1049}\...
... \\
x=3-\sqrt{1049}\approx -29.38826948 && \\
&& \\
&& \\
&&
\end{eqnarray*}

The exact answers are $\ x=3\pm \sqrt{1049}$ and the approximate answers are 35.38826948 and -29.38826948.




These answers may or may not be the solutions. You must check them with the original equation, either by a numerical substitution or by graphing.

Numerical Check:

Check the answer $x=3+\sqrt{1049}$ by substituting 35.38826948 in the original equation for x. If the left side of the equation equals the right side of the equation after the substitution, you have found the correct answer.

Since the left side of the original equation is equal to the right side of the original equation after we substitute the value 35.388269 for x, then x=35.388269 is a solution.




Check the answer $x=3-\sqrt{1049}$ by substituting -29.38826948 in the original equation for x. If the left side of the equation equals the right side of the equation after the substitution, you have found the correct answer.

Since the left side of the original equation is equal to the right side of the original equation after we substitute the value -29.38826948 for x, then x=-29.38826948 is a solution.




Graphical Check:

You can also check your answer by graphing

$\quad f(x)=\log _{4}\left(
x^{2}-6x-16\right) -5\quad $
(formed by subtracting the right side of the original equation from the left side). Look to see where the graph crosses the x-axis; that will be the real solution. Note that the graph crosses the x-axis at $\ 35.388269$ and -29.38826948. This means that 35.388269 and -29.38826948 are the real solutions.

If you are graphing with your calculator you might have a problem with log base 4. Therefore, convert it to either base e or base 10 to graph. Most graphing calculators have these functions.


\begin{eqnarray*}f(x) &=&\displaystyle \frac{\log \left( x^{2}-6x-16\right) }{\log (4)}-5 \\
&& \\
&&
\end{eqnarray*}


If you would like to work another example, click on example.


If you would like to test yourself by working some problems similar to this example, click on problem.


If you would like to go to the next section, click on next.


If you would like to go back to the previous section, click on previous.


If you would like to go back to the equation table of contents, click on contents.


This site was built to accommodate the needs of students. The topics and problems are what students ask for. We ask students to help in the editing so that future viewers will access a cleaner site. If you feel that some of the material in this section is ambiguous or needs more clarification, or you find a mistake, please let us know by e-mail.



[Algebra] [Trigonometry]
[Geometry] [Differential Equations]
[Calculus] [Complex Variables] [Matrix Algebra]

S.O.S. MATHematics home page



Copyright © 1999-2004 MathMedics, LLC. All rights reserved.
Math Medics, LLC. - P.O. Box 12395 - El Paso TX 79913 - USA