By using Property (3), we can now solve exponential equations in which the base is not \(10\text{.}\) For example, to solve the equation
\begin{gather*}
5^x = 7
\end{gather*}
we could rewrite the equation in logarithmic form to obtain the exact solution
\begin{gather*}
x = \log_{5}{(7)}
\end{gather*}
However, we cannot evaluate \(\log_{5}{(7)}\text{;}\) there is no log base \(5\) button on the calculator. If we want a decimal approximation for the solution, we begin by taking the base \(10\) logarithm of both sides, even though the base of the power is not \(10\text{.}\) This gives us
\begin{gather*}
\log_{10}{(5^x)} = \log_{10}{(7)}
\end{gather*}
Then we use Property (3) to rewrite the left side as
\begin{gather*}
x \log_{10}{(5)} = \log_{10}{(7)}
\end{gather*}
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{gather*}
x = \frac{\log_{10}{(7)}}{\log_{10}{(5)}}
\end{gather*}
On your calculator, enter the sequence