Proving Logarithims I'm trying to figure out how to go about proving this statement:
$$n^{\log(a)} = a^{\log(n)}$$
I'm told that I cannot prove from both sides. I tried to $\log$ the first side to get:
$\log(n)\log(a)$
But I'm not sure where to go from here, any ideas would be much appreciated.

Suppose $n=a^x$, then $\log n=x\log a$ by taking logs.
Then, by substitution, $n^{\log a}=(a^x)^{\log a}=\dots$

How to find the method - well you start with $n$ to some power, and you want to end with $a$ to some power, so it is natural to express $n$ as a power of $a$, and once this is done the result drops out.
