I've been stuck on the following problem for several days: Let $(M,d)$ be an arbitrary metric space and $S, T$ be subsets of $M$.
If $S$ is closed and $T$ is compact, then $S \cap T$ is compact.
I know that if $T$ is compact, $T$ is closed and bounded. That would imply that $S \cap T$ is also closed and bounded since $(S \cap T) \subseteq T$. Also since $S$ is closed, $S$ contains all its accumulation points.
Other than writing down the definitions, I really don't know how to proceed. Could someone give me a hint?