Okay, so I think I kind of get this one already. Since 2 is the lowest rational number in the set that's less than $x$, then $\inf S = 2$.
But is there is any other way to explain this? I feel like there's a more formal proof to it that I'm not getting. Or maybe I'm just completely wrong. Can someone help out here?
By definition of $ S $, $2$ is a lower bound for $ S $. On the other hand, for every $\epsilon > 0$, $2+\epsilon $ is not a lower bound for $ S $. Indeed, given $\epsilon > 0$, there exists an $ n\in \Bbb N$ such that $\frac{1}{n} < \epsilon$. So $2 + \frac{1}{n} $, an element of $ S $, is less than $2+\epsilon $. Therefore, $\inf S = 2$.