Show the set $$ E = \{(x,y) : a\cdot x^2 + b\cdot y^2 \leq R^2 \} $$ with $a,b,R \in \mathbb{R}$ is a closed set.
My attempt
I figured showing that $$ E' = \{(x,y) : a\cdot x^2 + b\cdot y^2 > R^2 \} $$ is open would be simpler as we can define $\partial E'= \{(x,y): a\cdot x^2 + b\cdot y^2 = R^2\}$. Then given $(x_0, y_0) \in E'$ let $r = \min\{|(x,y) - (x_0, y_0)| : (x,y)\in \partial E'\}$ we need to show $r>0$. By contradiction if is not greater than zero then there exists a sequence $(x_n, y_n) \to (x_0, y_0)$ with $(x_n, y_n) \in \partial E'$ for every $n \in \mathbb{N}$ but since $\partial E'$ is closed (the function $f(x,y) = a\cdot x^2 + b\cdot y^2$ is clearly continuous for all pairs $(a,b)$ by algebra of continuity) thus $(x_0, y_0) \in \partial E'$ so we have a contradiction thus $r>0$ and the set $E'$ is open, so its complement $E$ is closed.
Comments
The one part I'm not sure about is the contradiction of $r>0$. I believe we're just trying to show $r \neq 0$ since $|.|\geq 0$ and since $(x_0, y_0)$ must lie inside $\partial E'$ for $r=0$ thus $(x_0, y_0)\in \partial E'$ which is a contradiction since we said $(x_0, y_0) \in E'$ and $\partial E' = \bar{E'} \cap \bar{E'}'$ so $\partial E' \cap E' = \emptyset$ so $(x_0, y_0)$ can't be in both sets. Should I of made this clearer in my proof or is the sufficient. I'm just starting my second year course in multivariable calculus so I'm not use to the proof style yet.