If $S \subset \mathbb{R}$ and $x$ is the least upper bound of $S$, prove $x$ is in the closure of $S$.
I think this means I either have to show that $x \in S$ or $x$ is a limit point of $S$, so I have to do $2$ different cases, but in the solution it says it suffices to show that there exists a $y$ such that $x-r < y < x+r$, $r \in \mathbb{R}$. Why is this true?
You have two cases. If $x \in S$, then you're done. So let's not worry about that case. Now suppose that $x \not \in S$.
Since $x$ is the least upper bound of $S$, for every $\epsilon > 0$, there must be an element $y$ in $S$ such that $y \in (x - \epsilon, x)$. Otherwise, $x - \epsilon$ is a smaller upper bound. This is how I would rephrase that aspect of the solution.
Since this must be true for all $\epsilon > 0$, you can find a sequence of $y$ in $S$ which have limit $x$, and thus $x$ is in the closure.