Could someone explain to me why
$$x^{\log(n)} = n^{\log(x)}$$ in simple terms?
I tried to simply take the $log$ of both sides but it doesn't work out or simplify.
Could someone explain to me why
$$x^{\log(n)} = n^{\log(x)}$$ in simple terms?
I tried to simply take the $log$ of both sides but it doesn't work out or simplify.
Recall that logs and exponential functions are inverses, so they cancel, giving the following equality:
$$10^{\log(a)}=a$$
Using this, one can see that
$$x^{\log(n)}=(10^{\log(x)})^{\log(n)}=10^{\log(x)\log(n)}=(10^{\log(n)})^{\log(x)}=n^{\log(x)}$$