(1) First of all, realize that [tex]\log_b(a) = x[/tex] by definition, means that [tex]b^x = a[/tex]
(2) We can show that [tex]\log_b(a^y) = y\log_b(a)[/tex]:
1st assume that [tex]\log_b(a^y) = x[/tex], then [tex]b^x = a^y[/tex], by (1). Now, we have [tex](b^x)^\frac{1}{y} = (a^y)^\frac{1}{y}[/tex], or [tex]b^\frac{x}{y} = a[/tex]. By definition of logarithms (1), this gives us [tex]\log_b(a) = \frac{x}{y}[/tex], and finally [tex]y\log_b(a) = x[/tex]
Now, given [tex]\log_a(b) = x[/tex], we have:
[tex]b = a^x[/tex], by (1)
[tex]\ln(b) = \ln(a^x)[/tex]
[tex]\ln(b) = x\ln(a)[/tex], by (2) (remember that [tex]\ln a = \log_e(a)[/tex])
and, finally [tex]x = \frac{\ln(b)}{\ln(a)}[/tex]
or, more generally, it can be shown that
[tex]\log_a(b) = \frac{\log_x(b)}{\log_x(a)}[/tex], for any positive value of x