I have a screenshot of the solution for a $\log$ equation below, but I don't understand how the exponent of $2$ got turned into $\dfrac12$. I thought it's supposed to stay a $2$ when you transfer it to the front of the $\log$?
$$\begin{align} \sqrt{x}&=2^{\log_4(x)}&&\log_4(x)=\log_{2^2}(x)\\ &=2^{\log_{2^2}(x)}&&\log_{2^2}(x)=\frac12\log_{2}(x)\\ &=2^{\frac12\log_{2}(x)}\\ &=\sqrt{2^{\log_{2}(x)}}&&a^{\log_a(b)}=b\\ &=\sqrt{x} \end{align}$$