Difference between $\log (x^2)$ and $2\log x$

83 Views Asked by At

Isn't $\log x^m$ same as $m\cdot \log x$?

But the domain of let's say $\log x^2$ is negative infinity to positive infinity... on the other hand $2\log x$ is defined only for $x>0$

So given these two functions under what domain are these two functions identical?

What is wrong in the interpretation?