\(x^2=x\)
\(=>\left[{}\begin{matrix}x=1\\x=0\end{matrix}\right.\)
`@` `\text {Ans}`
`\downarrow`
`x^2 = x`
`=> x^2 - x = 0`
`=> x(x - 1) = 0`
`=>`\(\left[{}\begin{matrix}x=0\\x-1=0\end{matrix}\right.\)
`=>`\(\left[{}\begin{matrix}x=0\\x=1\end{matrix}\right.\)
Vậy, `x \in {0; 1}.`
\(x^2=x\\ \Rightarrow x^2-x=0\\ \Rightarrow x\left(x-1\right)=0\\ \Rightarrow\left[{}\begin{matrix}x=0\\x-1=0\end{matrix}\right.\\ \Rightarrow\left[{}\begin{matrix}x=0\\x=1\end{matrix}\right.\)