To solve for x in $$3\log_3|-x| = \log_3 x^2 $$
I made cases such that when $x > 0$ and $x<0$
For first part i.e $x >0$ i get $3\log_3 x=2\log x^2$. so $x=1$.
For other case also comes out to be $x=1$. But textbook states answer to be $x=-1 $ also. Now clearly this satisfies eqiation also. But why this solution is not coming in my working method?