In Section ExponentialEquationsandInequalities we solved equations and inequalities involving exponential functions using one of two basic strategies. We now turn our attention to equations and inequalities involving logarithmic functions, and not surprisingly, there are two basic strategies to choose from.

For example, per Theorem explogsonetoone, the only solution to \(\log _{2}(x) = \log _{2}(5)\) is \(x=5\). Now consider \(\log _{2}(x) = 3\). To use Theorem explogsonetoone, we need to rewrite \(3\) as a logarithm base \(2\). Theorem invpropslogs gives us \(3 = \log _{2}\left (2^{3}\right ) = \log _{2}(8)\). Hence, \(\log _{2}(x) = 3\) is equivalent to \(\log _{2}(x) = \log _{2}(8)\) so that \(x = 8\).

A second approach to solving \(\log _{2}(x) = 3\) us to apply the corresponding exponential function, \(f(x) = 2^x\) to both sides: \(2^{\log _{2}(x)} = 2^{3}\) so \(x = 2^3 = 8\).

A third approach to solving \(\log _{2}(x) = 3\) is to use Theorem invpropslogs to rewrite \(\log _{2}(x) = 3\) as \(2^{3} = x\), so \(x=8\).

In the grand scheme of things, all three approaches we have presented to solve \(\log _{2}(x) = 3\) are mathematically equivalent, so we opt to choose the last approach in our summary below.

Steps for Solving an Equation involving Logarithmic Functions
  1. Isolate the logarithmic function.
    1. If convenient, express both sides as logs with the same base and equate arguments.
    2. Otherwise, rewrite the log equation as an exponential equation.

If nothing else, Example LogEqnsEx1 demonstrates the importance of checking for extraneous solutions when solving equations involving logarithms. Even though we checked our answers graphically, extraneous solutions are easy to spot: any supposed solution which causes the argument of a logarithm to be negative must be discarded.

While identifying extraneous solutions is important, it is equally important to understand which machinations create the opportunity for extraneous solutions to appear. In the case of Example LogEqnsEx1, extraneous solutions, by and large, result from using the Power, Product, or Quotient Rules. We encourage the reader to take the time to track each extraneous solution found in Example LogEqnsEx1 backwards through the solution process to see at precisely which step it fails to be a solution.

As with the equations in Example expeqnsex1, much can be learned from checking all of the answers in Example LogEqnsEx1 analytically. We leave this to the reader and turn our attention to inequalities involving logarithmic functions. Since logarithmic functions are continuous on their domains, we can use sign diagrams.

Our next example revisits the concept of pH first seen in Exercise pHexercise in Section LogarithmicFunctions.

We close this section by finding an inverse of a one-to-one function which involves logarithms.

Our last example uses the tools from this section along with Section AppDerivatives.

When determining \(\lim _{x \rightarrow 0^{+}} f(x) = \lim _{x \rightarrow 0^{+}} x^2 \ln (x)\) in Example logcurvesketchex, we encountered the indeterminate form ‘\(0 \cdot (-\infty )\).’ This is a similar scenario to what we encountered in the remarks following Example exponentialcurvesketchingex in Section ExponentialEquationsandInequalities. In this case, the factor \(x^2 \rightarrow 0\) and the factor \(\ln (x) \rightarrow -\infty \) and so we have a tug-of-war to see which factor’s behavior will win out over the other. Here, \(x^2 \rightarrow 0\) dominates as the table suggests \(\lim _{x \rightarrow 0^{+}} x^2 \ln (x) = 0\). This is indeed the case and, in general, polynomials (and, in general, all positive powers of \(x\)) dominate logarithms as we’ll explore in the Exercise numericalinvestigationlimitlnxtimesx.