[Math] Does loga/logb = log(a^(1/logb))

algebra-precalculuslogarithms

I know $\log(a^b)=b\log(a)$.

However, Wolfram Alpha tells me that $\frac{\log(a)}{\log(b)}$ does not equal $\log(a^\frac{1}{\log(b)})$.

Is Wolfram Alpha correct? If it is, why is it correct?

I'm using base 10 logs instead of natural logs, although I doubt it makes a difference.

Best Answer

Actually you are correct.

However, you must take note that there are some constraints (which are pretty self-explanatory).

$$\log(a^{\left(\frac{1}{\log(b)}\right)}) = \frac{\log a}{\log b}$$

As long as,

$$a > 0, \text{because you cannot take the logarithm of a negative number or 0}$$ $$b \ne 1\ \text{and}\ b >0, \text{because then} \log{b} = 0, \text{which means that the fraction} \frac{1}{\log b} \text{would be undefined}$$

Hope this helps you understand why.

Comment if you have any questions.