According to my logic,

$$\large\sqrt{x^2} = x^{2\times \frac{1}{2}} = x = x^{\frac{1}{2}\times 2}={(\sqrt{x})}^2$$

But when I look at the graphs of these guys, they're totally different.

Edit: Complex answers are okay, if you know what I mean.