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.
We can just do some simple manipulation to get the result. We can take a log and exponentiate the left side:
$$n^{\log(a)}=e^{\log(n^{\log(a)})}=e^{\log(a)\log(n)}=e^{\log(n)\log(a)}=e^{\log(a^{\log(n)})}=a^{\log(n)}.$$