Given compact $A,B \subseteq \mathbb{R}$ with $\alpha := \inf(B) > 0$, define $$\frac{A}B := \left\{\frac{x}y : x \in A \text{ and } y \in B\right\}.$$ Show that $\frac{A}{B}$ is compact.
I am thinking of using the following result given in a previous exercice but I don't know how to proceed.
$K \subset \mathbb R^n$ is compact if and only if for all $\{x_{n}\}$ such that $\{x_{n} : n\in \{1,2,\dotsc\}\}\subset K$, there exists a convergent subsequence $\{{x_{\phi(n)}}\}$ that converges to a limit $l \in K$.
When does the infimum come into place?
A subset of $\mathbb R$ is compact if and only if it is closed (i.e. it contains its limit points) and is bounded. So $A$ is a bounded set. If $B $ would not be lower-bounded by the positive constant $\alpha$ (for example, if $1/n\in B$ for any $n$), then the set $A/B$ could not be bounded, because of the denominators tending to zero.
So: $A$ bounded and $B$ bounded from below by a positive constant imply that $A/B$ bounded. Moreover, $A$ and $B$ closed imply that $A/B$ is closed, so the set is compact. Note that it is not necessary that $B$ is upper bounded.