Inequalities/writing set in interval notation

$\displaystyle (x-1)^2(x+2)^3\geq 0$

So far I've gathered that the critical numbers are x = 1 and x= -2. I graphed them on the number line. I plugged in test values for each of them.

When I do that, for every test value I've plugged in they've been $\displaystyle \geq 0$.

Now I don't know what that means. Does that mean that since every test proved to be a positive, it'll be the whole thing? $\displaystyle [-2, \infty)$

The test intervals were $\displaystyle (-\infty, -2), (-2, 1), (1, \infty)$.

I'm also confused on this problem:

$\displaystyle \frac{1}{x} - x > 0$

I already know what it turns into.

$\displaystyle \frac{1-x^2}{x}$

That wasn't the hard part. The hard part is figuring out the critical numbers for this.

$\displaystyle 1- x^2$

$\displaystyle (1 + x) (1 - x)

$

1 -x+x -x^2

$\displaystyle x+1=0$

$\displaystyle x = - 1$ and $\displaystyle x = 1.$

$\displaystyle x = 0$ is supposed to be a critical number, but I don't know how you get that.