How do you find the derivative of ##y= log x^2##?

##d/dx(log(x^2))=2/x##

From the properties of log function we know that,

##log(x^n)=n*log(x)##

Applying this property to given problem ##log(x^2)## may be written as ##2*log(x)##

The differentiation of ##log(x)## is known and ##2## is a constant. So,

##d/dx(2*log(x))=2*d/dx(log(x))=2/x##