How many solutions the equation $x(x^x-x)=0$ has in real numbers set? $$1)\text{zero}\quad\quad\quad\quad\quad2)\text{one}\quad\quad\quad\quad\quad3)\text{two}\quad\quad\quad\quad\quad4)\text{three}\quad\quad\quad\quad\quad5)\text{infinity}$$
Here is my work:
To solve this problem I considered two cases: $x=0$ or $x^x-x=0$. for $x=0$ I think $0(0^0-0)$ is undefined in real numbers( because we have $0^0$). so we should solve $x^x=x$ however I'm not sure how we should solve this but it is easy to see $x=\pm1$ are the roots. so I think the equation has two roots in real numbers.
Is my answer right?