Here is a way of looking at it.
For numbers x greater than 1, x^2 < x^3.
For numbers x greater than 0 but less than 1, x^2 > x^3. For example (½)^3 = ½(½)^2, meaning that (½)^3 is half of (½)^2, which makes it smaller.
For both 0 and 1, x^3 = x^2.
If we write x^3 = x^2, then x^3 – x^2 = 0. x^2(x – 1) = 0, which has solutions of x = 0 and x = 1.