If $S$ is a compact subset of $\mathbb{R}$ and $T$ is a closed subset of $S$, then $T$ is compact.
How can I show this using the definition of compactness, and separately showing this by the Heine-Borel theorem.
If $S$ is a compact subset of $\mathbb{R}$ and $T$ is a closed subset of $S$, then $T$ is compact.
How can I show this using the definition of compactness, and separately showing this by the Heine-Borel theorem.
The Heine-Borel theorem states that the compact sets in $\mathbb{R}$ are those closed and bounded. Since $S$ is compact and $T\subset S$ then $T$ is also bounded. A basic result in general topology states the following (Dugundji 1965, p. 78):
Let X be a topological space and $S\subset X$ a closed subspace. Then every closed subset $T$ in the subspace topology relative to $S$ is closed in $X$.
This gives that $T$ is also closed in $\mathbb{R}$ and therefore compact.
People have given the idea for the Heine-Borel part but not for the compactness part.
Given an open cover of $S$, since $S$ is closed, say $S \subseteq \bigcup_{\alpha \in A} \mathcal O_{\alpha}$ where $\mathcal O_{\alpha}$ is open, then $T \subseteq (\mathbb R \backslash S) \cup \bigcup_{\alpha \in A} \mathcal O_{\alpha}$ is an open cover of $T$ (why?). I am letting you finish the proof!
Hope that helps!