Taken from the PAT (Physics Aptitude Test):
$\log_x 25 = \log_5 x$
I've tried making them the same base but I ended up with:
$\log_5 x (\log_5 x)= 2$
or
$\log_x 25(\log_x 5) = 1$
which I then simplified to
$\log_x 5 (\log_x 5 + 1) = 1$
Not sure if the last line is correct math but I'd appreciate some help on how to solve this equation.
$\log_x 25 = 2\log_x 5=\frac{2}{\log_5 x}$ so $(\log_5 x)^2=2$, $\log_5 x=\pm \sqrt{2}$, $x=5^{\sqrt{2}}$, $x=5^{-\sqrt{2}}$
Verification: $\log_5 5^{\sqrt{2}}=\sqrt{2}$; $\log_{5^{\sqrt{2}}}25=\frac{1}{\sqrt{2}}\log_5 25=\frac{2}{\sqrt{2}}=\sqrt{2}$
$\log_5 5^{-\sqrt{2}}=-\sqrt{2}$; $\log_{5^{-\sqrt{2}}}25=-\frac{1}{\sqrt{2}}\log_5 25=-\frac{2}{\sqrt{2}}=-\sqrt{2}$