I'm working on compactness in topological spaces and I wanted to check I am correctly understanding and implementing some theorems.
So taking a common example, is
$S =\{ (x,y) \in \mathbb{R}^2 : x^2 + y^2 =1 \}$ compact in $\mathbb{R}^2$?
As stated in Sutherland's Introduction to Metric and Topological spaces p136 Exercise 13.4. (It doesn't state that topology being used so I will assume the standard Euclidean).
This is the way I have approached the problem: Using the theorems that
Any closed subset of a compact set is compact
and
(Heine-Borel) Any closed bounded subset of $\mathbb{R}^n$ is compact
I have concluded that $C = [-1,1] \times [-1,1] \subset \mathbb{R}^2$ is compact and as the complement of $S$ in $C$ is open, $S$ is closed and thus compact in $C$.
However I run into problems here because I have compactness in C and not $\mathbb{R}^2$, and I have a strong feeling that compactness in a set doesn't necessarily imply compactness in the superset.
I would really appreciate your help in understanding the best way to approach this type of problem so I can feel confident in more complex examples. Thanks in advance.
P.S Apologies if I have formatted or referenced anything incorrectly, I'm still very new here.