So I know that $\mathbb{Q}[x]$ is a P.I.D. Does this mean that I only have to find where $x^2-r$ is irreducible over $\mathbb{Q}[x]$?
I have tried approaching this by doing the following:
$x^2-r$ can be written as $(x-\sqrt{r})(x+\sqrt{r})$ and thus would be irreducible for all $r$ for which this is not an rational polynomial.
Am I thinking about this correctly?