Suppose we want to solve the equation
\begin{equation*}
5^x = 7.
\end{equation*}
We could rewrite the equation in logarithmic form to obtain the exact solution
\begin{equation*}
x = \log_{5}{7}.
\end{equation*}
However, sometimes we are stuck in a situation where we cannot evaluate \(\log_{5}{7}\text{.}\) For example, some calculators do not have a log base \(5\) button. So, if we want a decimal approximation for the solution, we begin by taking the base \(10\) logarithm of both sides of the original equation, even though the base of the power is not \(10\text{.}\) This gives us
\begin{equation*}
\log_{10}{(5^x)} = \log_{10}{7}.
\end{equation*}
Then we use Property (3) to rewrite the left side as
\begin{equation*}
x \log_{10}{5} = \log_{10}{7}.
\end{equation*}
Note how using Property (3) allows us to solve the equation: The variable, \(x\text{,}\) is no longer in the exponent, and it is multiplied by a constant, \(\log_{10}{5}\text{.}\) To finish the solution, we divide both sides by \(\log_{10}{5}\) to get
\begin{equation*}
x = \frac{\log_{10}{7}}{\log_{10}{5}}.
\end{equation*}
On your calculator, enter the sequence