In class we discussed the set $B=\{b\in\mathbb{R}|b^2>2\}$ has a supremum and infimum with respective values $\infty$ and -$\infty$.
We were given the problem of showing $sup(A)=inf(B)$ given $A=\{a\in\mathbb{Q}|a^2<2\}$ and $B=\{b\in\mathbb{Q}|b^2>2\}$. I know $sup(A)=\sqrt{2}$, but why does $inf(B)=\sqrt{2}$ with the set of rational numbers compared to the real numbers?